臺灣健保事前審查實作指引
1.2.8 - ci-build

臺灣健保事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.2.8 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/pas/ and changes regularly. See the Directory of published versions

Resource Profile: 過敏史-AllergyIntolerance TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas Version: 1.2.8
Active as of 2026-10-14 Computable Name: AllergyIntoleranceTWPAS

此過敏史-AllergyIntolerance TWPAS Profile說明本IG如何進一步定義臺灣核心-過敏或不耐症(TW Core AllergyIntolerance)Profile以呈現免疫製劑事前審查之過敏史

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
AllergyIntolerance C 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
Constraints: ait-1, ait-2
AllergyIntolerance.meta This element is included in summaries. 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
AllergyIntolerance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AllergyIntolerance.clinicalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well active | inactive | resolved ,過敏或不耐症的臨床狀態。
Binding: AllergyIntoleranceClinicalStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.verificationStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well unconfirmed | confirmed | refuted | entered-in-error ,一個人對特定物質產生反應的可能性或風險有多確定的陳述。
Binding: AllergyIntoleranceVerificationStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 過敏史,由醫院自行填寫。
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.patient This element must be supported. This element is included in summaries. 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?
AllergyIntolerance.recordedDate This element must be supported. 0..1 dateTime resource實例的第一個版本被記錄的日期
AllergyIntolerance.recorder This element must be supported. 0..1 Reference(醫事人員-Practitioner TWPAS | 病人資訊-Patient TWPAS | TW Core PractitionerRole | TW Core RelatedPerson) 誰記錄了過敏或不耐受
AllergyIntolerance.note This element must be supported. 0..* Annotation 其他欄位中沒有記錄的額外文字陳述
AllergyIntolerance.reaction This element must be supported. 0..* BackboneElement 暴露於此過敏或不耐症物質的不良反應
AllergyIntolerance.reaction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AllergyIntolerance.reaction.manifestation This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 與此事件相關的臨床症狀/體徵
Binding: SNOMEDCTClinicalFindings (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.verificationStatus Base required AllergyIntolerance Verification Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base extensible AllergyIntolerance Substance/Product, Condition and Negation Codes 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base extensible SNOMED CT Clinical Findings 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance 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 AllergyIntolerance 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 AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance 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()

This structure is derived from TWCoreAllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AllergyIntolerance 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
AllergyIntolerance.meta 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.code 1..1 CodeableConceptTW 過敏史,由醫院自行填寫。
AllergyIntolerance.patient 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
AllergyIntolerance C 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
Constraints: ait-1, ait-2
AllergyIntolerance.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的AllergyIntolerance紀錄,通常又稱為邏輯性ID。
AllergyIntolerance.meta This element is included in summaries. 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.id 0..1 string Unique id for inter-element referencing
AllergyIntolerance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AllergyIntolerance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
AllergyIntolerance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
AllergyIntolerance.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
AllergyIntolerance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AllergyIntolerance.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
AllergyIntolerance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
AllergyIntolerance.language 0..1 code 用以表述AllergyIntolerance Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
AllergyIntolerance.text 0..1 Narrative AllergyIntolerance Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
AllergyIntolerance.contained 0..* Resource Contained, inline Resources
AllergyIntolerance.extension 0..* Extension Additional content defined by implementations
AllergyIntolerance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AllergyIntolerance.identifier This element is included in summaries. 0..* Identifier 過敏或不耐症之外部識別碼
AllergyIntolerance.clinicalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well active | inactive | resolved ,過敏或不耐症的臨床狀態。
Binding: AllergyIntoleranceClinicalStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.verificationStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well unconfirmed | confirmed | refuted | entered-in-error ,一個人對特定物質產生反應的可能性或風險有多確定的陳述。
Binding: AllergyIntoleranceVerificationStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.type This element is included in summaries. 0..1 code allergy | intolerance - 根本原因或運作機制(如果知道)。
Binding: AllergyIntoleranceType (required): 確定反應風險的基本生理機制;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.category This element is included in summaries. 0..* code food | medication | environment | biologic
Binding: AllergyIntoleranceCategory (required): 確定的物質的類別;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.criticality This element is included in summaries. 0..1 code low | high | unable-to-assess
Binding: AllergyIntoleranceCriticality (required): 對已識別物質的反應的潛在臨床危害程度,或稱嚴重性估計;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 過敏史,由醫院自行填寫。
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.patient This element must be supported. This element is included in summaries. 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?
AllergyIntolerance.encounter 0..1 Reference(TW Core Encounter) 過敏或不耐症被確認時的就醫事件(Encounter)
AllergyIntolerance.onset[x] 0..1 過敏或不耐症被識別的時間
AllergyIntolerance.onset[x].onsetDateTime dateTime
AllergyIntolerance.onset[x].onsetAge Age
AllergyIntolerance.onset[x].onsetPeriod Period
AllergyIntolerance.onset[x].onsetRange Range
AllergyIntolerance.onset[x].onsetString string
AllergyIntolerance.recordedDate This element must be supported. 0..1 dateTime resource實例的第一個版本被記錄的日期
AllergyIntolerance.recorder This element must be supported. 0..1 Reference(醫事人員-Practitioner TWPAS | 病人資訊-Patient TWPAS | TW Core PractitionerRole | TW Core RelatedPerson) 誰記錄了過敏或不耐受
AllergyIntolerance.asserter This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core RelatedPerson | TW Core Practitioner | TW Core PractitionerRole) 關於過敏的資訊來源
AllergyIntolerance.lastOccurrence 0..1 dateTime 最後一次已知反應發生的日期(/時間)
AllergyIntolerance.note This element must be supported. 0..* Annotation 其他欄位中沒有記錄的額外文字陳述
AllergyIntolerance.reaction This element must be supported. 0..* BackboneElement 暴露於此過敏或不耐症物質的不良反應
AllergyIntolerance.reaction.id 0..1 string Unique id for inter-element referencing
AllergyIntolerance.reaction.extension 0..* Extension Additional content defined by implementations
AllergyIntolerance.reaction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AllergyIntolerance.reaction.substance 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 被認為是事件原因的特定物質或醫藥產品
Binding: SubstanceCode (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.manifestation This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 與此事件相關的臨床症狀/體徵
Binding: SNOMEDCTClinicalFindings (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.description 0..1 string 對整個活動的描述
AllergyIntolerance.reaction.onset 0..1 dateTime 症狀顯現的日期(/時間)
AllergyIntolerance.reaction.severity 0..1 code mild | moderate | severe
Binding: AllergyIntoleranceSeverity (required): 整個事件的程度,應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.reaction.exposureRoute 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此對象如何接觸到該物質
Binding: SNOMEDCTRouteCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.note 0..* Annotation 其他資料項目未記錄之關於事件的文字表述

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
AllergyIntolerance.language Base preferred Common Languages 📦4.0.1 FHIR Std.
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.verificationStatus Base required AllergyIntolerance Verification Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.criticality Base required AllergyIntoleranceCriticality 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base extensible AllergyIntolerance Substance/Product, Condition and Negation Codes 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​substance Base extensible Substance Code 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base extensible SNOMED CT Clinical Findings 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​severity Base required AllergyIntoleranceSeverity 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​exposureRoute Base extensible SNOMED CT Route Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance 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 AllergyIntolerance 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 AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance 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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AllergyIntolerance C 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
Constraints: ait-1, ait-2
AllergyIntolerance.meta This element is included in summaries. 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
AllergyIntolerance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AllergyIntolerance.clinicalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well active | inactive | resolved ,過敏或不耐症的臨床狀態。
Binding: AllergyIntoleranceClinicalStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.verificationStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well unconfirmed | confirmed | refuted | entered-in-error ,一個人對特定物質產生反應的可能性或風險有多確定的陳述。
Binding: AllergyIntoleranceVerificationStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 過敏史,由醫院自行填寫。
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.patient This element must be supported. This element is included in summaries. 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?
AllergyIntolerance.recordedDate This element must be supported. 0..1 dateTime resource實例的第一個版本被記錄的日期
AllergyIntolerance.recorder This element must be supported. 0..1 Reference(醫事人員-Practitioner TWPAS | 病人資訊-Patient TWPAS | TW Core PractitionerRole | TW Core RelatedPerson) 誰記錄了過敏或不耐受
AllergyIntolerance.note This element must be supported. 0..* Annotation 其他欄位中沒有記錄的額外文字陳述
AllergyIntolerance.reaction This element must be supported. 0..* BackboneElement 暴露於此過敏或不耐症物質的不良反應
AllergyIntolerance.reaction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AllergyIntolerance.reaction.manifestation This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 與此事件相關的臨床症狀/體徵
Binding: SNOMEDCTClinicalFindings (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.verificationStatus Base required AllergyIntolerance Verification Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base extensible AllergyIntolerance Substance/Product, Condition and Negation Codes 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base extensible SNOMED CT Clinical Findings 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance 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 AllergyIntolerance 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 AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance 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()

Differential View

This structure is derived from TWCoreAllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AllergyIntolerance 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
AllergyIntolerance.meta 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.code 1..1 CodeableConceptTW 過敏史,由醫院自行填寫。
AllergyIntolerance.patient 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?
AllergyIntolerance.recorder 0..1 Reference(醫事人員-Practitioner TWPAS | 病人資訊-Patient TWPAS | TW Core PractitionerRole | TW Core RelatedPerson) 誰記錄了過敏或不耐受

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AllergyIntolerance C 0..* TWCoreAllergyIntolerance 過敏或不耐症(通常指:對某種物質有不良反應的風險)
Constraints: ait-1, ait-2
AllergyIntolerance.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的AllergyIntolerance紀錄,通常又稱為邏輯性ID。
AllergyIntolerance.meta This element is included in summaries. 1..1 Meta 此AllergyIntolerance Resource的metadata
AllergyIntolerance.meta.id 0..1 string Unique id for inter-element referencing
AllergyIntolerance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AllergyIntolerance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
AllergyIntolerance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
AllergyIntolerance.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
AllergyIntolerance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/AllergyIntolerance-twpas
AllergyIntolerance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AllergyIntolerance.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
AllergyIntolerance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
AllergyIntolerance.language 0..1 code 用以表述AllergyIntolerance Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
AllergyIntolerance.text 0..1 Narrative AllergyIntolerance Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
AllergyIntolerance.contained 0..* Resource Contained, inline Resources
AllergyIntolerance.extension 0..* Extension Additional content defined by implementations
AllergyIntolerance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AllergyIntolerance.identifier This element is included in summaries. 0..* Identifier 過敏或不耐症之外部識別碼
AllergyIntolerance.clinicalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well active | inactive | resolved ,過敏或不耐症的臨床狀態。
Binding: AllergyIntoleranceClinicalStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.verificationStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well unconfirmed | confirmed | refuted | entered-in-error ,一個人對特定物質產生反應的可能性或風險有多確定的陳述。
Binding: AllergyIntoleranceVerificationStatusCodes (required): 應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.type This element is included in summaries. 0..1 code allergy | intolerance - 根本原因或運作機制(如果知道)。
Binding: AllergyIntoleranceType (required): 確定反應風險的基本生理機制;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.category This element is included in summaries. 0..* code food | medication | environment | biologic
Binding: AllergyIntoleranceCategory (required): 確定的物質的類別;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.criticality This element is included in summaries. 0..1 code low | high | unable-to-assess
Binding: AllergyIntoleranceCriticality (required): 對已識別物質的反應的潛在臨床危害程度,或稱嚴重性估計;應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 過敏史,由醫院自行填寫。
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.patient This element must be supported. This element is included in summaries. 1..1 Reference(病人資訊-Patient TWPAS) 誰有此過敏或不耐受?
AllergyIntolerance.encounter 0..1 Reference(TW Core Encounter) 過敏或不耐症被確認時的就醫事件(Encounter)
AllergyIntolerance.onset[x] 0..1 過敏或不耐症被識別的時間
AllergyIntolerance.onset[x].onsetDateTime dateTime
AllergyIntolerance.onset[x].onsetAge Age
AllergyIntolerance.onset[x].onsetPeriod Period
AllergyIntolerance.onset[x].onsetRange Range
AllergyIntolerance.onset[x].onsetString string
AllergyIntolerance.recordedDate This element must be supported. 0..1 dateTime resource實例的第一個版本被記錄的日期
AllergyIntolerance.recorder This element must be supported. 0..1 Reference(醫事人員-Practitioner TWPAS | 病人資訊-Patient TWPAS | TW Core PractitionerRole | TW Core RelatedPerson) 誰記錄了過敏或不耐受
AllergyIntolerance.asserter This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core RelatedPerson | TW Core Practitioner | TW Core PractitionerRole) 關於過敏的資訊來源
AllergyIntolerance.lastOccurrence 0..1 dateTime 最後一次已知反應發生的日期(/時間)
AllergyIntolerance.note This element must be supported. 0..* Annotation 其他欄位中沒有記錄的額外文字陳述
AllergyIntolerance.reaction This element must be supported. 0..* BackboneElement 暴露於此過敏或不耐症物質的不良反應
AllergyIntolerance.reaction.id 0..1 string Unique id for inter-element referencing
AllergyIntolerance.reaction.extension 0..* Extension Additional content defined by implementations
AllergyIntolerance.reaction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AllergyIntolerance.reaction.substance 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 被認為是事件原因的特定物質或醫藥產品
Binding: SubstanceCode (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.manifestation This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 與此事件相關的臨床症狀/體徵
Binding: SNOMEDCTClinicalFindings (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.description 0..1 string 對整個活動的描述
AllergyIntolerance.reaction.onset 0..1 dateTime 症狀顯現的日期(/時間)
AllergyIntolerance.reaction.severity 0..1 code mild | moderate | severe
Binding: AllergyIntoleranceSeverity (required): 整個事件的程度,應填入所綁定值集中的其中一個代碼。
AllergyIntolerance.reaction.exposureRoute 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此對象如何接觸到該物質
Binding: SNOMEDCTRouteCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
AllergyIntolerance.reaction.note 0..* Annotation 其他資料項目未記錄之關於事件的文字表述

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
AllergyIntolerance.language Base preferred Common Languages 📦4.0.1 FHIR Std.
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.verificationStatus Base required AllergyIntolerance Verification Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.criticality Base required AllergyIntoleranceCriticality 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base extensible AllergyIntolerance Substance/Product, Condition and Negation Codes 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​substance Base extensible Substance Code 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base extensible SNOMED CT Clinical Findings 📦4.0.1 FHIR Std.
AllergyIntolerance.reaction.​severity Base required AllergyIntoleranceSeverity 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​exposureRoute Base extensible SNOMED CT Route Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance 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 AllergyIntolerance 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 AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance 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()

 

Other representations of profile: CSV, Excel, Schematron