@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "2.16.840.1.113883.10.20.22.4.120"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.120"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.10.20.22.4.120" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "2.2"];
  fhir:StructureDefinition.name [ fhir:value "PlannedImmunizationActivity"];
  fhir:StructureDefinition.title [ fhir:value "Planned Immunization Activity"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.date [ fhir:value "2022-05-13T15:50:12+00:00"];
  fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Structured Documents" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/structure" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "This template represents planned immunizations. Planned Immunization Activity is very similar to Planned Medication Activity with some key differences, for example, the drug code system is constrained to CVX codes. \r\nThe priority of the immunization activity to the patient and provider is communicated through Priority Preference. The effectiveTime indicates the time when the immunization activity is intended to take place and authorTime indicates when the documentation of the plan occurred."];
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]
     ]
  ];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "SubstanceAdministration"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "SubstanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Base" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "SubstanceAdministration.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CONF:1098-32091)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.classCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "SBADM" ];
       fhir:ElementDefinition.fixed [ fhir:value "SBADM" ];
       fhir:ElementDefinition.pattern [ fhir:value "SBADM" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActClass" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "SubstanceAdministration.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.moodCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet Planned moodCode (SubstanceAdministration/Supply) urn:oid:2.16.840.1.113883.11.20.9.24 STATIC 2014-09-01 (CONF:1098-32097)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.moodCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "SubstanceAdministration.realmCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.realmCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.realmCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CS" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "SubstanceAdministration.typeId" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.typeId" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.typeId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.definition [ fhir:value "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" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.definition [ fhir:value "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" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1098-32098) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.assigningAuthorityName" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.assigningAuthorityName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Assigning Authority Name" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.assigningAuthorityName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.displayable" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.displayable" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Displayable" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.displayable" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.root" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Root" ];
       fhir:ElementDefinition.definition [ fhir:value "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.120\" (CONF:1098-32099)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.root" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.120" ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.extension" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "A character string as a unique identifier within the scope of the identifier root." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "SubstanceAdministration.id" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain at least one [1..*] id (CONF:1098-32100)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "SubstanceAdministration.code" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.code" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-SubstanceAdministrationActCode" ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "SubstanceAdministration.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.negationInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.negationInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "SubstanceAdministration.text" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.text" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.text" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] statusCode (CONF:1098-32101)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CS" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActStatus" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.code" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.code" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "This statusCode SHALL contain exactly one [1..1] @code=\"active\" Active (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:1098-32102)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "active" ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.codeSystem" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the code system that defines the code." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystem" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.codeSystemName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Name" ];
       fhir:ElementDefinition.definition [ fhir:value "The common name of the coding system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.codeSystemVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Version" ];
       fhir:ElementDefinition.definition [ fhir:value "If applicable, a version descriptor defined specifically for the given code system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.displayName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Display Name" ];
       fhir:ElementDefinition.definition [ fhir:value "A name or title for the code, under which the sending system shows the code value to its users." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.displayName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.sdtcValueSet" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSet" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.sdtcValueSet" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.valueSet" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.sdtcValueSetVersion" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSetVersion" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.sdtcValueSetVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.sdtcValueSetVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.originalText" ];
       fhir:ElementDefinition.label [ fhir:value "Original Text" ];
       fhir:ElementDefinition.definition [ fhir:value "The text or phrase used as the basis for the coding." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.originalText" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.qualifier" ];
       fhir:ElementDefinition.label [ fhir:value "Qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies additional codes that increase the specificity of the the primary code." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.qualifier" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CR" ]
       ]
     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.translation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.translation" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Translation" ];
       fhir:ElementDefinition.definition [ fhir:value "A set of other concept descriptors that translate this concept descriptor into other code systems." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.translation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ]
     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "SubstanceAdministration.effectiveTime" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype" ];
         fhir:Extension.value [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.effectiveTime" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "The effectiveTime in a planned immunization activity represents the time that the immunization activity should occur." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] effectiveTime (CONF:1098-32103)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.effectiveTime" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS" ]
       ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "SubstanceAdministration.priorityCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.priorityCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.priorityCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActPriority" ]
       ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "SubstanceAdministration.repeatNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.repeatNumber" ];
       fhir:ElementDefinition.short [ fhir:value "In a Planned Immunization Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] repeatNumber (CONF:1098-32126)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.repeatNumber" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-INT" ]
       ]
     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32127)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7" ]
       ]
     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.code" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.code" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.codeSystem" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the code system that defines the code." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystem" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.codeSystemName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Name" ];
       fhir:ElementDefinition.definition [ fhir:value "The common name of the coding system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.codeSystemVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Version" ];
       fhir:ElementDefinition.definition [ fhir:value "If applicable, a version descriptor defined specifically for the given code system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.displayName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Display Name" ];
       fhir:ElementDefinition.definition [ fhir:value "A name or title for the code, under which the sending system shows the code value to its users." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.displayName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.sdtcValueSet" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSet" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.sdtcValueSet" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.valueSet" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.sdtcValueSetVersion" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSetVersion" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.sdtcValueSetVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.sdtcValueSetVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.originalText" ];
       fhir:ElementDefinition.label [ fhir:value "Original Text" ];
       fhir:ElementDefinition.definition [ fhir:value "The text or phrase used as the basis for the coding." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.originalText" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.qualifier" ];
       fhir:ElementDefinition.label [ fhir:value "Qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies additional codes that increase the specificity of the the primary code." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.qualifier" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CR" ]
       ]
     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.translation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.translation" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Translation" ];
       fhir:ElementDefinition.definition [ fhir:value "A set of other concept descriptors that translate this concept descriptor into other code systems." ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32951)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.translation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12" ]
       ]
     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "SubstanceAdministration.approachSiteCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.approachSiteCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] approachSiteCode, which SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-32128)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.approachSiteCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9" ]
       ]
     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] doseQuantity (CONF:1098-32129)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ" ]
       ]
     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.unit" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.unit" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Unit of Measure" ];
       fhir:ElementDefinition.definition [ fhir:value "The unit of measure specified in the Unified Code for Units of Measure (UCUM) []." ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32130)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_PQ.unit" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839" ]
       ]
     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.value" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Maginitude Value" ];
       fhir:ElementDefinition.definition [ fhir:value "The magnitude of the quantity measured in terms of the unit." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PQ.value" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "decimal" ]
       ]
     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.low" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.low" ];
       fhir:ElementDefinition.label [ fhir:value "Low Boundary" ];
       fhir:ElementDefinition.definition [ fhir:value "This is the low limit of the interval." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_PQ.low" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ]
     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.high" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.high" ];
       fhir:ElementDefinition.label [ fhir:value "High Boundary" ];
       fhir:ElementDefinition.definition [ fhir:value "This is the high limit of the interval." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_PQ.high" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ]
     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.width" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.width" ];
       fhir:ElementDefinition.label [ fhir:value "Width" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_PQ.width" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ]
     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.center" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.center" ];
       fhir:ElementDefinition.label [ fhir:value "Central Value" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_PQ.center" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ]
     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "SubstanceAdministration.rateQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.rateQuantity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.rateQuantity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ" ]
       ]
     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "SubstanceAdministration.maxDoseQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.maxDoseQuantity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.maxDoseQuantity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RTO-PQ-PQ" ]
       ]
     ], [
       fhir:index 54;
       fhir:Element.id [ fhir:value "SubstanceAdministration.administrationUnitCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.administrationUnitCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.administrationUnitCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-AdministrableDrugForm" ]
       ]
     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "SubstanceAdministration.consumable" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] consumable (CONF:1098-32131)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ]
     ], [
       fhir:index 56;
       fhir:Element.id [ fhir:value "SubstanceAdministration.consumable.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "CSM" ];
       fhir:ElementDefinition.fixed [ fhir:value "CSM" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect" ]
       ]
     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "SubstanceAdministration.consumable.manufacturedProduct" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable.manufacturedProduct" ];
       fhir:ElementDefinition.requirements [ fhir:value "This consumable SHALL contain exactly one [1..1] Immunization Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.54:2014-06-09) (CONF:1098-32132)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable.manufacturedProduct" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.54";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "SubstanceAdministration.subject" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ]
     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "SubstanceAdministration.subject.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "SBJ" ];
       fhir:ElementDefinition.fixed [ fhir:value "SBJ" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject" ]
       ]
     ], [
       fhir:index 60;
       fhir:Element.id [ fhir:value "SubstanceAdministration.subject.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.contextControlCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.contextControlCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "OP" ];
       fhir:ElementDefinition.fixed [ fhir:value "OP" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "SubstanceAdministration.subject.awarenessCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.awarenessCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.awarenessCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-TargetAwareness" ]
       ]
     ], [
       fhir:index 62;
       fhir:Element.id [ fhir:value "SubstanceAdministration.subject.relatedSubject" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.relatedSubject" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.subject.relatedSubject" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject" ]
       ]
     ], [
       fhir:index 63;
       fhir:Element.id [ fhir:value "SubstanceAdministration.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.specimen" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.specimen" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Specimen" ]
       ]
     ], [
       fhir:index 64;
       fhir:Element.id [ fhir:value "SubstanceAdministration.performer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.performer" ];
       fhir:ElementDefinition.short [ fhir:value "The clinician who is expected to perform the planned immunization activity could be identified using substanceAdministration/performer." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] performer (CONF:1098-32104)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.performer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Performer2" ]
       ]
     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "SubstanceAdministration.author" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.author" ];
       fhir:ElementDefinition.short [ fhir:value "The author in a planned immunization activity represents the clinician who is requesting or planning the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-32105)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.author" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Author" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "SubstanceAdministration.informant" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ]
     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "SubstanceAdministration.informant.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "INF" ];
       fhir:ElementDefinition.fixed [ fhir:value "INF" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator" ]
       ]
     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "SubstanceAdministration.informant.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.contextControlCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.contextControlCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "OP" ];
       fhir:ElementDefinition.fixed [ fhir:value "OP" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ], [
       fhir:index 69;
       fhir:Element.id [ fhir:value "SubstanceAdministration.informant.assignedEntity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.assignedEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.assignedEntity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity" ]
       ]
     ], [
       fhir:index 70;
       fhir:Element.id [ fhir:value "SubstanceAdministration.informant.relatedEntity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.relatedEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.informant.relatedEntity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity" ]
       ]
     ], [
       fhir:index 71;
       fhir:Element.id [ fhir:value "SubstanceAdministration.participant" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.participant" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.participant" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Participant2" ]
       ]
     ], [
       fhir:index 72;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "observation" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "act" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship captures any instructions associated with the planned immunization activity." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "subst-er-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act" ];
         fhir:ElementDefinition.expression [ fhir:value "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 73;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ]
     ], [
       fhir:index 74;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 75;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "true" ]
     ], [
       fhir:index 76;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ]
     ], [
       fhir:index 77;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 78;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/BL" ]
       ]
     ], [
       fhir:index 79;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ]
     ], [
       fhir:index 80;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest" ]
       ]
     ], [
       fhir:index 81;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia" ]
       ]
     ], [
       fhir:index 82;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 83;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Supply" ]
       ]
     ], [
       fhir:index 84;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Procedure" ]
       ]
     ], [
       fhir:index 85;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Encounter" ]
       ]
     ], [
       fhir:index 86;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organizer" ]
       ]
     ], [
       fhir:index 87;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ]
       ]
     ], [
       fhir:index 88;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "priorityPreference" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the priority that a patient or a provider places on the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32108) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "subst-er-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act" ];
         fhir:ElementDefinition.expression [ fhir:value "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 89;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32109)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "REFR" ]
     ], [
       fhir:index 90;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 91;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.contextConductionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "true" ]
     ], [
       fhir:index 92;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.sequenceNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ]
     ], [
       fhir:index 93;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 94;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/BL" ]
       ]
     ], [
       fhir:index 95;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Priority Preference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.143) (CONF:1098-32110)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.143";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 96;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest" ]
       ]
     ], [
       fhir:index 97;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia" ]
       ]
     ], [
       fhir:index 98;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 99;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.supply" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Supply" ]
       ]
     ], [
       fhir:index 100;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Procedure" ]
       ]
     ], [
       fhir:index 101;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Encounter" ]
       ]
     ], [
       fhir:index 102;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organizer" ]
       ]
     ], [
       fhir:index 103;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.act" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ]
       ]
     ], [
       fhir:index 104;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "indication" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the indication for the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32114) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "subst-er-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act" ];
         fhir:ElementDefinition.expression [ fhir:value "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 105;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32115)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "RSON" ]
     ], [
       fhir:index 106;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 107;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.contextConductionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "true" ]
     ], [
       fhir:index 108;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.sequenceNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ]
     ], [
       fhir:index 109;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 110;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/BL" ]
       ]
     ], [
       fhir:index 111;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Indication (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-32116)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 112;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest" ]
       ]
     ], [
       fhir:index 113;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia" ]
       ]
     ], [
       fhir:index 114;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 115;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.supply" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Supply" ]
       ]
     ], [
       fhir:index 116;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Procedure" ]
       ]
     ], [
       fhir:index 117;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Encounter" ]
       ]
     ], [
       fhir:index 118;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organizer" ]
       ]
     ], [
       fhir:index 119;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.act" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ]
       ]
     ], [
       fhir:index 120;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "instruction" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32117) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "subst-er-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act" ];
         fhir:ElementDefinition.expression [ fhir:value "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 121;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32118)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "SUBJ" ]
     ], [
       fhir:index 122;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.inversionInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 123;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.contextConductionInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.contextConductionInd" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "true" ]
     ], [
       fhir:index 124;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.sequenceNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.sequenceNumber" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ]
     ], [
       fhir:index 125;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.negationInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 126;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.seperatableInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/BL" ]
       ]
     ], [
       fhir:index 127;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ]
     ], [
       fhir:index 128;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.regionOfInterest" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest" ]
       ]
     ], [
       fhir:index 129;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observationMedia" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia" ]
       ]
     ], [
       fhir:index 130;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.substanceAdministration" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration" ]
       ]
     ], [
       fhir:index 131;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.supply" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.supply" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Supply" ]
       ]
     ], [
       fhir:index 132;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.procedure" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Procedure" ]
       ]
     ], [
       fhir:index 133;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.encounter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Encounter" ]
       ]
     ], [
       fhir:index 134;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.organizer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organizer" ]
       ]
     ], [
       fhir:index 135;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.act" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Instruction (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1098-32119)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.20";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 136;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ]
     ], [
       fhir:index 137;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ]
     ], [
       fhir:index 138;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.seperatableInd" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/BL" ]
       ]
     ], [
       fhir:index 139;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.externalAct" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalAct" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalAct" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ExternalAct" ]
       ]
     ], [
       fhir:index 140;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.externalObservation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalObservation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalObservation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation" ]
       ]
     ], [
       fhir:index 141;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.externalProcedure" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalProcedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalProcedure" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure" ]
       ]
     ], [
       fhir:index 142;
       fhir:Element.id [ fhir:value "SubstanceAdministration.reference.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalDocument" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.reference.externalDocument" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument" ]
       ]
     ], [
       fhir:index 143;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "criterion" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Precondition" ]
       ]
     ], [
       fhir:index 144;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.sliceName [ fhir:value "pronditionForSubstanceAdmin" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] precondition (CONF:1098-32123) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Precondition" ]
       ]
     ], [
       fhir:index 145;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 146;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"PRCN\" Precondition (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32124)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.typeCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "PRCN" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActRelationshipType" ]
       ]
     ], [
       fhir:index 147;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.realmCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.realmCode" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.realmCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CS" ]
       ]
     ], [
       fhir:index 148;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.typeId" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.typeId" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.typeId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 149;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.templateId" ];
       fhir:ElementDefinition.definition [ fhir:value "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" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 150;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.criterion" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.criterion" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Precondition for Substance Administration (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1098-32125)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Precondition.criterion" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Criterion" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.25";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "SubstanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "SubstanceAdministration.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.classCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CONF:1098-32091)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "SBADM" ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "SubstanceAdministration.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.moodCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet Planned moodCode (SubstanceAdministration/Supply) urn:oid:2.16.840.1.113883.11.20.9.24 STATIC 2014-09-01 (CONF:1098-32097)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1098-32098) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "SubstanceAdministration.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.templateId.root" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.120\" (CONF:1098-32099)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.120" ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "SubstanceAdministration.id" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain at least one [1..*] id (CONF:1098-32100)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] statusCode (CONF:1098-32101)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "SubstanceAdministration.statusCode.code" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.statusCode.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This statusCode SHALL contain exactly one [1..1] @code=\"active\" Active (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:1098-32102)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "active" ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "SubstanceAdministration.effectiveTime" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.effectiveTime" ];
       fhir:ElementDefinition.short [ fhir:value "The effectiveTime in a planned immunization activity represents the time that the immunization activity should occur." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] effectiveTime (CONF:1098-32103)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "SubstanceAdministration.repeatNumber" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.repeatNumber" ];
       fhir:ElementDefinition.short [ fhir:value "In a Planned Immunization Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] repeatNumber (CONF:1098-32126)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32127)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "SubstanceAdministration.routeCode.translation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.routeCode.translation" ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32951)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12" ]
       ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "SubstanceAdministration.approachSiteCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.approachSiteCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] approachSiteCode, which SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-32128)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9" ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] doseQuantity (CONF:1098-32129)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "SubstanceAdministration.doseQuantity.unit" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.doseQuantity.unit" ];
       fhir:ElementDefinition.requirements [ fhir:value "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:1098-32130)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "SubstanceAdministration.consumable" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] consumable (CONF:1098-32131)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "SubstanceAdministration.consumable.manufacturedProduct" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.consumable.manufacturedProduct" ];
       fhir:ElementDefinition.requirements [ fhir:value "This consumable SHALL contain exactly one [1..1] Immunization Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.54:2014-06-09) (CONF:1098-32132)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.54";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "SubstanceAdministration.performer" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.performer" ];
       fhir:ElementDefinition.short [ fhir:value "The clinician who is expected to perform the planned immunization activity could be identified using substanceAdministration/performer." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] performer (CONF:1098-32104)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "SubstanceAdministration.author" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.author" ];
       fhir:ElementDefinition.short [ fhir:value "The author in a planned immunization activity represents the clinician who is requesting or planning the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-32105)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Author" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "observation" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "act" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship captures any instructions associated with the planned immunization activity." ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "priorityPreference" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the priority that a patient or a provider places on the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32108) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32109)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "REFR" ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:priorityPreference.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Priority Preference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.143) (CONF:1098-32110)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.143";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "indication" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the indication for the immunization activity." ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32114) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32115)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "RSON" ]
     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:indication.observation" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Indication (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-32116)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "instruction" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32117) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32118)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "SUBJ" ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "SubstanceAdministration.entryRelationship:instruction.act" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Instruction (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1098-32119)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.20";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "criterion" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition" ];
       fhir:ElementDefinition.sliceName [ fhir:value "pronditionForSubstanceAdmin" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] precondition (CONF:1098-32123) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"PRCN\" Precondition (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32124)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "PRCN" ]
     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "SubstanceAdministration.precondition:pronditionForSubstanceAdmin.criterion" ];
       fhir:ElementDefinition.path [ fhir:value "SubstanceAdministration.precondition.criterion" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Precondition for Substance Administration (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1098-32125)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Criterion" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.25";
           fhir:index 0
         ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------

