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] - Treatment

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

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

The profile for Medication Treatment in a Medication Record - a set of treatment lines/items

Usage:

Formal Views of Profile Content

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

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... meta
.... profile 1..*canonical(StructureDefinition)Profiles this resource claims to conform to
... identifier S0..*IdentifierExternal Ids for this plan
... instantiatesUri S0..*uriInstantiates external protocol or definition
... replaces S0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf S0..*Reference(CarePlan)Part of referenced CarePlan
... status S1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
... intent S1..1codeproposal | plan | order | option | directive
... category S0..*CodeableConceptType of plan
... title S0..1stringHuman-friendly name for the care plan
... description S0..1stringSummary of nature of plan
... subject S1..1Reference(Patient | Group)Who the care plan is for
... encounter S0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period S0..1PeriodTime period plan covers
... created S0..1dateTimeDate record was first recorded
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses S0..*CodeableReference(Condition)Health issues this plan addresses
... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... instantiatesUri SΣ0..*uriInstantiates external protocol or definition
... basedOn SΣ0..*Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder)Fulfills plan, proposal or order
... replaces SΣ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf SΣ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1codeproposal | plan | order | option | directive
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category SΣ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title SΣ0..1stringHuman-friendly name for the care plan
... description SΣ0..1stringSummary of nature of plan
... subject SΣ1..1Reference(Patient | Group)Who the care plan is for
... encounter SΣ0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period SΣ0..1PeriodTime period plan covers
... created SΣ0..1dateTimeDate record was first recorded
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses SΣ0..*CodeableReference(Condition)Health issues this plan addresses
Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.


... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.categoryexampleCarePlanCategory
CarePlan.addressesexampleSNOMEDCTClinicalFindings

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: AllLanguages (required): IETF language tag for a human language

... 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 SΣ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri SΣ0..*uriInstantiates external protocol or definition
... basedOn SΣ0..*Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder)Fulfills plan, proposal or order
... replaces SΣ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf SΣ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1codeproposal | plan | order | option | directive
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category SΣ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title SΣ0..1stringHuman-friendly name for the care plan
... description SΣ0..1stringSummary of nature of plan
... subject SΣ1..1Reference(Patient | Group)Who the care plan is for
... encounter SΣ0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period SΣ0..1PeriodTime period plan covers
... created SΣ0..1dateTimeDate record was first recorded
... custodian Σ0..1Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who is the designated responsible party
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses SΣ0..*CodeableReference(Condition)Health issues this plan addresses
Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.


... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... activity 0..*BackboneElementAction to occur or has occurred as part of plan
.... 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
.... performedActivity 0..*CodeableReference(Resource)Results of the activity (concept, or Appointment, Encounter, Procedure, etc.)
Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.


.... progress 0..*AnnotationComments about the activity status/progress
.... plannedActivityReference 0..1Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestOrchestration | ImmunizationRecommendation | SupplyRequest)Activity that is intended to be part of the care plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.meta.securityextensibleAllSecurityLabels
CarePlan.meta.tagexampleCommonTags
CarePlan.languagerequiredAllLanguages
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.categoryexampleCarePlanCategory
CarePlan.addressesexampleSNOMEDCTClinicalFindings
CarePlan.activity.performedActivityexampleCarePlanActivityPerformed

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 CarePlan

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 20 elements

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... meta
.... profile 1..*canonical(StructureDefinition)Profiles this resource claims to conform to
... identifier S0..*IdentifierExternal Ids for this plan
... instantiatesUri S0..*uriInstantiates external protocol or definition
... replaces S0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf S0..*Reference(CarePlan)Part of referenced CarePlan
... status S1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
... intent S1..1codeproposal | plan | order | option | directive
... category S0..*CodeableConceptType of plan
... title S0..1stringHuman-friendly name for the care plan
... description S0..1stringSummary of nature of plan
... subject S1..1Reference(Patient | Group)Who the care plan is for
... encounter S0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period S0..1PeriodTime period plan covers
... created S0..1dateTimeDate record was first recorded
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses S0..*CodeableReference(Condition)Health issues this plan addresses
... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... instantiatesUri SΣ0..*uriInstantiates external protocol or definition
... basedOn SΣ0..*Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder)Fulfills plan, proposal or order
... replaces SΣ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf SΣ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1codeproposal | plan | order | option | directive
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category SΣ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title SΣ0..1stringHuman-friendly name for the care plan
... description SΣ0..1stringSummary of nature of plan
... subject SΣ1..1Reference(Patient | Group)Who the care plan is for
... encounter SΣ0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period SΣ0..1PeriodTime period plan covers
... created SΣ0..1dateTimeDate record was first recorded
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses SΣ0..*CodeableReference(Condition)Health issues this plan addresses
Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.


... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.categoryexampleCarePlanCategory
CarePlan.addressesexampleSNOMEDCTClinicalFindings

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: AllLanguages (required): IETF language tag for a human language

... 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 SΣ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri SΣ0..*uriInstantiates external protocol or definition
... basedOn SΣ0..*Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder)Fulfills plan, proposal or order
... replaces SΣ0..*Reference(CarePlan)CarePlan replaced by this CarePlan
... partOf SΣ0..*Reference(CarePlan)Part of referenced CarePlan
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1codeproposal | plan | order | option | directive
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category SΣ0..*CodeableConceptType of plan
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.


... title SΣ0..1stringHuman-friendly name for the care plan
... description SΣ0..1stringSummary of nature of plan
... subject SΣ1..1Reference(Patient | Group)Who the care plan is for
... encounter SΣ0..1Reference(Encounter)The Encounter during which this CarePlan was created
... period SΣ0..1PeriodTime period plan covers
... created SΣ0..1dateTimeDate record was first recorded
... custodian Σ0..1Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who is the designated responsible party
... contributor S0..*Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam)Who provided the content of the care plan
... careTeam S0..*Reference(CareTeam)Who's involved in plan?
... addresses SΣ0..*CodeableReference(Condition)Health issues this plan addresses
Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.


... supportingInfo S0..*Reference(Resource)Information considered as part of plan
... goal S0..*Reference(Goal)Desired outcome of plan
... activity 0..*BackboneElementAction to occur or has occurred as part of plan
.... 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
.... performedActivity 0..*CodeableReference(Resource)Results of the activity (concept, or Appointment, Encounter, Procedure, etc.)
Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.


.... progress 0..*AnnotationComments about the activity status/progress
.... plannedActivityReference 0..1Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestOrchestration | ImmunizationRecommendation | SupplyRequest)Activity that is intended to be part of the care plan
... note S0..*AnnotationComments about the plan

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.meta.securityextensibleAllSecurityLabels
CarePlan.meta.tagexampleCommonTags
CarePlan.languagerequiredAllLanguages
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.categoryexampleCarePlanCategory
CarePlan.addressesexampleSNOMEDCTClinicalFindings
CarePlan.activity.performedActivityexampleCarePlanActivityPerformed

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 CarePlan

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 20 elements

 

Other representations of profile: CSV, Excel, Schematron