FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.20.22.4.2

Packagehl7.cda.us.ccdar2dot2
TypeStructureDefinition
Id2.16.840.1.113883.10.20.22.4.2
FHIR VersionR4
Sourcehttp://hl7.org/cda/us/ccda/https://build.fhir.org/ig/HL7/CDA-ccda-2.2/StructureDefinition-2.16.840.1.113883.10.20.22.4.2.html
URLhttp://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.2
Version2.2
Statusactive
Date2022-05-13T15:50:12+00:00
NameResultObservation
TitleResult Observation
Realmus
Authorityhl7
DescriptionThis template represents the results of a laboratory, radiology, or other study performed on a patient. The result observation includes a statusCode to allow recording the status of an observation. Pending results (e.g., a test has been run but results have not been reported yet) should be represented as active ActStatus.
TypeObservation
Kindresource

Resources that use this resource

StructureDefinition
2.16.840.1.113883.10.20.22.4.1Result Organizer
2.16.840.1.113883.10.20.22.4.132Health Concern Act
2.16.840.1.113883.10.20.22.4.136Risk Concern Act

Resources that this resource uses

StructureDefinition
2.16.840.1.113883.10.20.22.4.119Author Participation
ValueSet
2.16.840.1.113883.1.11.78Observation Interpretation (HL7)
2.16.840.1.113883.11.20.9.39Result Status

Narrative

Note: links and images are rebased to the (stated) source

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation 1..1CDAR2.Observation
... classCode 1..1codeRequired Pattern: OBS
... moodCode 1..1codeRequired Pattern: EVN
... Slices for templateId 0..*IISlice: Unordered, Open by value:extension, value:root
.... templateId:primary 1..1II
..... root 1..1stringRequired Pattern: 2.16.840.1.113883.10.20.22.4.2
..... extension 1..1stringRequired Pattern: 2015-08-01
... id 1..*II
... code I1..1CD1198-19212: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:1198-19212).
... statusCode 1..1CS
.... code 1..1stringBinding: Result Status (required)
... effectiveTime 1..1IVL_TSRepresents the biologically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).
... value I1..1BL, ED, ED, CD, CV, CE, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS, RTO_PQ_PQ1198-32610: If Observation/value is a CD (**xsi:type="CD"**) the value **SHOULD** be SNOMED-CT (CONF:1198-32610).
1198-31866: A coded or physical quantity value **MAY** contain zero or more [0..*] translations, which can be used to represent the original results as output by the lab (CONF:1198-31866).
1198-31484: If Observation/value is a physical quantity (**xsi:type="PQ"**), the unit of measure **SHALL** be selected from ValueSet UnitsOfMeasureCaseSensitive 2.16.840.1.113883.1.11.12839 **DYNAMIC** (CONF:1198-31484).
... interpretationCode 0..*CE
.... code 1..1stringBinding: Observation Interpretation (HL7) (required)
... methodCode 0..1CE
... targetSiteCode 0..1CD
... author 0..*AuthorParticipation
... referenceRange 0..*Element
.... observationRange 1..1ObservationRange
..... code 0..0
..... value 1..1BL, ED, ED, CD, CV, CE, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "2.16.840.1.113883.10.20.22.4.2",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.2",
  "identifier": [
    {
      "value": "urn:hl7ii:2.16.840.1.113883.10.20.22.4.2:2015-08-01"
    }
  ],
  "version": "2.2",
  "name": "ResultObservation",
  "title": "Result Observation",
  "status": "active",
  "date": "2022-05-13T15:50:12+00:00",
  "publisher": "Health Level Seven",
  "contact": [
    {
      "name": "HL7 International - Structured Documents",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/structure"
        }
      ]
    }
  ],
  "description": "This template represents the results of a laboratory, radiology, or other study performed on a patient.\n\nThe result observation includes a statusCode to allow recording the status of an observation. Pending results (e.g., a test has been run but results have not been reported yet) should be represented as active ActStatus.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/cda/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Observation.classCode",
        "path": "Observation.classCode",
        "representation": [
          "xmlAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-7130).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.classCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "OBS",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActClassObservation"
        }
      },
      {
        "id": "Observation.moodCode",
        "path": "Observation.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-7131).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.moodCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "EVN"
      },
      {
        "id": "Observation.negationInd",
        "path": "Observation.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.realmCode",
        "path": "Observation.realmCode",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.typeId",
        "path": "Observation.typeId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.templateId",
        "path": "Observation.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension"
            },
            {
              "type": "value",
              "path": "root"
            }
          ],
          "rules": "open"
        },
        "definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.templateId:primary",
        "path": "Observation.templateId",
        "sliceName": "primary",
        "definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7136) such that it",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.templateId:primary.nullFlavor",
        "path": "Observation.templateId.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
        }
      },
      {
        "id": "Observation.templateId:primary.assigningAuthorityName",
        "path": "Observation.templateId.assigningAuthorityName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Assigning Authority Name",
        "definition": "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "II.assigningAuthorityName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.templateId:primary.displayable",
        "path": "Observation.templateId.displayable",
        "representation": [
          "xmlAttr"
        ],
        "label": "Displayable",
        "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "II.displayable",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.templateId:primary.root",
        "path": "Observation.templateId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.2\" (CONF:1198-9138).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2.16.840.1.113883.10.20.22.4.2"
      },
      {
        "id": "Observation.templateId:primary.extension",
        "path": "Observation.templateId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32575).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2015-08-01"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "requirements": "SHALL contain at least one [1..*] id (CONF:1198-7137).",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Observation.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "representation": [
          "typeAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] code, which SHOULD be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:1198-7133).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ],
        "constraint": [
          {
            "key": "1198-19212",
            "severity": "warning",
            "human": "This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:1198-19212)."
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ObservationType"
        }
      },
      {
        "id": "Observation.derivationExpr",
        "path": "Observation.derivationExpr",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.derivationExpr",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "representation": [
          "typeAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.statusCode",
        "path": "Observation.statusCode",
        "requirements": "SHALL contain exactly one [1..1] statusCode (CONF:1198-7134).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.statusCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActStatus"
        }
      },
      {
        "id": "Observation.statusCode.nullFlavor",
        "path": "Observation.statusCode.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
        }
      },
      {
        "id": "Observation.statusCode.code",
        "path": "Observation.statusCode.code",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code",
        "definition": "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache.",
        "requirements": "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status urn:oid:2.16.840.1.113883.11.20.9.39 STATIC (CONF:1198-14849).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39"
        }
      },
      {
        "id": "Observation.statusCode.codeSystem",
        "path": "Observation.statusCode.codeSystem",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System",
        "definition": "Specifies the code system that defines the code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.codeSystemName",
        "path": "Observation.statusCode.codeSystemName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Name",
        "definition": "The common name of the coding system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.codeSystemVersion",
        "path": "Observation.statusCode.codeSystemVersion",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Version",
        "definition": "If applicable, a version descriptor defined specifically for the given code system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.displayName",
        "path": "Observation.statusCode.displayName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Display Name",
        "definition": "A name or title for the code, under which the sending system shows the code value to its users.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.displayName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.sdtcValueSet",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
            "valueString": "valueSet"
          }
        ],
        "path": "Observation.statusCode.sdtcValueSet",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.valueSet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.sdtcValueSetVersion",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
            "valueString": "valueSetVersion"
          }
        ],
        "path": "Observation.statusCode.sdtcValueSetVersion",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.sdtcValueSetVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.statusCode.originalText",
        "path": "Observation.statusCode.originalText",
        "label": "Original Text",
        "definition": "The text or phrase used as the basis for the coding.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.originalText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.statusCode.qualifier",
        "path": "Observation.statusCode.qualifier",
        "label": "Qualifier",
        "definition": "Specifies additional codes that increase the specificity of the the primary code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.qualifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CR"
          }
        ]
      },
      {
        "id": "Observation.statusCode.translation",
        "path": "Observation.statusCode.translation",
        "representation": [
          "typeAttr"
        ],
        "label": "Translation",
        "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.translation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Observation.effectiveTime",
        "path": "Observation.effectiveTime",
        "label": "Represents the biologically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).",
        "short": "Represents the biologically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).",
        "requirements": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-7140).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.effectiveTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
          }
        ]
      },
      {
        "id": "Observation.priorityCode",
        "path": "Observation.priorityCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.priorityCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority"
        }
      },
      {
        "id": "Observation.repeatNumber",
        "path": "Observation.repeatNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.repeatNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-INT"
          }
        ]
      },
      {
        "id": "Observation.languageCode",
        "path": "Observation.languageCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.languageCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-HumanLanguage"
        }
      },
      {
        "id": "Observation.value",
        "path": "Observation.value",
        "representation": [
          "typeAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] value (CONF:1198-7143).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.value",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ST"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CV"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SC"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/TEL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/AD"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/EN"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/INT"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/REAL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/PQ"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/MO"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RTO-PQ-PQ"
          }
        ],
        "constraint": [
          {
            "key": "1198-32610",
            "severity": "warning",
            "human": "If Observation/value is a CD (**xsi:type=\"CD\"**) the value **SHOULD** be SNOMED-CT (CONF:1198-32610)."
          },
          {
            "key": "1198-31866",
            "severity": "warning",
            "human": "A coded or physical quantity value **MAY** contain zero or more [0..&ast;] translations, which can be used to represent the original results as output by the lab (CONF:1198-31866)."
          },
          {
            "key": "1198-31484",
            "severity": "error",
            "human": "If Observation/value is a physical quantity (**xsi:type=\"PQ\"**), the unit of measure **SHALL** be selected from ValueSet UnitsOfMeasureCaseSensitive 2.16.840.1.113883.1.11.12839 **DYNAMIC** (CONF:1198-31484)."
          }
        ]
      },
      {
        "id": "Observation.interpretationCode",
        "path": "Observation.interpretationCode",
        "requirements": "SHOULD contain zero or more [0..*] interpretationCode (CONF:1198-7147).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.interpretationCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation"
        }
      },
      {
        "id": "Observation.interpretationCode.nullFlavor",
        "path": "Observation.interpretationCode.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
        }
      },
      {
        "id": "Observation.interpretationCode.code",
        "path": "Observation.interpretationCode.code",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code",
        "definition": "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache.",
        "requirements": "The interpretationCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Observation Interpretation (HL7) urn:oid:2.16.840.1.113883.1.11.78 DYNAMIC (CONF:1198-32476).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.78"
        }
      },
      {
        "id": "Observation.interpretationCode.codeSystem",
        "path": "Observation.interpretationCode.codeSystem",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System",
        "definition": "Specifies the code system that defines the code.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.codeSystemName",
        "path": "Observation.interpretationCode.codeSystemName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Name",
        "definition": "The common name of the coding system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.codeSystemName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.codeSystemVersion",
        "path": "Observation.interpretationCode.codeSystemVersion",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Version",
        "definition": "If applicable, a version descriptor defined specifically for the given code system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.codeSystemVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.displayName",
        "path": "Observation.interpretationCode.displayName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Display Name",
        "definition": "A name or title for the code, under which the sending system shows the code value to its users.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.displayName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.sdtcValueSet",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
            "valueString": "valueSet"
          }
        ],
        "path": "Observation.interpretationCode.sdtcValueSet",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.valueSet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.sdtcValueSetVersion",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
            "valueString": "valueSetVersion"
          }
        ],
        "path": "Observation.interpretationCode.sdtcValueSetVersion",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.sdtcValueSetVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.originalText",
        "path": "Observation.interpretationCode.originalText",
        "label": "Original Text",
        "definition": "The text or phrase used as the basis for the coding.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.originalText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.qualifier",
        "path": "Observation.interpretationCode.qualifier",
        "label": "Qualifier",
        "definition": "Specifies additional codes that increase the specificity of the the primary code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.qualifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CR"
          }
        ]
      },
      {
        "id": "Observation.interpretationCode.translation",
        "path": "Observation.interpretationCode.translation",
        "representation": [
          "typeAttr"
        ],
        "label": "Translation",
        "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CD.translation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Observation.methodCode",
        "path": "Observation.methodCode",
        "requirements": "MAY contain zero or one [0..1] methodCode (CONF:1198-7148).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.methodCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ObservationMethod"
        }
      },
      {
        "id": "Observation.targetSiteCode",
        "path": "Observation.targetSiteCode",
        "definition": "Drawn from concept domain ActSite",
        "requirements": "MAY contain zero or one [0..1] targetSiteCode (CONF:1198-7153).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.targetSiteCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Observation.subject.typeCode",
        "path": "Observation.subject.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.subject.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "SBJ",
        "fixedCode": "SBJ",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"
        }
      },
      {
        "id": "Observation.subject.contextControlCode",
        "path": "Observation.subject.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.subject.contextControlCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "OP",
        "fixedCode": "OP",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ContextControl"
        }
      },
      {
        "id": "Observation.subject.awarenessCode",
        "path": "Observation.subject.awarenessCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.subject.awarenessCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-TargetAwareness"
        }
      },
      {
        "id": "Observation.subject.relatedSubject",
        "path": "Observation.subject.relatedSubject",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.subject.relatedSubject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"
          }
        ]
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.specimen",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Specimen"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.performer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Performer2"
          }
        ]
      },
      {
        "id": "Observation.author",
        "path": "Observation.author",
        "requirements": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-7149).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.author",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Author",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Observation.informant",
        "path": "Observation.informant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.informant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Observation.informant.typeCode",
        "path": "Observation.informant.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.informant.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "INF",
        "fixedCode": "INF",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"
        }
      },
      {
        "id": "Observation.informant.contextControlCode",
        "path": "Observation.informant.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.informant.contextControlCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "OP",
        "fixedCode": "OP",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ContextControl"
        }
      },
      {
        "id": "Observation.informant.assignedEntity",
        "path": "Observation.informant.assignedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.informant.assignedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
          }
        ]
      },
      {
        "id": "Observation.informant.relatedEntity",
        "path": "Observation.informant.relatedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.informant.relatedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"
          }
        ]
      },
      {
        "id": "Observation.participant",
        "path": "Observation.participant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.participant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Participant2"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship",
        "path": "Observation.entryRelationship",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "obs-er-1",
            "severity": "error",
            "human": "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.contextConductionInd",
        "path": "Observation.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Observation.entryRelationship.sequenceNumber",
        "path": "Observation.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.negationInd",
        "path": "Observation.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.seperatableInd",
        "path": "Observation.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.observation",
        "path": "Observation.entryRelationship.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.regionOfInterest",
        "path": "Observation.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.observationMedia",
        "path": "Observation.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.substanceAdministration",
        "path": "Observation.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.supply",
        "path": "Observation.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.procedure",
        "path": "Observation.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.encounter",
        "path": "Observation.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.organizer",
        "path": "Observation.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship.act",
        "path": "Observation.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Observation.reference",
        "path": "Observation.reference",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.reference",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Observation.reference.typeCode",
        "path": "Observation.reference.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.reference.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Observation.reference.seperatableInd",
        "path": "Observation.reference.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.reference.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.reference.externalAct",
        "path": "Observation.reference.externalAct",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.reference.externalAct",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"
          }
        ]
      },
      {
        "id": "Observation.reference.externalObservation",
        "path": "Observation.reference.externalObservation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.reference.externalObservation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"
          }
        ]
      },
      {
        "id": "Observation.reference.externalProcedure",
        "path": "Observation.reference.externalProcedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.reference.externalProcedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"
          }
        ]
      },
      {
        "id": "Observation.reference.externalDocument",
        "path": "Observation.reference.externalDocument",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.reference.externalDocument",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"
          }
        ]
      },
      {
        "id": "Observation.precondition",
        "path": "Observation.precondition",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.precondition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Precondition"
          }
        ]
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "requirements": "SHOULD contain zero or more [0..*] referenceRange (CONF:1198-7150).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.referenceRange",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeCode",
        "path": "Observation.referenceRange.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.referenceRange.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "REFV",
        "fixedCode": "REFV",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains"
        }
      },
      {
        "id": "Observation.referenceRange.observationRange",
        "path": "Observation.referenceRange.observationRange",
        "requirements": "The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:1198-7151).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.referenceRange.observationRange",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationRange"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.observationRange.classCode",
        "path": "Observation.referenceRange.observationRange.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "ObservationRange.classCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "OBS",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActClassObservation"
        }
      },
      {
        "id": "Observation.referenceRange.observationRange.moodCode",
        "path": "Observation.referenceRange.observationRange.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "ObservationRange.moodCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "EVN.CRT",
        "fixedCode": "EVN.CRT",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate"
        }
      },
      {
        "id": "Observation.referenceRange.observationRange.templateId",
        "path": "Observation.referenceRange.observationRange.templateId",
        "definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ObservationRange.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.observationRange.code",
        "path": "Observation.referenceRange.observationRange.code",
        "requirements": "This observationRange SHALL NOT contain [0..0] code (CONF:1198-7152).",
        "min": 0,
        "max": "0",
        "base": {
          "path": "ObservationRange.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode"
        }
      },
      {
        "id": "Observation.referenceRange.observationRange.text",
        "path": "Observation.referenceRange.observationRange.text",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ObservationRange.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.observationRange.value",
        "path": "Observation.referenceRange.observationRange.value",
        "representation": [
          "typeAttr"
        ],
        "requirements": "This observationRange SHALL contain exactly one [1..1] value (CONF:1198-32175).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ObservationRange.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ST"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CV"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SC"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/TEL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/AD"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/EN"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/INT"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/REAL"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/PQ"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/MO"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"
          },
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.observationRange.interpretationCode",
        "path": "Observation.referenceRange.observationRange.interpretationCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ObservationRange.interpretationCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation"
        }
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.classCode",
        "path": "Observation.classCode",
        "requirements": "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-7130).",
        "min": 1,
        "max": "1",
        "patternCode": "OBS"
      },
      {
        "id": "Observation.moodCode",
        "path": "Observation.moodCode",
        "requirements": "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-7131).",
        "min": 1,
        "max": "1",
        "patternCode": "EVN"
      },
      {
        "id": "Observation.templateId",
        "path": "Observation.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension"
            },
            {
              "type": "value",
              "path": "root"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.templateId:primary",
        "path": "Observation.templateId",
        "sliceName": "primary",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7136) such that it",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.templateId:primary.root",
        "path": "Observation.templateId.root",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.2\" (CONF:1198-9138).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.10.20.22.4.2"
      },
      {
        "id": "Observation.templateId:primary.extension",
        "path": "Observation.templateId.extension",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32575).",
        "min": 1,
        "max": "1",
        "patternString": "2015-08-01"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "requirements": "SHALL contain at least one [1..*] id (CONF:1198-7137).",
        "min": 1,
        "max": "*"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "requirements": "SHALL contain exactly one [1..1] code, which SHOULD be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:1198-7133).",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "1198-19212",
            "severity": "warning",
            "human": "This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:1198-19212)."
          }
        ]
      },
      {
        "id": "Observation.statusCode",
        "path": "Observation.statusCode",
        "requirements": "SHALL contain exactly one [1..1] statusCode (CONF:1198-7134).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.statusCode.code",
        "path": "Observation.statusCode.code",
        "requirements": "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status urn:oid:2.16.840.1.113883.11.20.9.39 STATIC (CONF:1198-14849).",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39"
        }
      },
      {
        "id": "Observation.effectiveTime",
        "path": "Observation.effectiveTime",
        "label": "Represents the biologically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).",
        "short": "Represents the biologically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).",
        "requirements": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-7140).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value",
        "path": "Observation.value",
        "requirements": "SHALL contain exactly one [1..1] value (CONF:1198-7143).",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "1198-32610",
            "severity": "warning",
            "human": "If Observation/value is a CD (**xsi:type=\"CD\"**) the value **SHOULD** be SNOMED-CT (CONF:1198-32610)."
          },
          {
            "key": "1198-31866",
            "severity": "warning",
            "human": "A coded or physical quantity value **MAY** contain zero or more [0..&ast;] translations, which can be used to represent the original results as output by the lab (CONF:1198-31866)."
          },
          {
            "key": "1198-31484",
            "severity": "error",
            "human": "If Observation/value is a physical quantity (**xsi:type=\"PQ\"**), the unit of measure **SHALL** be selected from ValueSet UnitsOfMeasureCaseSensitive 2.16.840.1.113883.1.11.12839 **DYNAMIC** (CONF:1198-31484)."
          }
        ]
      },
      {
        "id": "Observation.interpretationCode",
        "path": "Observation.interpretationCode",
        "requirements": "SHOULD contain zero or more [0..*] interpretationCode (CONF:1198-7147).",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Observation.interpretationCode.code",
        "path": "Observation.interpretationCode.code",
        "requirements": "The interpretationCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Observation Interpretation (HL7) urn:oid:2.16.840.1.113883.1.11.78 DYNAMIC (CONF:1198-32476).",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.78"
        }
      },
      {
        "id": "Observation.methodCode",
        "path": "Observation.methodCode",
        "requirements": "MAY contain zero or one [0..1] methodCode (CONF:1198-7148).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.targetSiteCode",
        "path": "Observation.targetSiteCode",
        "requirements": "MAY contain zero or one [0..1] targetSiteCode (CONF:1198-7153).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.author",
        "path": "Observation.author",
        "requirements": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-7149).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Author",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "requirements": "SHOULD contain zero or more [0..*] referenceRange (CONF:1198-7150).",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Observation.referenceRange.observationRange",
        "path": "Observation.referenceRange.observationRange",
        "requirements": "The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:1198-7151).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.referenceRange.observationRange.code",
        "path": "Observation.referenceRange.observationRange.code",
        "requirements": "This observationRange SHALL NOT contain [0..0] code (CONF:1198-7152).",
        "min": 0,
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.observationRange.value",
        "path": "Observation.referenceRange.observationRange.value",
        "requirements": "This observationRange SHALL contain exactly one [1..1] value (CONF:1198-32175).",
        "min": 1,
        "max": "1"
      }
    ]
  }
}