PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity
{
  "description": "An Immunization Activity describes immunization substance administrations that have actually occurred or are intended to occur. Immunization Activities in \\\"INT\\\" mood are reflections of immunizations a clinician intends a patient to receive. Immunization Activities in \\\"EVN\\\" mood reflect immunizations actually received.\\n\\nAn Immunization Activity is very similar to a Medication Activity with some key differentiators. The drug code system is constrained to CVX codes. Administration timing is less complex. Patient refusal reasons should be captured. All vaccines administered should be fully documented in the patient's permanent medical record. Healthcare providers who administer vaccines covered by the National Childhood Vaccine Injury Act are required to ensure that the permanent medical record of the recipient indicates: \\n\\n1. Date of administration\\n2. Vaccine manufacturer\\n3. Vaccine lot number\\n4. Name and title of the person who administered the vaccine and the address of the clinic or facility where the permanent record will reside\\n5. Vaccine information statement (VIS)\\n\\na. Date printed on the VIS\\nb. Date VIS given to patient or parent/guardian.\\n\\nThis information should be included in an Immunization Activity when available. (Reference: [https://www.cdc.gov/vaccines/pubs/pinkbook/downloads/appendices/c/vis-instruct.pdf])",
  "_filename": "StructureDefinition-ImmunizationActivity.json",
  "package_name": "hl7.cda.us.ccda",
  "date": "2023-12-21T01:13:10+10:00",
  "derivation": "constraint",
  "publisher": "Health Level Seven",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "ImmunizationActivity",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Immunization Activity",
  "package_version": "3.0.0-ballot",
  "extension": [ {
    "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": "substanceAdministration"
  }, {
    "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"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-doseQuantity",
        "human": "SHOULD contain doseQuantity",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "doseQuantity.exists()"
      }, {
        "key": "dose-unit-or-admin-unit",
        "human": "If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present.",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "doseQuantity.unit.exists() implies administrationUnitCode.empty()"
      }, {
        "key": "should-performer",
        "human": "SHOULD contain performer",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "performer.exists()"
      }, {
        "key": "should-author",
        "human": "SHOULD contain author",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "author.exists()"
      } ],
      "path": "SubstanceAdministration",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "1",
      "id": "SubstanceAdministration",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "path": "SubstanceAdministration.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.templateId",
      "max": "*",
      "min": 1,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "root",
          "type": "value"
        }, {
          "path": "extension",
          "type": "value"
        } ]
      },
      "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"
    }, {
      "id": "SubstanceAdministration.templateId:immunization-activity",
      "max": "1",
      "min": 1,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "sliceName": "immunization-activity",
      "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"
    }, {
      "path": "SubstanceAdministration.templateId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.templateId:immunization-activity.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.templateId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.templateId:immunization-activity.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.templateId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.templateId:immunization-activity.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.templateId.root",
      "min": 1,
      "definition": "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.",
      "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" ]
      } ],
      "patternString": "2.16.840.1.113883.10.20.22.4.52",
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Root",
      "id": "SubstanceAdministration.templateId:immunization-activity.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.templateId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "patternString": "2015-08-01",
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.templateId:immunization-activity.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "path": "SubstanceAdministration.classCode",
      "fixedCode": "SBADM",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActClass|2.0.0"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.classCode",
      "comment": "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8826).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "SubstanceAdministration.classCode"
      }
    }, {
      "path": "SubstanceAdministration.moodCode",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.moodCode",
      "comment": "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet MoodCodeEvnInt urn:oid:2.16.840.1.113883.11.20.9.18 STATIC (CONF:1198-8827).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "SubstanceAdministration.moodCode"
      }
    }, {
      "id": "SubstanceAdministration.id",
      "max": "*",
      "min": 1,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.id"
      },
      "path": "SubstanceAdministration.id",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "comment": "SHALL contain at least one [1..*] id (CONF:1198-8829)."
    }, {
      "path": "SubstanceAdministration.code",
      "min": 0,
      "short": "SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, \"this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute\". Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used and there is no defined value set.",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode"
      },
      "max": "1",
      "id": "SubstanceAdministration.code",
      "comment": "MAY contain zero or one [0..1] code (CONF:1198-8830).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.code"
      }
    }, {
      "path": "SubstanceAdministration.negationInd",
      "min": 1,
      "short": "Use negationInd=\"true\" to indicate that the immunization was not given.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.negationInd",
      "comment": "SHALL contain exactly one [1..1] @negationInd (CONF:1198-8985).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.negationInd"
      }
    }, {
      "id": "SubstanceAdministration.text",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.text"
      },
      "path": "SubstanceAdministration.text",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
      } ],
      "short": "SHOULD reference the portion of section narrative text corresponding to this entry"
    }, {
      "path": "SubstanceAdministration.text.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.text.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.text.compression",
      "min": 0,
      "definition": "Indicates whether the raw byte data is compressed, and what compression algorithm was used.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Compression",
      "id": "SubstanceAdministration.text.compression",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.compression"
      }
    }, {
      "path": "SubstanceAdministration.text.integrityCheck",
      "min": 0,
      "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.",
      "type": [ {
        "code": "base64Binary",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bin" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Integrity Check",
      "id": "SubstanceAdministration.text.integrityCheck",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.integrityCheck"
      }
    }, {
      "path": "SubstanceAdministration.text.integrityCheckAlgorithm",
      "min": 0,
      "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.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Integrity Check Algorithm",
      "id": "SubstanceAdministration.text.integrityCheckAlgorithm",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.integrityCheckAlgorithm"
      }
    }, {
      "path": "SubstanceAdministration.text.language",
      "min": 0,
      "definition": "For character based information the language property specifies the human language of the text.",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Language",
      "id": "SubstanceAdministration.text.language",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.language"
      }
    }, {
      "path": "SubstanceAdministration.text.mediaType",
      "min": 0,
      "definition": "Identifies the type of the encapsulated data and identifies a method to interpret or render the data.",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-MediaType"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Media Type",
      "id": "SubstanceAdministration.text.mediaType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.mediaType"
      }
    }, {
      "id": "SubstanceAdministration.text.representation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.representation"
      },
      "path": "SubstanceAdministration.text.representation",
      "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"
      },
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.text.xmlText",
      "min": 0,
      "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.)",
      "short": "Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlText" ],
      "max": "1",
      "id": "SubstanceAdministration.text.xmlText",
      "comment": "This element is represented in XML as textual content. The actual name \"xmlText\" will not appear in a CDA instance.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.xmlText"
      }
    }, {
      "constraint": [ {
        "key": "value-starts-octothorpe",
        "human": "If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "value.exists() implies value.startsWith('#')"
      } ],
      "path": "SubstanceAdministration.text.reference",
      "min": 0,
      "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.",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
      } ],
      "max": "1",
      "label": "Reference",
      "id": "SubstanceAdministration.text.reference",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.reference"
      }
    }, {
      "id": "SubstanceAdministration.text.thumbnail",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "ED.thumbnail"
      },
      "path": "SubstanceAdministration.text.thumbnail",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
      } ],
      "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."
    }, {
      "id": "SubstanceAdministration.statusCode",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.statusCode"
      },
      "path": "SubstanceAdministration.statusCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActStatus"
      },
      "comment": "SHALL contain exactly one [1..1] statusCode (CONF:1198-8833)."
    }, {
      "path": "SubstanceAdministration.statusCode.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.statusCode.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.code",
      "min": 1,
      "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.",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Code",
      "id": "SubstanceAdministration.statusCode.code",
      "comment": "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet ActStatus urn:oid:2.16.840.1.113883.1.11.15933 DYNAMIC (CONF:1198-32359).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.code"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.codeSystem",
      "min": 0,
      "definition": "Specifies the code system that defines the code.",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "0",
      "label": "Code System",
      "id": "SubstanceAdministration.statusCode.codeSystem",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystem"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.codeSystemName",
      "min": 0,
      "definition": "The common name of the coding system.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "0",
      "label": "Code System Name",
      "id": "SubstanceAdministration.statusCode.codeSystemName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystemName"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.codeSystemVersion",
      "min": 0,
      "definition": "If applicable, a version descriptor defined specifically for the given code system.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "0",
      "label": "Code System Version",
      "id": "SubstanceAdministration.statusCode.codeSystemVersion",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystemVersion"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.displayName",
      "min": 0,
      "definition": "A name or title for the code, under which the sending system shows the code value to its users.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "0",
      "label": "Display Name",
      "id": "SubstanceAdministration.statusCode.displayName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.displayName"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.sdtcValueSet",
      "min": 0,
      "definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/oid" ]
      } ],
      "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"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.statusCode.sdtcValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.valueSet"
      }
    }, {
      "path": "SubstanceAdministration.statusCode.sdtcValueSetVersion",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "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"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.statusCode.sdtcValueSetVersion",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.sdtcValueSetVersion"
      }
    }, {
      "id": "SubstanceAdministration.statusCode.originalText",
      "max": "0",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.originalText"
      },
      "path": "SubstanceAdministration.statusCode.originalText",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
      } ],
      "label": "Original Text",
      "definition": "The text or phrase used as the basis for the coding."
    }, {
      "id": "SubstanceAdministration.statusCode.qualifier",
      "max": "0",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "CD.qualifier"
      },
      "path": "SubstanceAdministration.statusCode.qualifier",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CR"
      } ],
      "label": "Qualifier",
      "definition": "Specifies additional codes that increase the specificity of the the primary code."
    }, {
      "path": "SubstanceAdministration.statusCode.translation",
      "min": 0,
      "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
      } ],
      "representation": [ "typeAttr" ],
      "max": "0",
      "label": "Translation",
      "id": "SubstanceAdministration.statusCode.translation",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CD.translation"
      }
    }, {
      "path": "SubstanceAdministration.effectiveTime",
      "min": 1,
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"
      }, {
        "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"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype",
        "valueCanonical": "http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"
      } ],
      "representation": [ "typeAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.effectiveTime",
      "comment": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8834).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.effectiveTime"
      }
    }, {
      "id": "SubstanceAdministration.priorityCode",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.priorityCode"
      },
      "path": "SubstanceAdministration.priorityCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority"
      }
    }, {
      "id": "SubstanceAdministration.repeatNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.repeatNumber"
      },
      "path": "SubstanceAdministration.repeatNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT"
      } ],
      "short": "In \"INT\" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times. In \"EVN\" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of \"3\" in a substance administration event means that the current administration is the 3rd in a series.",
      "constraint": [ {
        "key": "value-only",
        "human": "Interval fields SHALL not be present",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "(low | high | width | center).empty()"
      } ]
    }, {
      "path": "SubstanceAdministration.repeatNumber.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.repeatNumber.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.repeatNumber.value",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.value"
      },
      "path": "SubstanceAdministration.repeatNumber.value",
      "type": [ {
        "code": "integer",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/int-simple" ]
      } ],
      "short": "value should be used instead of low/high",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.repeatNumber.operator",
      "min": 0,
      "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.",
      "defaultValueCode": "I",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-SetOperator"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.repeatNumber.operator",
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.operator"
      }
    }, {
      "id": "SubstanceAdministration.repeatNumber.low",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.low"
      },
      "path": "SubstanceAdministration.repeatNumber.low",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-INT"
      } ],
      "label": "Low Boundary",
      "definition": "This is the low limit of the interval."
    }, {
      "id": "SubstanceAdministration.repeatNumber.center",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.center"
      },
      "path": "SubstanceAdministration.repeatNumber.center",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ],
      "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."
    }, {
      "id": "SubstanceAdministration.repeatNumber.width",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.width"
      },
      "path": "SubstanceAdministration.repeatNumber.width",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ],
      "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."
    }, {
      "id": "SubstanceAdministration.repeatNumber.high",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_INT.high"
      },
      "path": "SubstanceAdministration.repeatNumber.high",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-INT"
      } ],
      "label": "High Boundary",
      "definition": "This is the high limit of the interval."
    }, {
      "constraint": [ {
        "key": "should-translation",
        "human": "SHOULD contain translation",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "translation.exists()"
      } ],
      "path": "SubstanceAdministration.routeCode",
      "min": 0,
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"
      },
      "max": "1",
      "id": "SubstanceAdministration.routeCode",
      "comment": "MAY contain zero or one [0..1] routeCode, which SHALL be selected from ValueSet SPL Drug Route of Administration Terminology urn:oid:2.16.840.1.113883.3.88.12.3221.8.7 DYNAMIC (CONF:1198-8839).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.routeCode"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.routeCode.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.code",
      "min": 0,
      "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.",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Code",
      "id": "SubstanceAdministration.routeCode.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.code"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.codeSystem",
      "min": 0,
      "definition": "Specifies the code system that defines the code.",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Code System",
      "id": "SubstanceAdministration.routeCode.codeSystem",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystem"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.codeSystemName",
      "min": 0,
      "definition": "The common name of the coding system.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Code System Name",
      "id": "SubstanceAdministration.routeCode.codeSystemName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystemName"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.codeSystemVersion",
      "min": 0,
      "definition": "If applicable, a version descriptor defined specifically for the given code system.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Code System Version",
      "id": "SubstanceAdministration.routeCode.codeSystemVersion",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.codeSystemVersion"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.displayName",
      "min": 0,
      "definition": "A name or title for the code, under which the sending system shows the code value to its users.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Display Name",
      "id": "SubstanceAdministration.routeCode.displayName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.displayName"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.sdtcValueSet",
      "min": 0,
      "definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/oid" ]
      } ],
      "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"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.routeCode.sdtcValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.valueSet"
      }
    }, {
      "path": "SubstanceAdministration.routeCode.sdtcValueSetVersion",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "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"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.routeCode.sdtcValueSetVersion",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.sdtcValueSetVersion"
      }
    }, {
      "id": "SubstanceAdministration.routeCode.originalText",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "CD.originalText"
      },
      "path": "SubstanceAdministration.routeCode.originalText",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
      } ],
      "label": "Original Text",
      "definition": "The text or phrase used as the basis for the coding."
    }, {
      "id": "SubstanceAdministration.routeCode.qualifier",
      "max": "0",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "CD.qualifier"
      },
      "path": "SubstanceAdministration.routeCode.qualifier",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CR"
      } ],
      "label": "Qualifier",
      "definition": "Specifies additional codes that increase the specificity of the the primary code."
    }, {
      "path": "SubstanceAdministration.routeCode.translation",
      "min": 0,
      "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"
      },
      "representation": [ "typeAttr" ],
      "max": "*",
      "label": "Translation",
      "id": "SubstanceAdministration.routeCode.translation",
      "comment": "The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1198-32960).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CD.translation"
      }
    }, {
      "id": "SubstanceAdministration.approachSiteCode",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.approachSiteCode"
      },
      "path": "SubstanceAdministration.approachSiteCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"
      },
      "comment": "MAY contain zero or one [0..1] approachSiteCode, where the code SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1198-8840)."
    }, {
      "id": "SubstanceAdministration.doseQuantity",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.doseQuantity"
      },
      "path": "SubstanceAdministration.doseQuantity",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"
      } ],
      "comment": "SHOULD contain zero or one [0..1] doseQuantity (CONF:1198-8841).",
      "constraint": [ {
        "key": "should-unit",
        "human": "SHOULD contain @unit",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "nullFlavor.exists() or unit.exists()"
      } ]
    }, {
      "path": "SubstanceAdministration.doseQuantity.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.doseQuantity.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.doseQuantity.unit",
      "min": 0,
      "definition": "The unit of measure specified in the Unified Code for Units of Measure (UCUM) [].",
      "short": "NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units",
      "defaultValueCode": "1",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Unit of Measure",
      "id": "SubstanceAdministration.doseQuantity.unit",
      "comment": "The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1198-8842).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "PQ.unit"
      }
    }, {
      "path": "SubstanceAdministration.doseQuantity.value",
      "min": 0,
      "definition": "The magnitude of the quantity measured in terms of the unit.",
      "type": [ {
        "code": "decimal",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/real-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Maginitude Value",
      "id": "SubstanceAdministration.doseQuantity.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "PQ.value"
      }
    }, {
      "id": "SubstanceAdministration.doseQuantity.translation",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "PQ.translation"
      },
      "path": "SubstanceAdministration.doseQuantity.translation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQR"
      } ],
      "label": "Translation",
      "definition": "An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value."
    }, {
      "path": "SubstanceAdministration.doseQuantity.operator",
      "min": 0,
      "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.",
      "defaultValueCode": "I",
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-SetOperator"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.doseQuantity.operator",
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_PQ.operator"
      }
    }, {
      "id": "SubstanceAdministration.doseQuantity.low",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_PQ.low"
      },
      "path": "SubstanceAdministration.doseQuantity.low",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"
      } ],
      "label": "Low Boundary",
      "definition": "This is the low limit of the interval."
    }, {
      "id": "SubstanceAdministration.doseQuantity.center",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_PQ.center"
      },
      "path": "SubstanceAdministration.doseQuantity.center",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQ"
      } ],
      "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."
    }, {
      "id": "SubstanceAdministration.doseQuantity.width",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_PQ.width"
      },
      "path": "SubstanceAdministration.doseQuantity.width",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/PQ"
      } ],
      "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."
    }, {
      "id": "SubstanceAdministration.doseQuantity.high",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IVL_PQ.high"
      },
      "path": "SubstanceAdministration.doseQuantity.high",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"
      } ],
      "label": "High Boundary",
      "definition": "This is the high limit of the interval."
    }, {
      "id": "SubstanceAdministration.rateQuantity",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.rateQuantity"
      },
      "path": "SubstanceAdministration.rateQuantity",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"
      } ]
    }, {
      "id": "SubstanceAdministration.maxDoseQuantity",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.maxDoseQuantity"
      },
      "path": "SubstanceAdministration.maxDoseQuantity",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ"
      } ]
    }, {
      "id": "SubstanceAdministration.administrationUnitCode",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.administrationUnitCode"
      },
      "path": "SubstanceAdministration.administrationUnitCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"
      },
      "comment": "MAY contain zero or one [0..1] administrationUnitCode, which SHALL be selected from ValueSet AdministrationUnitDoseForm urn:oid:2.16.840.1.113762.1.4.1021.30 DYNAMIC (CONF:1198-8846)."
    }, {
      "id": "SubstanceAdministration.consumable",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "SubstanceAdministration.consumable"
      },
      "path": "SubstanceAdministration.consumable",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"
      } ],
      "comment": "SHALL contain exactly one [1..1] consumable (CONF:1198-8847).",
      "definition": "The consumable participation is used to bring in the LabeledDrug or Material entity that describes the administered substance. The LabeledDrug class, which is an Entity class playing the Role of Manufactured Product, identifies the drug that is consumed in the substance administration. The medication is identified by means of the LabeledDrug.code or the LabeledDrug.name. The Material entity is used to identify non-drug administered substances such as vaccines and blood products."
    }, {
      "path": "SubstanceAdministration.consumable.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.consumable.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.consumable.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.consumable.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.consumable.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.consumable.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.consumable.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.consumable.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.consumable.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.consumable.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.consumable.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.consumable.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.consumable.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.consumable.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.consumable.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.consumable.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.consumable.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.consumable.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.consumable.typeCode",
      "fixedCode": "CSM",
      "min": 0,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationType"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.consumable.typeCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.consumable.typeCode"
      }
    }, {
      "constraint": [ {
        "key": "product-choice",
        "human": "manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)",
        "source": "http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct",
        "severity": "error",
        "expression": "(manufacturedLabeledDrug | manufacturedMaterial).count() = 1"
      }, {
        "key": "should-manufacturerOrganization",
        "human": "SHOULD contain manufacturerOrganization",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationMedicationInformation",
        "severity": "warning",
        "expression": "manufacturerOrganization.exists()"
      } ],
      "path": "SubstanceAdministration.consumable.manufacturedProduct",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationMedicationInformation" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.consumable.manufacturedProduct",
      "comment": "This consumable SHALL contain exactly one [1..1] Immunization Medication Information (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.54:2014-06-09) (CONF:1198-15546).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "SubstanceAdministration.consumable.manufacturedProduct"
      }
    }, {
      "id": "SubstanceAdministration.subject",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "SubstanceAdministration.subject"
      },
      "path": "SubstanceAdministration.subject",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Subject"
      } ]
    }, {
      "id": "SubstanceAdministration.specimen",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.specimen"
      },
      "path": "SubstanceAdministration.specimen",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Specimen"
      } ]
    }, {
      "id": "SubstanceAdministration.performer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.performer"
      },
      "path": "SubstanceAdministration.performer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Performer2"
      } ],
      "comment": "SHOULD contain zero or one [0..1] performer (CONF:1198-8849)."
    }, {
      "path": "SubstanceAdministration.author",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Author",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation" ]
      } ],
      "max": "*",
      "id": "SubstanceAdministration.author",
      "comment": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-31151).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.author"
      }
    }, {
      "id": "SubstanceAdministration.informant",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.informant"
      },
      "path": "SubstanceAdministration.informant",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Informant"
      } ]
    }, {
      "id": "SubstanceAdministration.participant",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.participant"
      },
      "path": "SubstanceAdministration.participant",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Participant2"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "typeCode",
          "type": "value"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.participant"
      },
      "path": "SubstanceAdministration.participant",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Participant2"
      } ],
      "comment": "MAY contain zero or more [0..*] participant (CONF:1198-8850) such that it",
      "sliceName": "drugVehicle"
    }, {
      "path": "SubstanceAdministration.participant.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.participant:drugVehicle.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.participant.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.participant.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.participant.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.participant:drugVehicle.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.participant.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.participant:drugVehicle.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.participant.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.participant:drugVehicle.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.participant.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.participant:drugVehicle.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.participant.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.participant:drugVehicle.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.participant.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.participant.typeCode",
      "fixedCode": "CSM",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationType"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.participant:drugVehicle.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"CSM\" (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8851).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Participant2.typeCode"
      }
    }, {
      "path": "SubstanceAdministration.participant.contextControlCode",
      "fixedCode": "OP",
      "min": 0,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ContextControl"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.participant:drugVehicle.contextControlCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Participant2.contextControlCode"
      }
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.sdtcFunctionCode",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Participant2.sdtcFunctionCode"
      },
      "path": "SubstanceAdministration.participant.sdtcFunctionCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
      } ],
      "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"
      } ]
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.time",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Participant2.time"
      },
      "path": "SubstanceAdministration.participant.time",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"
      } ]
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.awarenessCode",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Participant2.awarenessCode"
      },
      "path": "SubstanceAdministration.participant.awarenessCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CE"
      } ]
    }, {
      "constraint": [ {
        "key": "role-choice",
        "human": "playingDevice and playingEntity are mutually exclusive",
        "source": "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole",
        "severity": "error",
        "expression": "(playingDevice | playingEntity).count() <= 1"
      } ],
      "path": "SubstanceAdministration.participant.participantRole",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/DrugVehicle" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.participant:drugVehicle.participantRole",
      "comment": "SHALL contain exactly one [1..1] Drug Vehicle (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.24) (CONF:1198-15547).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Participant2.participantRole"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "act",
          "type": "profile"
        }, {
          "path": "observation",
          "type": "profile"
        }, {
          "path": "supply",
          "type": "profile"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or more [0..*] entryRelationship (CONF:1198-8853) such that it",
      "sliceName": "indication"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:indication.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:indication.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:indication.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:indication.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:indication.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:indication.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "RSON",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:indication.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"RSON\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8854).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.inversionInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "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.",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:indication.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.act",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      },
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/Indication",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-effectiveTime",
        "human": "SHOULD contain effectiveTime",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/Indication",
        "severity": "warning",
        "expression": "effectiveTime.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.observation",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/Indication" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:indication.observation",
      "comment": "SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1198-15537).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.supply",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      },
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8856) such that it",
      "sliceName": "instruction"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:instruction.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "SUBJ",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:instruction.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8857).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "min": 1,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:instruction.inversionInd",
      "comment": "SHALL contain exactly one [1..1] @inversionInd=\"true\" True (CONF:1198-8858).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "fixedBoolean": true
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:instruction.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/Instruction",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.act",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/Instruction" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:instruction.act",
      "comment": "SHALL contain exactly one [1..1] Instruction (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1198-31392).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.observation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      },
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.supply",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      },
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8860) such that it",
      "sliceName": "medSupplyOrder"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "REFR",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8861).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.inversionInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "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.",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.act",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      },
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.observation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      },
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-repeatNumber",
        "human": "SHOULD contain repeatNumber",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder",
        "severity": "warning",
        "expression": "repeatNumber.exists()"
      }, {
        "key": "should-quantity",
        "human": "SHOULD contain quantity",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder",
        "severity": "warning",
        "expression": "quantity.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.supply",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.supply",
      "comment": "SHALL contain exactly one [1..1] Medication Supply Order (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1198-15539).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8863) such that it",
      "sliceName": "medDispense"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:medDispense.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "REFR",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8864).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.inversionInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "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.",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medDispense.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.act",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      },
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.observation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      },
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-effectiveTime",
        "human": "SHOULD contain effectiveTime",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense",
        "severity": "warning",
        "expression": "effectiveTime.exists()"
      }, {
        "key": "should-repeatNumber",
        "human": "SHOULD contain repeatNumber",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense",
        "severity": "warning",
        "expression": "repeatNumber.exists()"
      }, {
        "key": "should-quantity",
        "human": "SHOULD contain quantity",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense",
        "severity": "warning",
        "expression": "quantity.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.supply",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:medDispense.supply",
      "comment": "SHALL contain exactly one [1..1] Medication Dispense (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09) (CONF:1198-15540).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8866) such that it",
      "sliceName": "reactionObs"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "CAUS",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"CAUS\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8867).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.inversionInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "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.",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.act",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      },
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-effectiveTime",
        "human": "SHOULD contain effectiveTime",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation",
        "severity": "warning",
        "expression": "effectiveTime.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.observation",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:reactionObs.observation",
      "comment": "SHALL contain exactly one [1..1] Reaction Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.9:2014-06-09) (CONF:1198-15541).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.supply",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      },
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal",
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      },
      "path": "SubstanceAdministration.entryRelationship",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8988) such that it",
      "sliceName": "immunizationRefusal"
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "RSON",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"RSON\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8989).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.inversionInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "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.",
      "representation": [ "xmlAttr" ]
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.act",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      },
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationRefusalReason",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.observation",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationRefusalReason" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.observation",
      "comment": "SHALL contain exactly one [1..1] Immunization Refusal Reason (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.53) (CONF:1198-15542).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.supply",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      },
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
      } ]
    }, {
      "path": "SubstanceAdministration.entryRelationship",
      "min": 0,
      "short": "The following entryRelationship is used to indicate a given immunization's order in a series. The nested Substance Administered Act identifies an administration in the series. The entryRelationship/sequenceNumber shows the order of this particular administration in that series.",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"
      } ],
      "sliceName": "substanceAdmin",
      "max": "*",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin",
      "comment": "SHOULD contain zero or more [0..*] entryRelationship (CONF:1198-31510) such that it",
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.entryRelationship"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.entryRelationship.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.entryRelationship.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.entryRelationship.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "fixedCode": "COMP",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"COMP\" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1198-31511).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "EntryRelationship.typeCode"
      }
    }, {
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "min": 1,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.inversionInd",
      "comment": "SHALL contain exactly one [1..1] @inversionInd=\"true\" (CONF:1198-31512).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.inversionInd"
      },
      "fixedBoolean": true
    }, {
      "path": "SubstanceAdministration.entryRelationship.contextConductionInd",
      "min": 0,
      "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.",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "defaultValueBoolean": true,
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.contextConductionInd",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.contextConductionInd"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.negationInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.negationInd"
      },
      "path": "SubstanceAdministration.entryRelationship.negationInd",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.sequenceNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.sequenceNumber"
      },
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/INT"
      } ],
      "comment": "MAY contain zero or one [0..1] sequenceNumber (CONF:1198-31513)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.seperatableInd",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.seperatableInd"
      },
      "path": "SubstanceAdministration.entryRelationship.seperatableInd",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/BL"
      } ]
    }, {
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      } ],
      "path": "SubstanceAdministration.entryRelationship.act",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.act",
      "comment": "SHALL contain exactly one [1..1] Substance Administered Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.118) (CONF:1198-31514).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.act"
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.encounter",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.encounter"
      },
      "path": "SubstanceAdministration.entryRelationship.encounter",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.observation",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observation"
      },
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.observationMedia",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.observationMedia"
      },
      "path": "SubstanceAdministration.entryRelationship.observationMedia",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.organizer",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.organizer"
      },
      "path": "SubstanceAdministration.entryRelationship.organizer",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.procedure",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.procedure"
      },
      "path": "SubstanceAdministration.entryRelationship.procedure",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.regionOfInterest",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.regionOfInterest"
      },
      "path": "SubstanceAdministration.entryRelationship.regionOfInterest",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.substanceAdministration",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.substanceAdministration"
      },
      "path": "SubstanceAdministration.entryRelationship.substanceAdministration",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
      } ]
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.supply",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "EntryRelationship.supply"
      },
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply"
      } ]
    }, {
      "id": "SubstanceAdministration.reference",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.reference"
      },
      "path": "SubstanceAdministration.reference",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Reference"
      } ]
    }, {
      "id": "SubstanceAdministration.precondition",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.precondition"
      },
      "path": "SubstanceAdministration.precondition",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Precondition"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "criterion",
          "type": "profile"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.precondition"
      },
      "path": "SubstanceAdministration.precondition",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Precondition"
      } ],
      "comment": "MAY contain zero or more [0..*] precondition (CONF:1198-8869) such that it",
      "sliceName": "substanceAdmin"
    }, {
      "path": "SubstanceAdministration.precondition.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.precondition:substanceAdmin.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin.realmCode",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.realmCode"
      },
      "path": "SubstanceAdministration.precondition.realmCode",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
      } ],
      "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"
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "InfrastructureRoot.typeId"
      },
      "path": "SubstanceAdministration.precondition.typeId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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."
    }, {
      "path": "SubstanceAdministration.precondition.typeId.nullFlavor",
      "min": 0,
      "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
      "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"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Exceptional Value Detail",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId.nullFlavor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ANY.nullFlavor"
      }
    }, {
      "path": "SubstanceAdministration.precondition.typeId.assigningAuthorityName",
      "min": 0,
      "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.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Assigning Authority Name",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId.assigningAuthorityName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.assigningAuthorityName"
      }
    }, {
      "path": "SubstanceAdministration.precondition.typeId.displayable",
      "min": 0,
      "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
      "type": [ {
        "code": "boolean",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Displayable",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId.displayable",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.displayable"
      }
    }, {
      "path": "SubstanceAdministration.precondition.typeId.root",
      "min": 1,
      "definition": "Identifies the type as an HL7 Registered model",
      "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" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "fixedString": "2.16.840.1.113883.1.3",
      "label": "Root",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId.root",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.root"
      }
    }, {
      "path": "SubstanceAdministration.precondition.typeId.extension",
      "min": 1,
      "definition": "A character string as a unique identifier within the scope of the identifier root.",
      "type": [ {
        "code": "string",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "label": "Extension",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeId.extension",
      "base": {
        "max": "1",
        "min": 0,
        "path": "II.extension"
      }
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin.templateId",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "InfrastructureRoot.templateId"
      },
      "path": "SubstanceAdministration.precondition.templateId",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
      } ],
      "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"
    }, {
      "path": "SubstanceAdministration.precondition.typeCode",
      "fixedCode": "PRCN",
      "min": 1,
      "type": [ {
        "code": "code",
        "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActRelationshipType"
      },
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"PRCN\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8870).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Precondition.typeCode"
      }
    }, {
      "path": "SubstanceAdministration.precondition.criterion",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Base for all types and resources",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Criterion",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration" ]
      } ],
      "max": "1",
      "id": "SubstanceAdministration.precondition:substanceAdmin.criterion",
      "comment": "SHALL contain exactly one [1..1] Precondition for Substance Administration (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1198-15548).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Precondition.criterion"
      }
    }, {
      "id": "SubstanceAdministration.sdtcInFulfillmentOf1",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "SubstanceAdministration.sdtcInFulfillmentOf1"
      },
      "path": "SubstanceAdministration.sdtcInFulfillmentOf1",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1"
      } ],
      "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"
      } ]
    } ]
  },
  "status": "draft",
  "id": "701be8fb-3c30-41fe-ac48-5478832dc16f",
  "kind": "logical",
  "url": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
  "identifier": [ {
    "value": "urn:hl7ii:2.16.840.1.113883.10.20.22.4.52:2015-08-01"
  } ],
  "version": "3.0.0-ballot",
  "differential": {
    "element": [ {
      "id": "SubstanceAdministration",
      "path": "SubstanceAdministration",
      "constraint": [ {
        "key": "should-text-ref-value",
        "human": "SHOULD contain text/reference/@value",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "text.reference.value.exists()"
      }, {
        "key": "should-doseQuantity",
        "human": "SHOULD contain doseQuantity",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "doseQuantity.exists()"
      }, {
        "key": "dose-unit-or-admin-unit",
        "human": "If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present.",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "doseQuantity.unit.exists() implies administrationUnitCode.empty()"
      }, {
        "key": "should-performer",
        "human": "SHOULD contain performer",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "performer.exists()"
      }, {
        "key": "should-author",
        "human": "SHOULD contain author",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "author.exists()"
      } ]
    }, {
      "id": "SubstanceAdministration.templateId",
      "min": 1,
      "path": "SubstanceAdministration.templateId",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "root",
          "type": "value"
        }, {
          "path": "extension",
          "type": "value"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.templateId:immunization-activity",
      "max": "1",
      "min": 1,
      "path": "SubstanceAdministration.templateId",
      "sliceName": "immunization-activity"
    }, {
      "id": "SubstanceAdministration.templateId:immunization-activity.root",
      "min": 1,
      "path": "SubstanceAdministration.templateId.root",
      "patternString": "2.16.840.1.113883.10.20.22.4.52"
    }, {
      "id": "SubstanceAdministration.templateId:immunization-activity.extension",
      "min": 1,
      "path": "SubstanceAdministration.templateId.extension",
      "patternString": "2015-08-01"
    }, {
      "id": "SubstanceAdministration.classCode",
      "path": "SubstanceAdministration.classCode",
      "comment": "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8826)."
    }, {
      "id": "SubstanceAdministration.moodCode",
      "path": "SubstanceAdministration.moodCode",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18"
      },
      "comment": "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet MoodCodeEvnInt urn:oid:2.16.840.1.113883.11.20.9.18 STATIC (CONF:1198-8827)."
    }, {
      "id": "SubstanceAdministration.id",
      "min": 1,
      "path": "SubstanceAdministration.id",
      "comment": "SHALL contain at least one [1..*] id (CONF:1198-8829)."
    }, {
      "id": "SubstanceAdministration.code",
      "path": "SubstanceAdministration.code",
      "short": "SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, \"this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute\". Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used and there is no defined value set.",
      "comment": "MAY contain zero or one [0..1] code (CONF:1198-8830)."
    }, {
      "id": "SubstanceAdministration.negationInd",
      "min": 1,
      "path": "SubstanceAdministration.negationInd",
      "short": "Use negationInd=\"true\" to indicate that the immunization was not given.",
      "comment": "SHALL contain exactly one [1..1] @negationInd (CONF:1198-8985)."
    }, {
      "id": "SubstanceAdministration.text",
      "path": "SubstanceAdministration.text",
      "short": "SHOULD reference the portion of section narrative text corresponding to this entry"
    }, {
      "id": "SubstanceAdministration.text.reference",
      "path": "SubstanceAdministration.text.reference",
      "constraint": [ {
        "key": "value-starts-octothorpe",
        "human": "If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "value.exists() implies value.startsWith('#')"
      } ]
    }, {
      "id": "SubstanceAdministration.statusCode",
      "min": 1,
      "path": "SubstanceAdministration.statusCode",
      "comment": "SHALL contain exactly one [1..1] statusCode (CONF:1198-8833)."
    }, {
      "id": "SubstanceAdministration.statusCode.code",
      "min": 1,
      "path": "SubstanceAdministration.statusCode.code",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933"
      },
      "comment": "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet ActStatus urn:oid:2.16.840.1.113883.1.11.15933 DYNAMIC (CONF:1198-32359)."
    }, {
      "id": "SubstanceAdministration.effectiveTime",
      "max": "1",
      "min": 1,
      "path": "SubstanceAdministration.effectiveTime",
      "comment": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8834)."
    }, {
      "id": "SubstanceAdministration.repeatNumber",
      "path": "SubstanceAdministration.repeatNumber",
      "short": "In \"INT\" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times. In \"EVN\" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of \"3\" in a substance administration event means that the current administration is the 3rd in a series.",
      "constraint": [ {
        "key": "value-only",
        "human": "Interval fields SHALL not be present",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "error",
        "expression": "(low | high | width | center).empty()"
      } ]
    }, {
      "id": "SubstanceAdministration.repeatNumber.value",
      "path": "SubstanceAdministration.repeatNumber.value",
      "short": "value should be used instead of low/high"
    }, {
      "id": "SubstanceAdministration.routeCode",
      "path": "SubstanceAdministration.routeCode",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"
      },
      "comment": "MAY contain zero or one [0..1] routeCode, which SHALL be selected from ValueSet SPL Drug Route of Administration Terminology urn:oid:2.16.840.1.113883.3.88.12.3221.8.7 DYNAMIC (CONF:1198-8839).",
      "constraint": [ {
        "key": "should-translation",
        "human": "SHOULD contain translation",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "translation.exists()"
      } ]
    }, {
      "id": "SubstanceAdministration.routeCode.translation",
      "path": "SubstanceAdministration.routeCode.translation",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"
      },
      "comment": "The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1198-32960)."
    }, {
      "id": "SubstanceAdministration.approachSiteCode",
      "max": "1",
      "path": "SubstanceAdministration.approachSiteCode",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"
      },
      "comment": "MAY contain zero or one [0..1] approachSiteCode, where the code SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1198-8840)."
    }, {
      "id": "SubstanceAdministration.doseQuantity",
      "path": "SubstanceAdministration.doseQuantity",
      "comment": "SHOULD contain zero or one [0..1] doseQuantity (CONF:1198-8841).",
      "constraint": [ {
        "key": "should-unit",
        "human": "SHOULD contain @unit",
        "source": "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationActivity",
        "severity": "warning",
        "expression": "nullFlavor.exists() or unit.exists()"
      } ]
    }, {
      "id": "SubstanceAdministration.doseQuantity.unit",
      "path": "SubstanceAdministration.doseQuantity.unit",
      "short": "NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"
      },
      "comment": "The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1198-8842)."
    }, {
      "id": "SubstanceAdministration.administrationUnitCode",
      "path": "SubstanceAdministration.administrationUnitCode",
      "binding": {
        "strength": "required",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"
      },
      "comment": "MAY contain zero or one [0..1] administrationUnitCode, which SHALL be selected from ValueSet AdministrationUnitDoseForm urn:oid:2.16.840.1.113762.1.4.1021.30 DYNAMIC (CONF:1198-8846)."
    }, {
      "id": "SubstanceAdministration.consumable",
      "path": "SubstanceAdministration.consumable",
      "comment": "SHALL contain exactly one [1..1] consumable (CONF:1198-8847)."
    }, {
      "id": "SubstanceAdministration.consumable.manufacturedProduct",
      "path": "SubstanceAdministration.consumable.manufacturedProduct",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationMedicationInformation" ]
      } ],
      "comment": "This consumable SHALL contain exactly one [1..1] Immunization Medication Information (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.54:2014-06-09) (CONF:1198-15546)."
    }, {
      "id": "SubstanceAdministration.performer",
      "max": "1",
      "path": "SubstanceAdministration.performer",
      "comment": "SHOULD contain zero or one [0..1] performer (CONF:1198-8849)."
    }, {
      "id": "SubstanceAdministration.author",
      "path": "SubstanceAdministration.author",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Author",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation" ]
      } ],
      "comment": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-31151)."
    }, {
      "id": "SubstanceAdministration.participant",
      "path": "SubstanceAdministration.participant",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "typeCode",
          "type": "value"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle",
      "max": "*",
      "min": 0,
      "path": "SubstanceAdministration.participant",
      "comment": "MAY contain zero or more [0..*] participant (CONF:1198-8850) such that it",
      "sliceName": "drugVehicle"
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.typeCode",
      "path": "SubstanceAdministration.participant.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"CSM\" (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8851).",
      "fixedCode": "CSM"
    }, {
      "id": "SubstanceAdministration.participant:drugVehicle.participantRole",
      "path": "SubstanceAdministration.participant.participantRole",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/DrugVehicle" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Drug Vehicle (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.24) (CONF:1198-15547)."
    }, {
      "id": "SubstanceAdministration.entryRelationship",
      "path": "SubstanceAdministration.entryRelationship",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "act",
          "type": "profile"
        }, {
          "path": "observation",
          "type": "profile"
        }, {
          "path": "supply",
          "type": "profile"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication",
      "max": "*",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or more [0..*] entryRelationship (CONF:1198-8853) such that it",
      "sliceName": "indication"
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"RSON\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8854).",
      "fixedCode": "RSON"
    }, {
      "id": "SubstanceAdministration.entryRelationship:indication.observation",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/Indication" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1198-15537)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction",
      "max": "1",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8856) such that it",
      "sliceName": "instruction"
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8857).",
      "fixedCode": "SUBJ"
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.inversionInd",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "comment": "SHALL contain exactly one [1..1] @inversionInd=\"true\" True (CONF:1198-8858).",
      "fixedBoolean": true
    }, {
      "id": "SubstanceAdministration.entryRelationship:instruction.act",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/Instruction" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Instruction (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1198-31392)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder",
      "max": "1",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8860) such that it",
      "sliceName": "medSupplyOrder"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8861).",
      "fixedCode": "REFR"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medSupplyOrder.supply",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Medication Supply Order (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1198-15539)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense",
      "max": "1",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8863) such that it",
      "sliceName": "medDispense"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8864).",
      "fixedCode": "REFR"
    }, {
      "id": "SubstanceAdministration.entryRelationship:medDispense.supply",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.supply",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Supply",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Medication Dispense (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09) (CONF:1198-15540)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs",
      "max": "1",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8866) such that it",
      "sliceName": "reactionObs"
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"CAUS\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8867).",
      "fixedCode": "CAUS"
    }, {
      "id": "SubstanceAdministration.entryRelationship:reactionObs.observation",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Reaction Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.9:2014-06-09) (CONF:1198-15541)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal",
      "max": "1",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "comment": "MAY contain zero or one [0..1] entryRelationship (CONF:1198-8988) such that it",
      "sliceName": "immunizationRefusal"
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"RSON\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8989).",
      "fixedCode": "RSON"
    }, {
      "id": "SubstanceAdministration.entryRelationship:immunizationRefusal.observation",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.observation",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Observation",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationRefusalReason" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Immunization Refusal Reason (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.53) (CONF:1198-15542)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin",
      "max": "*",
      "min": 0,
      "path": "SubstanceAdministration.entryRelationship",
      "short": "The following entryRelationship is used to indicate a given immunization's order in a series. The nested Substance Administered Act identifies an administration in the series. The entryRelationship/sequenceNumber shows the order of this particular administration in that series.",
      "comment": "SHOULD contain zero or more [0..*] entryRelationship (CONF:1198-31510) such that it",
      "sliceName": "substanceAdmin"
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.typeCode",
      "path": "SubstanceAdministration.entryRelationship.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"COMP\" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1198-31511).",
      "fixedCode": "COMP"
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.inversionInd",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.inversionInd",
      "comment": "SHALL contain exactly one [1..1] @inversionInd=\"true\" (CONF:1198-31512).",
      "fixedBoolean": true
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.sequenceNumber",
      "path": "SubstanceAdministration.entryRelationship.sequenceNumber",
      "comment": "MAY contain zero or one [0..1] sequenceNumber (CONF:1198-31513)."
    }, {
      "id": "SubstanceAdministration.entryRelationship:substanceAdmin.act",
      "min": 1,
      "path": "SubstanceAdministration.entryRelationship.act",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Act",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Substance Administered Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.118) (CONF:1198-31514)."
    }, {
      "id": "SubstanceAdministration.precondition",
      "path": "SubstanceAdministration.precondition",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "criterion",
          "type": "profile"
        } ]
      }
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin",
      "max": "*",
      "min": 0,
      "path": "SubstanceAdministration.precondition",
      "comment": "MAY contain zero or more [0..*] precondition (CONF:1198-8869) such that it",
      "sliceName": "substanceAdmin"
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin.typeCode",
      "min": 1,
      "path": "SubstanceAdministration.precondition.typeCode",
      "comment": "SHALL contain exactly one [1..1] @typeCode=\"PRCN\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8870)."
    }, {
      "id": "SubstanceAdministration.precondition:substanceAdmin.criterion",
      "path": "SubstanceAdministration.precondition.criterion",
      "type": [ {
        "code": "http://hl7.org/cda/stds/core/StructureDefinition/Criterion",
        "profile": [ "http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration" ]
      } ],
      "comment": "SHALL contain exactly one [1..1] Precondition for Substance Administration (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1198-15548)."
    } ]
  },
  "contact": [ {
    "name": "HL7 International - Structured Documents",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/structure",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"
}