@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.144"];
  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.144"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.10.20.22.4.144" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "2.2"];
  fhir:StructureDefinition.name [ fhir:value "OutcomeObservation"];
  fhir:StructureDefinition.title [ fhir:value "Outcome 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 template represents the outcome of care resulting from the interventions used to treat the patient. In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal.\n\nOften thought of as an \"actual outcome\", the Outcome Observation may be related to goals, progression toward goals, and the associated interventions. For example, an observation outcome of a blood oxygen saturation level of 95% is related to the goal of \"Maintain Pulse Ox greater than 92\", which in turn is related to the health concern of respiratory insufficiency and the problem of pneumonia. The template makes use of the Entry Reference (templateId:2.16.840.1.113883.10.20.22.4.122) to reference the interventions and goals defined elsewhere in the Care Plan CDA instance."];
  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.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1098-32782" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "SHALL contain at least one [1..*] entryRelationships (CONF:1098-32782)." ]
       ];
       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\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1098-31219)." ];
       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\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:1098-31220)." ];
       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: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:1098-31221) 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.144\" (CONF:1098-31222)." ];
       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.144" ]
     ], [
       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.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 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:1098-31223)." ];
       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 CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:1098-32746)." ];
       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 "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ObservationType" ]
       ]
     ], [
       fhir:index 15;
       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 16;
       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 17;
       fhir:Element.id [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.statusCode" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       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.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActStatus" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effectiveTime" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       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 19;
       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 20;
       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 21;
       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 22;
       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.requirements [ fhir:value "SHOULD contain zero or one [0..1] value (CONF:1098-32747)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       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:index 23;
       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 24;
       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 25;
       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 26;
       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 27;
       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 28;
       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 29;
       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 30;
       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 31;
       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 32;
       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 33;
       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:1098-31553)." ];
       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 34;
       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 35;
       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 36;
       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 37;
       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 38;
       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 39;
       fhir:Element.id [ fhir:value "Observation.participant" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.participant" ];
       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 40;
       fhir:Element.id [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "act" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "observation" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry." ];
       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 41;
       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 42;
       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 43;
       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 44;
       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 45;
       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 46;
       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 47;
       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 48;
       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 49;
       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 50;
       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 51;
       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 52;
       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 53;
       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 54;
       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 55;
       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 56;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "entryReference" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the relationship between an Outcome Observation and a Goal Observation. Because the Goal Observation is already described in the CDA document instance's Goals section, rather than repeating the full content of the Goal Observation, the Entry Reference template can be used to reference this entry." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] entryRelationship (CONF:1098-31224) such that it" ];
       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 1;
         fhir:ElementDefinition.key [ fhir:value "1098-32461" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "This entryReference template **SHALL** reference an instance of a Goal Observation template (CONF:1098-32461)." ]
       ]
     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"GEVL\" Evaluates goal (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31225)." ];
       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:ElementDefinition.pattern [ fhir:value "GEVL" ]
     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 59;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 60;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 61;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 62;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 63;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 64;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 65;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 66;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 67;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.supply" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 68;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 69;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 70;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 71;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-32465)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.122";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 72;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "progressTowardGoalObservation" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the relationship between an Outcome Observation and a Progress Toward Goal Observation (Outcome Observation SUPPORTS Progress Toward Goal Observation). In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-31427) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       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 73;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"SPRT\" Has support (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31428)." ];
       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:ElementDefinition.pattern [ fhir:value "SPRT" ]
     ], [
       fhir:index 74;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @inversionInd=\"true\" (CONF:1098-31429)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.pattern [ fhir:value "true" ]
     ], [
       fhir:index 75;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.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 76;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.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 77;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.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 78;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.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 79;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Progress Toward Goal Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.110) (CONF:1098-31430)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.110";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 80;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 81;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 82;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 83;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.supply" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 84;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 85;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 86;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 87;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 88;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "entryReference" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-31688) such that it" ];
       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 1;
         fhir:ElementDefinition.key [ fhir:value "1098-32462" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "This entryReference template **SHALL** reference an instance of a Intervention Act template (CONF:1098-32462)." ]
       ]
     ], [
       fhir:index 89;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31689)." ];
       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:ElementDefinition.pattern [ fhir:value "RSON" ]
     ], [
       fhir:index 90;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 91;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 92;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 93;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 94;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.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 95;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 96;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.regionOfInterest" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.regionOfInterest" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 97;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.observationMedia" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observationMedia" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 98;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.substanceAdministration" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.substanceAdministration" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 99;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.supply" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.supply" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 100;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.procedure" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.procedure" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 101;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.encounter" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 102;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.organizer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.organizer" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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 103;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-31690)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       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:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.122";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 104;
       fhir:Element.id [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] reference (CONF:1098-32763)." ];
       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 105;
       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.requirements [ fhir:value "The reference, if present, SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32764)." ];
       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 106;
       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 107;
       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 108;
       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 109;
       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 110;
       fhir:Element.id [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.requirements [ fhir:value "The reference, if present, SHALL contain exactly one [1..1] External Document Reference (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.115:2014-06-09) (CONF:1098-32765)." ];
       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:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.115";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 111;
       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 112;
       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 113;
       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 114;
       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:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1098-32782" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "SHALL contain at least one [1..*] entryRelationships (CONF:1098-32782)." ]
       ]
     ], [
       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\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1098-31219)." ];
       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\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:1098-31220)." ];
       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: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:1098-31221) 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.144\" (CONF:1098-31222)." ];
       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.144" ]
     ], [
       fhir:index 6;
       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:1098-31223)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 7;
       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 CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:1098-32746)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or one [0..1] value (CONF:1098-32747)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 9;
       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:1098-31553)." ];
       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 10;
       fhir:Element.id [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "act" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "profile" ];
           fhir:ElementDefinition.path [ fhir:value "observation" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry." ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "entryReference" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the relationship between an Outcome Observation and a Goal Observation. Because the Goal Observation is already described in the CDA document instance's Goals section, rather than repeating the full content of the Goal Observation, the Entry Reference template can be used to reference this entry." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] entryRelationship (CONF:1098-31224) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1098-32461" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "This entryReference template **SHALL** reference an instance of a Goal Observation template (CONF:1098-32461)." ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"GEVL\" Evaluates goal (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31225)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "GEVL" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-32465)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.122";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "progressTowardGoalObservation" ];
       fhir:ElementDefinition.short [ fhir:value "The following entryRelationship represents the relationship between an Outcome Observation and a Progress Toward Goal Observation (Outcome Observation SUPPORTS Progress Toward Goal Observation). In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-31427) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"SPRT\" Has support (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31428)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "SPRT" ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.inversionInd" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.inversionInd" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @inversionInd=\"true\" (CONF:1098-31429)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "true" ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:progressTowardGoalObservation.observation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.observation" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Progress Toward Goal Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.110) (CONF:1098-31430)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Observation" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.110";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship" ];
       fhir:ElementDefinition.sliceName [ fhir:value "entryReference" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] entryRelationship (CONF:1098-31688) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "1098-32462" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "This entryReference template **SHALL** reference an instance of a Intervention Act template (CONF:1098-32462)." ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31689)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "RSON" ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Observation.entryRelationship:entryReference.act" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.entryRelationship.act" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-31690)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.122";
           fhir:index 0
         ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or more [0..*] reference (CONF:1098-32763)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Observation.reference.typeCode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.typeCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "The reference, if present, SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32764)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "REFR" ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.reference.externalDocument" ];
       fhir:ElementDefinition.requirements [ fhir:value "The reference, if present, SHALL contain exactly one [1..1] External Document Reference (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.115:2014-06-09) (CONF:1098-32765)." ];
       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/ExternalDocument" ];
         fhir:ElementDefinition.profile [
           fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.115";
           fhir:index 0
         ]
       ]
     ]
  ] .

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

