xhtml.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="xhtml" />
  4   <meta>
  5     <lastUpdated value="2019-10-31T23:29:23.356+01:00" />
  6   </meta>
  7   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
  8     <valueCode value="normative" />
  9   </extension>
 10   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
 11     <valueCode value="4.0.0" />
 12   </extension>
 13   <url value="http://hl7.org/fhir/StructureDefinition/xhtml" />
 14   <version value="4.0.1" />
 15   <name value="xhtml" />
 16   <status value="active" />
 17   <date value="2019-10-31T23:29:23.0000000+01:00" />
 18   <publisher value="HL7 FHIR Standard" />
 19   <contact>
 20     <telecom>
 21       <system value="url" />
 22       <value value="http://hl7.org/fhir" />
 23     </telecom>
 24   </contact>
 25   <description value="Base StructureDefinition for xhtml Type" />
 26   <fhirVersion value="4.0.1" />
 27   <kind value="primitive-type" />
 28   <abstract value="false" />
 29   <type value="xhtml" />
 30   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
 31   <derivation value="specialization" />
 32   <snapshot>
 33     <element id="xhtml">
 34       <path value="xhtml" />
 35       <short value="Primitive Type xhtml" />
 36       <definition value="XHTML" />
 37       <min value="0" />
 38       <max value="*" />
 39       <base>
 40         <path value="xhtml" />
 41         <min value="0" />
 42         <max value="*" />
 43       </base>
 44       <constraint>
 45         <key value="ele-1" />
 46         <severity value="error" />
 47         <human value="All FHIR elements must have a @value or children" />
 48         <expression value="hasValue() or (children().count() > id.count())" />
 49         <xpath value="@value|f:*|h:div" />
 50         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 51       </constraint>
 52       <isModifier value="false" />
 53       <isSummary value="false" />
 54     </element>
 55     <element id="xhtml.id">
 56       <path value="xhtml.id" />
 57       <representation value="xmlAttr" />
 58       <short value="xml:id (or equivalent in JSON)" />
 59       <definition value="unique id for the element within a resource (for internal references)" />
 60       <min value="0" />
 61       <max value="1" />
 62       <base>
 63         <path value="Element.id" />
 64         <min value="0" />
 65         <max value="1" />
 66       </base>
 67       <type>
 68         <code value="http://hl7.org/fhirpath/System.String" />
 69       </type>
 70       <isModifier value="false" />
 71       <isSummary value="false" />
 72     </element>
 73     <element id="xhtml.extension">
 74       <path value="xhtml.extension" />
 75       <short value="Additional content defined by implementations" />
 76       <definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
 77       <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
 78       <alias value="extensions" />
 79       <alias value="user content" />
 80       <min value="0" />
 81       <max value="0" />
 82       <base>
 83         <path value="Element.extension" />
 84         <min value="0" />
 85         <max value="*" />
 86       </base>
 87       <type>
 88         <code value="Extension" />
 89       </type>
 90       <constraint>
 91         <key value="ele-1" />
 92         <severity value="error" />
 93         <human value="All FHIR elements must have a @value or children" />
 94         <expression value="hasValue() or (children().count() > id.count())" />
 95         <xpath value="@value|f:*|h:div" />
 96         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 97       </constraint>
 98       <constraint>
 99         <key value="ext-1" />
100         <severity value="error" />
101         <human value="Must have either extensions or value[x], not both" />
102         <expression value="extension.exists() != value.exists()" />
103         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
104         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
105       </constraint>
106       <isModifier value="false" />
107       <isSummary value="false" />
108     </element>
109     <element id="xhtml.value">
110       <path value="xhtml.value" />
111       <representation value="xhtml" />
112       <short value="Actual xhtml" />
113       <definition value="Actual xhtml" />
114       <min value="1" />
115       <max value="1" />
116       <base>
117         <path value="xhtml.value" />
118         <min value="1" />
119         <max value="1" />
120       </base>
121       <type>
122         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
123           <valueUrl value="string" />
124         </extension>
125         <code value="http://hl7.org/fhirpath/System.String" />
126       </type>
127       <isModifier value="false" />
128       <isSummary value="false" />
129     </element>
130   </snapshot>
131   <differential>
132     <element id="xhtml">
133       <path value="xhtml" />
134       <short value="Primitive Type xhtml" />
135       <definition value="XHTML" />
136       <min value="0" />
137       <max value="*" />
138     </element>
139     <element id="xhtml.extension">
140       <path value="xhtml.extension" />
141       <max value="0" />
142     </element>
143     <element id="xhtml.value">
144       <path value="xhtml.value" />
145       <representation value="xhtml" />
146       <short value="Actual xhtml" />
147       <definition value="Actual xhtml" />
148       <min value="1" />
149       <max value="1" />
150       <type>
151         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
152           <valueUrl value="string" />
153         </extension>
154         <code value="http://hl7.org/fhirpath/System.String" />
155       </type>
156     </element>
157   </differential>
158 </StructureDefinition>