臺灣核心實作指引(TW Core IG)
0.3.1 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.3.1: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationStatement Version: 0.3.1
Active as of 2024-10-22 Computable Name: TWMedicationStatementModel

臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format

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 Base

Summary

Mandatory: 0 element(3 nested mandatory elements)

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationStatement 0..* Base 臺灣核心-用藥聲明(TW Core MedicationStatement) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 用藥聲明的外部識別碼。
... status 1..1 code 一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1 CodeableConceptTW 一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... medication 0..1 Medication 藥品的定義。
.... code 0..1 CodeableConcept 服用的藥品。
... subject 1..1 BackboneElement 用藥聲明的對象。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 用藥聲明的某病人。
.... group 0..1 Group 用藥聲明的某團體/群體。
... context 0..1 BackboneElement 與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... encounter 0..1 Encounter 與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1 EpisodeOfCare 與此用藥聲明密切相關的某照護事件。
... effective 0..1 BackboneElement 用藥的日期/時間或間隔。
... dosage 0..* Dosage 藥品現在如何被/曾經被服用或應該如何服用的細節。

doco Documentation for this format

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 Base

Summary

Mandatory: 0 element(3 nested mandatory elements)

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel