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 - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the ext-R5-MedicationStatement.adherence extension.

Guidance on how to interpret the contents of this table can be foundhere

0. Extension
Definition

R5: MedicationStatement.adherence (new:BackboneElement)


Optional Extension Element - found in all resources.

ShortR5: Indicates whether the medication is or is not being consumed or administered (new)Optional Extensions Element
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). This element can be used to indicate whether a patient is following a course of treatment as instructed/prescribed or whether they are taking medications of their own volition. It can also be used to indicate that a patient is not taking a medication, either because they were told not to or because they decided on their own.

Control0..1*
This element is affected by the following invariants: ele-1
Is Modifierfalse
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
2. Extension.extension
Definition

An Extension


May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortExtensionAdditional Content defined by implementations
Comments

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.

Control10..*
TypeExtension
Alternate Namesextensions, user content
SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 4. Extension.extension:code
    Slice Namecode
    Definition

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

    ShortR5: Type of adherence (new)Additional Content defined by implementations
    Comments

    Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

    Control10..1*
    TypeExtension
    Requirements

    Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

    6. Extension.extension:code.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuecode
    8. Extension.extension:code.value[x]
    Definition

    Type of the adherence for the medication.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortType of adherenceValue of extension
    Control10..1
    BindingFor example codes, see For codes, see R5MedicationStatementAdherenceForR3 (0.1.0)
    (example to http://hl7.org/fhir/uv/xver/ValueSet/R5-medication-statement-adherence-for-R3|0.1.0)
    TypeCodeableConcept, date, dateTime, Meta, code, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    10. Extension.extension:reason
    Slice Namereason
    Definition

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

    ShortR5: Details of the reason for the current use of the medication (new)Additional Content defined by implementations
    Comments

    Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

    Control0..1*
    TypeExtension
    Requirements

    Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

    12. Extension.extension:reason.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuereason
    14. Extension.extension:reason.value[x]
    Definition

    Captures the reason for the current use or adherence of a medication.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortDetails of the reason for the current use of the medicationValue of extension
    Comments

    This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

    Control0..1
    TypeCodeableConcept, date, dateTime, Meta, code, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    16. Extension.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
    18. Extension.value[x]
    Definition

    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortValue of extension
    Control0..01
    TypeChoice of: base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, Meta
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

    Guidance on how to interpret the contents of this table can be foundhere

    0. Extension
    Definition

    R5: MedicationStatement.adherence (new:BackboneElement)

    ShortR5: Indicates whether the medication is or is not being consumed or administered (new)
    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). This element can be used to indicate whether a patient is following a course of treatment as instructed/prescribed or whether they are taking medications of their own volition. It can also be used to indicate that a patient is not taking a medication, either because they were told not to or because they decided on their own.

    Control0..1
    Is Modifierfalse
    2. Extension.extension
    Control1..*
    SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 4. Extension.extension:code
      Slice Namecode
      Definition

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

      ShortR5: Type of adherence (new)
      Comments

      Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

      Control1..1
      Requirements

      Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

      6. Extension.extension:code.url
      Control1..1
      Fixed Valuecode
      8. Extension.extension:code.value[x]
      Definition

      Type of the adherence for the medication.

      ShortType of adherence
      Control1..1
      BindingFor example codes, see R5MedicationStatementAdherenceForR3 (0.1.0)
      (example to http://hl7.org/fhir/uv/xver/ValueSet/R5-medication-statement-adherence-for-R3|0.1.0)
      TypeCodeableConcept
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      10. Extension.extension:reason
      Slice Namereason
      Definition

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

      ShortR5: Details of the reason for the current use of the medication (new)
      Comments

      Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

      Control0..1
      Requirements

      Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

      12. Extension.extension:reason.url
      Control1..1
      Fixed Valuereason
      14. Extension.extension:reason.value[x]
      Definition

      Captures the reason for the current use or adherence of a medication.

      ShortDetails of the reason for the current use of the medication
      Comments

      This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

      Control0..1
      TypeCodeableConcept
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      16. Extension.url
      Control1..1
      Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
      18. Extension.value[x]
      Control0..0

      Guidance on how to interpret the contents of this table can be foundhere

      0. Extension
      Definition

      R5: MedicationStatement.adherence (new:BackboneElement)

      ShortR5: Indicates whether the medication is or is not being consumed or administered (new)
      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). This element can be used to indicate whether a patient is following a course of treatment as instructed/prescribed or whether they are taking medications of their own volition. It can also be used to indicate that a patient is not taking a medication, either because they were told not to or because they decided on their own.

      Control0..1
      This element is affected by the following invariants: ele-1
      Is Modifierfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      2. Extension.id
      Definition

      unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

      Shortxml:id (or equivalent in JSON)
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      XML FormatIn the XML format, this property is represented as an attribute.
      4. Extension.extension
      Definition

      An Extension

      ShortExtension
      Control1..*
      TypeExtension
      SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 6. Extension.extension:code
        Slice Namecode
        Definition

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

        ShortR5: Type of adherence (new)
        Comments

        Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

        Control1..1
        TypeExtension
        Requirements

        Element MedicationStatement.adherence.code is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.code has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.code has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

        8. Extension.extension:code.id
        Definition

        unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

        Shortxml:id (or equivalent in JSON)
        Control0..1
        Typestring
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        10. Extension.extension:code.extension
        Definition

        May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        ShortAdditional Content defined by implementations
        Comments

        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.

        Control0..*
        TypeExtension
        Alternate Namesextensions, user content
        SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 12. Extension.extension:code.url
          Definition

          Source of the definition for the extension code - a logical name or a URL.

          Shortidentifies the meaning of the extension
          Comments

          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.

          Control1..1
          Typeuri
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed Valuecode
          14. Extension.extension:code.value[x]
          Definition

          Type of the adherence for the medication.

          ShortType of adherence
          Control1..1
          BindingFor example codes, see R5MedicationStatementAdherenceForR3 (0.1.0)
          (example to http://hl7.org/fhir/uv/xver/ValueSet/R5-medication-statement-adherence-for-R3|0.1.0)
          TypeCodeableConcept
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          16. Extension.extension:reason
          Slice Namereason
          Definition

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

          ShortR5: Details of the reason for the current use of the medication (new)
          Comments

          Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

          Control0..1
          TypeExtension
          Requirements

          Element MedicationStatement.adherence.reason is part of an existing definition because parent element MedicationStatement.adherence requires a cross-version extension. Element MedicationStatement.adherence.reason has a context of MedicationStatement based on following the parent source element upwards and mapping to MedicationStatement. Element MedicationStatement.adherence.reason has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

          18. Extension.extension:reason.id
          Definition

          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

          Shortxml:id (or equivalent in JSON)
          Control0..1
          Typestring
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          20. Extension.extension:reason.extension
          Definition

          May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

          ShortAdditional Content defined by implementations
          Comments

          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.

          Control0..*
          TypeExtension
          Alternate Namesextensions, user content
          SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 22. Extension.extension:reason.url
            Definition

            Source of the definition for the extension code - a logical name or a URL.

            Shortidentifies the meaning of the extension
            Comments

            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.

            Control1..1
            Typeuri
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            Fixed Valuereason
            24. Extension.extension:reason.value[x]
            Definition

            Captures the reason for the current use or adherence of a medication.

            ShortDetails of the reason for the current use of the medication
            Comments

            This is generally only used for "exception" statuses such as "entered-in-error". The reason for performing the event at all is captured in reasonCode, not here.

            Control0..1
            TypeCodeableConcept
            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
            26. Extension.url
            Definition

            Source of the definition for the extension code - a logical name or a URL.

            Shortidentifies the meaning of the extension
            Comments

            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.

            Control1..1
            Typeuri
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
            28. Extension.value[x]
            Definition

            Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

            ShortValue of extension
            Control0..0
            TypeChoice of: base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, Meta
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension