IHE Pharmacy Medication Record
0.1.0 - ci-build International flag

IHE Pharmacy Medication Record, published by Integrating the Healthcare Enterprise (IHE). This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/IHE/pharm-medo/ and changes regularly. See the Directory of published versions

Resource Profile: [Profile] - Usage

Official URL: http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordUsage Version: 0.1.0
Active as of 2023-03-27 Computable Name: MedRecordUsage

Copyright/Legal: IHE http://www.ihe.net/Governance/#Intellectual_Property

The profile for Medication Usage in a Medication Record - a record of a single administration event

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*MedicationStatementRecord of medication being taken by a patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... medication Σ1..1CodeableReference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

... subject Σ1..1Reference(Patient | Group)Who is/was taking the medication

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MedicationStatement.statusrequiredMedicationStatementStatusCodes
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*MedicationStatementRecord of medication being taken by a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal identifier
... partOf 0..*Reference(Procedure | MedicationStatement)Part of referenced event
... status ?!Σ1..1coderecorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... category Σ0..*CodeableConceptType of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.


... medication Σ1..1CodeableReference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

... subject Σ1..1Reference(Patient | Group)Who is/was taking the medication
... encounter Σ0..1Reference(Encounter)Encounter associated with MedicationStatement
... effective[x] Σ0..1The date/time or interval when the medication is/was/will be taken
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
.... effectiveTimingTiming
... dateAsserted Σ0..1dateTimeWhen the usage was asserted?
... informationSource 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Person or organization that provided the information about the taking of this medication
... derivedFrom 0..*Reference(Resource)Link to information used to derive the MedicationStatement
... reason 0..*CodeableReference(Condition | Observation | DiagnosticReport)Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.


... note 0..*AnnotationFurther information about the usage
... relatedClinicalInformation 0..*Reference(Observation | Condition)Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1markdownFull representation of the dosage instructions
... dosage 0..*DosageDetails of how medication is/was taken or should be taken
... adherence Σ0..1BackboneElementIndicates whether the medication is or is not being consumed or administered
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code Σ1..1CodeableConceptType of adherence
Binding: MedicationStatementAdherenceCodes (example)
.... reason 0..1CodeableConceptDetails of the reason for the current use of the medication
Binding: SNOMEDCTDrugTherapyStatusCodes (example)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MedicationStatement.languagerequiredAllLanguages
MedicationStatement.statusrequiredMedicationStatementStatusCodes
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
MedicationStatement.adherence.reasonexampleSNOMEDCTDrugTherapyStatusCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from MedicationStatement

Summary

Differential View

This structure is derived from MedicationStatement

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*MedicationStatementRecord of medication being taken by a patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... medication Σ1..1CodeableReference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

... subject Σ1..1Reference(Patient | Group)Who is/was taking the medication

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MedicationStatement.statusrequiredMedicationStatementStatusCodes
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*MedicationStatementRecord of medication being taken by a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal identifier
... partOf 0..*Reference(Procedure | MedicationStatement)Part of referenced event
... status ?!Σ1..1coderecorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... category Σ0..*CodeableConceptType of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.


... medication Σ1..1CodeableReference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

... subject Σ1..1Reference(Patient | Group)Who is/was taking the medication
... encounter Σ0..1Reference(Encounter)Encounter associated with MedicationStatement
... effective[x] Σ0..1The date/time or interval when the medication is/was/will be taken
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
.... effectiveTimingTiming
... dateAsserted Σ0..1dateTimeWhen the usage was asserted?
... informationSource 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Person or organization that provided the information about the taking of this medication
... derivedFrom 0..*Reference(Resource)Link to information used to derive the MedicationStatement
... reason 0..*CodeableReference(Condition | Observation | DiagnosticReport)Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.


... note 0..*AnnotationFurther information about the usage
... relatedClinicalInformation 0..*Reference(Observation | Condition)Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1markdownFull representation of the dosage instructions
... dosage 0..*DosageDetails of how medication is/was taken or should be taken
... adherence Σ0..1BackboneElementIndicates whether the medication is or is not being consumed or administered
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code Σ1..1CodeableConceptType of adherence
Binding: MedicationStatementAdherenceCodes (example)
.... reason 0..1CodeableConceptDetails of the reason for the current use of the medication
Binding: SNOMEDCTDrugTherapyStatusCodes (example)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MedicationStatement.languagerequiredAllLanguages
MedicationStatement.statusrequiredMedicationStatementStatusCodes
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
MedicationStatement.adherence.reasonexampleSNOMEDCTDrugTherapyStatusCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from MedicationStatement

Summary

 

Other representations of profile: CSV, Excel, Schematron