{
  "resourceType": "StructureDefinition",
  "id": "profile-ot-observation",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-ot-observation",
  "title": "Operating Theatre Observation Profile",
  "description": "Observation profile for recording measurements and observations during surgical procedures in the operating theatre.",
  "name": "Observation",
  "publisher": "Synapxe",
  "status": "active",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation`: Observations that are part of the OT report.\n- `content/Composition/section/entry/DiagnosticReport/result`: Observations that are part of the report.\n- `content/Composition/section/entry/Procedure/report/result`: Observations that are part of the report."
      },
      {
        "id": "Observation.meta",
        "path": "Observation.meta"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.synapxe.sg/StructureDefinition/profile-ot-observation"
      },
      {
        "id": "Observation.modifierExtension",
        "path": "Observation.modifierExtension",
        "max": "0"
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/sequenceNo`: Sequence number assigned to the observation.\n- `content/Composition/section/entry/DiagnosticReport/result/sequenceNo`: The sequence number tag to each observation(s).\n- `content/Composition/section/entry/Procedure/report/result/sequenceNo`: The sequence number tag to each observation(s).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier-sequence-no"
            ]
          }
        ]
      },
      {
        "id": "Observation.instantiates[x]",
        "path": "Observation.instantiates[x]",
        "max": "0"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.triggeredBy",
        "path": "Observation.triggeredBy",
        "max": "0"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/status`: Status of the observation result.\n- `content/Composition/section/entry/DiagnosticReport/result/status`: The status of the result value.\n- `content/Composition/section/entry/Procedure/report/result/status`: The status of the result value."
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "0"
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding.id",
        "path": "Observation.category.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.extension",
        "path": "Observation.category.coding.extension",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1
      },
      {
        "id": "Observation.category.coding.display",
        "path": "Observation.category.coding.display",
        "min": 1
      },
      {
        "id": "Observation.category.coding.userSelected",
        "path": "Observation.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.category.text",
        "path": "Observation.category.text",
        "max": "0"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/code`: Name of the observation.\n- `content/Composition/section/entry/DiagnosticReport/result/code`: The name of the observation\n- `content/Composition/section/entry/Procedure/report/result/code`: The name of the observation"
      },
      {
        "id": "Observation.code.id",
        "path": "Observation.code.id",
        "max": "0"
      },
      {
        "id": "Observation.code.extension",
        "path": "Observation.code.extension",
        "max": "0"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding.id",
        "path": "Observation.code.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.extension",
        "path": "Observation.code.coding.extension",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code.coding.display",
        "path": "Observation.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.code.coding.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "max": "0"
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "max": "0"
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "max": "0"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "max": "0",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer.id",
        "path": "Observation.performer.id",
        "max": "0"
      },
      {
        "id": "Observation.performer.extension",
        "path": "Observation.performer.extension",
        "max": "0"
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "max": "0"
      },
      {
        "id": "Observation.performer.type",
        "path": "Observation.performer.type",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier.id",
        "path": "Observation.performer.identifier.id",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier.extension",
        "path": "Observation.performer.identifier.extension",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier.use",
        "path": "Observation.performer.identifier.use",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier.type",
        "path": "Observation.performer.identifier.type",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier.system",
        "path": "Observation.performer.identifier.system",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier.value",
        "path": "Observation.performer.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier.period",
        "path": "Observation.performer.identifier.period",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier.assigner",
        "path": "Observation.performer.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Observation.performer.display",
        "path": "Observation.performer.display",
        "min": 1
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/value/valueQuantity/value`: The numerical value of the observation.\n- `content/Composition/section/entry/Observation/value/valueQuantity/comparator`: How to understand the value (<, <=, >=, >).\n- `content/Composition/section/entry/Observation/value/valueQuantity/unit`: The unit of measurement of the observation value.\n- `content/Composition/section/entry/Observation/value/valueCodeableConcept`: Observation value represented as a coded concept.\n- `content/Composition/section/entry/Observation/value/valueString`: Observation value represented as text.\n- `content/Composition/section/entry/DiagnosticReport/result/value/valueQuantity/value`: The value of the measured amount. The value includes an implicit precision in the presentation of the value.\n- `content/Composition/section/entry/DiagnosticReport/result/value/valueQuantity/comparator`: How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.\n- `content/Composition/section/entry/DiagnosticReport/result/value/valueQuantity/unit`: A human-readable form of the unit. The unit of measurement of the observation value.\n- `content/Composition/section/entry/DiagnosticReport/result/value/valueCodeableConcept`: The value is a coded field concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\n- `content/Composition/section/entry/DiagnosticReport/result/value/valueString`: The value is a string\n- `content/Composition/section/entry/Procedure/report/result/value/valueQuantity/value`: The value of the measured amount. The value includes an implicit precision in the presentation of the value.\n- `content/Composition/section/entry/Procedure/report/result/value/valueQuantity/comparator`: How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.\n- `content/Composition/section/entry/Procedure/report/result/value/valueQuantity/unit`: A human-readable form of the unit. The unit of measurement of the observation value.\n- `content/Composition/section/entry/Procedure/report/result/value/valueCodeableConcept`: The value is a coded field concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.\n- `content/Composition/section/entry/Procedure/report/result/value/valueString`: The value is a string",
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/interpretation`: Clinical assessment of the observation result.\n- `content/Composition/section/entry/DiagnosticReport/result/interpretation`: The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.\n- `content/Composition/section/entry/Procedure/report/result/interpretation`: The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.",
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Observation.interpretation.extension",
        "path": "Observation.interpretation.extension",
        "max": "0"
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "1"
      },
      {
        "id": "Observation.note.id",
        "path": "Observation.note.id",
        "max": "0"
      },
      {
        "id": "Observation.note.extension",
        "path": "Observation.note.extension",
        "max": "0"
      },
      {
        "id": "Observation.note.author[x]",
        "path": "Observation.note.author[x]",
        "max": "0"
      },
      {
        "id": "Observation.note.time",
        "path": "Observation.note.time",
        "max": "0"
      },
      {
        "id": "Observation.note.text",
        "path": "Observation.note.text",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/comments`: Additional comments or interpretation of the observation.\n- `content/Composition/section/entry/DiagnosticReport/result/comments`: May include statements about significant, unexpected or unreliable values or information about the source of the value where this may be relevant to the interpretation of the result.\n- `content/Composition/section/entry/Procedure/report/result/comments`: May include statements about significant, unexpected or unreliable values or information about the source of the value where this may be relevant to the interpretation of the result."
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Observation.bodySite.extension",
        "path": "Observation.bodySite.extension",
        "max": "0"
      },
      {
        "id": "Observation.bodySite.coding.version",
        "path": "Observation.bodySite.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.bodyStructure",
        "path": "Observation.bodyStructure",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/method`: Mechanism used to measure the observation.\n- `content/Composition/section/entry/DiagnosticReport/result/method`: The mechanism used to measure the observation.\n- `content/Composition/section/entry/Procedure/report/result/method`: The mechanism used to measure the observation.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Observation.method.extension",
        "path": "Observation.method.extension",
        "max": "0"
      },
      {
        "id": "Observation.method.coding.version",
        "path": "Observation.method.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-specimen"
            ]
          }
        ]
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-device"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/referenceRange`: Guidance for interpreting the observation value.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange`: Guidance on how to interpret the value by comparison to a normal or recommended range.\n- `content/Composition/section/entry/Procedure/report/result/referenceRange`: Guidance on how to interpret the value by comparison to a normal or recommended range.",
        "max": "1"
      },
      {
        "id": "Observation.referenceRange.id",
        "path": "Observation.referenceRange.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.extension",
        "path": "Observation.referenceRange.extension",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.modifierExtension",
        "path": "Observation.referenceRange.modifierExtension",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.id",
        "path": "Observation.referenceRange.low.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.extension",
        "path": "Observation.referenceRange.low.extension",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.value",
        "path": "Observation.referenceRange.low.value",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/referenceRange/low`: Lower bound of the reference range.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange/low`: The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).\n- `content/Composition/section/entry/Procedure/report/result/referenceRange/low`: The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.low.unit",
        "path": "Observation.referenceRange.low.unit"
      },
      {
        "id": "Observation.referenceRange.low.system",
        "path": "Observation.referenceRange.low.system",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.code",
        "path": "Observation.referenceRange.low.code",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.id",
        "path": "Observation.referenceRange.high.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.extension",
        "path": "Observation.referenceRange.high.extension",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.value",
        "path": "Observation.referenceRange.high.value",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/referenceRange/high`: Upper bound of the reference range.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange/high`: The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).\n- `content/Composition/section/entry/Procedure/report/result/referenceRange/high`: The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.high.unit",
        "path": "Observation.referenceRange.high.unit"
      },
      {
        "id": "Observation.referenceRange.high.system",
        "path": "Observation.referenceRange.high.system",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.code",
        "path": "Observation.referenceRange.high.code",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.normalValue",
        "path": "Observation.referenceRange.normalValue",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.type",
        "path": "Observation.referenceRange.type",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/referenceRange/meaning`: Meaning of the reference range.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange/meaning`: Code for the meaning of the reference range.\n- `content/Composition/section/entry/Procedure/report/result/referenceRange/meaning`: Code for the meaning of the reference range.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange.appliesTo",
        "path": "Observation.referenceRange.appliesTo",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Procedure/report/result/referenceRange/age`: The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.\n- `content/Composition/section/entry/Observation/referenceRange/age`: Age range for which the reference range applies.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange/age`: The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."
      },
      {
        "id": "Observation.referenceRange.age.id",
        "path": "Observation.referenceRange.age.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.age.extension",
        "path": "Observation.referenceRange.age.extension",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.age.low.value",
        "path": "Observation.referenceRange.age.low.value",
        "definition": "The low limit. The boundary is inclusive."
      },
      {
        "id": "Observation.referenceRange.age.high.value",
        "path": "Observation.referenceRange.age.high.value",
        "definition": "The high limit. The boundary is inclusive."
      },
      {
        "id": "Observation.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "definition": "Carries these NEHR XML elements of putOTNotes:\n\n- `content/Composition/section/entry/Observation/referenceRange/text`: Text-based reference range.\n- `content/Composition/section/entry/DiagnosticReport/result/referenceRange/text`: Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of 'normals'.\n- `content/Composition/section/entry/Procedure/report/result/referenceRange/text`: Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of 'normals'."
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      },
      {
        "id": "Observation.component.id",
        "path": "Observation.component.id",
        "max": "0"
      },
      {
        "id": "Observation.component.extension",
        "path": "Observation.component.extension",
        "max": "0"
      },
      {
        "id": "Observation.component.modifierExtension",
        "path": "Observation.component.modifierExtension",
        "max": "0"
      },
      {
        "id": "Observation.component.code.id",
        "path": "Observation.component.code.id",
        "max": "0"
      },
      {
        "id": "Observation.component.code.extension",
        "path": "Observation.component.code.extension",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding",
        "path": "Observation.component.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component.code.coding.id",
        "path": "Observation.component.code.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding.extension",
        "path": "Observation.component.code.coding.extension",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component.code.text",
        "path": "Observation.component.code.text",
        "max": "0"
      },
      {
        "id": "Observation.component.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1
      },
      {
        "id": "Observation.component.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.component.interpretation",
        "path": "Observation.component.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.component.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      }
    ]
  }
}