diff --git a/conformance/fhir-core-r4/src/main/resources/hl7/fhir/core/401/package/StructureDefinition-Appointment.json b/conformance/fhir-core-r4/src/main/resources/hl7/fhir/core/401/package/StructureDefinition-Appointment.json index 428ab35c205..2e242bcf817 100644 --- a/conformance/fhir-core-r4/src/main/resources/hl7/fhir/core/401/package/StructureDefinition-Appointment.json +++ b/conformance/fhir-core-r4/src/main/resources/hl7/fhir/core/401/package/StructureDefinition-Appointment.json @@ -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", @@ -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", diff --git a/conformance/fhir-core-r4b/src/main/resources/hl7/fhir/core/430/package/StructureDefinition-Appointment.json b/conformance/fhir-core-r4b/src/main/resources/hl7/fhir/core/430/package/StructureDefinition-Appointment.json index 6b3458aa9a0..2f3322fbc6f 100644 --- a/conformance/fhir-core-r4b/src/main/resources/hl7/fhir/core/430/package/StructureDefinition-Appointment.json +++ b/conformance/fhir-core-r4b/src/main/resources/hl7/fhir/core/430/package/StructureDefinition-Appointment.json @@ -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" }, { @@ -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" }, { diff --git a/fhir-examples/src/main/resources/json/spec/appointment.profile.json b/fhir-examples/src/main/resources/json/spec/appointment.profile.json index 6cc2a733f37..98df475c9da 100644 --- a/fhir-examples/src/main/resources/json/spec/appointment.profile.json +++ b/fhir-examples/src/main/resources/json/spec/appointment.profile.json @@ -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" }, { @@ -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" }, { diff --git a/fhir-examples/src/main/resources/xml/spec/appointment.profile.xml b/fhir-examples/src/main/resources/xml/spec/appointment.profile.xml index 4e58420499a..eb7aeb426de 100644 --- a/fhir-examples/src/main/resources/xml/spec/appointment.profile.xml +++ b/fhir-examples/src/main/resources/xml/spec/appointment.profile.xml @@ -62,7 +62,7 @@ extension, modifierExtension - +