11179-objectClassProperty.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="11179-objectClassProperty" />
  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/11179-objectClassProperty" />
 11   <version value="4.0.1" />
 12   <name value="objectClassProperty" />
 13   <title value="Object Class Property" />
 14   <status value="draft" />
 15   <date value="2014-04-21" />
 16   <publisher value="Health Level Seven International (Orders and Observations)" />
 17   <contact>
 18     <telecom>
 19       <system value="url" />
 20       <value value="http://hl7.org" />
 21     </telecom>
 22   </contact>
 23   <description value="A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated." />
 24   <fhirVersion value="4.0.1" />
 25   <mapping>
 26     <identity value="v2" />
 27     <uri value="http://hl7.org/v2" />
 28     <name value="HL7 v2 Mapping" />
 29   </mapping>
 30   <mapping>
 31     <identity value="rim" />
 32     <uri value="http://hl7.org/v3" />
 33     <name value="RIM Mapping" />
 34   </mapping>
 35   <mapping>
 36     <identity value="iso11179" />
 37     <uri value="http://metadata-standards.org/11179/" />
 38     <name value="ISO 11179" />
 39   </mapping>
 40   <kind value="complex-type" />
 41   <abstract value="false" />
 42   <context>
 43     <type value="element" />
 44     <expression value="ElementDefinition.mapping" />
 45   </context>
 46   <type value="Extension" />
 47   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 48   <derivation value="constraint" />
 49   <snapshot>
 50     <element id="Extension">
 51       <path value="Extension" />
 52       <short value="Object Class Property" />
 53       <definition value="A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated." />
 54       <comment value="ObjectClass and Property are treated as a data model that can be mapped to like any other.  This extension merely captures the Property element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element." />
 55       <min value="0" />
 56       <max value="1" />
 57       <base>
 58         <path value="Extension" />
 59         <min value="0" />
 60         <max value="*" />
 61       </base>
 62       <condition value="ele-1" />
 63       <constraint>
 64         <key value="ele-1" />
 65         <severity value="error" />
 66         <human value="All FHIR elements must have a @value or children" />
 67         <expression value="hasValue() or (children().count() > id.count())" />
 68         <xpath value="@value|f:*|h:div" />
 69         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 70       </constraint>
 71       <constraint>
 72         <key value="ext-1" />
 73         <severity value="error" />
 74         <human value="Must have either extensions or value[x], not both" />
 75         <expression value="extension.exists() != value.exists()" />
 76         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 77         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 78       </constraint>
 79       <isModifier value="false" />
 80       <mapping>
 81         <identity value="v2" />
 82         <map value="N/A" />
 83       </mapping>
 84       <mapping>
 85         <identity value="rim" />
 86         <map value="N/A" />
 87       </mapping>
 88       <mapping>
 89         <identity value="iso11179" />
 90         <map value="Data_Element.meaning.property" />
 91       </mapping>
 92     </element>
 93     <element id="Extension.id">
 94       <path value="Extension.id" />
 95       <representation value="xmlAttr" />
 96       <short value="Unique id for inter-element referencing" />
 97       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 98       <min value="0" />
 99       <max value="1" />
100       <base>
101         <path value="Element.id" />
102         <min value="0" />
103         <max value="1" />
104       </base>
105       <type>
106         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
107           <valueUrl value="string" />
108         </extension>
109         <code value="http://hl7.org/fhirpath/System.String" />
110       </type>
111       <isModifier value="false" />
112       <isSummary value="false" />
113       <mapping>
114         <identity value="rim" />
115         <map value="n/a" />
116       </mapping>
117     </element>
118     <element id="Extension.extension">
119       <path value="Extension.extension" />
120       <slicing>
121         <discriminator>
122           <type value="value" />
123           <path value="url" />
124         </discriminator>
125         <description value="Extensions are always sliced by (at least) url" />
126         <rules value="open" />
127       </slicing>
128       <short value="Extension" />
129       <definition value="An Extension" />
130       <min value="0" />
131       <max value="0" />
132       <base>
133         <path value="Element.extension" />
134         <min value="0" />
135         <max value="*" />
136       </base>
137       <type>
138         <code value="Extension" />
139       </type>
140       <constraint>
141         <key value="ele-1" />
142         <severity value="error" />
143         <human value="All FHIR elements must have a @value or children" />
144         <expression value="hasValue() or (children().count() > id.count())" />
145         <xpath value="@value|f:*|h:div" />
146         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
147       </constraint>
148       <constraint>
149         <key value="ext-1" />
150         <severity value="error" />
151         <human value="Must have either extensions or value[x], not both" />
152         <expression value="extension.exists() != value.exists()" />
153         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
154         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
155       </constraint>
156       <isModifier value="false" />
157       <isSummary value="false" />
158     </element>
159     <element id="Extension.url">
160       <path value="Extension.url" />
161       <representation value="xmlAttr" />
162       <short value="identifies the meaning of the extension" />
163       <definition value="Source of the definition for the extension code - a logical name or a URL." />
164       <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." />
165       <min value="1" />
166       <max value="1" />
167       <base>
168         <path value="Extension.url" />
169         <min value="1" />
170         <max value="1" />
171       </base>
172       <type>
173         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
174           <valueUrl value="uri" />
175         </extension>
176         <code value="http://hl7.org/fhirpath/System.String" />
177       </type>
178       <fixedUri value="http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" />
179       <isModifier value="false" />
180       <isSummary value="false" />
181       <mapping>
182         <identity value="rim" />
183         <map value="N/A" />
184       </mapping>
185     </element>
186     <element id="Extension.value[x]">
187       <path value="Extension.value[x]" />
188       <short value="Value of extension" />
189       <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)." />
190       <min value="1" />
191       <max value="1" />
192       <base>
193         <path value="Extension.value[x]" />
194         <min value="0" />
195         <max value="1" />
196       </base>
197       <type>
198         <code value="Coding" />
199       </type>
200       <constraint>
201         <key value="ele-1" />
202         <severity value="error" />
203         <human value="All FHIR elements must have a @value or children" />
204         <expression value="hasValue() or (children().count() > id.count())" />
205         <xpath value="@value|f:*|h:div" />
206         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
207       </constraint>
208       <isModifier value="false" />
209       <isSummary value="false" />
210       <binding>
211         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
212           <valueString value="11179ObjectClassProperty" />
213         </extension>
214         <strength value="example" />
215         <description value="A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world; e.g. name, identifier, gender, creationDate." />
216         <valueSet value="http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty" />
217       </binding>
218       <mapping>
219         <identity value="rim" />
220         <map value="N/A" />
221       </mapping>
222     </element>
223   </snapshot>
224   <differential>
225     <element id="Extension">
226       <path value="Extension" />
227       <short value="Object Class Property" />
228       <definition value="A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated." />
229       <comment value="ObjectClass and Property are treated as a data model that can be mapped to like any other.  This extension merely captures the Property element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element." />
230       <min value="0" />
231       <max value="1" />
232       <mapping>
233         <identity value="v2" />
234         <map value="N/A" />
235       </mapping>
236       <mapping>
237         <identity value="rim" />
238         <map value="N/A" />
239       </mapping>
240       <mapping>
241         <identity value="iso11179" />
242         <map value="Data_Element.meaning.property" />
243       </mapping>
244     </element>
245     <element id="Extension.extension">
246       <path value="Extension.extension" />
247       <max value="0" />
248     </element>
249     <element id="Extension.url">
250       <path value="Extension.url" />
251       <fixedUri value="http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" />
252     </element>
253     <element id="Extension.value[x]">
254       <path value="Extension.value[x]" />
255       <min value="1" />
256       <type>
257         <code value="Coding" />
258       </type>
259       <binding>
260         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
261           <valueString value="11179ObjectClassProperty" />
262         </extension>
263         <strength value="example" />
264         <description value="A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world; e.g. name, identifier, gender, creationDate." />
265         <valueSet value="http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty" />
266       </binding>
267     </element>
268   </differential>
269 </StructureDefinition>