goal-acceptance.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="goal-acceptance" />
  4   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
  5     <valueCode value="pc" />
  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/goal-acceptance" />
 11   <version value="4.0.1" />
 12   <name value="acceptance" />
 13   <title value="Goal acceptance" />
 14   <status value="draft" />
 15   <date value="2014-12-07" />
 16   <publisher value="Health Level Seven, Inc. - FHIR WG" />
 17   <contact>
 18     <telecom>
 19       <system value="url" />
 20       <value value="http://hl7.org/special/committees/fhir" />
 21     </telecom>
 22   </contact>
 23   <description value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
 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   <context>
 33     <type value="element" />
 34     <expression value="Goal" />
 35   </context>
 36   <type value="Extension" />
 37   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 38   <derivation value="constraint" />
 39   <snapshot>
 40     <element id="Extension">
 41       <path value="Extension" />
 42       <short value="Individual acceptance of goal" />
 43       <definition value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
 44       <min value="0" />
 45       <max value="*" />
 46       <base>
 47         <path value="Extension" />
 48         <min value="0" />
 49         <max value="*" />
 50       </base>
 51       <condition value="ele-1" />
 52       <constraint>
 53         <key value="ele-1" />
 54         <severity value="error" />
 55         <human value="All FHIR elements must have a @value or children" />
 56         <expression value="hasValue() or (children().count() > id.count())" />
 57         <xpath value="@value|f:*|h:div" />
 58         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 59       </constraint>
 60       <constraint>
 61         <key value="ext-1" />
 62         <severity value="error" />
 63         <human value="Must have either extensions or value[x], not both" />
 64         <expression value="extension.exists() != value.exists()" />
 65         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 66         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 67       </constraint>
 68       <isModifier value="false" />
 69     </element>
 70     <element id="Extension.id">
 71       <path value="Extension.id" />
 72       <representation value="xmlAttr" />
 73       <short value="Unique id for inter-element referencing" />
 74       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 75       <min value="0" />
 76       <max value="1" />
 77       <base>
 78         <path value="Element.id" />
 79         <min value="0" />
 80         <max value="1" />
 81       </base>
 82       <type>
 83         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 84           <valueUrl value="string" />
 85         </extension>
 86         <code value="http://hl7.org/fhirpath/System.String" />
 87       </type>
 88       <isModifier value="false" />
 89       <isSummary value="false" />
 90       <mapping>
 91         <identity value="rim" />
 92         <map value="n/a" />
 93       </mapping>
 94     </element>
 95     <element id="Extension.extension">
 96       <path value="Extension.extension" />
 97       <slicing>
 98         <discriminator>
 99           <type value="value" />
100           <path value="url" />
101         </discriminator>
102         <description value="Extensions are always sliced by (at least) url" />
103         <rules value="open" />
104       </slicing>
105       <short value="Additional content defined by implementations" />
106       <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." />
107       <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." />
108       <alias value="extensions" />
109       <alias value="user content" />
110       <min value="0" />
111       <max value="*" />
112       <base>
113         <path value="Element.extension" />
114         <min value="0" />
115         <max value="*" />
116       </base>
117       <type>
118         <code value="Extension" />
119       </type>
120       <constraint>
121         <key value="ele-1" />
122         <severity value="error" />
123         <human value="All FHIR elements must have a @value or children" />
124         <expression value="hasValue() or (children().count() > id.count())" />
125         <xpath value="@value|f:*|h:div" />
126         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
127       </constraint>
128       <constraint>
129         <key value="ext-1" />
130         <severity value="error" />
131         <human value="Must have either extensions or value[x], not both" />
132         <expression value="extension.exists() != value.exists()" />
133         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
134         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
135       </constraint>
136       <isModifier value="false" />
137       <isSummary value="false" />
138       <mapping>
139         <identity value="rim" />
140         <map value="n/a" />
141       </mapping>
142     </element>
143     <element id="Extension.extension:individual">
144       <path value="Extension.extension" />
145       <sliceName value="individual" />
146       <short value="Individual whose acceptance is reflected" />
147       <definition value="The person whose acceptance/priority is being reflected." />
148       <min value="1" />
149       <max value="1" />
150       <base>
151         <path value="Element.extension" />
152         <min value="0" />
153         <max value="*" />
154       </base>
155       <type>
156         <code value="Extension" />
157       </type>
158       <constraint>
159         <key value="ele-1" />
160         <severity value="error" />
161         <human value="All FHIR elements must have a @value or children" />
162         <expression value="hasValue() or (children().count() > id.count())" />
163         <xpath value="@value|f:*|h:div" />
164         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
165       </constraint>
166       <constraint>
167         <key value="ext-1" />
168         <severity value="error" />
169         <human value="Must have either extensions or value[x], not both" />
170         <expression value="extension.exists() != value.exists()" />
171         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
172         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
173       </constraint>
174       <isModifier value="false" />
175       <isSummary value="false" />
176     </element>
177     <element id="Extension.extension:individual.id">
178       <path value="Extension.extension.id" />
179       <representation value="xmlAttr" />
180       <short value="Unique id for inter-element referencing" />
181       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
182       <min value="0" />
183       <max value="1" />
184       <base>
185         <path value="Element.id" />
186         <min value="0" />
187         <max value="1" />
188       </base>
189       <type>
190         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
191           <valueUrl value="string" />
192         </extension>
193         <code value="http://hl7.org/fhirpath/System.String" />
194       </type>
195       <isModifier value="false" />
196       <isSummary value="false" />
197       <mapping>
198         <identity value="rim" />
199         <map value="n/a" />
200       </mapping>
201     </element>
202     <element id="Extension.extension:individual.extension">
203       <path value="Extension.extension.extension" />
204       <slicing>
205         <discriminator>
206           <type value="value" />
207           <path value="url" />
208         </discriminator>
209         <description value="Extensions are always sliced by (at least) url" />
210         <rules value="open" />
211       </slicing>
212       <short value="Extension" />
213       <definition value="An Extension" />
214       <min value="0" />
215       <max value="0" />
216       <base>
217         <path value="Element.extension" />
218         <min value="0" />
219         <max value="*" />
220       </base>
221       <type>
222         <code value="Extension" />
223       </type>
224       <constraint>
225         <key value="ele-1" />
226         <severity value="error" />
227         <human value="All FHIR elements must have a @value or children" />
228         <expression value="hasValue() or (children().count() > id.count())" />
229         <xpath value="@value|f:*|h:div" />
230         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
231       </constraint>
232       <constraint>
233         <key value="ext-1" />
234         <severity value="error" />
235         <human value="Must have either extensions or value[x], not both" />
236         <expression value="extension.exists() != value.exists()" />
237         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
238         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
239       </constraint>
240       <isModifier value="false" />
241       <isSummary value="false" />
242     </element>
243     <element id="Extension.extension:individual.url">
244       <path value="Extension.extension.url" />
245       <representation value="xmlAttr" />
246       <short value="identifies the meaning of the extension" />
247       <definition value="Source of the definition for the extension code - a logical name or a URL." />
248       <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." />
249       <min value="1" />
250       <max value="1" />
251       <base>
252         <path value="Extension.url" />
253         <min value="1" />
254         <max value="1" />
255       </base>
256       <type>
257         <code value="uri" />
258       </type>
259       <fixedUri value="individual" />
260       <isModifier value="false" />
261       <isSummary value="false" />
262       <mapping>
263         <identity value="rim" />
264         <map value="N/A" />
265       </mapping>
266     </element>
267     <element id="Extension.extension:individual.value[x]">
268       <path value="Extension.extension.value[x]" />
269       <short value="Value of extension" />
270       <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)." />
271       <min value="1" />
272       <max value="1" />
273       <base>
274         <path value="Extension.value[x]" />
275         <min value="0" />
276         <max value="1" />
277       </base>
278       <type>
279         <code value="Reference" />
280         <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
281         <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
282         <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
283       </type>
284       <constraint>
285         <key value="ele-1" />
286         <severity value="error" />
287         <human value="All FHIR elements must have a @value or children" />
288         <expression value="hasValue() or (children().count() > id.count())" />
289         <xpath value="@value|f:*|h:div" />
290         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
291       </constraint>
292       <isModifier value="false" />
293       <isSummary value="false" />
294       <mapping>
295         <identity value="rim" />
296         <map value="N/A" />
297       </mapping>
298     </element>
299     <element id="Extension.extension:status">
300       <path value="Extension.extension" />
301       <sliceName value="status" />
302       <short value="agree | disagree | pending" />
303       <definition value="Indicates whether the specified individual has accepted the goal or not." />
304       <min value="0" />
305       <max value="1" />
306       <base>
307         <path value="Element.extension" />
308         <min value="0" />
309         <max value="*" />
310       </base>
311       <type>
312         <code value="Extension" />
313       </type>
314       <constraint>
315         <key value="ele-1" />
316         <severity value="error" />
317         <human value="All FHIR elements must have a @value or children" />
318         <expression value="hasValue() or (children().count() > id.count())" />
319         <xpath value="@value|f:*|h:div" />
320         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
321       </constraint>
322       <constraint>
323         <key value="ext-1" />
324         <severity value="error" />
325         <human value="Must have either extensions or value[x], not both" />
326         <expression value="extension.exists() != value.exists()" />
327         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
328         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
329       </constraint>
330       <isModifier value="false" />
331       <isSummary value="false" />
332     </element>
333     <element id="Extension.extension:status.id">
334       <path value="Extension.extension.id" />
335       <representation value="xmlAttr" />
336       <short value="Unique id for inter-element referencing" />
337       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
338       <min value="0" />
339       <max value="1" />
340       <base>
341         <path value="Element.id" />
342         <min value="0" />
343         <max value="1" />
344       </base>
345       <type>
346         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
347           <valueUrl value="string" />
348         </extension>
349         <code value="http://hl7.org/fhirpath/System.String" />
350       </type>
351       <isModifier value="false" />
352       <isSummary value="false" />
353       <mapping>
354         <identity value="rim" />
355         <map value="n/a" />
356       </mapping>
357     </element>
358     <element id="Extension.extension:status.extension">
359       <path value="Extension.extension.extension" />
360       <slicing>
361         <discriminator>
362           <type value="value" />
363           <path value="url" />
364         </discriminator>
365         <description value="Extensions are always sliced by (at least) url" />
366         <rules value="open" />
367       </slicing>
368       <short value="Extension" />
369       <definition value="An Extension" />
370       <min value="0" />
371       <max value="0" />
372       <base>
373         <path value="Element.extension" />
374         <min value="0" />
375         <max value="*" />
376       </base>
377       <type>
378         <code value="Extension" />
379       </type>
380       <constraint>
381         <key value="ele-1" />
382         <severity value="error" />
383         <human value="All FHIR elements must have a @value or children" />
384         <expression value="hasValue() or (children().count() > id.count())" />
385         <xpath value="@value|f:*|h:div" />
386         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
387       </constraint>
388       <constraint>
389         <key value="ext-1" />
390         <severity value="error" />
391         <human value="Must have either extensions or value[x], not both" />
392         <expression value="extension.exists() != value.exists()" />
393         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
394         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
395       </constraint>
396       <isModifier value="false" />
397       <isSummary value="false" />
398     </element>
399     <element id="Extension.extension:status.url">
400       <path value="Extension.extension.url" />
401       <representation value="xmlAttr" />
402       <short value="identifies the meaning of the extension" />
403       <definition value="Source of the definition for the extension code - a logical name or a URL." />
404       <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." />
405       <min value="1" />
406       <max value="1" />
407       <base>
408         <path value="Extension.url" />
409         <min value="1" />
410         <max value="1" />
411       </base>
412       <type>
413         <code value="uri" />
414       </type>
415       <fixedUri value="status" />
416       <isModifier value="false" />
417       <isSummary value="false" />
418       <mapping>
419         <identity value="rim" />
420         <map value="N/A" />
421       </mapping>
422     </element>
423     <element id="Extension.extension:status.value[x]">
424       <path value="Extension.extension.value[x]" />
425       <short value="Value of extension" />
426       <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)." />
427       <min value="1" />
428       <max value="1" />
429       <base>
430         <path value="Extension.value[x]" />
431         <min value="0" />
432         <max value="1" />
433       </base>
434       <type>
435         <code value="code" />
436       </type>
437       <constraint>
438         <key value="ele-1" />
439         <severity value="error" />
440         <human value="All FHIR elements must have a @value or children" />
441         <expression value="hasValue() or (children().count() > id.count())" />
442         <xpath value="@value|f:*|h:div" />
443         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
444       </constraint>
445       <isModifier value="false" />
446       <isSummary value="false" />
447       <binding>
448         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
449           <valueString value="GoalAcceptanceStatus" />
450         </extension>
451         <strength value="required" />
452         <description value="Codes indicating whether the goal has been accepted by a stakeholder." />
453         <valueSet value="http://hl7.org/fhir/ValueSet/goal-acceptance-status|4.0.1" />
454       </binding>
455       <mapping>
456         <identity value="rim" />
457         <map value="N/A" />
458       </mapping>
459     </element>
460     <element id="Extension.extension:priority">
461       <path value="Extension.extension" />
462       <sliceName value="priority" />
463       <short value="Priority of goal for individual" />
464       <definition value="Indicates the relative priority assigned to the resource by the stakeholder." />
465       <min value="0" />
466       <max value="1" />
467       <base>
468         <path value="Element.extension" />
469         <min value="0" />
470         <max value="*" />
471       </base>
472       <type>
473         <code value="Extension" />
474       </type>
475       <constraint>
476         <key value="ele-1" />
477         <severity value="error" />
478         <human value="All FHIR elements must have a @value or children" />
479         <expression value="hasValue() or (children().count() > id.count())" />
480         <xpath value="@value|f:*|h:div" />
481         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
482       </constraint>
483       <constraint>
484         <key value="ext-1" />
485         <severity value="error" />
486         <human value="Must have either extensions or value[x], not both" />
487         <expression value="extension.exists() != value.exists()" />
488         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
489         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
490       </constraint>
491       <isModifier value="false" />
492       <isSummary value="false" />
493     </element>
494     <element id="Extension.extension:priority.id">
495       <path value="Extension.extension.id" />
496       <representation value="xmlAttr" />
497       <short value="Unique id for inter-element referencing" />
498       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
499       <min value="0" />
500       <max value="1" />
501       <base>
502         <path value="Element.id" />
503         <min value="0" />
504         <max value="1" />
505       </base>
506       <type>
507         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
508           <valueUrl value="string" />
509         </extension>
510         <code value="http://hl7.org/fhirpath/System.String" />
511       </type>
512       <isModifier value="false" />
513       <isSummary value="false" />
514       <mapping>
515         <identity value="rim" />
516         <map value="n/a" />
517       </mapping>
518     </element>
519     <element id="Extension.extension:priority.extension">
520       <path value="Extension.extension.extension" />
521       <slicing>
522         <discriminator>
523           <type value="value" />
524           <path value="url" />
525         </discriminator>
526         <description value="Extensions are always sliced by (at least) url" />
527         <rules value="open" />
528       </slicing>
529       <short value="Extension" />
530       <definition value="An Extension" />
531       <min value="0" />
532       <max value="0" />
533       <base>
534         <path value="Element.extension" />
535         <min value="0" />
536         <max value="*" />
537       </base>
538       <type>
539         <code value="Extension" />
540       </type>
541       <constraint>
542         <key value="ele-1" />
543         <severity value="error" />
544         <human value="All FHIR elements must have a @value or children" />
545         <expression value="hasValue() or (children().count() > id.count())" />
546         <xpath value="@value|f:*|h:div" />
547         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
548       </constraint>
549       <constraint>
550         <key value="ext-1" />
551         <severity value="error" />
552         <human value="Must have either extensions or value[x], not both" />
553         <expression value="extension.exists() != value.exists()" />
554         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
555         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
556       </constraint>
557       <isModifier value="false" />
558       <isSummary value="false" />
559     </element>
560     <element id="Extension.extension:priority.url">
561       <path value="Extension.extension.url" />
562       <representation value="xmlAttr" />
563       <short value="identifies the meaning of the extension" />
564       <definition value="Source of the definition for the extension code - a logical name or a URL." />
565       <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." />
566       <min value="1" />
567       <max value="1" />
568       <base>
569         <path value="Extension.url" />
570         <min value="1" />
571         <max value="1" />
572       </base>
573       <type>
574         <code value="uri" />
575       </type>
576       <fixedUri value="priority" />
577       <isModifier value="false" />
578       <isSummary value="false" />
579       <mapping>
580         <identity value="rim" />
581         <map value="N/A" />
582       </mapping>
583     </element>
584     <element id="Extension.extension:priority.value[x]">
585       <path value="Extension.extension.value[x]" />
586       <short value="Value of extension" />
587       <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)." />
588       <min value="1" />
589       <max value="1" />
590       <base>
591         <path value="Extension.value[x]" />
592         <min value="0" />
593         <max value="1" />
594       </base>
595       <type>
596         <code value="CodeableConcept" />
597       </type>
598       <constraint>
599         <key value="ele-1" />
600         <severity value="error" />
601         <human value="All FHIR elements must have a @value or children" />
602         <expression value="hasValue() or (children().count() > id.count())" />
603         <xpath value="@value|f:*|h:div" />
604         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
605       </constraint>
606       <isModifier value="false" />
607       <isSummary value="false" />
608       <binding>
609         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
610           <valueString value="GoalAcceptancePriority" />
611         </extension>
612         <strength value="example" />
613         <description value="Codes indicating the relative priority assigned to a goal by a stakeholder." />
614         <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority" />
615       </binding>
616       <mapping>
617         <identity value="rim" />
618         <map value="N/A" />
619       </mapping>
620     </element>
621     <element id="Extension.url">
622       <path value="Extension.url" />
623       <representation value="xmlAttr" />
624       <short value="identifies the meaning of the extension" />
625       <definition value="Source of the definition for the extension code - a logical name or a URL." />
626       <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." />
627       <min value="1" />
628       <max value="1" />
629       <base>
630         <path value="Extension.url" />
631         <min value="1" />
632         <max value="1" />
633       </base>
634       <type>
635         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
636           <valueUrl value="uri" />
637         </extension>
638         <code value="http://hl7.org/fhirpath/System.String" />
639       </type>
640       <fixedUri value="http://hl7.org/fhir/StructureDefinition/goal-acceptance" />
641       <isModifier value="false" />
642       <isSummary value="false" />
643       <mapping>
644         <identity value="rim" />
645         <map value="N/A" />
646       </mapping>
647     </element>
648     <element id="Extension.value[x]">
649       <path value="Extension.value[x]" />
650       <short value="Value of extension" />
651       <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)." />
652       <min value="0" />
653       <max value="0" />
654       <base>
655         <path value="Extension.value[x]" />
656         <min value="0" />
657         <max value="1" />
658       </base>
659       <type>
660         <code value="base64Binary" />
661       </type>
662       <type>
663         <code value="boolean" />
664       </type>
665       <type>
666         <code value="canonical" />
667       </type>
668       <type>
669         <code value="code" />
670       </type>
671       <type>
672         <code value="date" />
673       </type>
674       <type>
675         <code value="dateTime" />
676       </type>
677       <type>
678         <code value="decimal" />
679       </type>
680       <type>
681         <code value="id" />
682       </type>
683       <type>
684         <code value="instant" />
685       </type>
686       <type>
687         <code value="integer" />
688       </type>
689       <type>
690         <code value="markdown" />
691       </type>
692       <type>
693         <code value="oid" />
694       </type>
695       <type>
696         <code value="positiveInt" />
697       </type>
698       <type>
699         <code value="string" />
700       </type>
701       <type>
702         <code value="time" />
703       </type>
704       <type>
705         <code value="unsignedInt" />
706       </type>
707       <type>
708         <code value="uri" />
709       </type>
710       <type>
711         <code value="url" />
712       </type>
713       <type>
714         <code value="uuid" />
715       </type>
716       <type>
717         <code value="Address" />
718       </type>
719       <type>
720         <code value="Age" />
721       </type>
722       <type>
723         <code value="Annotation" />
724       </type>
725       <type>
726         <code value="Attachment" />
727       </type>
728       <type>
729         <code value="CodeableConcept" />
730       </type>
731       <type>
732         <code value="Coding" />
733       </type>
734       <type>
735         <code value="ContactPoint" />
736       </type>
737       <type>
738         <code value="Count" />
739       </type>
740       <type>
741         <code value="Distance" />
742       </type>
743       <type>
744         <code value="Duration" />
745       </type>
746       <type>
747         <code value="HumanName" />
748       </type>
749       <type>
750         <code value="Identifier" />
751       </type>
752       <type>
753         <code value="Money" />
754       </type>
755       <type>
756         <code value="Period" />
757       </type>
758       <type>
759         <code value="Quantity" />
760       </type>
761       <type>
762         <code value="Range" />
763       </type>
764       <type>
765         <code value="Ratio" />
766       </type>
767       <type>
768         <code value="Reference" />
769       </type>
770       <type>
771         <code value="SampledData" />
772       </type>
773       <type>
774         <code value="Signature" />
775       </type>
776       <type>
777         <code value="Timing" />
778       </type>
779       <type>
780         <code value="ContactDetail" />
781       </type>
782       <type>
783         <code value="Contributor" />
784       </type>
785       <type>
786         <code value="DataRequirement" />
787       </type>
788       <type>
789         <code value="Expression" />
790       </type>
791       <type>
792         <code value="ParameterDefinition" />
793       </type>
794       <type>
795         <code value="RelatedArtifact" />
796       </type>
797       <type>
798         <code value="TriggerDefinition" />
799       </type>
800       <type>
801         <code value="UsageContext" />
802       </type>
803       <type>
804         <code value="Dosage" />
805       </type>
806       <type>
807         <code value="Meta" />
808       </type>
809       <constraint>
810         <key value="ele-1" />
811         <severity value="error" />
812         <human value="All FHIR elements must have a @value or children" />
813         <expression value="hasValue() or (children().count() > id.count())" />
814         <xpath value="@value|f:*|h:div" />
815         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
816       </constraint>
817       <isModifier value="false" />
818       <isSummary value="false" />
819       <mapping>
820         <identity value="rim" />
821         <map value="N/A" />
822       </mapping>
823     </element>
824   </snapshot>
825   <differential>
826     <element id="Extension">
827       <path value="Extension" />
828       <short value="Individual acceptance of goal" />
829       <definition value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
830       <min value="0" />
831       <max value="*" />
832     </element>
833     <element id="Extension.extension:individual">
834       <path value="Extension.extension" />
835       <sliceName value="individual" />
836       <short value="Individual whose acceptance is reflected" />
837       <definition value="The person whose acceptance/priority is being reflected." />
838       <min value="1" />
839       <max value="1" />
840       <type>
841         <code value="Extension" />
842       </type>
843     </element>
844     <element id="Extension.extension:individual.extension">
845       <path value="Extension.extension.extension" />
846       <max value="0" />
847     </element>
848     <element id="Extension.extension:individual.url">
849       <path value="Extension.extension.url" />
850       <type>
851         <code value="uri" />
852       </type>
853       <fixedUri value="individual" />
854     </element>
855     <element id="Extension.extension:individual.value[x]">
856       <path value="Extension.extension.value[x]" />
857       <min value="1" />
858       <type>
859         <code value="Reference" />
860         <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
861         <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
862         <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
863       </type>
864     </element>
865     <element id="Extension.extension:status">
866       <path value="Extension.extension" />
867       <sliceName value="status" />
868       <short value="agree | disagree | pending" />
869       <definition value="Indicates whether the specified individual has accepted the goal or not." />
870       <min value="0" />
871       <max value="1" />
872       <type>
873         <code value="Extension" />
874       </type>
875     </element>
876     <element id="Extension.extension:status.extension">
877       <path value="Extension.extension.extension" />
878       <max value="0" />
879     </element>
880     <element id="Extension.extension:status.url">
881       <path value="Extension.extension.url" />
882       <type>
883         <code value="uri" />
884       </type>
885       <fixedUri value="status" />
886     </element>
887     <element id="Extension.extension:status.value[x]">
888       <path value="Extension.extension.value[x]" />
889       <min value="1" />
890       <type>
891         <code value="code" />
892       </type>
893       <binding>
894         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
895           <valueString value="GoalAcceptanceStatus" />
896         </extension>
897         <strength value="required" />
898         <description value="Codes indicating whether the goal has been accepted by a stakeholder." />
899         <valueSet value="http://hl7.org/fhir/ValueSet/goal-acceptance-status|4.0.1" />
900       </binding>
901     </element>
902     <element id="Extension.extension:priority">
903       <path value="Extension.extension" />
904       <sliceName value="priority" />
905       <short value="Priority of goal for individual" />
906       <definition value="Indicates the relative priority assigned to the resource by the stakeholder." />
907       <min value="0" />
908       <max value="1" />
909       <type>
910         <code value="Extension" />
911       </type>
912     </element>
913     <element id="Extension.extension:priority.extension">
914       <path value="Extension.extension.extension" />
915       <max value="0" />
916     </element>
917     <element id="Extension.extension:priority.url">
918       <path value="Extension.extension.url" />
919       <type>
920         <code value="uri" />
921       </type>
922       <fixedUri value="priority" />
923     </element>
924     <element id="Extension.extension:priority.value[x]">
925       <path value="Extension.extension.value[x]" />
926       <min value="1" />
927       <type>
928         <code value="CodeableConcept" />
929       </type>
930       <binding>
931         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
932           <valueString value="GoalAcceptancePriority" />
933         </extension>
934         <strength value="example" />
935         <description value="Codes indicating the relative priority assigned to a goal by a stakeholder." />
936         <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority" />
937       </binding>
938     </element>
939     <element id="Extension.url">
940       <path value="Extension.url" />
941       <fixedUri value="http://hl7.org/fhir/StructureDefinition/goal-acceptance" />
942     </element>
943     <element id="Extension.value[x]">
944       <path value="Extension.value[x]" />
945       <min value="0" />
946       <max value="0" />
947     </element>
948   </differential>
949 </StructureDefinition>