Contributor.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="Contributor" />
  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="trial-use" />
  9   </extension>
 10   <url value="http://hl7.org/fhir/StructureDefinition/Contributor" />
 11   <version value="4.0.1" />
 12   <name value="Contributor" />
 13   <status value="draft" />
 14   <date value="2019-10-31T23:29:23.0000000+01:00" />
 15   <publisher value="HL7 FHIR Standard" />
 16   <contact>
 17     <telecom>
 18       <system value="url" />
 19       <value value="http://hl7.org/fhir" />
 20     </telecom>
 21   </contact>
 22   <description value="Base StructureDefinition for Contributor Type: A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers." />
 23   <purpose value="Need to track contributor information in the same way across multiple resources." />
 24   <fhirVersion value="4.0.1" />
 25   <mapping>
 26     <identity value="rim" />
 27     <uri value="http://hl7.org/v3" />
 28     <name value="RIM Mapping" />
 29   </mapping>
 30   <kind value="complex-type" />
 31   <abstract value="false" />
 32   <type value="Contributor" />
 33   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
 34   <derivation value="specialization" />
 35   <snapshot>
 36     <element id="Contributor">
 37       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
 38         <valueCode value="trial-use" />
 39       </extension>
 40       <path value="Contributor" />
 41       <short value="Contributor information" />
 42       <definition value="A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers." />
 43       <min value="0" />
 44       <max value="*" />
 45       <base>
 46         <path value="Contributor" />
 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       <isModifier value="false" />
 60       <mapping>
 61         <identity value="rim" />
 62         <map value="n/a" />
 63       </mapping>
 64     </element>
 65     <element id="Contributor.id">
 66       <path value="Contributor.id" />
 67       <representation value="xmlAttr" />
 68       <short value="Unique id for inter-element referencing" />
 69       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 70       <min value="0" />
 71       <max value="1" />
 72       <base>
 73         <path value="Element.id" />
 74         <min value="0" />
 75         <max value="1" />
 76       </base>
 77       <type>
 78         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 79           <valueUrl value="string" />
 80         </extension>
 81         <code value="http://hl7.org/fhirpath/System.String" />
 82       </type>
 83       <isModifier value="false" />
 84       <isSummary value="false" />
 85       <mapping>
 86         <identity value="rim" />
 87         <map value="n/a" />
 88       </mapping>
 89     </element>
 90     <element id="Contributor.extension">
 91       <path value="Contributor.extension" />
 92       <slicing>
 93         <discriminator>
 94           <type value="value" />
 95           <path value="url" />
 96         </discriminator>
 97         <description value="Extensions are always sliced by (at least) url" />
 98         <rules value="open" />
 99       </slicing>
100       <short value="Additional content defined by implementations" />
101       <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." />
102       <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." />
103       <alias value="extensions" />
104       <alias value="user content" />
105       <min value="0" />
106       <max value="*" />
107       <base>
108         <path value="Element.extension" />
109         <min value="0" />
110         <max value="*" />
111       </base>
112       <type>
113         <code value="Extension" />
114       </type>
115       <constraint>
116         <key value="ele-1" />
117         <severity value="error" />
118         <human value="All FHIR elements must have a @value or children" />
119         <expression value="hasValue() or (children().count() > id.count())" />
120         <xpath value="@value|f:*|h:div" />
121         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
122       </constraint>
123       <constraint>
124         <key value="ext-1" />
125         <severity value="error" />
126         <human value="Must have either extensions or value[x], not both" />
127         <expression value="extension.exists() != value.exists()" />
128         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
129         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
130       </constraint>
131       <isModifier value="false" />
132       <isSummary value="false" />
133       <mapping>
134         <identity value="rim" />
135         <map value="n/a" />
136       </mapping>
137     </element>
138     <element id="Contributor.type">
139       <path value="Contributor.type" />
140       <short value="author | editor | reviewer | endorser" />
141       <definition value="The type of contributor." />
142       <min value="1" />
143       <max value="1" />
144       <base>
145         <path value="Contributor.type" />
146         <min value="1" />
147         <max value="1" />
148       </base>
149       <type>
150         <code value="code" />
151       </type>
152       <constraint>
153         <key value="ele-1" />
154         <severity value="error" />
155         <human value="All FHIR elements must have a @value or children" />
156         <expression value="hasValue() or (children().count() > id.count())" />
157         <xpath value="@value|f:*|h:div" />
158         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
159       </constraint>
160       <isModifier value="false" />
161       <isSummary value="true" />
162       <binding>
163         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
164           <valueString value="ContributorType" />
165         </extension>
166         <strength value="required" />
167         <description value="The type of contributor." />
168         <valueSet value="http://hl7.org/fhir/ValueSet/contributor-type|4.0.1" />
169       </binding>
170     </element>
171     <element id="Contributor.name">
172       <path value="Contributor.name" />
173       <short value="Who contributed the content" />
174       <definition value="The name of the individual or organization responsible for the contribution." />
175       <min value="1" />
176       <max value="1" />
177       <base>
178         <path value="Contributor.name" />
179         <min value="1" />
180         <max value="1" />
181       </base>
182       <type>
183         <code value="string" />
184       </type>
185       <constraint>
186         <key value="ele-1" />
187         <severity value="error" />
188         <human value="All FHIR elements must have a @value or children" />
189         <expression value="hasValue() or (children().count() > id.count())" />
190         <xpath value="@value|f:*|h:div" />
191         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
192       </constraint>
193       <isModifier value="false" />
194       <isSummary value="true" />
195     </element>
196     <element id="Contributor.contact">
197       <path value="Contributor.contact" />
198       <short value="Contact details of the contributor" />
199       <definition value="Contact details to assist a user in finding and communicating with the contributor." />
200       <min value="0" />
201       <max value="*" />
202       <base>
203         <path value="Contributor.contact" />
204         <min value="0" />
205         <max value="*" />
206       </base>
207       <type>
208         <code value="ContactDetail" />
209       </type>
210       <constraint>
211         <key value="ele-1" />
212         <severity value="error" />
213         <human value="All FHIR elements must have a @value or children" />
214         <expression value="hasValue() or (children().count() > id.count())" />
215         <xpath value="@value|f:*|h:div" />
216         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
217       </constraint>
218       <isModifier value="false" />
219       <isSummary value="true" />
220     </element>
221   </snapshot>
222   <differential>
223     <element id="Contributor">
224       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
225         <valueCode value="trial-use" />
226       </extension>
227       <path value="Contributor" />
228       <short value="Contributor information" />
229       <definition value="A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers." />
230       <min value="0" />
231       <max value="*" />
232     </element>
233     <element id="Contributor.type">
234       <path value="Contributor.type" />
235       <short value="author | editor | reviewer | endorser" />
236       <definition value="The type of contributor." />
237       <min value="1" />
238       <max value="1" />
239       <type>
240         <code value="code" />
241       </type>
242       <isSummary value="true" />
243       <binding>
244         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
245           <valueString value="ContributorType" />
246         </extension>
247         <strength value="required" />
248         <description value="The type of contributor." />
249         <valueSet value="http://hl7.org/fhir/ValueSet/contributor-type|4.0.1" />
250       </binding>
251     </element>
252     <element id="Contributor.name">
253       <path value="Contributor.name" />
254       <short value="Who contributed the content" />
255       <definition value="The name of the individual or organization responsible for the contribution." />
256       <min value="1" />
257       <max value="1" />
258       <type>
259         <code value="string" />
260       </type>
261       <isSummary value="true" />
262     </element>
263     <element id="Contributor.contact">
264       <path value="Contributor.contact" />
265       <short value="Contact details of the contributor" />
266       <definition value="Contact details to assist a user in finding and communicating with the contributor." />
267       <min value="0" />
268       <max value="*" />
269       <type>
270         <code value="ContactDetail" />
271       </type>
272       <isSummary value="true" />
273     </element>
274   </differential>
275 </StructureDefinition>