Extensions for Using Data Elements from FHIR R5 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Extension: ExtensionMedicationStatement_Adherence

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionMedicationStatement_Adherence

R5: MedicationStatement.adherence (new:BackboneElement)

This extension is part of the cross-version definitions generated to enable use of the element MedicationStatement.adherence as defined in FHIR R5 in FHIR STU3.

The source element is defined as: MedicationStatement.adherence 0..1 BackboneElement

Across FHIR versions, the element set has been mapped as:

  • R5: MedicationStatement.adherence 0..1 BackboneElement

Following are the generation technical comments: Element MedicationStatement.adherence has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

Context of Use

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension R5: Indicates whether the medication is or is not being consumed or administered (new)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:code 1..1 Extension R5: Type of adherence (new)
..... url 1..1 uri "code"
..... value[x] 1..1 CodeableConcept Type of adherence
Binding: R5MedicationStatementAdherenceForR3 (0.1.0) (example)
.... extension:reason 0..1 Extension R5: Details of the reason for the current use of the medication (new)
..... url 1..1 uri "reason"
..... value[x] 0..1 CodeableConcept Details of the reason for the current use of the medication
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension R5: Indicates whether the medication is or is not being consumed or administered (new)
... id 0..1 string xml:id (or equivalent in JSON)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:code 1..1 Extension R5: Type of adherence (new)
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "code"
..... value[x] 1..1 CodeableConcept Type of adherence
Binding: R5MedicationStatementAdherenceForR3 (0.1.0) (example)
.... extension:reason 0..1 Extension R5: Details of the reason for the current use of the medication (new)
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "reason"
..... value[x] 0..1 CodeableConcept Details of the reason for the current use of the medication
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R5: MedicationStatement.adherence (new:BackboneElement)

  • code: CodeableConcept: R5: MedicationStatement.adherence.code (new:CodeableConcept)
  • reason: CodeableConcept: R5: MedicationStatement.adherence.reason (new:CodeableConcept)

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension R5: Indicates whether the medication is or is not being consumed or administered (new)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:code 1..1 Extension R5: Type of adherence (new)
..... url 1..1 uri "code"
..... value[x] 1..1 CodeableConcept Type of adherence
Binding: R5MedicationStatementAdherenceForR3 (0.1.0) (example)
.... extension:reason 0..1 Extension R5: Details of the reason for the current use of the medication (new)
..... url 1..1 uri "reason"
..... value[x] 0..1 CodeableConcept Details of the reason for the current use of the medication
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"
... value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension R5: Indicates whether the medication is or is not being consumed or administered (new)
... id 0..1 string xml:id (or equivalent in JSON)
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:code 1..1 Extension R5: Type of adherence (new)
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "code"
..... value[x] 1..1 CodeableConcept Type of adherence
Binding: R5MedicationStatementAdherenceForR3 (0.1.0) (example)
.... extension:reason 0..1 Extension R5: Details of the reason for the current use of the medication (new)
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "reason"
..... value[x] 0..1 CodeableConcept Details of the reason for the current use of the medication
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R5: MedicationStatement.adherence (new:BackboneElement)

  • code: CodeableConcept: R5: MedicationStatement.adherence.code (new:CodeableConcept)
  • reason: CodeableConcept: R5: MedicationStatement.adherence.reason (new:CodeableConcept)

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.extension:code.​value[x] Base example Cross-version ValueSet R5.MedicationStatementAdherenceCodes for use in FHIR STU3 📍0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()