臺灣長期照顧實作指引(TW LTC IG)
1.1.0 - STU 1.1.0

臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions

Resource Profile: 在宅急症-給藥與輸注

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/HAHMedicationAdministration Version: 1.1.0
Draft as of 2026-10-30 Computable Name: HAHMedicationAdministration

記錄實際給藥時間點或輸注期間。effectiveDateTime 記錄單次給藥時間,effectivePeriod 記錄持續輸注期間。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationAdministration.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationAdministration.status This element is a modifier element. This element is included in summaries. 1..1 code in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
MedicationAdministration.Slices for medication[x] This element is included in summaries. 1..1 What was administered
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medicationCodeableConcept CodeableConcept
MedicationAdministration.Slices for medication[x].medicationReference Reference(Medication)
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference This element is included in summaries. 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject This element is included in summaries. 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.context This element must be supported. 1..1 Reference(在宅急症-就診基礎) Encounter or Episode of Care administered as part of
MedicationAdministration.effective[x] This element must be supported. This element is included in summaries. 1..1 Start and end time of administration
MedicationAdministration.effective[x].effectiveDateTime dateTime
MedicationAdministration.effective[x].effectivePeriod Period
MedicationAdministration.performer This element must be supported. This element is included in summaries. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.performer.actor This element is included in summaries. 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.dosage This element must be supported. C 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
MedicationAdministration.dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationAdministration.dosage.dose This element must be supported. C 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
Constraints: sqty-1
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Dose quantity per unit of time
MedicationAdministration.dosage.rate[x].rateRatio Ratio
MedicationAdministration.dosage.rate[x].rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base example SNOMED CT Reason Medication Not Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration If 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration If 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-5 error MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
sqty-1 error MedicationAdministration.dosage.dose The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
MedicationAdministration.Slices for medication[x] 1..1 CodeableConcept, Reference(Medication) What was administered
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.effective[x] This element must be supported. 1..1 dateTime, Period Start and end time of administration
MedicationAdministration.performer This element must be supported. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.actor 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.dosage This element must be supported. 0..1 BackboneElement Details of how medication was taken
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
MedicationAdministration.dosage.dose This element must be supported. 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Ratio, SimpleQuantity(4.0.1) Dose quantity per unit of time

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.id This element is included in summaries. 0..1 id Logical id of this artifact
MedicationAdministration.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MedicationAdministration.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationAdministration.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MedicationAdministration.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationAdministration.contained 0..* Resource Contained, inline Resources
MedicationAdministration.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationAdministration.identifier 0..* Identifier External identifier
MedicationAdministration.instantiates This element is included in summaries. 0..* uri Instantiates protocol or definition
MedicationAdministration.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | Procedure) Part of referenced event
MedicationAdministration.status This element is a modifier element. This element is included in summaries. 1..1 code in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
MedicationAdministration.category 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
MedicationAdministration.Slices for medication[x] This element is included in summaries. 1..1 What was administered
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medicationCodeableConcept CodeableConcept
MedicationAdministration.Slices for medication[x].medicationReference Reference(Medication)
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference This element is included in summaries. 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject This element is included in summaries. 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.context This element must be supported. 1..1 Reference(在宅急症-就診基礎) Encounter or Episode of Care administered as part of
MedicationAdministration.supportingInformation 0..* Reference(Resource) Additional information to support administration
MedicationAdministration.effective[x] This element must be supported. This element is included in summaries. 1..1 Start and end time of administration
MedicationAdministration.effective[x].effectiveDateTime dateTime
MedicationAdministration.effective[x].effectivePeriod Period
MedicationAdministration.performer This element must be supported. This element is included in summaries. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.id 0..1 string Unique id for inter-element referencing
MedicationAdministration.performer.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.performer.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.performer.function 0..1 CodeableConcept Type of performance
Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
MedicationAdministration.performer.actor This element is included in summaries. 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.reasonCode 0..* CodeableConcept Reason administration performed
Binding: ReasonMedicationGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration was made.
MedicationAdministration.reasonReference 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication was administered
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.device 0..* Reference(Device) Device used to administer
MedicationAdministration.note 0..* Annotation Information about the administration
MedicationAdministration.dosage This element must be supported. C 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
MedicationAdministration.dosage.id 0..1 string Unique id for inter-element referencing
MedicationAdministration.dosage.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.dosage.text 0..1 string Free text dosage instructions e.g. SIG
MedicationAdministration.dosage.site 0..1 CodeableConcept Body site administered to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationAdministration.dosage.method 0..1 CodeableConcept How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
MedicationAdministration.dosage.dose This element must be supported. C 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
Constraints: sqty-1
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Dose quantity per unit of time
MedicationAdministration.dosage.rate[x].rateRatio Ratio
MedicationAdministration.dosage.rate[x].rateQuantity Quantity(SimpleQuantity)
MedicationAdministration.eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base example SNOMED CT Reason Medication Not Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​category Base preferred Medication administration category codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​performer.function Base example Medication administration performer function codes 📍4.0.1 FHIR Std.
MedicationAdministration.​reasonCode Base example Reason Medication Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration If 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration If 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-5 error MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
sqty-1 error MedicationAdministration.dosage.dose The comparator is not used on a SimpleQuantity comparator.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationAdministration.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationAdministration.status This element is a modifier element. This element is included in summaries. 1..1 code in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
MedicationAdministration.Slices for medication[x] This element is included in summaries. 1..1 What was administered
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medicationCodeableConcept CodeableConcept
MedicationAdministration.Slices for medication[x].medicationReference Reference(Medication)
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference This element is included in summaries. 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject This element is included in summaries. 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.context This element must be supported. 1..1 Reference(在宅急症-就診基礎) Encounter or Episode of Care administered as part of
MedicationAdministration.effective[x] This element must be supported. This element is included in summaries. 1..1 Start and end time of administration
MedicationAdministration.effective[x].effectiveDateTime dateTime
MedicationAdministration.effective[x].effectivePeriod Period
MedicationAdministration.performer This element must be supported. This element is included in summaries. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.performer.actor This element is included in summaries. 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.dosage This element must be supported. C 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
MedicationAdministration.dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationAdministration.dosage.dose This element must be supported. C 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
Constraints: sqty-1
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Dose quantity per unit of time
MedicationAdministration.dosage.rate[x].rateRatio Ratio
MedicationAdministration.dosage.rate[x].rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base example SNOMED CT Reason Medication Not Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration If 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration If 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-5 error MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
sqty-1 error MedicationAdministration.dosage.dose The comparator is not used on a SimpleQuantity comparator.empty()

Differential View

This structure is derived from MedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
MedicationAdministration.Slices for medication[x] 1..1 CodeableConcept, Reference(Medication) What was administered
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.context This element must be supported. 1..1 Reference(在宅急症-就診基礎) Encounter or Episode of Care administered as part of
MedicationAdministration.effective[x] This element must be supported. 1..1 dateTime, Period Start and end time of administration
MedicationAdministration.performer This element must be supported. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.actor 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.dosage This element must be supported. 0..1 BackboneElement Details of how medication was taken
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
MedicationAdministration.dosage.dose This element must be supported. 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Ratio, SimpleQuantity(4.0.1) Dose quantity per unit of time

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationAdministration C 0..* MedicationAdministration Administration of medication to a patient
Constraints: hah-medication-dose, hah-medication-status-reason
MedicationAdministration.id This element is included in summaries. 0..1 id Logical id of this artifact
MedicationAdministration.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MedicationAdministration.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationAdministration.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MedicationAdministration.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationAdministration.contained 0..* Resource Contained, inline Resources
MedicationAdministration.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationAdministration.identifier 0..* Identifier External identifier
MedicationAdministration.instantiates This element is included in summaries. 0..* uri Instantiates protocol or definition
MedicationAdministration.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | Procedure) Part of referenced event
MedicationAdministration.status This element is a modifier element. This element is included in summaries. 1..1 code in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
MedicationAdministration.statusReason This element must be supported. 0..* CodeableConcept Reason administration not performed
Binding: SNOMEDCTReasonMedicationNotGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration is negated.
MedicationAdministration.category 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
MedicationAdministration.Slices for medication[x] This element is included in summaries. 1..1 What was administered
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): Codes identifying substance or product that can be administered.
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationAdministration.Slices for medication[x].medicationCodeableConcept CodeableConcept
MedicationAdministration.Slices for medication[x].medicationReference Reference(Medication)
MedicationAdministration.Slices for medication[x].medication[x]:medicationReference This element is included in summaries. 0..1 Reference(TW Core Medication) What was administered
MedicationAdministration.subject This element is included in summaries. 1..1 Reference(在宅急症-個案) Who received medication
MedicationAdministration.context This element must be supported. 1..1 Reference(在宅急症-就診基礎) Encounter or Episode of Care administered as part of
MedicationAdministration.supportingInformation 0..* Reference(Resource) Additional information to support administration
MedicationAdministration.effective[x] This element must be supported. This element is included in summaries. 1..1 Start and end time of administration
MedicationAdministration.effective[x].effectiveDateTime dateTime
MedicationAdministration.effective[x].effectivePeriod Period
MedicationAdministration.performer This element must be supported. This element is included in summaries. 1..* BackboneElement Who performed the medication administration and what they did
MedicationAdministration.performer.id 0..1 string Unique id for inter-element referencing
MedicationAdministration.performer.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.performer.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.performer.function 0..1 CodeableConcept Type of performance
Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
MedicationAdministration.performer.actor This element is included in summaries. 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色 | 長期照顧-關係人 | 在宅急症-個案 | 在宅急症-量測設備) Who performed the medication administration
MedicationAdministration.reasonCode 0..* CodeableConcept Reason administration performed
Binding: ReasonMedicationGivenCodes (example): A set of codes indicating the reason why the MedicationAdministration was made.
MedicationAdministration.reasonReference 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication was administered
MedicationAdministration.request This element must be supported. 1..1 Reference(在宅急症-給藥處方) Request administration performed against
MedicationAdministration.device 0..* Reference(Device) Device used to administer
MedicationAdministration.note 0..* Annotation Information about the administration
MedicationAdministration.dosage This element must be supported. C 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
MedicationAdministration.dosage.id 0..1 string Unique id for inter-element referencing
MedicationAdministration.dosage.extension 0..* Extension Additional content defined by implementations
MedicationAdministration.dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationAdministration.dosage.text 0..1 string Free text dosage instructions e.g. SIG
MedicationAdministration.dosage.site 0..1 CodeableConcept Body site administered to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
MedicationAdministration.dosage.route This element must be supported. 0..1 CodeableConcept Path of substance into body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationAdministration.dosage.method 0..1 CodeableConcept How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
MedicationAdministration.dosage.dose This element must be supported. C 0..1 SimpleQuantity(4.0.1) Amount of medication per dose
Constraints: sqty-1
MedicationAdministration.dosage.rate[x] This element must be supported. 0..1 Dose quantity per unit of time
MedicationAdministration.dosage.rate[x].rateRatio Ratio
MedicationAdministration.dosage.rate[x].rateQuantity Quantity(SimpleQuantity)
MedicationAdministration.eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base example SNOMED CT Reason Medication Not Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​category Base preferred Medication administration category codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​performer.function Base example Medication administration performer function codes 📍4.0.1 FHIR Std.
MedicationAdministration.​reasonCode Base example Reason Medication Given Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
MedicationAdministration.​dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration If 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration If 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-5 error MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
hah-medication-dose error MedicationAdministration 已完成或進行中的給藥應記錄途徑及劑量或速率。 (status = 'completed' or status = 'in-progress') implies (dosage.route.exists() and (dosage.dose.exists() or dosage.rate.exists()))
hah-medication-status-reason error MedicationAdministration 未給藥或已停止給藥應填寫原因。 (status = 'not-done' or status = 'stopped') implies statusReason.exists()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
sqty-1 error MedicationAdministration.dosage.dose The comparator is not used on a SimpleQuantity comparator.empty()

 

Other representations of profile: CSV, Excel, Schematron