rendering-xhtml.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="rendering-xhtml" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="fhir" /> 6 </extension> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> 8 <valueInteger value="1" /> 9 </extension> 10 <url value="http://hl7.org/fhir/StructureDefinition/rendering-xhtml" /> 11 <version value="4.0.1" /> 12 <name value="xhtml" /> 13 <status value="draft" /> 14 <date value="2014-04-23" /> 15 <publisher value="Health Level Seven International (FHIR Infrastructure)" /> 16 <contact> 17 <telecom> 18 <system value="url" /> 19 <value value="http://www.hl7.org/Special/committees/fiwg" /> 20 </telecom> 21 </contact> 22 <description value="This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display." /> 23 <fhirVersion value="4.0.1" /> 24 <mapping> 25 <identity value="rim" /> 26 <uri value="http://hl7.org/v3" /> 27 <name value="RIM Mapping" /> 28 </mapping> 29 <kind value="complex-type" /> 30 <abstract value="false" /> 31 <context> 32 <type value="element" /> 33 <expression value="string" /> 34 </context> 35 <type value="Extension" /> 36 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 37 <derivation value="constraint" /> 38 <snapshot> 39 <element id="Extension"> 40 <path value="Extension" /> 41 <short value="String equivalent with html markup" /> 42 <definition value="This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display." /> 43 <min value="0" /> 44 <max value="1" /> 45 <base> 46 <path value="Extension" /> 47 <min value="0" /> 48 <max value="*" /> 49 </base> 50 <condition value="ele-1" /> 51 <constraint> 52 <key value="ele-1" /> 53 <severity value="error" /> 54 <human value="All FHIR elements must have a @value or children" /> 55 <expression value="hasValue() or (children().count() > id.count())" /> 56 <xpath value="@value|f:*|h:div" /> 57 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 58 </constraint> 59 <constraint> 60 <key value="ext-1" /> 61 <severity value="error" /> 62 <human value="Must have either extensions or value[x], not both" /> 63 <expression value="extension.exists() != value.exists()" /> 64 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 65 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 66 </constraint> 67 <isModifier value="false" /> 68 <mapping> 69 <identity value="rim" /> 70 <map value="ED can be XHTML content" /> 71 </mapping> 72 </element> 73 <element id="Extension.id"> 74 <path value="Extension.id" /> 75 <representation value="xmlAttr" /> 76 <short value="Unique id for inter-element referencing" /> 77 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 78 <min value="0" /> 79 <max value="1" /> 80 <base> 81 <path value="Element.id" /> 82 <min value="0" /> 83 <max value="1" /> 84 </base> 85 <type> 86 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 87 <valueUrl value="string" /> 88 </extension> 89 <code value="http://hl7.org/fhirpath/System.String" /> 90 </type> 91 <isModifier value="false" /> 92 <isSummary value="false" /> 93 <mapping> 94 <identity value="rim" /> 95 <map value="n/a" /> 96 </mapping> 97 </element> 98 <element id="Extension.extension"> 99 <path value="Extension.extension" /> 100 <slicing> 101 <discriminator> 102 <type value="value" /> 103 <path value="url" /> 104 </discriminator> 105 <description value="Extensions are always sliced by (at least) url" /> 106 <rules value="open" /> 107 </slicing> 108 <short value="Extension" /> 109 <definition value="An Extension" /> 110 <min value="0" /> 111 <max value="0" /> 112 <base> 113 <path value="Element.extension" /> 114 <min value="0" /> 115 <max value="*" /> 116 </base> 117 <type> 118 <code value="Extension" /> 119 </type> 120 <constraint> 121 <key value="ele-1" /> 122 <severity value="error" /> 123 <human value="All FHIR elements must have a @value or children" /> 124 <expression value="hasValue() or (children().count() > id.count())" /> 125 <xpath value="@value|f:*|h:div" /> 126 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 127 </constraint> 128 <constraint> 129 <key value="ext-1" /> 130 <severity value="error" /> 131 <human value="Must have either extensions or value[x], not both" /> 132 <expression value="extension.exists() != value.exists()" /> 133 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 134 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 135 </constraint> 136 <isModifier value="false" /> 137 <isSummary value="false" /> 138 </element> 139 <element id="Extension.url"> 140 <path value="Extension.url" /> 141 <representation value="xmlAttr" /> 142 <short value="identifies the meaning of the extension" /> 143 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 144 <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." /> 145 <min value="1" /> 146 <max value="1" /> 147 <base> 148 <path value="Extension.url" /> 149 <min value="1" /> 150 <max value="1" /> 151 </base> 152 <type> 153 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 154 <valueUrl value="uri" /> 155 </extension> 156 <code value="http://hl7.org/fhirpath/System.String" /> 157 </type> 158 <fixedUri value="http://hl7.org/fhir/StructureDefinition/rendering-xhtml" /> 159 <isModifier value="false" /> 160 <isSummary value="false" /> 161 <mapping> 162 <identity value="rim" /> 163 <map value="N/A" /> 164 </mapping> 165 </element> 166 <element id="Extension.value[x]"> 167 <path value="Extension.value[x]" /> 168 <short value="Value of extension" /> 169 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)." /> 170 <min value="1" /> 171 <max value="1" /> 172 <base> 173 <path value="Extension.value[x]" /> 174 <min value="0" /> 175 <max value="1" /> 176 </base> 177 <type> 178 <code value="string" /> 179 </type> 180 <constraint> 181 <key value="ele-1" /> 182 <severity value="error" /> 183 <human value="All FHIR elements must have a @value or children" /> 184 <expression value="hasValue() or (children().count() > id.count())" /> 185 <xpath value="@value|f:*|h:div" /> 186 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 187 </constraint> 188 <isModifier value="false" /> 189 <isSummary value="false" /> 190 <mapping> 191 <identity value="rim" /> 192 <map value="N/A" /> 193 </mapping> 194 </element> 195 </snapshot> 196 <differential> 197 <element id="Extension"> 198 <path value="Extension" /> 199 <short value="String equivalent with html markup" /> 200 <definition value="This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display." /> 201 <min value="0" /> 202 <max value="1" /> 203 <mapping> 204 <identity value="rim" /> 205 <map value="ED can be XHTML content" /> 206 </mapping> 207 </element> 208 <element id="Extension.extension"> 209 <path value="Extension.extension" /> 210 <max value="0" /> 211 </element> 212 <element id="Extension.url"> 213 <path value="Extension.url" /> 214 <fixedUri value="http://hl7.org/fhir/StructureDefinition/rendering-xhtml" /> 215 </element> 216 <element id="Extension.value[x]"> 217 <path value="Extension.value[x]" /> 218 <min value="1" /> 219 <type> 220 <code value="string" /> 221 </type> 222 </element> 223 </differential> 224 </StructureDefinition>