http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence|8.0.0-ballot

The Medication Adherence Extension is used to report whether a medication has been consumed according to instructions as reported by a patient or on behalf of the patient.
description: The Medication Adherence Extension is used to report whether a medication has been consumed according to instructions as reported by a patient or on behalf of the patient.
derivation: constraint
name: USCoreMedicationAdherenceExtension
type: Extension
elements:
  extension:
    min: 2
    array: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        medicationAdherence:
          match: {url: medicationAdherence}
          schema:
            short: Medication adherence code
            mustSupport: true
            _required: true
            code:
            - {code: 71799-1, system: 'http://loinc.org', display: 'Adherence to prescribed medication instructions [Reported]'}
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: medicationAdherence}
                index: 2
              value:
                choices: []
                index: 4
            required: [url, value]
        dateAsserted:
          match: {url: dateAsserted}
          schema:
            short: When the medication adherence was asserted
            mustSupport: true
            _required: true
            index: 5
            elements:
              url:
                pattern: {type: Uri, value: dateAsserted}
                index: 6
              value:
                choices: []
                index: 8
            required: [url, value]
        informationSource:
          match: {url: informationSource}
          schema:
            short: Who provided the information about the medication adherence
            mustSupport: true
            array: true
            index: 9
            elements:
              url:
                pattern: {type: Uri, value: informationSource}
                index: 10
              value:
                choices: []
                index: 12
            required: [url, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence'}
    index: 13
  value:
    choices: []
    index: 15
extensions:
  medicationAdherence:
    url: medicationAdherence
    short: Medication adherence code
    mustSupport: true
    _required: true
    code:
    - {code: 71799-1, system: 'http://loinc.org', display: 'Adherence to prescribed medication instructions [Reported]'}
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: medicationAdherence}
        index: 2
      value:
        choices: []
        index: 4
    required: [url, value]
  dateAsserted:
    url: dateAsserted
    short: When the medication adherence was asserted
    mustSupport: true
    _required: true
    index: 5
    elements:
      url:
        pattern: {type: Uri, value: dateAsserted}
        index: 6
      value:
        choices: []
        index: 8
    required: [url, value]
  informationSource:
    url: informationSource
    short: Who provided the information about the medication adherence
    mustSupport: true
    array: true
    index: 9
    elements:
      url:
        pattern: {type: Uri, value: informationSource}
        index: 10
      value:
        choices: []
        index: 12
    required: [url, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 8.0.0-ballot