description: The Medication Adherence Extension is used to report whether a medication has been consumed according to instructions package_name: hl7.fhir.us.core derivation: constraint name: USCoreMedicationAdherenceExtension type: Extension elements: extension: array: true min: 2 index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 2 slices: medicationAdherence: match: {url: medicationAdherence} schema: short: Medication adherence code type: Extension mustSupport: true _required: true code: - {code: 71799-1, system: 'http://loinc.org', display: 'Adherence to prescribed medication instructions [Reported]'} index: 1 elements: url: type: uri pattern: {type: Uri, value: medicationAdherence} index: 2 value: choices: [valueCodeableConcept] index: 4 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5} required: [url, value, valueCodeableConcept] dateAsserted: match: {url: dateAsserted} schema: short: When the medication adherence was asserted type: Extension mustSupport: true _required: true index: 6 elements: url: type: uri pattern: {type: Uri, value: dateAsserted} index: 7 value: choices: [valueDateTime] index: 9 valueDateTime: {type: dateTime, choiceOf: value, index: 10} required: [url, valueDateTime, value] informationSource: match: {url: informationSource} schema: short: Who provided the information about the medication adherence type: Extension mustSupport: true array: true index: 11 elements: url: type: uri pattern: {type: Uri, value: informationSource} index: 12 value: choices: [valueReference] index: 14 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson'] index: 15 required: [url, valueReference, value] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence'} index: 16 value: choices: [] index: 18 package_version: 7.0.0-ballot extensions: medicationAdherence: short: Medication adherence code index: 1 type: Extension mustSupport: true elements: url: type: uri pattern: {type: Uri, value: medicationAdherence} index: 2 value: choices: [valueCodeableConcept] index: 4 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5} _required: true url: medicationAdherence code: - {code: 71799-1, system: 'http://loinc.org', display: 'Adherence to prescribed medication instructions [Reported]'} required: [url, value, valueCodeableConcept] dateAsserted: url: dateAsserted short: When the medication adherence was asserted type: Extension mustSupport: true _required: true index: 6 elements: url: type: uri pattern: {type: Uri, value: dateAsserted} index: 7 value: choices: [valueDateTime] index: 9 valueDateTime: {type: dateTime, choiceOf: value, index: 10} required: [url, valueDateTime, value] informationSource: url: informationSource short: Who provided the information about the medication adherence type: Extension mustSupport: true array: true index: 11 elements: url: type: uri pattern: {type: Uri, value: informationSource} index: 12 value: choices: [valueReference] index: 14 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson'] index: 15 required: [url, valueReference, 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: 7.0.0-ballot