臺灣社政領域基礎實作指引
0.0.1 - ci-build

臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions

Resource Profile: 補助資格或補助案件-Coverage TWSS Base

Official URL: https://sfaa.gov.tw/base/StructureDefinition/Coverage-twss-base Version: 0.0.1
Draft as of 2026-08-10 Computable Name: CoverageTWSSBase

補助資格或補助案件-Coverage TWSS Base Profile 表達社家署業務中的補助或給付資格。本 Profile 因社福補助語境與 TWSS Base 的 reference target 需求與 TW Core Coverage 0.3.2 限制不同,故繼承原生 Coverage,並沿用相容的 TW Core 0.3.2 規則。

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: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... type SΣ 0..1 CodeableConceptTW 福利身分別、補助資格或給付資格類型。
Binding: TWSS-FHIR Coverage Type與福利身分別值集 (extensible): Coverage.type 優先採用 FHIR Coverage Type and Self-Pay Codes;若需表達社家署福利身分別,可使用 TWSS 福利身分別代碼。
... policyHolder SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId SΣ 0..1 string ID assigned to the subscriber
... beneficiary SΣ 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
Binding: SubscriberRelationshipCodes (extensible): The relationship between the Subscriber and the Beneficiary (insured/covered party/patient).
... period SΣ 0..1 Period Coverage start and end dates
... payor SΣ 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Type of class such as 'group' or 'plan'
Binding: CoverageClassCodes (extensible): The policy classifications, eg. Group, Plan, Class, etc.
.... value Σ 1..1 string Value associated with the type
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... value[x] Σ 1..1 The amount or percentage due from the beneficiary
..... valueQuantity Quantity(SimpleQuantity)
..... valueMoney Money

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Coverage.status Base required Financial Resource Status Codes 📍4.0.1 FHIR Std.
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG
Coverage.relationship Base extensible SubscriberPolicyholder Relationship Codes 📍4.0.1 FHIR Std.
Coverage.class.type Base extensible Coverage Class Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Coverage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Coverage 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 Coverage 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 Coverage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Coverage 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 Coverage

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... identifier S 0..* Identifier Business Identifier for the coverage
... status S 1..1 code active | cancelled | draft | entered-in-error
... policyHolder S 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber S 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId S 0..1 string ID assigned to the subscriber
... beneficiary S 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
... period S 0..1 Period Coverage start and end dates
... payor S 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Business Identifier for the coverage
... status ?!SΣ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... type SΣ 0..1 CodeableConceptTW 福利身分別、補助資格或給付資格類型。
Binding: TWSS-FHIR Coverage Type與福利身分別值集 (extensible): Coverage.type 優先採用 FHIR Coverage Type and Self-Pay Codes;若需表達社家署福利身分別,可使用 TWSS 福利身分別代碼。
... policyHolder SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId SΣ 0..1 string ID assigned to the subscriber
... beneficiary SΣ 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... dependent Σ 0..1 string Dependent number
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
Binding: SubscriberRelationshipCodes (extensible): The relationship between the Subscriber and the Beneficiary (insured/covered party/patient).
... period SΣ 0..1 Period Coverage start and end dates
... payor SΣ 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Type of class such as 'group' or 'plan'
Binding: CoverageClassCodes (extensible): The policy classifications, eg. Group, Plan, Class, etc.
.... value Σ 1..1 string Value associated with the type
.... name Σ 0..1 string Human readable description of the type and value
... order Σ 0..1 positiveInt Relative order of the coverage
... network Σ 0..1 string Insurer network
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..1 CodeableConcept Cost category
Binding: CoverageCopayTypeCodes (extensible): The types of services to which patient copayments are specified.
.... value[x] Σ 1..1 The amount or percentage due from the beneficiary
..... valueQuantity Quantity(SimpleQuantity)
..... valueMoney Money
.... exception 0..* BackboneElement Exceptions for patient payments
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type Σ 1..1 CodeableConcept Exception category
Binding: ExampleCoverageFinancialExceptionCodes (example): The types of exceptions from the part or full value of financial obligations such as copays.
..... period Σ 0..1 Period The effective period of the exception
... subrogation 0..1 boolean Reimbursement to insurer
... contract 0..* Reference(Contract) Contract details

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Coverage.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Coverage.status Base required Financial Resource Status Codes 📍4.0.1 FHIR Std.
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG
Coverage.relationship Base extensible SubscriberPolicyholder Relationship Codes 📍4.0.1 FHIR Std.
Coverage.class.type Base extensible Coverage Class Codes 📍4.0.1 FHIR Std.
Coverage.costToBeneficiary.​type Base extensible Coverage Copay Type Codes 📍4.0.1 FHIR Std.
Coverage.costToBeneficiary.​exception.type Base example Example Coverage Financial Exception Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Coverage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Coverage 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 Coverage 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 Coverage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Coverage 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: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... type SΣ 0..1 CodeableConceptTW 福利身分別、補助資格或給付資格類型。
Binding: TWSS-FHIR Coverage Type與福利身分別值集 (extensible): Coverage.type 優先採用 FHIR Coverage Type and Self-Pay Codes;若需表達社家署福利身分別,可使用 TWSS 福利身分別代碼。
... policyHolder SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId SΣ 0..1 string ID assigned to the subscriber
... beneficiary SΣ 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
Binding: SubscriberRelationshipCodes (extensible): The relationship between the Subscriber and the Beneficiary (insured/covered party/patient).
... period SΣ 0..1 Period Coverage start and end dates
... payor SΣ 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Type of class such as 'group' or 'plan'
Binding: CoverageClassCodes (extensible): The policy classifications, eg. Group, Plan, Class, etc.
.... value Σ 1..1 string Value associated with the type
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... value[x] Σ 1..1 The amount or percentage due from the beneficiary
..... valueQuantity Quantity(SimpleQuantity)
..... valueMoney Money

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Coverage.status Base required Financial Resource Status Codes 📍4.0.1 FHIR Std.
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG
Coverage.relationship Base extensible SubscriberPolicyholder Relationship Codes 📍4.0.1 FHIR Std.
Coverage.class.type Base extensible Coverage Class Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Coverage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Coverage 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 Coverage 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 Coverage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Coverage 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 Coverage

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... identifier S 0..* Identifier Business Identifier for the coverage
... status S 1..1 code active | cancelled | draft | entered-in-error
... policyHolder S 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber S 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId S 0..1 string ID assigned to the subscriber
... beneficiary S 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
... period S 0..1 Period Coverage start and end dates
... payor S 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Coverage 0..* Coverage Insurance or medical plan or a payment agreement
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:aidYear S 0..1 string 補助年度
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-coverage-aid-year
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Business Identifier for the coverage
... status ?!SΣ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... type SΣ 0..1 CodeableConceptTW 福利身分別、補助資格或給付資格類型。
Binding: TWSS-FHIR Coverage Type與福利身分別值集 (extensible): Coverage.type 優先採用 FHIR Coverage Type and Self-Pay Codes;若需表達社家署福利身分別,可使用 TWSS 福利身分別代碼。
... policyHolder SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base | 機構資料-Organization TWSS Base) Owner of the policy
... subscriber SΣ 0..1 Reference(個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Subscriber to the policy
... subscriberId SΣ 0..1 string ID assigned to the subscriber
... beneficiary SΣ 1..1 Reference(個案資料-Patient TWSS Base) Plan beneficiary
... dependent Σ 0..1 string Dependent number
... relationship S 0..1 CodeableConcept Beneficiary relationship to the subscriber
Binding: SubscriberRelationshipCodes (extensible): The relationship between the Subscriber and the Beneficiary (insured/covered party/patient).
... period SΣ 0..1 Period Coverage start and end dates
... payor SΣ 1..* Reference(機構資料-Organization TWSS Base | 個案資料-Patient TWSS Base | 關係人資料-RelatedPerson TWSS Base) Issuer of the policy
... class S 0..* BackboneElement Additional coverage classifications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Type of class such as 'group' or 'plan'
Binding: CoverageClassCodes (extensible): The policy classifications, eg. Group, Plan, Class, etc.
.... value Σ 1..1 string Value associated with the type
.... name Σ 0..1 string Human readable description of the type and value
... order Σ 0..1 positiveInt Relative order of the coverage
... network Σ 0..1 string Insurer network
... costToBeneficiary S 0..* BackboneElement Patient payments for services/products
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..1 CodeableConcept Cost category
Binding: CoverageCopayTypeCodes (extensible): The types of services to which patient copayments are specified.
.... value[x] Σ 1..1 The amount or percentage due from the beneficiary
..... valueQuantity Quantity(SimpleQuantity)
..... valueMoney Money
.... exception 0..* BackboneElement Exceptions for patient payments
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type Σ 1..1 CodeableConcept Exception category
Binding: ExampleCoverageFinancialExceptionCodes (example): The types of exceptions from the part or full value of financial obligations such as copays.
..... period Σ 0..1 Period The effective period of the exception
... subrogation 0..1 boolean Reimbursement to insurer
... contract 0..* Reference(Contract) Contract details

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Coverage.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Coverage.status Base required Financial Resource Status Codes 📍4.0.1 FHIR Std.
Coverage.type Base extensible TWSS-FHIR Coverage Type與福利身分別值集 📦0.0.1 This IG
Coverage.relationship Base extensible SubscriberPolicyholder Relationship Codes 📍4.0.1 FHIR Std.
Coverage.class.type Base extensible Coverage Class Codes 📍4.0.1 FHIR Std.
Coverage.costToBeneficiary.​type Base extensible Coverage Copay Type Codes 📍4.0.1 FHIR Std.
Coverage.costToBeneficiary.​exception.type Base example Example Coverage Financial Exception Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Coverage If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Coverage 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 Coverage 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 Coverage If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Coverage 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

Notes:

建議應該支援以下查詢參數:

  1. 建議(SHOULD) 支援透過查詢參數 _id 查詢所有 Coverage: (如何透過 token 查詢)
    GET [base]/Coverage?_id=[id]
    GET [base]/Coverage/[id]

  2. 建議(SHOULD) 支援透過查詢參數 identifier 查詢所有 Coverage: (如何透過 token 查詢)
    GET [base]/Coverage?identifier=[system]|[code]

  3. 建議(SHOULD) 支援透過查詢參數 patient 查詢所有 Coverage: (如何透過 reference 查詢)
    GET [base]/Coverage?patient={Type/}[id]

  4. 建議(SHOULD) 支援透過查詢參數 type 查詢所有 Coverage: (如何透過 token 查詢)
    GET [base]/Coverage?type=[system]|[code]