<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.synapxe.sg/StructureDefinition/profile-cr-observation" />
  <name value="Observation" />
  <status value="active" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.meta">
      <path value="Observation.meta" />
    </element>
    <element id="Observation.meta.profile">
      <path value="Observation.meta.profile" />
      <max value="1" />
    </element>
    <element id="Observation.modifierExtension">
      <path value="Observation.modifierExtension" />
      <max value="0" />
    </element>
    <element id="Observation.identifier">
      <path value="Observation.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="An identifier intended for computation" />
      <definition value="An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers." />
      <min value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </element>
    <element id="Observation.identifier:investigationId">
      <path value="Observation.identifier" />
      <sliceName value="investigationId" />
      <short value="Business Identifier for observation" />
      <definition value="A unique identifier assigned to this observation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </element>
    <element id="Observation.identifier:investigationId.system">
      <path value="Observation.identifier.system" />
      <fixedUri value="https://fhir.synapxe.sg/NamingSystem/investigation-id" />
    </element>
    <element id="Observation.identifier:sequenceNo">
      <path value="Observation.identifier" />
      <sliceName value="sequenceNo" />
      <short value="Business Identifier for observation" />
      <definition value="A unique identifier assigned to this observation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </element>
    <element id="Observation.identifier:sequenceNo.system">
      <path value="Observation.identifier.system" />
      <fixedUri value="https://fhir.synapxe.sg/NamingSystem/sequence-no" />
    </element>
    <element id="Observation.instantiates[x]">
      <path value="Observation.instantiates[x]" />
      <max value="0" />
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <max value="0" />
    </element>
    <element id="Observation.triggeredBy">
      <path value="Observation.triggeredBy" />
      <max value="0" />
    </element>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <max value="0" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.code.extension">
      <path value="Observation.code.extension" />
      <max value="0" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-patient" />
      </type>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <max value="0" />
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <max value="0" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <max value="0" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <max value="0" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-reference-organization" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-organization" />
      </type>
    </element>
    <element id="Observation.performer.display">
      <path value="Observation.performer.display" />
      <min value="1" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.interpretation.extension">
      <path value="Observation.interpretation.extension" />
      <max value="0" />
    </element>
    <element id="Observation.note">
      <path value="Observation.note" />
      <max value="1" />
      <type>
        <code value="Annotation" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-annotation" />
      </type>
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.id">
      <path value="Observation.bodySite.id" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.extension">
      <path value="Observation.bodySite.extension" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.coding">
      <path value="Observation.bodySite.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.bodySite.coding.id">
      <path value="Observation.bodySite.coding.id" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.coding.extension">
      <path value="Observation.bodySite.coding.extension" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.coding.system">
      <path value="Observation.bodySite.coding.system" />
      <min value="1" />
    </element>
    <element id="Observation.bodySite.coding.version">
      <path value="Observation.bodySite.coding.version" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.coding.code">
      <path value="Observation.bodySite.coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.bodySite.coding.display">
      <path value="Observation.bodySite.coding.display" />
      <min value="1" />
    </element>
    <element id="Observation.bodySite.coding.userSelected">
      <path value="Observation.bodySite.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Observation.bodySite.text">
      <path value="Observation.bodySite.text" />
      <max value="0" />
    </element>
    <element id="Observation.bodyStructure">
      <path value="Observation.bodyStructure" />
      <max value="0" />
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.method.extension">
      <path value="Observation.method.extension" />
      <max value="0" />
    </element>
    <element id="Observation.method.coding.version">
      <path value="Observation.method.coding.version" />
      <max value="0" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-specimen" />
      </type>
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-device" />
      </type>
    </element>
    <element id="Observation.referenceRange.id">
      <path value="Observation.referenceRange.id" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.extension">
      <path value="Observation.referenceRange.extension" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.modifierExtension">
      <path value="Observation.referenceRange.modifierExtension" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.normalValue">
      <path value="Observation.referenceRange.normalValue" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.type">
      <path value="Observation.referenceRange.type" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.referenceRange.appliesTo">
      <path value="Observation.referenceRange.appliesTo" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.age.id">
      <path value="Observation.referenceRange.age.id" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.age.extension">
      <path value="Observation.referenceRange.age.extension" />
      <max value="0" />
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <max value="0" />
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
    </element>
    <element id="Observation.component.id">
      <path value="Observation.component.id" />
      <max value="0" />
    </element>
    <element id="Observation.component.extension">
      <path value="Observation.component.extension" />
      <max value="0" />
    </element>
    <element id="Observation.component.modifierExtension">
      <path value="Observation.component.modifierExtension" />
      <max value="0" />
    </element>
    <element id="Observation.component.code">
      <path value="Observation.component.code" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="Observation.component.code.extension">
      <path value="Observation.component.code.extension" />
      <max value="0" />
    </element>
    <element id="Observation.component.code.coding.version">
      <path value="Observation.component.code.coding.version" />
      <max value="0" />
    </element>
    <element id="Observation.component.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
    </element>
    <element id="Observation.component.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.component.interpretation">
      <path value="Observation.component.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.component.referenceRange">
      <path value="Observation.component.referenceRange" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>