{
  "resourceType": "StructureDefinition",
  "id": "profile-sn-observation",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-sn-observation",
  "title": "Summary Notes Observation Profile",
  "description": "Clinical observations recorded in summary documents.",
  "name": "SNObservation",
  "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": "Measurements and simple assertions made about a patient, device or other subject."
      },
      {
        "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-sn-observation"
      },
      {
        "id": "Observation.modifierExtension",
        "path": "Observation.modifierExtension",
        "max": "0"
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "definition": "Unique identifier for the observation.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier-investigation-id"
            ]
          }
        ]
      },
      {
        "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": "Status of the observed value."
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "1"
      },
      {
        "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": "Describes what was observed."
      },
      {
        "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",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.display",
        "path": "Observation.subject.display",
        "max": "0"
      },
      {
        "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.issued",
        "path": "Observation.issued",
        "definition": "Date and time this observation was made available."
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "definition": "Practitioner responsible for the observation.",
        "max": "1",
        "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",
        "definition": "Registration identifier of the practitioner.",
        "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",
        "definition": "Name of the practitioner."
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "Carries these NEHR XML elements of putComposition:\n\n- `composition/section/content/observation/value/codeableConcept`: The value represented as a coded concept.\n- `composition/section/content/observation/value/string`: The value represented as free text.",
        "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": "Assessment made based on the observation result.",
        "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": "Additional information or explanation regarding the observation result."
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "definition": "Body site where the observation was made.",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.bodySite.extension:subSite",
        "path": "Observation.bodySite.extension",
        "sliceName": "subSite",
        "definition": "Sub-location where the observation was made.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-subSite"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "Observation.method.id",
        "path": "Observation.method.id",
        "max": "0"
      },
      {
        "id": "Observation.method.extension",
        "path": "Observation.method.extension",
        "max": "0"
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.method.coding.id",
        "path": "Observation.method.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.method.coding.extension",
        "path": "Observation.method.coding.extension",
        "max": "0"
      },
      {
        "id": "Observation.method.coding.system",
        "path": "Observation.method.coding.system",
        "min": 1
      },
      {
        "id": "Observation.method.coding.version",
        "path": "Observation.method.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.method.coding.code",
        "path": "Observation.method.coding.code",
        "min": 1
      },
      {
        "id": "Observation.method.coding.display",
        "path": "Observation.method.coding.display",
        "min": 1
      },
      {
        "id": "Observation.method.coding.userSelected",
        "path": "Observation.method.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.method.text",
        "path": "Observation.method.text",
        "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": "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",
        "path": "Observation.referenceRange.low",
        "definition": "Lower bound of the reference range.",
        "min": 1
      },
      {
        "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": "Lower boundary value.",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.low.unit",
        "path": "Observation.referenceRange.low.unit",
        "definition": "Unit of measure for the lower boundary.",
        "min": 1
      },
      {
        "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",
        "path": "Observation.referenceRange.high",
        "definition": "Upper bound of the reference range."
      },
      {
        "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": "Upper boundary value.",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.high.unit",
        "path": "Observation.referenceRange.high.unit",
        "definition": "Unit of measure for the upper boundary.",
        "min": 1
      },
      {
        "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": "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",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "max": "0"
      },
      {
        "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"
      }
    ]
  }
}