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

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

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "AdvanceDirectiveObservation"] ;
  fhir:text [
     fhir:status [ fhir:v "extensions" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target" ] ;
     fhir:value [
       fhir:v "" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
         fhir:value [ fhir:v "not-applicable" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
     fhir:value [ fhir:v "urn:hl7-org:v3" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
     fhir:value [ fhir:v "observation" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"], [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"] ;
  fhir:identifier ( [
     fhir:value [ fhir:v "urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01" ]
  ] [
     fhir:value [ fhir:v "urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01" ]
  ] ) ;
  fhir:version [ fhir:v "2.1"], [ fhir:v "2.1"] ;
  fhir:name [ fhir:v "AdvanceDirectiveObservation"], [ fhir:v "AdvanceDirectiveObservation"] ;
  fhir:title [ fhir:v "Advance Directive Observation"], [ fhir:v "Advance Directive Observation"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:date [ fhir:v "2023-09-29T16:20:44+00:00"], [ fhir:v "2023-09-29T16:20:44+00:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven"], [ fhir:v "Health Level Seven"] ;
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "This clinical statement represents Advance Directive Observation findings (e.g., \"resuscitation status is Full Code\") rather than orders. It should not be considered a legal document or a substitute for the actual Advance Directive document. The related legal documents are referenced using the reference/externalReference element.\n\nThe Advance Directive Observation describes the patient's directives, including but not limited to:\n*  Medications\n*  Transfer of Care to Hospital\n*  Treatment\n*  Procedures\n*  Intubation and Ventilation\n*  Diagnostic Tests\n*  Tests\n\nThe observation/value element contains the detailed patient directive which may be coded or text. For example, a category directive may be antibiotics, and the details would be intravenous antibiotics only."], [ fhir:v "This clinical statement represents Advance Directive Observation findings (e.g., \"resuscitation status is Full Code\") rather than orders. It should not be considered a legal document or a substitute for the actual Advance Directive document. The related legal documents are referenced using the reference/externalReference element.\n\nThe Advance Directive Observation describes the patient's directives, including but not limited to:\n*  Medications\n*  Transfer of Care to Hospital\n*  Treatment\n*  Procedures\n*  Intubation and Ventilation\n*  Diagnostic Tests\n*  Tests\n\nThe observation/value element contains the detailed patient directive which may be coded or text. For example, a category directive may be antibiotics, and the details would be intravenous antibiotics only."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "5.0.0"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ;
  fhir:kind [ fhir:v "logical"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"] ;
  fhir:derivation [ fhir:v "constraint"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "Observation" ] ;
       fhir:path [ fhir:v "Observation" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Base" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [ ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.classCode" ] ;
       fhir:path [ fhir:v "Observation.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OBS" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActClassObservation" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.moodCode" ] ;
       fhir:path [ fhir:v "Observation.moodCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.moodCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "EVN" ]
     ] [
       fhir:id [ fhir:v "Observation.negationInd" ] ;
       fhir:path [ fhir:v "Observation.negationInd" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.negationInd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.realmCode" ] ;
       fhir:path [ fhir:v "Observation.realmCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.typeId" ] ;
       fhir:path [ fhir:v "Observation.typeId" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.templateId" ] ;
       fhir:path [ fhir:v "Observation.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "extension" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary" ] ;
       fhir:path [ fhir:v "Observation.templateId" ] ;
       fhir:sliceName [ fhir:v "primary" ] ;
       fhir:definition [ fhir:v "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:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1198-8655) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.templateId.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.assigningAuthorityName" ] ;
       fhir:path [ fhir:v "Observation.templateId.assigningAuthorityName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Assigning Authority Name" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.displayable" ] ;
       fhir:path [ fhir:v "Observation.templateId.displayable" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Displayable" ] ;
       fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.displayable" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.root" ] ;
       fhir:path [ fhir:v "Observation.templateId.root" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Root" ] ;
       fhir:definition [ fhir:v "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.48\" (CONF:1198-10485)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.root" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.4.48" ]
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.extension" ] ;
       fhir:path [ fhir:v "Observation.templateId.extension" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Extension" ] ;
       fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32496)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2015-08-01" ]
     ] [
       fhir:id [ fhir:v "Observation.id" ] ;
       fhir:path [ fhir:v "Observation.id" ] ;
       fhir:comment [ fhir:v "SHALL contain at least one [1..*] id (CONF:1198-8654)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code" ] ;
       fhir:path [ fhir:v "Observation.code" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.code" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.code.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.code.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.code.code" ] ;
       fhir:path [ fhir:v "Observation.code.code" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code" ] ;
       fhir:definition [ fhir:v "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.codeSystem" ] ;
       fhir:path [ fhir:v "Observation.code.codeSystem" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System" ] ;
       fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystem" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.codeSystemName" ] ;
       fhir:path [ fhir:v "Observation.code.codeSystemName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Name" ] ;
       fhir:definition [ fhir:v "The common name of the coding system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.codeSystemVersion" ] ;
       fhir:path [ fhir:v "Observation.code.codeSystemVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Version" ] ;
       fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.displayName" ] ;
       fhir:path [ fhir:v "Observation.code.displayName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Display Name" ] ;
       fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.displayName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.sdtcValueSet" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSet" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.code.sdtcValueSet" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.valueSet" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.sdtcValueSetVersion" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSetVersion" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.code.sdtcValueSetVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.originalText" ] ;
       fhir:path [ fhir:v "Observation.code.originalText" ] ;
       fhir:label [ fhir:v "Original Text" ] ;
       fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.originalText" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.qualifier" ] ;
       fhir:path [ fhir:v "Observation.code.qualifier" ] ;
       fhir:label [ fhir:v "Qualifier" ] ;
       fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.qualifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation" ] ;
       fhir:path [ fhir:v "Observation.code.translation" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Translation" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "code" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "codeSystem" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.translation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective" ] ;
       fhir:path [ fhir:v "Observation.code.translation" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:sliceName [ fhir:v "advanceDirective" ] ;
       fhir:label [ fhir:v "Translation" ] ;
       fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
       fhir:comment [ fhir:v "This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.translation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.code.translation.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.code" ] ;
       fhir:path [ fhir:v "Observation.code.translation.code" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code" ] ;
       fhir:definition [ fhir:v "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @code=\"75320-2\" Advance directive (CONF:1198-32843)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:pattern [ fhir:v "75320-2" ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.codeSystem" ] ;
       fhir:path [ fhir:v "Observation.code.translation.codeSystem" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System" ] ;
       fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystem" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.6.1" ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.codeSystemName" ] ;
       fhir:path [ fhir:v "Observation.code.translation.codeSystemName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Name" ] ;
       fhir:definition [ fhir:v "The common name of the coding system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.codeSystemVersion" ] ;
       fhir:path [ fhir:v "Observation.code.translation.codeSystemVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Version" ] ;
       fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.displayName" ] ;
       fhir:path [ fhir:v "Observation.code.translation.displayName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Display Name" ] ;
       fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.displayName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.sdtcValueSet" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSet" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.code.translation.sdtcValueSet" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.valueSet" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.sdtcValueSetVersion" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSetVersion" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.code.translation.sdtcValueSetVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.originalText" ] ;
       fhir:path [ fhir:v "Observation.code.translation.originalText" ] ;
       fhir:label [ fhir:v "Original Text" ] ;
       fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.originalText" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.qualifier" ] ;
       fhir:path [ fhir:v "Observation.code.translation.qualifier" ] ;
       fhir:label [ fhir:v "Qualifier" ] ;
       fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.qualifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.translation" ] ;
       fhir:path [ fhir:v "Observation.code.translation.translation" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Translation" ] ;
       fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.translation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.derivationExpr" ] ;
       fhir:path [ fhir:v "Observation.derivationExpr" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.derivationExpr" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ST" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.text" ] ;
       fhir:path [ fhir:v "Observation.text" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.text" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode" ] ;
       fhir:path [ fhir:v "Observation.statusCode" ] ;
       fhir:short [ fhir:v "SG 20230706: constraint not entered 'properly' deleted fixedCode='Completed here - it's already in the next element and shoudln't be here - entered weird/wrong in TWB" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.statusCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActStatus" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.statusCode.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.statusCode.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.statusCode.code" ] ;
       fhir:path [ fhir:v "Observation.statusCode.code" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code" ] ;
       fhir:definition [ fhir:v "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache." ] ;
       fhir:comment [ fhir:v "This statusCode SHALL contain exactly one [1..1] @code=\"completed\" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "completed" ]
     ] [
       fhir:id [ fhir:v "Observation.statusCode.codeSystem" ] ;
       fhir:path [ fhir:v "Observation.statusCode.codeSystem" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System" ] ;
       fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystem" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.codeSystemName" ] ;
       fhir:path [ fhir:v "Observation.statusCode.codeSystemName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Name" ] ;
       fhir:definition [ fhir:v "The common name of the coding system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.codeSystemVersion" ] ;
       fhir:path [ fhir:v "Observation.statusCode.codeSystemVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Version" ] ;
       fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.displayName" ] ;
       fhir:path [ fhir:v "Observation.statusCode.displayName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Display Name" ] ;
       fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.displayName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.sdtcValueSet" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSet" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.statusCode.sdtcValueSet" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.valueSet" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.sdtcValueSetVersion" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSetVersion" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.statusCode.sdtcValueSetVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.originalText" ] ;
       fhir:path [ fhir:v "Observation.statusCode.originalText" ] ;
       fhir:label [ fhir:v "Original Text" ] ;
       fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.originalText" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.qualifier" ] ;
       fhir:path [ fhir:v "Observation.statusCode.qualifier" ] ;
       fhir:label [ fhir:v "Qualifier" ] ;
       fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.qualifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.statusCode.translation" ] ;
       fhir:path [ fhir:v "Observation.statusCode.translation" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Translation" ] ;
       fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.translation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.effectiveTime" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.value" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format" ] ;
         fhir:value [ fhir:v "YYYYMMDDHHMMSS.UUUU[+|-ZZzz]" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.effectiveTime.value" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "TS.value" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ts-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.operator" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.operator" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "SXCM_TS.operator" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "I" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-SetOperator" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.low" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.low" ] ;
       fhir:label [ fhir:v "Low Boundary" ] ;
       fhir:definition [ fhir:v "This is the low limit of the interval." ] ;
       fhir:comment [ fhir:v "This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "IVL_TS.low" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.center" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.center" ] ;
       fhir:label [ fhir:v "Central Value" ] ;
       fhir:definition [ fhir:v "The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "IVL_TS.center" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.width" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.width" ] ;
       fhir:label [ fhir:v "Width" ] ;
       fhir:definition [ fhir:v "The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "IVL_TS.width" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.high" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.high" ] ;
       fhir:label [ fhir:v "High Boundary" ] ;
       fhir:definition [ fhir:v "This is the high limit of the interval." ] ;
       fhir:comment [ fhir:v "This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "IVL_TS.high" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-32449" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If the Advance Directive does not have a specified ending time, the <high> element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.priorityCode" ] ;
       fhir:path [ fhir:v "Observation.priorityCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.priorityCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActPriority" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.repeatNumber" ] ;
       fhir:path [ fhir:v "Observation.repeatNumber" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.repeatNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.languageCode" ] ;
       fhir:path [ fhir:v "Observation.languageCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.languageCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-HumanLanguage" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.value" ] ;
       fhir:path [ fhir:v "Observation.value" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] value (CONF:1198-30804)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.value" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ANY" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ST" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CV" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SC" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EN" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/REAL" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/MO" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-32493" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.interpretationCode" ] ;
       fhir:path [ fhir:v "Observation.interpretationCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.interpretationCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.methodCode" ] ;
       fhir:path [ fhir:v "Observation.methodCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.methodCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ObservationMethod" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.targetSiteCode" ] ;
       fhir:path [ fhir:v "Observation.targetSiteCode" ] ;
       fhir:definition [ fhir:v "Drawn from concept domain ActSite" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.targetSiteCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.subject" ] ;
       fhir:path [ fhir:v "Observation.subject" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.subject" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Subject" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.specimen" ] ;
       fhir:path [ fhir:v "Observation.specimen" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.specimen" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Specimen" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.performer" ] ;
       fhir:path [ fhir:v "Observation.performer" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.performer" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Performer2" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.author" ] ;
       fhir:path [ fhir:v "Observation.author" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.author" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Author" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.informant" ] ;
       fhir:path [ fhir:v "Observation.informant" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.informant" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Informant" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "participantRole" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "typeCode" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:short [ fhir:v "This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.participant" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant2" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.participant.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:path [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant.contextControlCode" ] ;
       fhir:path [ fhir:v "Observation.participant.contextControlCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.contextControlCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OP" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant.realmCode" ] ;
       fhir:path [ fhir:v "Observation.participant.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.typeId" ] ;
       fhir:path [ fhir:v "Observation.participant.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:sliceName [ fhir:v "primary" ] ;
       fhir:definition [ fhir:v "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:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1198-8664) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.assigningAuthorityName" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.assigningAuthorityName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Assigning Authority Name" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.displayable" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.displayable" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Displayable" ] ;
       fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.displayable" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.root" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.root" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Root" ] ;
       fhir:definition [ fhir:v "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.1.58\" (CONF:1198-10486)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.root" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.1.58" ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.extension" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.extension" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Extension" ] ;
       fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
       fhir:comment [ fhir:v "SHALL not contain [0..0] extension" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.sdtcFunctionCode" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "functionCode" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.sdtcFunctionCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.sdtcFunctionCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.time" ] ;
       fhir:path [ fhir:v "Observation.participant.time" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.time" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.awarenessCode" ] ;
       fhir:path [ fhir:v "Observation.participant.awarenessCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.awarenessCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.participantRole" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:sliceName [ fhir:v "participant1" ] ;
       fhir:short [ fhir:v "The participant \"VRF\" represents the clinician(s) who verified the patient advance directive observation." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.participant" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant2" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.participant.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.typeCode" ] ;
       fhir:path [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"VRF\" Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "VRF" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.contextControlCode" ] ;
       fhir:path [ fhir:v "Observation.participant.contextControlCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.contextControlCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OP" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.realmCode" ] ;
       fhir:path [ fhir:v "Observation.participant.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.typeId" ] ;
       fhir:path [ fhir:v "Observation.participant.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.sdtcFunctionCode" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "functionCode" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.sdtcFunctionCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.sdtcFunctionCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.time" ] ;
       fhir:path [ fhir:v "Observation.participant.time" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] time (CONF:1198-8665)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.time" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-8666" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.awarenessCode" ] ;
       fhir:path [ fhir:v "Observation.participant.awarenessCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.awarenessCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.participantRole" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.classCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "ROL" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-RoleClassRoot" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.id" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.id" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.sdtcIdentifiedBy" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "identifiedBy" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.participantRole.sdtcIdentifiedBy" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.sdtcIdentifiedBy" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.code" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.addr" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.addr" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ] ;
       fhir:comment [ fhir:v "This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.addr" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "81-7296" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.telecom" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.telecom" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.telecom" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingDevice" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingDevice" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.playingDevice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Device" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity" ] ;
       fhir:comment [ fhir:v "This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.playingEntity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.classCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "ENT" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.determinerCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.determinerCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.determinerCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "INSTANCE" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.code" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityCode" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.quantity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.quantity" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.name" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.name" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "A name for a person. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for person name values are \"Jim Bob Walton, Jr.\", \"Adam Everyman\", etc. A person name may be as simple as a character string or may consist of several person name parts, such as, \"Jim\", \"Bob\", \"Walton\", and \"Jr.\". PN differs from EN because the qualifier type cannot include LS (Legal Status)." ] ;
       fhir:comment [ fhir:v "The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.name" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "pn-no-ls" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "No PN name part may have a qualifier of LS." ] ;
         fhir:expression [ fhir:v "(delimiter | family | given | prefix | suffix).where(qualifier = 'LS').empty()" ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN" ]
       ] [
         fhir:key [ fhir:v "81-9371" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "The content of name **SHALL** be either a conformant Patient Name (PTN.US.FIELDED), or a string (CONF:81-9371)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED" ]
       ] [
         fhir:key [ fhir:v "81-9372" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "The string **SHALL NOT** contain name parts (CONF:81-9372)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.sdtcBirthTime" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "birthTime" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.sdtcBirthTime" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.sdtcBirthTime" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.desc" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.desc" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.desc" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.scopingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.scopingEntity" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.scopingEntity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Entity" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:sliceName [ fhir:v "participant2" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.participant" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant2" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.participant.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.typeCode" ] ;
       fhir:path [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"CST\" Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CST" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.contextControlCode" ] ;
       fhir:path [ fhir:v "Observation.participant.contextControlCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.contextControlCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OP" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.realmCode" ] ;
       fhir:path [ fhir:v "Observation.participant.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.typeId" ] ;
       fhir:path [ fhir:v "Observation.participant.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.sdtcFunctionCode" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "functionCode" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.sdtcFunctionCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.sdtcFunctionCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.time" ] ;
       fhir:path [ fhir:v "Observation.participant.time" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.time" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.awarenessCode" ] ;
       fhir:path [ fhir:v "Observation.participant.awarenessCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.awarenessCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant2.participantRole" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.classCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "This participantRole SHALL contain exactly one [1..1] @classCode=\"AGNT\" Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "ROL" ] ;
       fhir:fixed [ fhir:v "AGNT" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-RoleClassRoot" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.id" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.id" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.sdtcIdentifiedBy" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "identifiedBy" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.participantRole.sdtcIdentifiedBy" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.sdtcIdentifiedBy" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.code" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.addr" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.addr" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.addr" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "81-7296" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.telecom" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.telecom" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.telecom" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingDevice" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingDevice" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.playingDevice" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Device" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity" ] ;
       fhir:comment [ fhir:v "This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.playingEntity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.classCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "ENT" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.determinerCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.determinerCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.determinerCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "INSTANCE" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.code" ] ;
       fhir:comment [ fhir:v "This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.quantity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.quantity" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.quantity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.name" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.name" ] ;
       fhir:short [ fhir:v "Record the name of the agent who can provide a copy of the Advance Directive in the name element." ] ;
       fhir:comment [ fhir:v "This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.name" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.sdtcBirthTime" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "birthTime" ]
       ] ) ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.sdtcBirthTime" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.sdtcBirthTime" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.desc" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.desc" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "PlayingEntity.desc" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.scopingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.scopingEntity" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ParticipantRole.scopingEntity" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Entity" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.entryRelationship" ] ;
       fhir:path [ fhir:v "Observation.entryRelationship" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.entryRelationship" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference" ] ;
       fhir:path [ fhir:v "Observation.reference" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "externalDocument" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "typeCode" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.reference" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Reference" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1" ] ;
       fhir:path [ fhir:v "Observation.reference" ] ;
       fhir:sliceName [ fhir:v "reference1" ] ;
       fhir:comment [ fhir:v "SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.reference" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Reference" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.reference.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.realmCode" ] ;
       fhir:path [ fhir:v "Observation.reference.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.typeId" ] ;
       fhir:path [ fhir:v "Observation.reference.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.templateId" ] ;
       fhir:path [ fhir:v "Observation.reference.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.typeCode" ] ;
       fhir:path [ fhir:v "Observation.reference.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Element Act.typeCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8694)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.typeCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "REFR" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.seperatableInd" ] ;
       fhir:path [ fhir:v "Observation.reference.seperatableInd" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.seperatableInd" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalAct" ] ;
       fhir:path [ fhir:v "Observation.reference.externalAct" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.externalAct" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ExternalAct" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalObservation" ] ;
       fhir:path [ fhir:v "Observation.reference.externalObservation" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.externalObservation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ExternalObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalProcedure" ] ;
       fhir:path [ fhir:v "Observation.reference.externalProcedure" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.externalProcedure" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ExternalProcedure" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Reference.externalDocument" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.classCode" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:defaultValue [ fhir:v "DOC" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActClassDocument" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.moodCode" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.moodCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.moodCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "EVN" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActMood" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.templateId" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.id" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.id" ] ;
       fhir:comment [ fhir:v "This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.code" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.code" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/doc-typecodes" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text" ] ;
       fhir:comment [ fhir:v "This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.text" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.charset" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.charset" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Charset" ] ;
       fhir:definition [ fhir:v "For character-based encoding types, this property specifies the character set and character encoding used. The charset shall be identified by an Internet Assigned Numbers Authority (IANA) Charset Registration [] in accordance with RFC 2978 []." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.charset" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.compression" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.compression" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Compression" ] ;
       fhir:definition [ fhir:v "Indicates whether the raw byte data is compressed, and what compression algorithm was used." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.compression" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.integrityCheck" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.integrityCheck" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Integrity Check" ] ;
       fhir:definition [ fhir:v "The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.integrityCheck" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "base64Binary" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bin" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.integrityCheckAlgorithm" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.integrityCheckAlgorithm" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Integrity Check Algorithm" ] ;
       fhir:definition [ fhir:v "Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.integrityCheckAlgorithm" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.language" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.language" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Language" ] ;
       fhir:definition [ fhir:v "For character based information the language property specifies the human language of the text." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.language" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.mediaType" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.mediaType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Media Type" ] ;
       fhir:definition [ fhir:v "Identifies the type of the encapsulated data and identifies a method to interpret or render the data." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.mediaType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.representation" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.representation" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.representation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.data[x]" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.data[x]" ] ;
       fhir:representation ( [ fhir:v "xmlText" ] ) ;
       fhir:definition [ fhir:v "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.data[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] [
         fhir:code [ fhir:v "base64Binary" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bin" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.reference" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.reference" ] ;
       fhir:label [ fhir:v "Reference" ] ;
       fhir:definition [ fhir:v "A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data." ] ;
       fhir:comment [ fhir:v "The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.reference" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-8698" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] [
         fhir:key [ fhir:v "1198-8699" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.thumbnail" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.thumbnail" ] ;
       fhir:label [ fhir:v "Thumbnail" ] ;
       fhir:definition [ fhir:v "An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ED.thumbnail" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.setId" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.setId" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.setId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.versionNumber" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.versionNumber" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ExternalDocument.versionNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.precondition" ] ;
       fhir:path [ fhir:v "Observation.precondition" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.precondition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Precondition" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.referenceRange" ] ;
       fhir:path [ fhir:v "Observation.referenceRange" ] ;
       fhir:definition [ fhir:v "Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.referenceRange" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.nullFlavor" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.realmCode" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.typeId" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.templateId" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.typeCode" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.referenceRange.typeCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "REFV" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.referenceRange.observationRange" ] ;
       fhir:path [ fhir:v "Observation.referenceRange.observationRange" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Observation.referenceRange.observationRange" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ObservationRange" ]
       ] )
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "Observation.classCode" ] ;
       fhir:path [ fhir:v "Observation.classCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @classCode=\"OBS\" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)." ] ;
       fhir:fixed [ fhir:v "OBS" ]
     ] [
       fhir:id [ fhir:v "Observation.moodCode" ] ;
       fhir:path [ fhir:v "Observation.moodCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)." ] ;
       fhir:fixed [ fhir:v "EVN" ]
     ] [
       fhir:id [ fhir:v "Observation.templateId" ] ;
       fhir:path [ fhir:v "Observation.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "extension" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary" ] ;
       fhir:path [ fhir:v "Observation.templateId" ] ;
       fhir:sliceName [ fhir:v "primary" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1198-8655) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.root" ] ;
       fhir:path [ fhir:v "Observation.templateId.root" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.48\" (CONF:1198-10485)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.4.48" ]
     ] [
       fhir:id [ fhir:v "Observation.templateId:primary.extension" ] ;
       fhir:path [ fhir:v "Observation.templateId.extension" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32496)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2015-08-01" ]
     ] [
       fhir:id [ fhir:v "Observation.id" ] ;
       fhir:path [ fhir:v "Observation.id" ] ;
       fhir:comment [ fhir:v "SHALL contain at least one [1..*] id (CONF:1198-8654)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.code" ] ;
       fhir:path [ fhir:v "Observation.code" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)." ] ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation" ] ;
       fhir:path [ fhir:v "Observation.code.translation" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "code" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "codeSystem" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective" ] ;
       fhir:path [ fhir:v "Observation.code.translation" ] ;
       fhir:sliceName [ fhir:v "advanceDirective" ] ;
       fhir:comment [ fhir:v "This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.code" ] ;
       fhir:path [ fhir:v "Observation.code.translation.code" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @code=\"75320-2\" Advance directive (CONF:1198-32843)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "75320-2" ]
     ] [
       fhir:id [ fhir:v "Observation.code.translation:advanceDirective.codeSystem" ] ;
       fhir:path [ fhir:v "Observation.code.translation.codeSystem" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.6.1" ]
     ] [
       fhir:id [ fhir:v "Observation.statusCode" ] ;
       fhir:path [ fhir:v "Observation.statusCode" ] ;
       fhir:short [ fhir:v "SG 20230706: constraint not entered 'properly' deleted fixedCode='Completed here - it's already in the next element and shoudln't be here - entered weird/wrong in TWB" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.statusCode.code" ] ;
       fhir:path [ fhir:v "Observation.statusCode.code" ] ;
       fhir:comment [ fhir:v "This statusCode SHALL contain exactly one [1..1] @code=\"completed\" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:fixed [ fhir:v "completed" ]
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.low" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.low" ] ;
       fhir:comment [ fhir:v "This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.effectiveTime.high" ] ;
       fhir:path [ fhir:v "Observation.effectiveTime.high" ] ;
       fhir:comment [ fhir:v "This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-32449" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If the Advance Directive does not have a specified ending time, the <high> element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.value" ] ;
       fhir:path [ fhir:v "Observation.value" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] value (CONF:1198-30804)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-32493" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.author" ] ;
       fhir:path [ fhir:v "Observation.author" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)." ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Author" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "participantRole" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "typeCode" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:short [ fhir:v "This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary." ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId" ] ;
       fhir:sliceName [ fhir:v "primary" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1198-8664) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.root" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.root" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.1.58\" (CONF:1198-10486)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.1.58" ]
     ] [
       fhir:id [ fhir:v "Observation.participant.templateId:primary.extension" ] ;
       fhir:path [ fhir:v "Observation.participant.templateId.extension" ] ;
       fhir:comment [ fhir:v "SHALL not contain [0..0] extension" ] ;
       fhir:max [ fhir:v "0" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:sliceName [ fhir:v "participant1" ] ;
       fhir:short [ fhir:v "The participant \"VRF\" represents the clinician(s) who verified the patient advance directive observation." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.typeCode" ] ;
       fhir:path [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"VRF\" Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:fixed [ fhir:v "VRF" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.time" ] ;
       fhir:path [ fhir:v "Observation.participant.time" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] time (CONF:1198-8665)." ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-8666" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)." ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.code" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)." ] ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.addr" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.addr" ] ;
       fhir:comment [ fhir:v "This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)." ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity" ] ;
       fhir:comment [ fhir:v "This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)." ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant1.participantRole.playingEntity.name" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.name" ] ;
       fhir:comment [ fhir:v "The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)." ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2" ] ;
       fhir:path [ fhir:v "Observation.participant" ] ;
       fhir:sliceName [ fhir:v "participant2" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.typeCode" ] ;
       fhir:path [ fhir:v "Observation.participant.typeCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"CST\" Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:fixed [ fhir:v "CST" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)." ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.classCode" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.classCode" ] ;
       fhir:comment [ fhir:v "This participantRole SHALL contain exactly one [1..1] @classCode=\"AGNT\" Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)." ] ;
       fhir:fixed [ fhir:v "AGNT" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.code" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)." ] ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.addr" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.addr" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)." ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.telecom" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.telecom" ] ;
       fhir:comment [ fhir:v "This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)." ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity" ] ;
       fhir:comment [ fhir:v "This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.code" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.code" ] ;
       fhir:comment [ fhir:v "This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)." ] ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51" ]
       ]
     ] [
       fhir:id [ fhir:v "Observation.participant:participant2.participantRole.playingEntity.name" ] ;
       fhir:path [ fhir:v "Observation.participant.participantRole.playingEntity.name" ] ;
       fhir:short [ fhir:v "Record the name of the agent who can provide a copy of the Advance Directive in the name element." ] ;
       fhir:comment [ fhir:v "This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.reference" ] ;
       fhir:path [ fhir:v "Observation.reference" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "externalDocument" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "typeCode" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1" ] ;
       fhir:path [ fhir:v "Observation.reference" ] ;
       fhir:sliceName [ fhir:v "reference1" ] ;
       fhir:comment [ fhir:v "SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.typeCode" ] ;
       fhir:path [ fhir:v "Observation.reference.typeCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8694)." ] ;
       fhir:fixed [ fhir:v "REFR" ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.id" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.id" ] ;
       fhir:comment [ fhir:v "This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text" ] ;
       fhir:comment [ fhir:v "This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)." ]
     ] [
       fhir:id [ fhir:v "Observation.reference:reference1.externalDocument.text.reference" ] ;
       fhir:path [ fhir:v "Observation.reference.externalDocument.text.reference" ] ;
       fhir:comment [ fhir:v "The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)." ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "1198-8698" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] [
         fhir:key [ fhir:v "1198-8699" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation" ]
       ] )
     ] )
  ] .

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

