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

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

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "2.16.840.1.113883.10.20.22.4.25"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.25"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "2.2"];
  fhir:StructureDefinition.name [ fhir:value "PreconditionforSubstanceAdministration"];
  fhir:StructureDefinition.title [ fhir:value "Precondition for Substance Administration"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.date [ fhir:value "2022-05-13T15:50:12+00:00"];
  fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Structured Documents" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/structure" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "A criterion for administration can be used to record that the medication is to be administered only when the associated criteria are met."];
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]
     ]
  ];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "Criterion"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Criterion"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Criterion" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Base" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Criterion.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.classCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "OBS" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActClassObservation" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Criterion.moodCode" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.moodCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.moodCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "EVN.CRT" ];
       fhir:ElementDefinition.fixed [ fhir:value "EVN.CRT" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "extension" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1098-7372) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.assigningAuthorityName" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.assigningAuthorityName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Assigning Authority Name" ];
       fhir:ElementDefinition.definition [ fhir:value "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.assigningAuthorityName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.displayable" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.displayable" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Displayable" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.displayable" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.root" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Root" ];
       fhir:ElementDefinition.definition [ fhir:value "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.25\" (CONF:1098-10517)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.root" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.25" ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.extension" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "A character string as a unique identifier within the scope of the identifier root." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32603)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "2014-06-09" ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Criterion.code" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code with @xsi:type=\"CD\" (CONF:1098-32396)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActCode" ]
       ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Criterion.code.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Criterion.code.code" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.code" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code" ];
       fhir:ElementDefinition.definition [ fhir:value "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache." ];
       fhir:ElementDefinition.requirements [ fhir:value "This code SHALL contain exactly one [1..1] @code=\"ASSERTION\" Assertion (CONF:1098-32397)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "ASSERTION" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Criterion.code.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.codeSystem" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the code system that defines the code." ];
       fhir:ElementDefinition.requirements [ fhir:value "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.5.4\" (CodeSystem: HL7ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:1098-32398)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystem" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.5.4" ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Criterion.code.codeSystemName" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.codeSystemName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Name" ];
       fhir:ElementDefinition.definition [ fhir:value "The common name of the coding system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Criterion.code.codeSystemVersion" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.codeSystemVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Code System Version" ];
       fhir:ElementDefinition.definition [ fhir:value "If applicable, a version descriptor defined specifically for the given code system." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.codeSystemVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "Criterion.code.displayName" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.displayName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Display Name" ];
       fhir:ElementDefinition.definition [ fhir:value "A name or title for the code, under which the sending system shows the code value to its users." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.displayName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "Criterion.code.sdtcValueSet" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSet" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.sdtcValueSet" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.valueSet" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Criterion.code.sdtcValueSetVersion" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "valueSetVersion" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.sdtcValueSetVersion" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.definition [ fhir:value "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.sdtcValueSetVersion" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Criterion.code.originalText" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.originalText" ];
       fhir:ElementDefinition.label [ fhir:value "Original Text" ];
       fhir:ElementDefinition.definition [ fhir:value "The text or phrase used as the basis for the coding." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.originalText" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Criterion.code.qualifier" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.qualifier" ];
       fhir:ElementDefinition.label [ fhir:value "Qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies additional codes that increase the specificity of the the primary code." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.qualifier" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CR" ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Criterion.code.translation" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.translation" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Translation" ];
       fhir:ElementDefinition.definition [ fhir:value "A set of other concept descriptors that translate this concept descriptor into other code systems." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "CD.translation" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Criterion.text" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.text" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.text" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Criterion.value" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "typeAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] value with @xsi:type=\"CD\", where the code SHALL be selected from ValueSet Problem urn:oid:2.16.840.1.113883.3.88.12.3221.7.4 DYNAMIC (CONF:1098-7369)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Criterion.value" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.4" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Criterion" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ], [
           fhir:index 1;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "extension" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:1098-7372) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.root" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.25\" (CONF:1098-10517)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.25" ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Criterion.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.templateId.extension" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32603)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2014-06-09" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Criterion.code" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code with @xsi:type=\"CD\" (CONF:1098-32396)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Criterion.code.code" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "This code SHALL contain exactly one [1..1] @code=\"ASSERTION\" Assertion (CONF:1098-32397)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "ASSERTION" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Criterion.code.codeSystem" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.code.codeSystem" ];
       fhir:ElementDefinition.requirements [ fhir:value "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.5.4\" (CodeSystem: HL7ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:1098-32398)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.5.4" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Criterion.value" ];
       fhir:ElementDefinition.path [ fhir:value "Criterion.value" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] value with @xsi:type=\"CD\", where the code SHALL be selected from ValueSet Problem urn:oid:2.16.840.1.113883.3.88.12.3221.7.4 DYNAMIC (CONF:1098-7369)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CD" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.4" ]
       ]
     ]
  ] .

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

