Release 5 Preview #2

Extension: acceptance

Patient Care Work Group Maturity Level: 1InformativeUse Context: Any

URL for this extension:

http://hl7.org/fhir/StructureDefinition/goal-acceptance

Status: draft. Extension maintained by: Health Level Seven, Inc. - FHIR WG

Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.

Context of Use: Use on Element ID Goal

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. acceptance0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/goal-acceptance
acceptance: Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.


Use on Element ID Goal
... individual1..1Reference(Patient | Practitioner | RelatedPerson)The person whose acceptance/priority is being reflected.

... status0..1codeIndicates whether the specified individual has accepted the goal or not.

... priority0..1CodeableConceptIndicates the relative priority assigned to the resource by the stakeholder.


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/goal-acceptance
acceptance: Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.


Use on Element ID Goal
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:individual I1..1ExtensionIndividual whose acceptance is reflected
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"individual"
.... value[x] I1..1Reference(Patient | Practitioner | RelatedPerson)Value of extension
... extension:status I0..1Extensionagree | disagree | pending
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"status"
.... value[x] I1..1codeValue of extension
Binding: GoalAcceptanceStatus (required)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"priority"
.... value[x] I1..1CodeableConceptValue of extension
Binding: Goal priority (example)
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/goal-acceptance"
... value[x] I0..0
.... valueBase64Binarybase64Binary
.... valueBooleanboolean
.... valueCanonicalcanonical(Any)
.... valueCodecode
.... valueDatedate
.... valueDateTimedateTime
.... valueDecimaldecimal
.... valueIdid
.... valueInstantinstant
.... valueIntegerinteger
.... valueInteger64integer64
.... valueMarkdownmarkdown
.... valueOidoid
.... valuePositiveIntpositiveInt
.... valueStringstring
.... valueTimetime
.... valueUnsignedIntunsignedInt
.... valueUriuri
.... valueUrlurl
.... valueUuiduuid
.... valueAddressAddress
.... valueAgeAge
.... valueAnnotationAnnotation
.... valueAttachmentAttachment
.... valueCodeableConceptCodeableConcept
.... valueCodingCoding
.... valueContactPointContactPoint
.... valueCountCount
.... valueDistanceDistance
.... valueDurationDuration
.... valueHumanNameHumanName
.... valueIdentifierIdentifier
.... valueMoneyMoney
.... valuePeriodPeriod
.... valueQuantityQuantity
.... valueRangeRange
.... valueRatioRatio
.... valueReferenceReference(Any)
.... valueSampledDataSampledData
.... valueSignatureSignature
.... valueTimingTiming
.... valueContactDetailContactDetail
.... valueContributorContributor
.... valueDataRequirementDataRequirement
.... valueExpressionExpression
.... valueParameterDefinitionParameterDefinition
.... valueRelatedArtifactRelatedArtifact
.... valueTriggerDefinitionTriggerDefinition
.... valueUsageContextUsageContext
.... valueDosageDosage
.... valueMetaMeta

doco Documentation for this format

XML Template

<!-- acceptance -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/goal-acceptance" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="individual"> ?? 1..1 Extension  <!-- ?? 1..1 Individual whose acceptance is reflected -->
  <valueReference><!-- ?? 1..1 Reference(Patient) Value of extension --></valueReference>
 </extension>
 <extension url="status"> ?? 0..1 Extension  <!-- ?? 0..1 agree | disagree | pending -->
  <valueCode value="[code]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="priority"> ?? 0..1 Extension  <!-- ?? 0..1 Priority of goal for individual -->
  <valueCodeableConcept><!-- ?? 1..1 CodeableConcept Value of extension --></valueCodeableConcept>
 </extension>
</extension>

JSON Template

{ // acceptance
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Individual whose acceptance is reflected // C? R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "individual", // R! 
        "valueReference" : { Reference(Patient) } // C? R! Value of extension
      },
      { // agree | disagree | pending // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "status", // R! 
        "valueCode" : "<code>" // C? R! Value of extension
      },
      { // Priority of goal for individual // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "priority", // R! 
        "valueCodeableConcept" : { CodeableConcept } // C? R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance", // R! 
// value[x]: Value of extension. One of these 51:
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. acceptance0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/goal-acceptance
acceptance: Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.


Use on Element ID Goal
... individual1..1Reference(Patient | Practitioner | RelatedPerson)The person whose acceptance/priority is being reflected.

... status0..1codeIndicates whether the specified individual has accepted the goal or not.

... priority0..1CodeableConceptIndicates the relative priority assigned to the resource by the stakeholder.


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/goal-acceptance
acceptance: Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.


Use on Element ID Goal
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:individual I1..1ExtensionIndividual whose acceptance is reflected
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"individual"
.... value[x] I1..1Reference(Patient | Practitioner | RelatedPerson)Value of extension
... extension:status I0..1Extensionagree | disagree | pending
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"status"
.... value[x] I1..1codeValue of extension
Binding: GoalAcceptanceStatus (required)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"priority"
.... value[x] I1..1CodeableConceptValue of extension
Binding: Goal priority (example)
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/goal-acceptance"
... value[x] I0..0
.... valueBase64Binarybase64Binary
.... valueBooleanboolean
.... valueCanonicalcanonical(Any)
.... valueCodecode
.... valueDatedate
.... valueDateTimedateTime
.... valueDecimaldecimal
.... valueIdid
.... valueInstantinstant
.... valueIntegerinteger
.... valueInteger64integer64
.... valueMarkdownmarkdown
.... valueOidoid
.... valuePositiveIntpositiveInt
.... valueStringstring
.... valueTimetime
.... valueUnsignedIntunsignedInt
.... valueUriuri
.... valueUrlurl
.... valueUuiduuid
.... valueAddressAddress
.... valueAgeAge
.... valueAnnotationAnnotation
.... valueAttachmentAttachment
.... valueCodeableConceptCodeableConcept
.... valueCodingCoding
.... valueContactPointContactPoint
.... valueCountCount
.... valueDistanceDistance
.... valueDurationDuration
.... valueHumanNameHumanName
.... valueIdentifierIdentifier
.... valueMoneyMoney
.... valuePeriodPeriod
.... valueQuantityQuantity
.... valueRangeRange
.... valueRatioRatio
.... valueReferenceReference(Any)
.... valueSampledDataSampledData
.... valueSignatureSignature
.... valueTimingTiming
.... valueContactDetailContactDetail
.... valueContributorContributor
.... valueDataRequirementDataRequirement
.... valueExpressionExpression
.... valueParameterDefinitionParameterDefinition
.... valueRelatedArtifactRelatedArtifact
.... valueTriggerDefinitionTriggerDefinition
.... valueUsageContextUsageContext
.... valueDosageDosage
.... valueMetaMeta

doco Documentation for this format

XML Template

<!-- acceptance -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/goal-acceptance" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="individual"> ?? 1..1 Extension  <!-- ?? 1..1 Individual whose acceptance is reflected -->
  <valueReference><!-- ?? 1..1 Reference(Patient) Value of extension --></valueReference>
 </extension>
 <extension url="status"> ?? 0..1 Extension  <!-- ?? 0..1 agree | disagree | pending -->
  <valueCode value="[code]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="priority"> ?? 0..1 Extension  <!-- ?? 0..1 Priority of goal for individual -->
  <valueCodeableConcept><!-- ?? 1..1 CodeableConcept Value of extension --></valueCodeableConcept>
 </extension>
</extension>

JSON Template

{ // acceptance
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Individual whose acceptance is reflected // C? R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "individual", // R! 
        "valueReference" : { Reference(Patient) } // C? R! Value of extension
      },
      { // agree | disagree | pending // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "status", // R! 
        "valueCode" : "<code>" // C? R! Value of extension
      },
      { // Priority of goal for individual // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "priority", // R! 
        "valueCodeableConcept" : { CodeableConcept } // C? R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance", // R! 
// value[x]: Value of extension. One of these 51:
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div)
  • ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div)