ContactDetail.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="ContactDetail" />
  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/ContactDetail" />
 14   <version value="4.0.1" />
 15   <name value="ContactDetail" />
 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 ContactDetail Type: Specifies contact information for a person or organization." />
 26   <purpose value="Need to track contact information in the same way across multiple resources." />
 27   <fhirVersion value="4.0.1" />
 28   <mapping>
 29     <identity value="rim" />
 30     <uri value="http://hl7.org/v3" />
 31     <name value="RIM Mapping" />
 32   </mapping>
 33   <kind value="complex-type" />
 34   <abstract value="false" />
 35   <type value="ContactDetail" />
 36   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
 37   <derivation value="specialization" />
 38   <snapshot>
 39     <element id="ContactDetail">
 40       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
 41         <valueCode value="normative" />
 42       </extension>
 43       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
 44         <valueCode value="4.0.0" />
 45       </extension>
 46       <path value="ContactDetail" />
 47       <short value="Contact information" />
 48       <definition value="Specifies contact information for a person or organization." />
 49       <min value="0" />
 50       <max value="*" />
 51       <base>
 52         <path value="ContactDetail" />
 53         <min value="0" />
 54         <max value="*" />
 55       </base>
 56       <condition value="ele-1" />
 57       <constraint>
 58         <key value="ele-1" />
 59         <severity value="error" />
 60         <human value="All FHIR elements must have a @value or children" />
 61         <expression value="hasValue() or (children().count() > id.count())" />
 62         <xpath value="@value|f:*|h:div" />
 63         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 64       </constraint>
 65       <isModifier value="false" />
 66       <mapping>
 67         <identity value="rim" />
 68         <map value="n/a" />
 69       </mapping>
 70     </element>
 71     <element id="ContactDetail.id">
 72       <path value="ContactDetail.id" />
 73       <representation value="xmlAttr" />
 74       <short value="Unique id for inter-element referencing" />
 75       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 76       <min value="0" />
 77       <max value="1" />
 78       <base>
 79         <path value="Element.id" />
 80         <min value="0" />
 81         <max value="1" />
 82       </base>
 83       <type>
 84         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 85           <valueUrl value="string" />
 86         </extension>
 87         <code value="http://hl7.org/fhirpath/System.String" />
 88       </type>
 89       <isModifier value="false" />
 90       <isSummary value="false" />
 91       <mapping>
 92         <identity value="rim" />
 93         <map value="n/a" />
 94       </mapping>
 95     </element>
 96     <element id="ContactDetail.extension">
 97       <path value="ContactDetail.extension" />
 98       <slicing>
 99         <discriminator>
100           <type value="value" />
101           <path value="url" />
102         </discriminator>
103         <description value="Extensions are always sliced by (at least) url" />
104         <rules value="open" />
105       </slicing>
106       <short value="Additional content defined by implementations" />
107       <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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." />
108       <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." />
109       <alias value="extensions" />
110       <alias value="user content" />
111       <min value="0" />
112       <max value="*" />
113       <base>
114         <path value="Element.extension" />
115         <min value="0" />
116         <max value="*" />
117       </base>
118       <type>
119         <code value="Extension" />
120       </type>
121       <constraint>
122         <key value="ele-1" />
123         <severity value="error" />
124         <human value="All FHIR elements must have a @value or children" />
125         <expression value="hasValue() or (children().count() > id.count())" />
126         <xpath value="@value|f:*|h:div" />
127         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
128       </constraint>
129       <constraint>
130         <key value="ext-1" />
131         <severity value="error" />
132         <human value="Must have either extensions or value[x], not both" />
133         <expression value="extension.exists() != value.exists()" />
134         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
135         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
136       </constraint>
137       <isModifier value="false" />
138       <isSummary value="false" />
139       <mapping>
140         <identity value="rim" />
141         <map value="n/a" />
142       </mapping>
143     </element>
144     <element id="ContactDetail.name">
145       <path value="ContactDetail.name" />
146       <short value="Name of an individual to contact" />
147       <definition value="The name of an individual to contact." />
148       <comment value="If there is no named individual, the telecom information is for the organization as a whole." />
149       <min value="0" />
150       <max value="1" />
151       <base>
152         <path value="ContactDetail.name" />
153         <min value="0" />
154         <max value="1" />
155       </base>
156       <type>
157         <code value="string" />
158       </type>
159       <constraint>
160         <key value="ele-1" />
161         <severity value="error" />
162         <human value="All FHIR elements must have a @value or children" />
163         <expression value="hasValue() or (children().count() > id.count())" />
164         <xpath value="@value|f:*|h:div" />
165         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
166       </constraint>
167       <isModifier value="false" />
168       <isSummary value="true" />
169     </element>
170     <element id="ContactDetail.telecom">
171       <path value="ContactDetail.telecom" />
172       <short value="Contact details for individual or organization" />
173       <definition value="The contact details for the individual (if a name was provided) or the organization." />
174       <min value="0" />
175       <max value="*" />
176       <base>
177         <path value="ContactDetail.telecom" />
178         <min value="0" />
179         <max value="*" />
180       </base>
181       <type>
182         <code value="ContactPoint" />
183       </type>
184       <constraint>
185         <key value="ele-1" />
186         <severity value="error" />
187         <human value="All FHIR elements must have a @value or children" />
188         <expression value="hasValue() or (children().count() > id.count())" />
189         <xpath value="@value|f:*|h:div" />
190         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
191       </constraint>
192       <isModifier value="false" />
193       <isSummary value="true" />
194     </element>
195   </snapshot>
196   <differential>
197     <element id="ContactDetail">
198       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
199         <valueCode value="normative" />
200       </extension>
201       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
202         <valueCode value="4.0.0" />
203       </extension>
204       <path value="ContactDetail" />
205       <short value="Contact information" />
206       <definition value="Specifies contact information for a person or organization." />
207       <min value="0" />
208       <max value="*" />
209     </element>
210     <element id="ContactDetail.name">
211       <path value="ContactDetail.name" />
212       <short value="Name of an individual to contact" />
213       <definition value="The name of an individual to contact." />
214       <comment value="If there is no named individual, the telecom information is for the organization as a whole." />
215       <min value="0" />
216       <max value="1" />
217       <type>
218         <code value="string" />
219       </type>
220       <isSummary value="true" />
221     </element>
222     <element id="ContactDetail.telecom">
223       <path value="ContactDetail.telecom" />
224       <short value="Contact details for individual or organization" />
225       <definition value="The contact details for the individual (if a name was provided) or the organization." />
226       <min value="0" />
227       <max value="*" />
228       <type>
229         <code value="ContactPoint" />
230       </type>
231       <isSummary value="true" />
232     </element>
233   </differential>
234 </StructureDefinition>