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

FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.22.4.1--20240804094850

Packagehl7.cda.uv.ips
TypeStructureDefinition
Id2.16.840.1.113883.10.22.4.1--20240804094850
FHIR VersionR4
Sourcehttp://hl7.org/cda/uv/cda-ips/https://build.fhir.org/ig/HL7/CDA-IPS/StructureDefinition-2.16.840.1.113883.10.22.4.1--20240804094850.html
URLhttp://art-decor.org/fhir/StructureDefinition/2.16.840.1.113883.10.22.4.1--20240804094850
Version1.1.0-ballot
Statusdraft
Date2024-08-04T09:48:50Z
NameIPSEntryAllergyOrIntolerance
TitleIPS Allergy or Intolerance
Realmuv
Authorityhl7
DescriptionThis template reflects a discrete observation about a patient's allergy or intolerance. Because it is a discrete observation, it will have a statusCode of "completed". The effectiveTime, also referred to as the "biologically relevant time" is the time at which the observation holds for the patient. For a provider seeing a patient in the clinic today, observing a history of penicillin allergy that developed five years ago, the effectiveTime is five years ago. The effectiveTime of the Allergy - Intolerance Observation gives an indication of whether or not the underlying allergy/intolerance is resolved. If known to be resolved, then an effectiveTime/high would be present.  If the date of resolution is not known, then effectiveTime/high will be present with a nullFlavor of "UNK".  It is recommended that the agent responsible for an allergy or adverse reaction would be used for describing the allergy, however the possibility that pre-coordinate codes (e.g. "allergy to nuts") will be used has been here also considered. The agent responsible for  an allergy or adverse reaction it is not always a manufactured material (for example, food allergies), nor is it necessarily consumed; however  the playingEntity classCode = "MMAT" for all agents, manufactured or not is expected to be used. This choice depends on thecharacteristics of the base CDA R2 specification.
Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
Kindlogical

Resources that use this resource

StructureDefinition
2.16.840.1.113883.10.22.4.5--20240804100924IPS Allergy and Intolerance Concern

Resources that this resource uses

StructureDefinition
IIII: InstanceIdentifier (V3 Data Type)
ObservationObservation (CDA Class)
2.16.840.1.113883.10.22.4.6--20240804101847IPS Reaction Manifestation
ValueSet
2.16.840.1.113883.11.22.10--20240802091633IPS Allergy or Intolerance Conditions
2.16.840.1.113883.11.22.2--20161206000000Allergy or Intolerance Type
allergy-intolerance-substance-condition-uv-ipsIPS Allergy or Intolerance Substances
allergy-intolerance-substance-condition-uv-ipsAllergy intolerance substance condition - IPS

Narrative

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

Generated Narrative: StructureDefinition 2.16.840.1.113883.10.22.4.1--20240804094850

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation S0..*ObservationXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary S1..1II
..... @root 1..1stringFixed Value: 2.16.840.1.113883.10.22.4.1
... @classCode 1..1codeFixed Value: OBS
... @moodCode 1..1codeFixed Value: EVN
... id S0..*II
... code S1..1CDBinding: Allergy or Intolerance Type (required): Allergy or Intolerance Type

... text S0..1ED
.... reference S1..1TEL
..... @value 1..1url
... statusCode S1..1CS
.... @code 1..1codeFixed Value: completed
... effectiveTime S1..1IVL_TS
.... low S1..1IVXB_TS
.... high 0..1IVXB_TS
... value 0..1ANY, BL, ED, ST, CD, CV, CE, CO, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS, RTO_PQ_PQBinding: IPS Allergy or Intolerance Conditions (preferred): IPS Allergy or Intolerance Conditions

... participant 0..1Participant2
.... @typeCode 1..1codeFixed Value: CSM
.... participantRole S1..1ParticipantRole
..... @classCode 1..1codeFixed Value: MANU
..... playingEntity S1..1PlayingEntity
...... @classCode 1..1codeFixed Value: MMAT
...... code S1..1CEBinding: IPS Allergy or Intolerance Substances (preferred): IPS Allergy or Intolerance Substances

... Slices for entryRelationship 1..*EntryRelationshipSlice: Unordered, Open by value:profile
.... entryRelationship:entryRelationship-1 SC0..*EntryRelationshipentryRelationship-1: contains IPS Reaction Manifestation 2.16.840.1.113883.10.22.4.6 (2024-08-04)
..... @typeCode 1..1codeFixed Value: MFST
..... @inversionInd 1..1booleanFixed Value: true
..... Slices for observation Content/Rules for all slices
...... observation:entryRelationship-1 S1..1IPSAdverseReactionMFSTBase for all types and resources
.... entryRelationship:entryRelationship-2 SC1..1EntryRelationshipentryRelationship-2: contains IPS Criticality Observation 2.16.840.1.113883.10.22.4.18 (2017-03-27)
..... @typeCode 1..1codeFixed Value: SUBJ
..... @inversionInd 1..1booleanFixed Value: true
.... entryRelationship:entryRelationship-3 SC1..1EntryRelationshipentryRelationship-3: contains IPS Allergy Certainty Observation 2.16.840.1.113883.10.22.10 (2018-02-07)
..... @typeCode 1..1codeFixed Value: SUBJ
..... @inversionInd 1..1booleanFixed Value: true
.... entryRelationship:entryRelationship-4 SC1..1EntryRelationshipentryRelationship-4: contains IPS Allergy Status Observation 2.16.840.1.113883.10.22.4.21 (2017-05-24)
..... @typeCode 1..1codeFixed Value: REFR
..... @inversionInd 1..1booleanFixed Value: false

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "2.16.840.1.113883.10.22.4.1--20240804094850",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/4.0/StructureDefinition/StructureDefinition"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
      "valueUri": "urn:hl7-org:v3"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
      "valuePeriod": {
        "start": "2024-08-04T09:48:50+02:00"
      }
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target",
      "_valueBoolean": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
            "valueCode": "not-applicable"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
      "valueUri": "urn:hl7-org:v3"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
      "valueString": "observation"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
      "valueUri": "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-profile-style",
      "valueUri": "cda"
    }
  ],
  "url": "http://art-decor.org/fhir/StructureDefinition/2.16.840.1.113883.10.22.4.1--20240804094850",
  "identifier": [
    {
      "use": "official",
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.10.22.4.1"
    }
  ],
  "version": "1.1.0-ballot",
  "name": "IPSEntryAllergyOrIntolerance",
  "title": "IPS Allergy or Intolerance",
  "status": "draft",
  "experimental": false,
  "date": "2024-08-04T09:48:50Z",
  "publisher": "Health Level Seven",
  "contact": [
    {
      "name": "HL7 International - International Patient Summary",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/structure"
        }
      ]
    }
  ],
  "description": "This template reflects a discrete observation about a patient's allergy or intolerance. \n\nBecause it is a discrete observation, it will have a statusCode of \"completed\".\n\n                 \n\nThe effectiveTime, also referred to as the \"biologically relevant time\" is the time at which the observation holds for the patient.\n\n                 \n\nFor a provider seeing a patient in the clinic today, observing a history of penicillin allergy that developed five years ago, the effectiveTime is five years ago.\n\n                 \n\nThe effectiveTime of the Allergy - Intolerance Observation gives an indication of whether or not the underlying allergy/intolerance is resolved. If known to be resolved, then an effectiveTime/high would be present. \n\n                 \n\nIf the date of resolution is not known, then effectiveTime/high will be present with a nullFlavor of \"UNK\". \nIt is recommended that the agent responsible for an allergy or adverse reaction would be used for describing the allergy, however the possibility that pre-coordinate codes (e.g. \"allergy to nuts\") will be used has been here also considered.\nThe agent responsible                     for  an allergy or adverse reaction it is not always a manufactured material (for example, food allergies), nor is it necessarily consumed; however  the playingEntity classCode = \"MMAT\" for all agents, manufactured or not is expected to be used. This choice depends on thecharacteristics of the base CDA R2 specification.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "Base for all types and resources",
        "definition": "Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Observation.nullFlavor",
        "path": "Observation.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.realmCode",
        "path": "Observation.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.typeId",
        "path": "Observation.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.typeId.nullFlavor",
        "path": "Observation.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.typeId.assigningAuthorityName",
        "path": "Observation.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.typeId.displayable",
        "path": "Observation.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.typeId.root",
        "path": "Observation.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.typeId.extension",
        "path": "Observation.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.templateId",
        "path": "Observation.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "root"
            },
            {
              "type": "value",
              "path": "extension"
            }
          ],
          "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": 1,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/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",
        "min": 1,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ],
        "mustSupport": true
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "2.16.840.1.113883.10.22.4.1"
      },
      {
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.classCode",
        "path": "Observation.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.classCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "OBS",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDAActClassObservation"
        }
      },
      {
        "id": "Observation.moodCode",
        "path": "Observation.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.moodCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "EVN",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActMoodDocumentObservation|2.0.0"
        }
      },
      {
        "id": "Observation.negationInd",
        "path": "Observation.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "representation": [
          "typeAttr"
        ],
        "definition": "This element describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Allergy or Intolerance Type",
          "valueSet": "http://art-decor.org/fhir/ValueSet/2.16.840.1.113883.11.22.2--20161206000000"
        }
      },
      {
        "id": "Observation.derivationExpr",
        "path": "Observation.derivationExpr",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.derivationExpr",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "representation": [
          "typeAttr"
        ],
        "definition": "The text element if present points to the text describing the problem being recorded; including any dates, comments, et cetera. The  contains a URI in value attribute. This URI points to the free text description of the problem in the document that is being described.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.text.nullFlavor",
        "path": "Observation.text.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.text.compression",
        "path": "Observation.text.compression",
        "representation": [
          "xmlAttr"
        ],
        "label": "Compression",
        "definition": "Indicates whether the raw byte data is compressed, and what compression algorithm was used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.compression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm"
        }
      },
      {
        "id": "Observation.text.integrityCheck",
        "path": "Observation.text.integrityCheck",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check",
        "definition": "The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.integrityCheck",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bin"
            ]
          }
        ]
      },
      {
        "id": "Observation.text.integrityCheckAlgorithm",
        "path": "Observation.text.integrityCheckAlgorithm",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check Algorithm",
        "definition": "Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.integrityCheckAlgorithm",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0"
        }
      },
      {
        "id": "Observation.text.language",
        "path": "Observation.text.language",
        "representation": [
          "xmlAttr"
        ],
        "label": "Language",
        "definition": "For character based information the language property specifies the human language of the text.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.text.mediaType",
        "path": "Observation.text.mediaType",
        "representation": [
          "xmlAttr"
        ],
        "label": "Media Type",
        "definition": "Identifies the type of the encapsulated data and identifies a method to interpret or render the data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.mediaType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-MediaType"
        }
      },
      {
        "id": "Observation.text.representation",
        "path": "Observation.text.representation",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.representation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding"
        }
      },
      {
        "id": "Observation.text.xmlText",
        "path": "Observation.text.xmlText",
        "representation": [
          "xmlText"
        ],
        "short": "Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.",
        "definition": "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)",
        "comment": "This element is represented in XML as textual content. The actual name \"xmlText\" will not appear in a CDA instance.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.xmlText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.text.reference",
        "path": "Observation.text.reference",
        "label": "Reference",
        "definition": "A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ED.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.text.reference.nullFlavor",
        "path": "Observation.text.reference.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.text.reference.value",
        "path": "Observation.text.reference.value",
        "representation": [
          "xmlAttr"
        ],
        "definition": "When used it shall refer to the narrative, typically #{label}-{generated-id}, e.g. #xxx-1",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TEL.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "Observation.text.reference.useablePeriod",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype",
            "valueCanonical": "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"
          }
        ],
        "path": "Observation.text.reference.useablePeriod",
        "representation": [
          "typeAttr"
        ],
        "label": "Useable Period",
        "definition": "Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TEL.useablePeriod",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"
          }
        ]
      },
      {
        "id": "Observation.text.reference.use",
        "path": "Observation.text.reference.use",
        "representation": [
          "xmlAttr"
        ],
        "label": "Use Code",
        "definition": "One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TEL.use",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse|2.0.0"
        }
      },
      {
        "id": "Observation.text.thumbnail",
        "path": "Observation.text.thumbnail",
        "label": "Thumbnail",
        "definition": "An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.thumbnail",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.statusCode",
        "path": "Observation.statusCode",
        "definition": "A clinical document normally records only those condition observation events that have been completed, not observations that are in any other state. Therefore, the  shall always have code='completed'.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.statusCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ],
        "mustSupport": true,
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "completed"
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ]
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.statusCode.sdtcValueSet",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid"
            ]
          }
        ]
      },
      {
        "id": "Observation.statusCode.sdtcValueSetVersion",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "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/cda/stds/core/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/cda/stds/core/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/cda/stds/core/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Observation.effectiveTime",
        "path": "Observation.effectiveTime",
        "definition": "The effectiveTime, also referred to as the \"biologically relevant time\" is the time at which the observation holds for the patient. For a provider seeing a patient in the clinic today, observing a history of penicillin allergy that developed five years ago, the effectiveTime is five years ago. The effectiveTime of the                         Allergy - Intolerance  Observation may give an indication of whether or not the underlying allergy/intolerance is resolved.  \n The <low> and <high> values should be no more precise than known, but as precise as possible.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.effectiveTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.effectiveTime.nullFlavor",
        "path": "Observation.effectiveTime.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.effectiveTime.value",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format",
            "valueString": "YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-rules",
            "valueString": "year-valid"
          }
        ],
        "path": "Observation.effectiveTime.value",
        "representation": [
          "xmlAttr"
        ],
        "definition": "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TS.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/ts-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.effectiveTime.operator",
        "path": "Observation.effectiveTime.operator",
        "representation": [
          "xmlAttr"
        ],
        "definition": "A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SXCM_TS.operator",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "defaultValueCode": "I",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"
        }
      },
      {
        "id": "Observation.effectiveTime.low",
        "path": "Observation.effectiveTime.low",
        "label": "Low Boundary",
        "definition": "The effectiveTime/low (a.k.a. \"onset date\") asserts when the allergy/intolerance became biologically active.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IVL_TS.low",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.effectiveTime.center",
        "path": "Observation.effectiveTime.center",
        "label": "Central Value",
        "definition": "The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IVL_TS.center",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TS"
          }
        ]
      },
      {
        "id": "Observation.effectiveTime.width",
        "path": "Observation.effectiveTime.width",
        "label": "Width",
        "definition": "The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IVL_TS.width",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQ"
          }
        ]
      },
      {
        "id": "Observation.effectiveTime.high",
        "path": "Observation.effectiveTime.high",
        "label": "High Boundary",
        "definition": "The effectiveTime/high (a.k.a. \"resolution date\") asserts when the allergy/intolerance became biologically resolved. \n If the date of resolution is not known, then effectiveTime/high will be present with a nullFlavor of \"UNK\".If this condition is known to be resolved, then the effectiveTime/high would be present.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IVL_TS.high",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS"
          }
        ]
      },
      {
        "id": "Observation.priorityCode",
        "path": "Observation.priorityCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.priorityCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "example",
          "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/cda/stds/core/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/cda/stds/core/StructureDefinition/CS"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-languages"
        }
      },
      {
        "id": "Observation.value",
        "path": "Observation.value",
        "representation": [
          "typeAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.value",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ANY"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ST"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CV"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CO"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SC"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/AD"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EN"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/REAL"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQ"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/MO"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"
          },
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "IPS Allergy or Intolerance Conditions",
          "valueSet": "http://art-decor.org/fhir/ValueSet/2.16.840.1.113883.11.22.10--20240802091633"
        }
      },
      {
        "id": "Observation.interpretationCode",
        "path": "Observation.interpretationCode",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.interpretationCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDAObservationInterpretation"
        }
      },
      {
        "id": "Observation.methodCode",
        "path": "Observation.methodCode",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.methodCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ObservationMethod"
        }
      },
      {
        "id": "Observation.targetSiteCode",
        "path": "Observation.targetSiteCode",
        "definition": "Drawn from concept domain ActSite",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.targetSiteCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Subject"
          }
        ]
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.specimen",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Specimen"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.performer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Performer2"
          }
        ]
      },
      {
        "id": "Observation.author",
        "path": "Observation.author",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.author",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Author"
          }
        ]
      },
      {
        "id": "Observation.informant",
        "path": "Observation.informant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.informant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Informant"
          }
        ]
      },
      {
        "id": "Observation.participant",
        "path": "Observation.participant",
        "definition": "The substance that causes the allergy or intolerance should be specified in the <participant> structure.  \n This is the preferred way an allergy is supposed to be expressed. \n However it is recognized that in some contexts a controlled vocabulary is used for describing the allergy to a                         substance; or for asserting known absence or unavailability of information.  \n In this case the <participant> structure shall be omitted. \n The agent responsible for an allergy or adverse reaction is not always a manufactured material (for example, food allergies), nor is it necessarily consumed. The following constraints reflect limitations in the base CDA R2                         specification, and should be used to represent any type of responsible agent, i.e., use playingEntity classCode = \"MMAT\" for all agents, manufactured or not.IF the observation/value element is present and valued with a code derived form the  2.16.840.1.113883.11.22.9 Absent or Unknown Allergies value set THEN the  observation/participant element used to describe the agent SHALL be omitted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.participant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Participant2"
          }
        ]
      },
      {
        "id": "Observation.participant.nullFlavor",
        "path": "Observation.participant.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.realmCode",
        "path": "Observation.participant.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.participant.typeId",
        "path": "Observation.participant.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.typeId.nullFlavor",
        "path": "Observation.participant.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.typeId.assigningAuthorityName",
        "path": "Observation.participant.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.typeId.displayable",
        "path": "Observation.participant.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.typeId.root",
        "path": "Observation.participant.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.participant.typeId.extension",
        "path": "Observation.participant.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.templateId",
        "path": "Observation.participant.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.typeCode",
        "path": "Observation.participant.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Participant2.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "CSM",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType"
        }
      },
      {
        "id": "Observation.participant.contextControlCode",
        "path": "Observation.participant.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Participant2.contextControlCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "fixedCode": "OP",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDAContextControl"
        }
      },
      {
        "id": "Observation.participant.sdtcFunctionCode",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "functionCode"
          }
        ],
        "path": "Observation.participant.sdtcFunctionCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Participant2.sdtcFunctionCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ]
      },
      {
        "id": "Observation.participant.time",
        "path": "Observation.participant.time",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Participant2.time",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"
          }
        ]
      },
      {
        "id": "Observation.participant.awarenessCode",
        "path": "Observation.participant.awarenessCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Participant2.awarenessCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole",
        "path": "Observation.participant.participantRole",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Participant2.participantRole",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.participant.participantRole.nullFlavor",
        "path": "Observation.participant.participantRole.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.participantRole.realmCode",
        "path": "Observation.participant.participantRole.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.typeId",
        "path": "Observation.participant.participantRole.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.typeId.nullFlavor",
        "path": "Observation.participant.participantRole.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.participantRole.typeId.assigningAuthorityName",
        "path": "Observation.participant.participantRole.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.typeId.displayable",
        "path": "Observation.participant.participantRole.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.typeId.root",
        "path": "Observation.participant.participantRole.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.participant.participantRole.typeId.extension",
        "path": "Observation.participant.participantRole.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.templateId",
        "path": "Observation.participant.participantRole.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.classCode",
        "path": "Observation.participant.participantRole.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "ParticipantRole.classCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "ROL",
        "fixedString": "MANU",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDARoleClassRoot"
        }
      },
      {
        "id": "Observation.participant.participantRole.id",
        "path": "Observation.participant.participantRole.id",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ParticipantRole.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.sdtcIdentifiedBy",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "identifiedBy"
          }
        ],
        "path": "Observation.participant.participantRole.sdtcIdentifiedBy",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ParticipantRole.sdtcIdentifiedBy",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.code",
        "path": "Observation.participant.participantRole.code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParticipantRole.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDARoleCode"
        }
      },
      {
        "id": "Observation.participant.participantRole.addr",
        "path": "Observation.participant.participantRole.addr",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ParticipantRole.addr",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/AD"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.telecom",
        "path": "Observation.participant.participantRole.telecom",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ParticipantRole.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingDevice",
        "path": "Observation.participant.participantRole.playingDevice",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParticipantRole.playingDevice",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Device"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity",
        "path": "Observation.participant.participantRole.playingEntity",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ParticipantRole.playingEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.nullFlavor",
        "path": "Observation.participant.participantRole.playingEntity.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.realmCode",
        "path": "Observation.participant.participantRole.playingEntity.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId",
        "path": "Observation.participant.participantRole.playingEntity.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId.nullFlavor",
        "path": "Observation.participant.participantRole.playingEntity.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId.assigningAuthorityName",
        "path": "Observation.participant.participantRole.playingEntity.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId.displayable",
        "path": "Observation.participant.participantRole.playingEntity.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId.root",
        "path": "Observation.participant.participantRole.playingEntity.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.typeId.extension",
        "path": "Observation.participant.participantRole.playingEntity.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.templateId",
        "path": "Observation.participant.participantRole.playingEntity.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.classCode",
        "path": "Observation.participant.participantRole.playingEntity.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlayingEntity.classCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "ENT",
        "fixedString": "MMAT",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot"
        }
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.determinerCode",
        "path": "Observation.participant.participantRole.playingEntity.determinerCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlayingEntity.determinerCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "fixedCode": "INSTANCE",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"
        }
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.code",
        "path": "Observation.participant.participantRole.playingEntity.code",
        "definition": "Code for the substance causing the allergy or intolerance.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlayingEntity.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "IPS Allergy or Intolerance Substances",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips"
        }
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.quantity",
        "path": "Observation.participant.participantRole.playingEntity.quantity",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlayingEntity.quantity",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQ"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.name",
        "path": "Observation.participant.participantRole.playingEntity.name",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlayingEntity.name",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/PN"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.sdtcBirthTime",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "birthTime"
          }
        ],
        "path": "Observation.participant.participantRole.playingEntity.sdtcBirthTime",
        "definition": "The purpose of this extension is to allow the recording of the subscriber or member of a health plan in cases where the health plan eligibility system has different information on file than the provider does for the patient.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlayingEntity.sdtcBirthTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TS"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.desc",
        "path": "Observation.participant.participantRole.playingEntity.desc",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlayingEntity.desc",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Observation.participant.participantRole.scopingEntity",
        "path": "Observation.participant.participantRole.scopingEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParticipantRole.scopingEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Entity"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship",
        "path": "Observation.entryRelationship",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "profile"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "*",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-1",
        "definition": "The contained entry describes the reactions that are manifestations (typeCode='MFST') of the reported allergy or intolerance.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
          }
        ],
        "constraint": [
          {
            "key": "entryRelationship-1",
            "human": "contains IPS Reaction Manifestation 2.16.840.1.113883.10.22.4.6 (2024-08-04)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.nullFlavor",
        "path": "Observation.entryRelationship.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.realmCode",
        "path": "Observation.entryRelationship.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId",
        "path": "Observation.entryRelationship.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId.nullFlavor",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId.assigningAuthorityName",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId.displayable",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId.root",
        "path": "Observation.entryRelationship.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeId.extension",
        "path": "Observation.entryRelationship.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.templateId",
        "path": "Observation.entryRelationship.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "MFST",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.contextConductionInd",
        "path": "Observation.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.contextConductionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.negationInd",
        "path": "Observation.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.sequenceNumber",
        "path": "Observation.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.seperatableInd",
        "path": "Observation.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.act",
        "path": "Observation.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.encounter",
        "path": "Observation.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.observation:entryRelationship-1",
        "path": "Observation.entryRelationship.observation",
        "sliceName": "entryRelationship-1",
        "short": "Base for all types and resources",
        "definition": "Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
            "profile": [
              "http://art-decor.org/fhir/StructureDefinition/2.16.840.1.113883.10.22.4.6--20240804101847"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.observationMedia",
        "path": "Observation.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.organizer",
        "path": "Observation.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.procedure",
        "path": "Observation.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.regionOfInterest",
        "path": "Observation.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.substanceAdministration",
        "path": "Observation.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.supply",
        "path": "Observation.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-2",
        "definition": "**Criticality**                         \n The contained entry describes the gravity of the potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction in that individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
          }
        ],
        "constraint": [
          {
            "key": "entryRelationship-2",
            "human": "contains IPS Criticality Observation 2.16.840.1.113883.10.22.4.18 (2017-03-27)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.nullFlavor",
        "path": "Observation.entryRelationship.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.realmCode",
        "path": "Observation.entryRelationship.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId",
        "path": "Observation.entryRelationship.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId.nullFlavor",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId.assigningAuthorityName",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId.displayable",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId.root",
        "path": "Observation.entryRelationship.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeId.extension",
        "path": "Observation.entryRelationship.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.templateId",
        "path": "Observation.entryRelationship.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "SUBJ",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.contextConductionInd",
        "path": "Observation.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.contextConductionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.negationInd",
        "path": "Observation.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.sequenceNumber",
        "path": "Observation.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.seperatableInd",
        "path": "Observation.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.act",
        "path": "Observation.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.encounter",
        "path": "Observation.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.observation",
        "path": "Observation.entryRelationship.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.observationMedia",
        "path": "Observation.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.organizer",
        "path": "Observation.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.procedure",
        "path": "Observation.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.regionOfInterest",
        "path": "Observation.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.substanceAdministration",
        "path": "Observation.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.supply",
        "path": "Observation.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-3",
        "definition": "**Certainty or Verification Status**                         \n The contained entry describes the certainty associated with a propensity, or potential risk, of a reaction to the identified substance.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
          }
        ],
        "constraint": [
          {
            "key": "entryRelationship-3",
            "human": "contains IPS Allergy Certainty Observation 2.16.840.1.113883.10.22.10 (2018-02-07)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.nullFlavor",
        "path": "Observation.entryRelationship.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.realmCode",
        "path": "Observation.entryRelationship.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId",
        "path": "Observation.entryRelationship.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId.nullFlavor",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId.assigningAuthorityName",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId.displayable",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId.root",
        "path": "Observation.entryRelationship.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeId.extension",
        "path": "Observation.entryRelationship.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.templateId",
        "path": "Observation.entryRelationship.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "SUBJ",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.contextConductionInd",
        "path": "Observation.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.contextConductionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.negationInd",
        "path": "Observation.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.sequenceNumber",
        "path": "Observation.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.seperatableInd",
        "path": "Observation.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.act",
        "path": "Observation.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.encounter",
        "path": "Observation.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.observation",
        "path": "Observation.entryRelationship.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.observationMedia",
        "path": "Observation.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.organizer",
        "path": "Observation.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.procedure",
        "path": "Observation.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.regionOfInterest",
        "path": "Observation.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.substanceAdministration",
        "path": "Observation.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.supply",
        "path": "Observation.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-4",
        "definition": "**Status of the Allergy or Intolerance **                         \n The contained entry describes the current status of the allergy or intolerance, for example, whether it is active, in remission, resolved, and so on ...",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
          }
        ],
        "constraint": [
          {
            "key": "entryRelationship-4",
            "human": "contains IPS Allergy Status Observation 2.16.840.1.113883.10.22.4.21 (2017-05-24)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.nullFlavor",
        "path": "Observation.entryRelationship.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.realmCode",
        "path": "Observation.entryRelationship.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId",
        "path": "Observation.entryRelationship.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId.nullFlavor",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId.assigningAuthorityName",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId.displayable",
        "path": "Observation.entryRelationship.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId.root",
        "path": "Observation.entryRelationship.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeId.extension",
        "path": "Observation.entryRelationship.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.templateId",
        "path": "Observation.entryRelationship.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "REFR",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
        }
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EntryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "false"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.contextConductionInd",
        "path": "Observation.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.contextConductionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.negationInd",
        "path": "Observation.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.sequenceNumber",
        "path": "Observation.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.seperatableInd",
        "path": "Observation.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.act",
        "path": "Observation.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.encounter",
        "path": "Observation.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.observation",
        "path": "Observation.entryRelationship.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.observationMedia",
        "path": "Observation.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.organizer",
        "path": "Observation.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.procedure",
        "path": "Observation.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.regionOfInterest",
        "path": "Observation.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.substanceAdministration",
        "path": "Observation.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.supply",
        "path": "Observation.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EntryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Observation.reference",
        "path": "Observation.reference",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.reference",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Reference"
          }
        ]
      },
      {
        "id": "Observation.precondition",
        "path": "Observation.precondition",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.precondition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Precondition"
          }
        ]
      },
      {
        "id": "Observation.sdtcPrecondition2",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "precondition2"
          }
        ],
        "path": "Observation.sdtcPrecondition2",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.sdtcPrecondition2",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Precondition2"
          }
        ]
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "definition": "Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.referenceRange",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.nullFlavor",
        "path": "Observation.referenceRange.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.referenceRange.realmCode",
        "path": "Observation.referenceRange.realmCode",
        "definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "InfrastructureRoot.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeId",
        "path": "Observation.referenceRange.typeId",
        "definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "InfrastructureRoot.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeId.nullFlavor",
        "path": "Observation.referenceRange.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "Observation.referenceRange.typeId.assigningAuthorityName",
        "path": "Observation.referenceRange.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeId.displayable",
        "path": "Observation.referenceRange.typeId.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",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeId.root",
        "path": "Observation.referenceRange.typeId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "Identifies the type as an HL7 Registered model",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ],
        "fixedString": "2.16.840.1.113883.1.3"
      },
      {
        "id": "Observation.referenceRange.typeId.extension",
        "path": "Observation.referenceRange.typeId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "Observation.referenceRange.templateId",
        "path": "Observation.referenceRange.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": "InfrastructureRoot.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.typeCode",
        "path": "Observation.referenceRange.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Observation.referenceRange.typeCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "fixedCode": "REFV",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType"
        }
      },
      {
        "id": "Observation.referenceRange.observationRange",
        "path": "Observation.referenceRange.observationRange",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Observation.referenceRange.observationRange",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationRange"
          }
        ]
      },
      {
        "id": "Observation.sdtcInFulfillmentOf1",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "inFulfillmentOf1"
          }
        ],
        "path": "Observation.sdtcInFulfillmentOf1",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Observation.sdtcInFulfillmentOf1",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "Observation.templateId",
        "path": "Observation.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "root"
            },
            {
              "type": "value",
              "path": "extension"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.templateId:primary",
        "path": "Observation.templateId",
        "sliceName": "primary",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.templateId:primary.root",
        "path": "Observation.templateId.root",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "2.16.840.1.113883.10.22.4.1"
      },
      {
        "id": "Observation.classCode",
        "path": "Observation.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "OBS"
      },
      {
        "id": "Observation.moodCode",
        "path": "Observation.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "EVN"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "definition": "This element describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance).",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Allergy or Intolerance Type",
          "valueSet": "http://art-decor.org/fhir/ValueSet/2.16.840.1.113883.11.22.2--20161206000000"
        }
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "definition": "The text element if present points to the text describing the problem being recorded; including any dates, comments, et cetera. The  contains a URI in value attribute. This URI points to the free text description of the problem in the document that is being described.",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.text.reference",
        "path": "Observation.text.reference",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.text.reference.value",
        "path": "Observation.text.reference.value",
        "representation": [
          "xmlAttr"
        ],
        "definition": "When used it shall refer to the narrative, typically #{label}-{generated-id}, e.g. #xxx-1",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "Observation.statusCode",
        "path": "Observation.statusCode",
        "definition": "A clinical document normally records only those condition observation events that have been completed, not observations that are in any other state. Therefore, the  shall always have code='completed'.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.statusCode.code",
        "path": "Observation.statusCode.code",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "completed"
      },
      {
        "id": "Observation.effectiveTime",
        "path": "Observation.effectiveTime",
        "definition": "The effectiveTime, also referred to as the \"biologically relevant time\" is the time at which the observation holds for the patient. For a provider seeing a patient in the clinic today, observing a history of penicillin allergy that developed five years ago, the effectiveTime is five years ago. The effectiveTime of the                         Allergy - Intolerance  Observation may give an indication of whether or not the underlying allergy/intolerance is resolved.  \n The <low> and <high> values should be no more precise than known, but as precise as possible.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.effectiveTime.low",
        "path": "Observation.effectiveTime.low",
        "definition": "The effectiveTime/low (a.k.a. \"onset date\") asserts when the allergy/intolerance became biologically active.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.effectiveTime.high",
        "path": "Observation.effectiveTime.high",
        "definition": "The effectiveTime/high (a.k.a. \"resolution date\") asserts when the allergy/intolerance became biologically resolved. \n If the date of resolution is not known, then effectiveTime/high will be present with a nullFlavor of \"UNK\".If this condition is known to be resolved, then the effectiveTime/high would be present.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.value",
        "path": "Observation.value",
        "min": 0,
        "max": "1",
        "binding": {
          "strength": "preferred",
          "description": "IPS Allergy or Intolerance Conditions",
          "valueSet": "http://art-decor.org/fhir/ValueSet/2.16.840.1.113883.11.22.10--20240802091633"
        }
      },
      {
        "id": "Observation.participant",
        "path": "Observation.participant",
        "definition": "The substance that causes the allergy or intolerance should be specified in the <participant> structure.  \n This is the preferred way an allergy is supposed to be expressed. \n However it is recognized that in some contexts a controlled vocabulary is used for describing the allergy to a                         substance; or for asserting known absence or unavailability of information.  \n In this case the <participant> structure shall be omitted. \n The agent responsible for an allergy or adverse reaction is not always a manufactured material (for example, food allergies), nor is it necessarily consumed. The following constraints reflect limitations in the base CDA R2                         specification, and should be used to represent any type of responsible agent, i.e., use playingEntity classCode = \"MMAT\" for all agents, manufactured or not.IF the observation/value element is present and valued with a code derived form the  2.16.840.1.113883.11.22.9 Absent or Unknown Allergies value set THEN the  observation/participant element used to describe the agent SHALL be omitted.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.participant.typeCode",
        "path": "Observation.participant.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "CSM"
      },
      {
        "id": "Observation.participant.participantRole",
        "path": "Observation.participant.participantRole",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.participant.participantRole.classCode",
        "path": "Observation.participant.participantRole.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "MANU"
      },
      {
        "id": "Observation.participant.participantRole.playingEntity",
        "path": "Observation.participant.participantRole.playingEntity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.classCode",
        "path": "Observation.participant.participantRole.playingEntity.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "MMAT"
      },
      {
        "id": "Observation.participant.participantRole.playingEntity.code",
        "path": "Observation.participant.participantRole.playingEntity.code",
        "definition": "Code for the substance causing the allergy or intolerance.",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "IPS Allergy or Intolerance Substances",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips"
        }
      },
      {
        "id": "Observation.entryRelationship",
        "path": "Observation.entryRelationship",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "profile"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-1",
        "definition": "The contained entry describes the reactions that are manifestations (typeCode='MFST') of the reported allergy or intolerance.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "entryRelationship-1",
            "human": "contains IPS Reaction Manifestation 2.16.840.1.113883.10.22.4.6 (2024-08-04)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "MFST"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-1.observation:entryRelationship-1",
        "path": "Observation.entryRelationship.observation",
        "sliceName": "entryRelationship-1",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
            "profile": [
              "http://art-decor.org/fhir/StructureDefinition/2.16.840.1.113883.10.22.4.6--20240804101847"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-2",
        "definition": "**Criticality**                         \n The contained entry describes the gravity of the potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction in that individual.",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "entryRelationship-2",
            "human": "contains IPS Criticality Observation 2.16.840.1.113883.10.22.4.18 (2017-03-27)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "SUBJ"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-2.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-3",
        "definition": "**Certainty or Verification Status**                         \n The contained entry describes the certainty associated with a propensity, or potential risk, of a reaction to the identified substance.",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "entryRelationship-3",
            "human": "contains IPS Allergy Certainty Observation 2.16.840.1.113883.10.22.10 (2018-02-07)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "SUBJ"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-3.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "true"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4",
        "path": "Observation.entryRelationship",
        "sliceName": "entryRelationship-4",
        "definition": "**Status of the Allergy or Intolerance **                         \n The contained entry describes the current status of the allergy or intolerance, for example, whether it is active, in remission, resolved, and so on ...",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "entryRelationship-4",
            "human": "contains IPS Allergy Status Observation 2.16.840.1.113883.10.22.4.21 (2017-05-24)"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.typeCode",
        "path": "Observation.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "REFR"
      },
      {
        "id": "Observation.entryRelationship:entryRelationship-4.inversionInd",
        "path": "Observation.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "fixedString": "false"
      }
    ]
  }
}