@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.48"];
  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.48"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "2.2"];
  fhir:StructureDefinition.name [ fhir:value "AdvanceDirectiveObservation"];
  fhir:StructureDefinition.title [ fhir:value "Advance Directive Observation"];
  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 clinical statement represents Advance Directive Observation findings (e.g., resuscitation status is Full Code) rather than orders. It should not be considered a legal document or a substitute for the actual Advance Directive document. The related legal documents are referenced using the reference/externalReference element.\nThe Advance Directive Observation describes the patients directives, including but not limited to:\n Medications\n Transfer of Care to Hospital\n Treatment\n Procedures\n Intubation and Ventilation\n Diagnostic Tests\n Tests\n\nThe observation/value element contains the detailed patient directive which may be coded or text. For example, a category directive may be antibiotics, and the details would be intravenous antibiotics only.\n"];
  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 "Observation"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation" ];
       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 "Observation.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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.pattern [ fhir:value "OBS" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActClassObservation" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Observation.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.moodCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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.pattern [ fhir:value "EVN" ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Observation.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 4;
       fhir:Element.id [ fhir:value "Observation.realmCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.realmCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 5;
       fhir:Element.id [ fhir:value "Observation.typeId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.typeId" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 6;
       fhir:Element.id [ fhir:value "Observation.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "extension" ]
         ];
         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 "Observation.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 "Observation.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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:1198-8655) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 8;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 9;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.assigningAuthorityName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 10;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.displayable" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 11;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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.48\" (CONF:1198-10485)." ];
       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.48" ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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.requirements [ fhir:value "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32496)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.pattern [ fhir:value "2015-08-01" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Observation.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain at least one [1..*] id (CONF:1198-8654)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 14;
       fhir:Element.id [ fhir:value "Observation.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.code" ];
         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/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Observation.code.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 16;
       fhir:Element.id [ fhir:value "Observation.code.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 17;
       fhir:Element.id [ fhir:value "Observation.code.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 18;
       fhir:Element.id [ fhir:value "Observation.code.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 19;
       fhir:Element.id [ fhir:value "Observation.code.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 20;
       fhir:Element.id [ fhir:value "Observation.code.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 21;
       fhir:Element.id [ fhir:value "Observation.code.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 "Observation.code.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 22;
       fhir:Element.id [ fhir:value "Observation.code.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 "Observation.code.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 23;
       fhir:Element.id [ fhir:value "Observation.code.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 24;
       fhir:Element.id [ fhir:value "Observation.code.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.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 "*" ];
       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 25;
       fhir:Element.id [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Translation" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "code" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "codeSystem" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       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 "*" ];
       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 26;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.sliceName [ fhir:value "advanceDirective" ];
       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 "This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       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 27;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 28;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 "SHALL contain exactly one [1..1] @code=\"75320-2\" Advance directive (CONF:1198-32843)." ];
       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 "75320-2" ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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.requirements [ fhir:value "SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.6.1" ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 31;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 32;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 33;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.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 "Observation.code.translation.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 34;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.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 "Observation.code.translation.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 35;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 36;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 "*" ];
       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 37;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.translation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.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 "*" ];
       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 38;
       fhir:Element.id [ fhir:value "Observation.derivationExpr" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.derivationExpr" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.derivationExpr" ];
         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/ST" ]
       ]
     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Observation.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.text" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 40;
       fhir:Element.id [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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.pattern [ fhir:value "Completed" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActStatus" ]
       ]
     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "Observation.statusCode.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 42;
       fhir:Element.id [ fhir:value "Observation.statusCode.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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=\"completed\" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)." ];
       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 "completed" ]
     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "Observation.statusCode.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 44;
       fhir:Element.id [ fhir:value "Observation.statusCode.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 45;
       fhir:Element.id [ fhir:value "Observation.statusCode.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 46;
       fhir:Element.id [ fhir:value "Observation.statusCode.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 47;
       fhir:Element.id [ fhir:value "Observation.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 "Observation.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 48;
       fhir:Element.id [ fhir:value "Observation.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 "Observation.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 49;
       fhir:Element.id [ fhir:value "Observation.statusCode.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 50;
       fhir:Element.id [ fhir:value "Observation.statusCode.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 51;
       fhir:Element.id [ fhir:value "Observation.statusCode.translation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 52;
       fhir:Element.id [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime" ];
         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-TS" ]
       ]
     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.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 54;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.value" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://www.healthintersections.com.au/fhir/StructureDefinition/elementdefinition-dateformat" ];
         fhir:Extension.value [ fhir:value "v3" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "TS.value" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ]
     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.inclusive" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.inclusive" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies whether the limit is included in the interval (interval is closed) or excluded from the interval (interval is open)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "TS.inclusive" ];
         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 56;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.operator" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.operator" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "SXCM_TS.operator" ];
         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:index 57;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.low" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.low" ];
       fhir:ElementDefinition.label [ fhir:value "Low Boundary" ];
       fhir:ElementDefinition.definition [ fhir:value "This is the low limit of the interval." ];
       fhir:ElementDefinition.requirements [ fhir:value "This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_TS.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/TS" ]
       ]
     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.high" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.high" ];
       fhir:ElementDefinition.label [ fhir:value "High Boundary" ];
       fhir:ElementDefinition.definition [ fhir:value "This is the high limit of the interval." ];
       fhir:ElementDefinition.requirements [ fhir:value "This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "IVL_TS.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/TS" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-32449" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If the Advance Directive does not have a specified ending time, the <high> element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)." ]
       ]
     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.width" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.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_TS.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 60;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.center" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.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_TS.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/TS" ]
       ]
     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "Observation.priorityCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.priorityCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 62;
       fhir:Element.id [ fhir:value "Observation.repeatNumber" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.repeatNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 63;
       fhir:Element.id [ fhir:value "Observation.languageCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.languageCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.languageCode" ];
         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-HumanLanguage" ]
       ]
     ], [
       fhir:index 64;
       fhir:Element.id [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.slicing [
         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 "Observation.value" ];
         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/BL" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ST" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CV" ]
       ], [
         fhir:index 5;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ], [
         fhir:index 6;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SC" ]
       ], [
         fhir:index 7;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ], [
         fhir:index 8;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/TEL" ]
       ], [
         fhir:index 9;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AD" ]
       ], [
         fhir:index 10;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EN" ]
       ], [
         fhir:index 11;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ], [
         fhir:index 12;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/REAL" ]
       ], [
         fhir:index 13;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ], [
         fhir:index 14;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/MO" ]
       ], [
         fhir:index 15;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/TS" ]
       ], [
         fhir:index 16;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ" ]
       ], [
         fhir:index 17;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" ]
       ], [
         fhir:index 18;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS" ]
       ], [
         fhir:index 19;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS" ]
       ], [
         fhir:index 20;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS" ]
       ], [
         fhir:index 21;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RTO-PQ-PQ" ]
       ]
     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "Observation.value:value1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.sliceName [ fhir:value "value1" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] value (CONF:1198-30804)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
         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/BL" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ST" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CV" ]
       ], [
         fhir:index 5;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ], [
         fhir:index 6;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SC" ]
       ], [
         fhir:index 7;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ], [
         fhir:index 8;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/TEL" ]
       ], [
         fhir:index 9;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AD" ]
       ], [
         fhir:index 10;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EN" ]
       ], [
         fhir:index 11;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/INT" ]
       ], [
         fhir:index 12;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/REAL" ]
       ], [
         fhir:index 13;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ], [
         fhir:index 14;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/MO" ]
       ], [
         fhir:index 15;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/TS" ]
       ], [
         fhir:index 16;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ" ]
       ], [
         fhir:index 17;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" ]
       ], [
         fhir:index 18;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS" ]
       ], [
         fhir:index 19;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS" ]
       ], [
         fhir:index 20;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS" ]
       ], [
         fhir:index 21;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/RTO-PQ-PQ" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-32493" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)." ]
       ]
     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "Observation.interpretationCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.interpretationCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.interpretationCode" ];
         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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation" ]
       ]
     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "Observation.methodCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.methodCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.methodCode" ];
         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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ObservationMethod" ]
       ]
     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "Observation.targetSiteCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.targetSiteCode" ];
       fhir:ElementDefinition.definition [ fhir:value "Drawn from concept domain ActSite" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.targetSiteCode" ];
         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 69;
       fhir:Element.id [ fhir:value "Observation.subject" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.subject" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 70;
       fhir:Element.id [ fhir:value "Observation.subject.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 71;
       fhir:Element.id [ fhir:value "Observation.subject.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 72;
       fhir:Element.id [ fhir:value "Observation.subject.awarenessCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.subject.awarenessCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 73;
       fhir:Element.id [ fhir:value "Observation.subject.relatedSubject" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.subject.relatedSubject" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 74;
       fhir:Element.id [ fhir:value "Observation.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.specimen" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 75;
       fhir:Element.id [ fhir:value "Observation.performer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.performer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 76;
       fhir:Element.id [ fhir:value "Observation.author" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.author" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 77;
       fhir:Element.id [ fhir:value "Observation.informant" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.informant" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 78;
       fhir:Element.id [ fhir:value "Observation.informant.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 79;
       fhir:Element.id [ fhir:value "Observation.informant.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 80;
       fhir:Element.id [ fhir:value "Observation.informant.assignedEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.informant.assignedEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 81;
       fhir:Element.id [ fhir:value "Observation.informant.relatedEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.informant.relatedEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 82;
       fhir:Element.id [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "participantRole" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "typeCode" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 83;
       fhir:Element.id [ fhir:value "Observation.participant:participant1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.sliceName [ fhir:value "participant1" ];
       fhir:ElementDefinition.short [ fhir:value "The participant \"VRF\" represents the clinician(s) who verified the patient advance directive observation." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 84;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 85;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"VRF\" Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.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 "VRF" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ], [
       fhir:index 86;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.contextControlCode" ];
       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 "Participant2.contextControlCode" ];
         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.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 87;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.realmCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 88;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.typeId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 89;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 90;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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:1198-8664) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.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 91;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 92;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.assigningAuthorityName" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 93;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.displayable" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 94;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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.1.58\" (CONF:1198-10486)." ];
       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.1.58" ]
     ], [
       fhir:index 95;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 96;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.sdtcFunctionCode" ];
       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 "functionCode" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.sdtcFunctionCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.sdtcFunctionCode" ];
         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:index 97;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.time" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.time" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or one [0..1] time (CONF:1198-8665)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.time" ];
         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-TS" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-8666" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)." ]
       ]
     ], [
       fhir:index 98;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.awarenessCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.awarenessCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.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:index 99;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.participantRole" ];
         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/ParticipantRole" ]
       ]
     ], [
       fhir:index 100;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.classCode" ];
       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 "ParticipantRole.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 "ROL" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassRoot" ]
       ]
     ], [
       fhir:index 101;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.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 "ParticipantRole.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 102;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.id" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.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 103;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.sdtcIdentifiedBy" ];
       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 "identifiedBy" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.sdtcIdentifiedBy" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.sdtcIdentifiedBy" ];
         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/IdentifiedBy" ]
       ]
     ], [
       fhir:index 104;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" ]
       ]
     ], [
       fhir:index 105;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.addr" ];
       fhir:ElementDefinition.definition [ fhir:value "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.addr" ];
         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/AD" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "81-7296" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 106;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.telecom" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.telecom" ];
         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/TEL" ]
       ]
     ], [
       fhir:index 107;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingDevice" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingDevice" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingDevice" ];
         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/Device" ]
       ]
     ], [
       fhir:index 108;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity" ];
         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/PlayingEntity" ]
       ]
     ], [
       fhir:index 109;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.classCode" ];
       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 "PlayingEntity.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 "ENT" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot" ]
       ]
     ], [
       fhir:index 110;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.determinerCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.determinerCode" ];
       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 "PlayingEntity.determinerCode" ];
         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 "INSTANCE" ];
       fhir:ElementDefinition.fixed [ fhir:value "INSTANCE" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ], [
       fhir:index 111;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.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 "PlayingEntity.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 112;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityCode" ]
       ]
     ], [
       fhir:index 113;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.quantity" ];
         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/PQ" ]
       ]
     ], [
       fhir:index 114;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.definition [ fhir:value "A name for a person. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for person name values are \"Jim Bob Walton, Jr.\", \"Adam Everyman\", etc. A person name may be as simple as a character string or may consist of several person name parts, such as, \"Jim\", \"Bob\", \"Walton\", and \"Jr.\". PN differs from EN because the qualifier type cannot include LS (Legal Status)." ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.name" ];
         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/PN" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.1.1";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "81-9371" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "The content of name **SHALL** be either a conformant Patient Name (PTN.US.FIELDED), or a string (CONF:81-9371)." ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "81-9372" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "The string **SHALL NOT** contain name parts (CONF:81-9372)." ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 115;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.desc" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.desc" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.desc" ];
         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 116;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.scopingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.scopingEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.scopingEntity" ];
         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/Entity" ]
       ]
     ], [
       fhir:index 117;
       fhir:Element.id [ fhir:value "Observation.participant:participant2" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.sliceName [ fhir:value "participant2" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 118;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 119;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"CST\" Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.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 "CST" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ], [
       fhir:index 120;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.contextControlCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.contextControlCode" ];
       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 "Participant2.contextControlCode" ];
         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.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 121;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.realmCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 122;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.typeId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 123;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 "Participant2.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 124;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.sdtcFunctionCode" ];
       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 "functionCode" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.sdtcFunctionCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.sdtcFunctionCode" ];
         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:index 125;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.time" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.time" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.time" ];
         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-TS" ]
       ]
     ], [
       fhir:index 126;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.awarenessCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.awarenessCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.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:index 127;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Participant2.participantRole" ];
         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/ParticipantRole" ]
       ]
     ], [
       fhir:index 128;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHALL contain exactly one [1..1] @classCode=\"AGNT\" Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.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 "ROL" ];
       fhir:ElementDefinition.pattern [ fhir:value "AGNT" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassRoot" ]
       ]
     ], [
       fhir:index 129;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.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 "ParticipantRole.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 130;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.id" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.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 131;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.sdtcIdentifiedBy" ];
       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 "identifiedBy" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.sdtcIdentifiedBy" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.sdtcIdentifiedBy" ];
         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/IdentifiedBy" ]
       ]
     ], [
       fhir:index 132;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1" ]
       ]
     ], [
       fhir:index 133;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.addr" ];
       fhir:ElementDefinition.definition [ fhir:value "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.addr" ];
         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/AD" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "81-7296" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 134;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.telecom" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.telecom" ];
         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/TEL" ]
       ]
     ], [
       fhir:index 135;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingDevice" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingDevice" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingDevice" ];
         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/Device" ]
       ]
     ], [
       fhir:index 136;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity" ];
         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/PlayingEntity" ]
       ]
     ], [
       fhir:index 137;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.classCode" ];
       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 "PlayingEntity.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 "ENT" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot" ]
       ]
     ], [
       fhir:index 138;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.determinerCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.determinerCode" ];
       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 "PlayingEntity.determinerCode" ];
         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 "INSTANCE" ];
       fhir:ElementDefinition.fixed [ fhir:value "INSTANCE" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ], [
       fhir:index 139;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.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 "PlayingEntity.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 140;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.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/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51" ]
       ]
     ], [
       fhir:index 141;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.quantity" ];
         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/PQ" ]
       ]
     ], [
       fhir:index 142;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.short [ fhir:value "Record the name of the agent who can provide a copy of the Advance Directive in the name element." ];
       fhir:ElementDefinition.requirements [ fhir:value "This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.name" ];
         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/EN" ]
       ]
     ], [
       fhir:index 143;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.desc" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.desc" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.desc" ];
         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 144;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.scopingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.scopingEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.scopingEntity" ];
         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/Entity" ]
       ]
     ], [
       fhir:index 145;
       fhir:Element.id [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 "obs-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/Observation" ]
       ]
     ], [
       fhir:index 146;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 147;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 148;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.contextConductionInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 149;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.sequenceNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 150;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.negationInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 151;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 152;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 153;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 154;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 155;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 156;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.supply" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 157;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 158;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 159;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 160;
       fhir:Element.id [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 161;
       fhir:Element.id [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "externalDocument" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "typeCode" ]
         ];
         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 "Observation.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 162;
       fhir:Element.id [ fhir:value "Observation.reference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 "Observation.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 163;
       fhir:Element.id [ fhir:value "Observation.reference.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 164;
       fhir:Element.id [ fhir:value "Observation.reference.externalAct" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalAct" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 165;
       fhir:Element.id [ fhir:value "Observation.reference.externalObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalObservation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 166;
       fhir:Element.id [ fhir:value "Observation.reference.externalProcedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalProcedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 167;
       fhir:Element.id [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 168;
       fhir:Element.id [ fhir:value "Observation.reference:reference1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.sliceName [ fhir:value "reference1" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 169;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.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 STATIC) (CONF:1198-8694)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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:ElementDefinition.pattern [ fhir:value "REFR" ]
     ], [
       fhir:index 170;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.seperatableInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.seperatableInd" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 171;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalAct" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalAct" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 172;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalObservation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 173;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalProcedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalProcedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 174;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 175;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.classCode" ];
       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 "ExternalDocument.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 "DOC" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActClassDocument" ]
       ]
     ], [
       fhir:index 176;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.moodCode" ];
       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 "ExternalDocument.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.defaultValue [ fhir:value "EVN" ];
       fhir:ElementDefinition.fixed [ fhir:value "EVN" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActMood" ]
       ]
     ], [
       fhir:index 177;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.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 "ExternalDocument.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 178;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ExternalDocument.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 179;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.code" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ExternalDocument.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-DocumentType" ]
       ]
     ], [
       fhir:index 180;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text" ];
       fhir:ElementDefinition.requirements [ fhir:value "This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ExternalDocument.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 181;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.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 182;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.charset" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.charset" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Charset" ];
       fhir:ElementDefinition.definition [ fhir:value "For character-based encoding types, this property specifies the character set and character encoding used. The charset shall be identified by an Internet Assigned Numbers Authority (IANA) Charset Registration [] in accordance with RFC 2978 []." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.charset" ];
         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:index 183;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.compression" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.compression" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Compression" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates whether the raw byte data is compressed, and what compression algorithm was used." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.compression" ];
         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-CompressionAlgorithm" ]
       ]
     ], [
       fhir:index 184;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.integrityCheck" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.integrityCheck" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Integrity Check" ];
       fhir:ElementDefinition.definition [ fhir:value "The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.integrityCheck" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "base64Binary" ]
       ]
     ], [
       fhir:index 185;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.integrityCheckAlgorithm" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.integrityCheckAlgorithm" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Integrity Check Algorithm" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.integrityCheckAlgorithm" ];
         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-IntegrityCheckAlgorithm" ]
       ]
     ], [
       fhir:index 186;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.language" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.language" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Language" ];
       fhir:ElementDefinition.definition [ fhir:value "For character based information the language property specifies the human language of the text." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.language" ];
         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:index 187;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.mediaType" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.mediaType" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Media Type" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the type of the encapsulated data and identifies a method to interpret or render the data." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.mediaType" ];
         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:index 188;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.representation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.representation" ];
       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 "ED.representation" ];
         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:index 189;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.data[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.data[x]" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlText";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.data[x]" ];
         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 1;
         fhir:ElementDefinition.code [ fhir:value "base64Binary" ]
       ]
     ], [
       fhir:index 190;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.reference" ];
       fhir:ElementDefinition.label [ fhir:value "Reference" ];
       fhir:ElementDefinition.definition [ fhir:value "A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data." ];
       fhir:ElementDefinition.requirements [ fhir:value "The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.reference" ];
         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/TEL" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-8698" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)." ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "1198-8699" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)." ]
       ]
     ], [
       fhir:index 191;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.thumbnail" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.thumbnail" ];
       fhir:ElementDefinition.label [ fhir:value "Thumbnail" ];
       fhir:ElementDefinition.definition [ fhir:value "An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ED.thumbnail" ];
         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 192;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.setId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.setId" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ExternalDocument.setId" ];
         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 193;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.versionNumber" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.versionNumber" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ExternalDocument.versionNumber" ];
         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 194;
       fhir:Element.id [ fhir:value "Observation.precondition" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.precondition" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.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 195;
       fhir:Element.id [ fhir:value "Observation.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange" ];
         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 196;
       fhir:Element.id [ fhir:value "Observation.referenceRange.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.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 "Observation.referenceRange.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 "REFV" ];
       fhir:ElementDefinition.fixed [ fhir:value "REFV" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains" ]
       ]
     ], [
       fhir:index 197;
       fhir:Element.id [ fhir:value "Observation.referenceRange.observationRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.observationRange" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.observationRange" ];
         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/ObservationRange" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Observation.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.classCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "OBS" ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Observation.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.moodCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "EVN" ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Observation.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "extension" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Observation.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1198-8655) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.templateId.root" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.48\" (CONF:1198-10485)." ];
       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.48" ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Observation.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.templateId.extension" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32496)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2015-08-01" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Observation.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain at least one [1..*] id (CONF:1198-8654)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Observation.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "code" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "codeSystem" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation" ];
       fhir:ElementDefinition.sliceName [ fhir:value "advanceDirective" ];
       fhir:ElementDefinition.requirements [ fhir:value "This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @code=\"75320-2\" Advance directive (CONF:1198-32843)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "75320-2" ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Observation.code.translation:advanceDirective.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code.translation.codeSystem" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.6.1" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "Completed" ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Observation.statusCode.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.statusCode.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This statusCode SHALL contain exactly one [1..1] @code=\"completed\" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "completed" ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.low" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.low" ];
       fhir:ElementDefinition.requirements [ fhir:value "This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "Observation.effectiveTime.high" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime.high" ];
       fhir:ElementDefinition.requirements [ fhir:value "This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-32449" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If the Advance Directive does not have a specified ending time, the <high> element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)." ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Observation.value:value1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.sliceName [ fhir:value "value1" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] value (CONF:1198-30804)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-32493" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)." ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Observation.author" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.author" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)." ];
       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 21;
       fhir:Element.id [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "participantRole" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "typeCode" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary." ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Observation.participant:participant1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.sliceName [ fhir:value "participant1" ];
       fhir:ElementDefinition.short [ fhir:value "The participant \"VRF\" represents the clinician(s) who verified the patient advance directive observation." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"VRF\" Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "VRF" ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.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 25;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1198-8664) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.templateId.root" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.1.58\" (CONF:1198-10486)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.1.58" ]
     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.time" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.time" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or one [0..1] time (CONF:1198-8665)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-8666" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)." ]
       ]
     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" ]
       ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.addr" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)." ];
       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/AD" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "Observation.participant:participant1.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)." ];
       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/PN" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.1.1";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "Observation.participant:participant2" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.sliceName [ fhir:value "participant2" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"CST\" Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "CST" ]
     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.classCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHALL contain exactly one [1..1] @classCode=\"AGNT\" Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "AGNT" ]
     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1" ]
       ]
     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.addr" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)." ];
       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/AD" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.telecom" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51" ]
       ]
     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "Observation.participant:participant2.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant.participantRole.playingEntity.name" ];
       fhir:ElementDefinition.short [ fhir:value "Record the name of the agent who can provide a copy of the Advance Directive in the name element." ];
       fhir:ElementDefinition.requirements [ fhir:value "This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "externalDocument" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "typeCode" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "Observation.reference:reference1" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.sliceName [ fhir:value "reference1" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.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 STATIC) (CONF:1198-8694)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "REFR" ]
     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.id" ];
       fhir:ElementDefinition.requirements [ fhir:value "This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text" ];
       fhir:ElementDefinition.requirements [ fhir:value "This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "Observation.reference:reference1.externalDocument.text.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument.text.reference" ];
       fhir:ElementDefinition.requirements [ fhir:value "The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1198-8698" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)." ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "1198-8699" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)." ]
       ]
     ]
  ] .

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

