iso21090-EN-qualifier.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="iso21090-EN-qualifier" />
  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/iso21090-EN-qualifier" />
 11   <version value="4.0.1" />
 12   <name value="EN-qualifier" />
 13   <status value="draft" />
 14   <date value="2012-06-24" />
 15   <publisher value="Health Level Seven International (Modeling and Methodology)" />
 16   <contact>
 17     <telecom>
 18       <system value="url" />
 19       <value value="http://www.hl7.org/Special/committees/mnm" />
 20     </telecom>
 21   </contact>
 22   <description value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type." />
 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="HumanName.family" />
 34   </context>
 35   <context>
 36     <type value="element" />
 37     <expression value="HumanName.given" />
 38   </context>
 39   <context>
 40     <type value="element" />
 41     <expression value="HumanName.prefix" />
 42   </context>
 43   <context>
 44     <type value="element" />
 45     <expression value="HumanName.suffix" />
 46   </context>
 47   <type value="Extension" />
 48   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 49   <derivation value="constraint" />
 50   <snapshot>
 51     <element id="Extension">
 52       <path value="Extension" />
 53       <short value="LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV" />
 54       <definition value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type." />
 55       <comment value="Used to indicate additional information about the name part and how it should be used." />
 56       <min value="0" />
 57       <max value="*" />
 58       <base>
 59         <path value="Extension" />
 60         <min value="0" />
 61         <max value="*" />
 62       </base>
 63       <condition value="ele-1" />
 64       <constraint>
 65         <key value="ele-1" />
 66         <severity value="error" />
 67         <human value="All FHIR elements must have a @value or children" />
 68         <expression value="hasValue() or (children().count() > id.count())" />
 69         <xpath value="@value|f:*|h:div" />
 70         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 71       </constraint>
 72       <constraint>
 73         <key value="ext-1" />
 74         <severity value="error" />
 75         <human value="Must have either extensions or value[x], not both" />
 76         <expression value="extension.exists() != value.exists()" />
 77         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 78         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 79       </constraint>
 80       <isModifier value="false" />
 81       <mapping>
 82         <identity value="rim" />
 83         <map value="ENXP.qualifier" />
 84       </mapping>
 85     </element>
 86     <element id="Extension.id">
 87       <path value="Extension.id" />
 88       <representation value="xmlAttr" />
 89       <short value="Unique id for inter-element referencing" />
 90       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 91       <min value="0" />
 92       <max value="1" />
 93       <base>
 94         <path value="Element.id" />
 95         <min value="0" />
 96         <max value="1" />
 97       </base>
 98       <type>
 99         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
100           <valueUrl value="string" />
101         </extension>
102         <code value="http://hl7.org/fhirpath/System.String" />
103       </type>
104       <isModifier value="false" />
105       <isSummary value="false" />
106       <mapping>
107         <identity value="rim" />
108         <map value="n/a" />
109       </mapping>
110     </element>
111     <element id="Extension.extension">
112       <path value="Extension.extension" />
113       <slicing>
114         <discriminator>
115           <type value="value" />
116           <path value="url" />
117         </discriminator>
118         <description value="Extensions are always sliced by (at least) url" />
119         <rules value="open" />
120       </slicing>
121       <short value="Extension" />
122       <definition value="An Extension" />
123       <min value="0" />
124       <max value="0" />
125       <base>
126         <path value="Element.extension" />
127         <min value="0" />
128         <max value="*" />
129       </base>
130       <type>
131         <code value="Extension" />
132       </type>
133       <constraint>
134         <key value="ele-1" />
135         <severity value="error" />
136         <human value="All FHIR elements must have a @value or children" />
137         <expression value="hasValue() or (children().count() > id.count())" />
138         <xpath value="@value|f:*|h:div" />
139         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
140       </constraint>
141       <constraint>
142         <key value="ext-1" />
143         <severity value="error" />
144         <human value="Must have either extensions or value[x], not both" />
145         <expression value="extension.exists() != value.exists()" />
146         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
147         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
148       </constraint>
149       <isModifier value="false" />
150       <isSummary value="false" />
151     </element>
152     <element id="Extension.url">
153       <path value="Extension.url" />
154       <representation value="xmlAttr" />
155       <short value="identifies the meaning of the extension" />
156       <definition value="Source of the definition for the extension code - a logical name or a URL." />
157       <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." />
158       <min value="1" />
159       <max value="1" />
160       <base>
161         <path value="Extension.url" />
162         <min value="1" />
163         <max value="1" />
164       </base>
165       <type>
166         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
167           <valueUrl value="uri" />
168         </extension>
169         <code value="http://hl7.org/fhirpath/System.String" />
170       </type>
171       <fixedUri value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" />
172       <isModifier value="false" />
173       <isSummary value="false" />
174       <mapping>
175         <identity value="rim" />
176         <map value="N/A" />
177       </mapping>
178     </element>
179     <element id="Extension.value[x]">
180       <path value="Extension.value[x]" />
181       <short value="Value of extension" />
182       <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)." />
183       <min value="1" />
184       <max value="1" />
185       <base>
186         <path value="Extension.value[x]" />
187         <min value="0" />
188         <max value="1" />
189       </base>
190       <type>
191         <code value="code" />
192       </type>
193       <constraint>
194         <key value="ele-1" />
195         <severity value="error" />
196         <human value="All FHIR elements must have a @value or children" />
197         <expression value="hasValue() or (children().count() > id.count())" />
198         <xpath value="@value|f:*|h:div" />
199         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
200       </constraint>
201       <isModifier value="false" />
202       <isSummary value="false" />
203       <binding>
204         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
205           <valueString value="EntityNamePartQualifier" />
206         </extension>
207         <strength value="required" />
208         <description value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type." />
209         <valueSet value="http://hl7.org/fhir/ValueSet/name-part-qualifier|4.0.1" />
210       </binding>
211       <mapping>
212         <identity value="rim" />
213         <map value="N/A" />
214       </mapping>
215     </element>
216   </snapshot>
217   <differential>
218     <element id="Extension">
219       <path value="Extension" />
220       <short value="LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV" />
221       <definition value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type." />
222       <comment value="Used to indicate additional information about the name part and how it should be used." />
223       <min value="0" />
224       <max value="*" />
225       <isModifier value="false" />
226       <mapping>
227         <identity value="rim" />
228         <map value="ENXP.qualifier" />
229       </mapping>
230     </element>
231     <element id="Extension.extension">
232       <path value="Extension.extension" />
233       <max value="0" />
234     </element>
235     <element id="Extension.url">
236       <path value="Extension.url" />
237       <fixedUri value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" />
238     </element>
239     <element id="Extension.value[x]">
240       <path value="Extension.value[x]" />
241       <min value="1" />
242       <type>
243         <code value="code" />
244       </type>
245       <binding>
246         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
247           <valueString value="EntityNamePartQualifier" />
248         </extension>
249         <strength value="required" />
250         <description value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type." />
251         <valueSet value="http://hl7.org/fhir/ValueSet/name-part-qualifier|4.0.1" />
252       </binding>
253     </element>
254   </differential>
255 </StructureDefinition>