Skip to content

Commit

Permalink
issue LinuxForHealth#4224 Fixing the expression and xpath statements …
Browse files Browse the repository at this point in the history
…for Appointment.status = 'noshow'.
  • Loading branch information
mudlej committed Jun 20, 2023
1 parent 8429bf7 commit b2163fe
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('no-show', 'cancelled')"
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='noshow' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('noshow', 'cancelled')"
},
{
"key": "dom-2",
Expand Down Expand Up @@ -2005,8 +2005,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('no-show', 'cancelled')"
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='noshow' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('noshow', 'cancelled')"
},
{
"key": "app-3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('no-show', 'cancelled')",
"expression": "Appointment.ancelationReason.exists() implies (Appointment.status='noshow' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('noshow', 'cancelled')",
"source": "http://hl7.org/fhir/StructureDefinition/Appointment"
},
{
Expand Down Expand Up @@ -2060,8 +2060,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('no-show', 'cancelled')",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status='noshow' or Appointment.status='cancelled')",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value=('noshow', 'cancelled')",
"source": "http://hl7.org/fhir/StructureDefinition/Appointment"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status\u003d\u0027no-show\u0027 or Appointment.status\u003d\u0027cancelled\u0027)",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value\u003d(\u0027no-show\u0027, \u0027cancelled\u0027)",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status\u003d\u0027noshow\u0027 or Appointment.status\u003d\u0027cancelled\u0027)",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value\u003d(\u0027noshow\u0027, \u0027cancelled\u0027)",
"source": "http://hl7.org/fhir/StructureDefinition/Appointment"
},
{
Expand Down Expand Up @@ -2056,8 +2056,8 @@
"key": "app-4",
"severity": "error",
"human": "Cancelation reason is only used for appointments that have been cancelled, or no-show",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status\u003d\u0027no-show\u0027 or Appointment.status\u003d\u0027cancelled\u0027)",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value\u003d(\u0027no-show\u0027, \u0027cancelled\u0027)",
"expression": "Appointment.cancelationReason.exists() implies (Appointment.status\u003d\u0027noshow\u0027 or Appointment.status\u003d\u0027cancelled\u0027)",
"xpath": "not(exists(f:cancellationReason)) or f:status/@value\u003d(\u0027noshow\u0027, \u0027cancelled\u0027)",
"source": "http://hl7.org/fhir/StructureDefinition/Appointment"
},
{
Expand Down
Loading

0 comments on commit b2163fe

Please sign in to comment.