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

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.0: 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.2.0
Active as of 2024-03-21 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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..1code一個編碼概念,用以指明用藥聲明的當前狀態。
... category 0..1CodeableConceptTW一個編碼概念,用以識別用藥聲明中包含的藥品預期將在哪裡被服用或用藥。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement用藥聲明的對象。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... patient 0..1Patient用藥聲明的某病人。
.... group 0..1Group用藥聲明的某團體/群體。
... context 0..1BackboneElement與此用藥聲明密切相關的就醫事件(Encounter / Episode)。
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... encounter 0..1Encounter與此用藥聲明密切相關的某就醫事件。
.... episodeOfCare 0..1EpisodeOfCare與此用藥聲明密切相關的某照護事件。
... effective 0..1BackboneElement用藥的日期/時間或間隔。
... 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