string.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="string" />
  4   <meta>
  5     <lastUpdated value="2023-03-26T06:21:02.749+02: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   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 14     <valueCode value="can-bind" />
 15   </extension>
 16   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 17     <valueCode value="has-length" />
 18   </extension>
 19   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 20     <valueCode value="do-translations" />
 21   </extension>
 22   <url value="http://hl7.org/fhir/StructureDefinition/string" />
 23   <version value="5.0.0" />
 24   <name value="string" />
 25   <status value="active" />
 26   <experimental value="false" />
 27   <date value="2023-03-26T06:21:02.0000000+02:00" />
 28   <publisher value="HL7 FHIR Standard" />
 29   <contact>
 30     <telecom>
 31       <system value="url" />
 32       <value value="http://hl7.org/fhir" />
 33     </telecom>
 34   </contact>
 35   <description value="string Type: A sequence of Unicode characters" />
 36   <jurisdiction>
 37     <coding>
 38       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
 39       <code value="001" />
 40       <display value="World" />
 41     </coding>
 42   </jurisdiction>
 43   <fhirVersion value="5.0.0" />
 44   <kind value="primitive-type" />
 45   <abstract value="false" />
 46   <type value="string" />
 47   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PrimitiveType" />
 48   <derivation value="specialization" />
 49   <snapshot>
 50     <element id="string">
 51       <path value="string" />
 52       <short value="Primitive Type string" />
 53       <definition value="A sequence of Unicode characters" />
 54       <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
 55       <min value="0" />
 56       <max value="*" />
 57       <base>
 58         <path value="string" />
 59         <min value="0" />
 60         <max value="*" />
 61       </base>
 62       <constraint>
 63         <key value="ele-1" />
 64         <severity value="error" />
 65         <human value="All FHIR elements must have a @value or children" />
 66         <expression value="hasValue() or (children().count() > id.count())" />
 67         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 68       </constraint>
 69       <isModifier value="false" />
 70       <isSummary value="false" />
 71     </element>
 72     <element id="string.id">
 73       <path value="string.id" />
 74       <representation value="xmlAttr" />
 75       <short value="xml:id (or equivalent in JSON)" />
 76       <definition value="unique id for the element within a resource (for internal references)" />
 77       <min value="0" />
 78       <max value="1" />
 79       <base>
 80         <path value="Element.id" />
 81         <min value="0" />
 82         <max value="1" />
 83       </base>
 84       <type>
 85         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 86           <valueUrl value="string" />
 87         </extension>
 88         <code value="http://hl7.org/fhirpath/System.String" />
 89       </type>
 90       <isModifier value="false" />
 91       <isSummary value="false" />
 92     </element>
 93     <element id="string.extension">
 94       <path value="string.extension" />
 95       <short value="Additional content defined by implementations" />
 96       <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 managable, 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." />
 97       <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." />
 98       <alias value="extensions" />
 99       <alias value="user content" />
100       <min value="0" />
101       <max value="*" />
102       <base>
103         <path value="Element.extension" />
104         <min value="0" />
105         <max value="*" />
106       </base>
107       <type>
108         <code value="Extension" />
109       </type>
110       <constraint>
111         <key value="ele-1" />
112         <severity value="error" />
113         <human value="All FHIR elements must have a @value or children" />
114         <expression value="hasValue() or (children().count() > id.count())" />
115         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
116       </constraint>
117       <constraint>
118         <key value="ext-1" />
119         <severity value="error" />
120         <human value="Must have either extensions or value[x], not both" />
121         <expression value="extension.exists() != value.exists()" />
122         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
123       </constraint>
124       <isModifier value="false" />
125       <isSummary value="false" />
126     </element>
127     <element id="string.value">
128       <path value="string.value" />
129       <representation value="xmlAttr" />
130       <short value="Primitive value for string" />
131       <definition value="The actual value" />
132       <min value="0" />
133       <max value="1" />
134       <base>
135         <path value="string.value" />
136         <min value="0" />
137         <max value="1" />
138       </base>
139       <type>
140         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
141           <valueUrl value="string" />
142         </extension>
143         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
144           <valueString value="^[\s\S]+$" />
145         </extension>
146         <code value="http://hl7.org/fhirpath/System.String" />
147       </type>
148       <maxLength value="1048576" />
149       <isModifier value="false" />
150       <isSummary value="false" />
151     </element>
152   </snapshot>
153   <differential>
154     <element id="string">
155       <path value="string" />
156       <short value="Primitive Type string" />
157       <definition value="A sequence of Unicode characters" />
158       <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
159       <min value="0" />
160       <max value="*" />
161     </element>
162     <element id="string.value">
163       <path value="string.value" />
164       <representation value="xmlAttr" />
165       <short value="Primitive value for string" />
166       <definition value="Primitive value for string" />
167       <min value="0" />
168       <max value="1" />
169       <type>
170         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
171           <valueUrl value="string" />
172         </extension>
173         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
174           <valueString value="^[\s\S]+$" />
175         </extension>
176         <code value="http://hl7.org/fhirpath/System.String" />
177       </type>
178       <maxLength value="1048576" />
179     </element>
180   </differential>
181 </StructureDefinition>