{
  "resourceType": "StructureDefinition",
  "id": "858927da-d9ed-4dfd-a1b3-f6c3c6b3b173",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2019-03-12T19:21:20.2002781+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Observation-child",
  "name": "ObservationMicrobiologyChild",
  "status": "draft",
  "date": "2019-03-12T19:21:19.8152444Z",
  "description": "Measurements and simple assertions made about a patient, device or other subject.\r\nThis resource will represent child observation for Microbiology tests.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "OLIS-HL7-v2",
      "name": "OLIS HL7 v2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "mustSupport": true
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "mustSupport": true
      },
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.extension:observation-SubID",
        "path": "Observation.extension",
        "sliceName": "observation-SubID",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-obs-sub-id"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.4"
          }
        ]
      },
      {
        "id": "Observation.extension:observation-SubID.id",
        "path": "Observation.extension.id",
        "mustSupport": false
      },
      {
        "id": "Observation.extension:observation-SubID.url",
        "path": "Observation.extension.url",
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-obs-sub-id"
      },
      {
        "id": "Observation.extension:observation-SubID.value[x]",
        "path": "Observation.extension.value[x]",
        "mustSupport": false
      },
      {
        "id": "Observation.extension:observation-sortKey",
        "path": "Observation.extension",
        "sliceName": "observation-sortKey",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-obs-sort-key"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBX.2"
          }
        ]
      },
      {
        "id": "Observation.extension:observation-sortKey.id",
        "path": "Observation.extension.id",
        "mustSupport": false
      },
      {
        "id": "Observation.extension:observation-sortKey.url",
        "path": "Observation.extension.url",
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-obs-sort-key"
      },
      {
        "id": "Observation.extension:note",
        "path": "Observation.extension",
        "sliceName": "note",
        "max": "5",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-note"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZNT-NTE"
          }
        ]
      },
      {
        "id": "Observation.extension:note.id",
        "path": "Observation.extension.id",
        "mustSupport": false
      },
      {
        "id": "Observation.extension:note.url",
        "path": "Observation.extension.url",
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-note"
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.identifier.system",
        "path": "Observation.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\r\n\r\nOLIS URI example :  [id-system-local-base] /lab/filler-id-[type]-license-[id]",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.3.3"
          }
        ]
      },
      {
        "id": "Observation.identifier.value",
        "path": "Observation.identifier.value",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.3.1"
          }
        ]
      },
      {
        "id": "Observation.identifier.assigner",
        "path": "Observation.identifier.assigner",
        "definition": "Organization that issued/manages the identifier.\r\n\r\nOLIS: Only assigner name from organization resource will be populated",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Organization-assigner",
            "aggregation": [
              "referenced",
              "contained"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.3.3"
          }
        ]
      },
      {
        "id": "Observation.identifier.assigner.reference",
        "path": "Observation.identifier.assigner.reference",
        "mustSupport": true
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-ProcedureRequest",
            "aggregation": [
              "contained",
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.basedOn.reference",
        "path": "Observation.basedOn.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "short": "preliminary | final | amended +",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ObservationStatus"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/observation-status"
          }
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.11"
          }
        ]
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category.id",
        "path": "Observation.category.id",
        "mustSupport": false
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "Observation Category",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/lab/observation-category"
        }
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://hl7.org/fhir/STU3/codesystem-observation-category.html",
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Observation Category",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/lab/observation-category"
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "code": [
          {
            "system": "http://loinc.org"
          }
        ],
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.3.3"
          }
        ]
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.3.1"
          }
        ]
      },
      {
        "id": "Observation.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.3.2"
          }
        ]
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Patient",
            "aggregation": [
              "contained",
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.\r\n\r\nOLIS: Date/Time of observation -use this field for ancillary order only.  This field must be empty when a laboratory reports a test result.",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.14.1"
          }
        ]
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBX.1"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Practitioner-ordering",
            "aggregation": [
              "referenced"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Organization-performing",
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.performer:performer-organization",
        "path": "Observation.performer",
        "sliceName": "performer-organization",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Organization-performing"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.6-ZBR.7"
          }
        ]
      },
      {
        "id": "Observation.performer:performer-organization.reference",
        "path": "Observation.performer.reference",
        "fixedString": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Organization-performing",
        "mustSupport": true
      },
      {
        "id": "Observation.performer:performer-practitioner",
        "path": "Observation.performer",
        "sliceName": "performer-practitioner",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Practitioner-ordering"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.6-ZBR.7"
          }
        ]
      },
      {
        "id": "Observation.performer:performer-practitioner.reference",
        "path": "Observation.performer.reference",
        "fixedString": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Practitioner-ordering",
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "The information determined as a result of making the observation, if the information has a simple value.\r\n\r\n<a href=\"https://simplifier.net/ontariolaboratoriesi/observation-micro-codes\">Click here for observation-microbiology codebale concept value set</a>",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "time"
          },
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ObservationInterpretation"
            }
          ],
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/observation-interpretation"
          }
        }
      },
      {
        "id": "Observation.interpretation.coding",
        "path": "Observation.interpretation.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.interpretation.coding.system",
        "path": "Observation.interpretation.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0078",
        "mustSupport": true
      },
      {
        "id": "Observation.interpretation.coding.code",
        "path": "Observation.interpretation.coding.code",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.8"
          }
        ]
      },
      {
        "id": "Observation.interpretation.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.interpretation.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "max": "1"
      },
      {
        "id": "Observation.method.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.method.text",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\r\n\r\nOLIS: How the observation has been done.\r\nOnly 2 values can be used: PCR (Polymerase Chain Reaction) or EIA (Enzyme Immunosorbent Assay)",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.17.2"
          }
        ]
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Specimen",
            "aggregation": [
              "contained",
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.specimen.reference",
        "path": "Observation.specimen.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.low",
        "path": "Observation.referenceRange.low",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.low.id",
        "path": "Observation.referenceRange.low.id",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.low.value",
        "path": "Observation.referenceRange.low.value",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.7"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.low.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.referenceRange.low.unit",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.6"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.high",
        "path": "Observation.referenceRange.high",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.high.id",
        "path": "Observation.referenceRange.high.id",
        "mustSupport": false
      },
      {
        "id": "Observation.referenceRange.high.value",
        "path": "Observation.referenceRange.high.value",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.7"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.high.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.referenceRange.high.unit",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.6"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.appliesTo",
        "path": "Observation.referenceRange.appliesTo",
        "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.\r\n\r\nOLIS can return maximum 3 codes.",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBX.10"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.appliesTo.coding",
        "path": "Observation.referenceRange.appliesTo.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.appliesTo.coding.system",
        "path": "Observation.referenceRange.appliesTo.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0080",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.appliesTo.coding.code",
        "path": "Observation.referenceRange.appliesTo.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.appliesTo.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.referenceRange.appliesTo.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "mustSupport": true
      },
      {
        "id": "Observation.related.type",
        "path": "Observation.related.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.related.target",
        "path": "Observation.related.target",
        "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.\r\n\r\nOLIS: Reference to the parent observation resource for microbiology",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Observation",
            "aggregation": [
              "contained",
              "referenced"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.26"
          }
        ]
      },
      {
        "id": "Observation.related.target.reference",
        "path": "Observation.related.target.reference",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}