臺灣健保癌症用藥事前審查實作指引
1.0.9 - ci-build

臺灣健保癌症用藥事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.0.9 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: 檢查報告-DiagnosticReport TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas Version: 1.0.9
Active as of 2025-10-14 Computable Name: DiagnosticReportTWPAS

此檢查報告-DiagnosticReport TWPAS Profile說明本IG如何進一步定義臺灣核心-診斷報告(TW Core DiagnosticReport) 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: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... meta Σ 1..1 Meta Metadata about the resource
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... category Σ 1..1 CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
.... coding Σ 1..1 Coding Code defined by a terminology system
... code ΣC 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... coding Σ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... code Σ 1..1 code Symbol in syntax defined by the system
.... text Σ 0..1 string 檢體種類
... subject Σ 1..1 Reference(病人資訊-Patient TWPAS) The subject of the report - usually, but not always, the patient
... effective[x] SΣ 1..1 dateTime 報告日期,YYYY-MM-DD
... performer SΣ 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... url SΣ 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: http://www.acme.com/logo-small.png
Example General: file://PathologyReport01.pdf
.... title SΣ 0..1 string 檢查報告名稱
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required DiagnosticReportStatus 📍4.0.1 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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 DiagnosticReport 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 DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport 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()
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport DiagnosticReport
... meta 1..1 Meta Metadata about the resource
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
... category 1..1 CodeableConcept Service category
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
.... coding 1..1 Coding Code defined by a terminology system
... code C 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... coding 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
.... text 0..1 string 檢體種類
... effective[x] S 1..1 dateTime 報告日期,YYYY-MM-DD
... performer S 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... contentType S 1..1 code Mime type of the content, with charset etc.
.... url S 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: file://PathologyReport01.pdf
.... title S 0..1 string 檢查報告名稱

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ 0..1 id Logical id of this artifact
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 1..1 CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... code ΣC 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string 檢體種類
... subject Σ 1..1 Reference(病人資訊-Patient TWPAS) The subject of the report - usually, but not always, the patient
... encounter Σ 0..1 Reference(Encounter) Health care event when test ordered
... effective[x] SΣ 1..1 dateTime 報告日期,YYYY-MM-DD
... issued Σ 0..1 instant DateTime this version was made
... performer SΣ 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... resultsInterpreter Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Primary result interpreter
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result 0..* Reference(Observation) Observations
... imagingStudy 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
... media Σ 0..* BackboneElement Key images associated with this report
.... 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
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link Σ 1..1 Reference(Media) Reference to the image source
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
.... data 0..1 base64Binary Data inline, base64ed
.... url SΣ 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: http://www.acme.com/logo-small.png
Example General: file://PathologyReport01.pdf
.... size Σ 0..1 unsignedInt Number of bytes of content (if url provided)
.... hash Σ 0..1 base64Binary Hash of the data (sha-1, base64ed)
.... title SΣ 0..1 string 檢查報告名稱
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
DiagnosticReport.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
DiagnosticReport.language Base preferred Common Languages 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required DiagnosticReportStatus 📍4.0.1 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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 DiagnosticReport 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 DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport 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()
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())

This structure is derived from DiagnosticReport

Summary

Mandatory: 11 elements(2 nested mandatory elements)
Must-Support: 7 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... meta Σ 1..1 Meta Metadata about the resource
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... category Σ 1..1 CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
.... coding Σ 1..1 Coding Code defined by a terminology system
... code ΣC 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... coding Σ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... code Σ 1..1 code Symbol in syntax defined by the system
.... text Σ 0..1 string 檢體種類
... subject Σ 1..1 Reference(病人資訊-Patient TWPAS) The subject of the report - usually, but not always, the patient
... effective[x] SΣ 1..1 dateTime 報告日期,YYYY-MM-DD
... performer SΣ 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... url SΣ 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: http://www.acme.com/logo-small.png
Example General: file://PathologyReport01.pdf
.... title SΣ 0..1 string 檢查報告名稱
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required DiagnosticReportStatus 📍4.0.1 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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 DiagnosticReport 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 DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport 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()
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())

Differential View

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport DiagnosticReport
... meta 1..1 Meta Metadata about the resource
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
... category 1..1 CodeableConcept Service category
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
.... coding 1..1 Coding Code defined by a terminology system
... code C 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... coding 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
.... text 0..1 string 檢體種類
... effective[x] S 1..1 dateTime 報告日期,YYYY-MM-DD
... performer S 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... contentType S 1..1 code Mime type of the content, with charset etc.
.... url S 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: file://PathologyReport01.pdf
.... title S 0..1 string 檢查報告名稱

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ 0..1 id Logical id of this artifact
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 1..1 CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: examinationReport
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... code ΣC 1..1 CodeableConcept 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
Binding: LOINC-健保事前審查-報告類型值集 (extensible): 最新參考代碼清單請參考此檔案
Constraints: speType
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string 檢體種類
... subject Σ 1..1 Reference(病人資訊-Patient TWPAS) The subject of the report - usually, but not always, the patient
... encounter Σ 0..1 Reference(Encounter) Health care event when test ordered
... effective[x] SΣ 1..1 dateTime 報告日期,YYYY-MM-DD
... issued Σ 0..1 instant DateTime this version was made
... performer SΣ 1..1 Reference(醫事人員-Practitioner TWPAS) 檢查報告醫師
... resultsInterpreter Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Primary result interpreter
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result 0..* Reference(Observation) Observations
... imagingStudy 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
... media Σ 0..* BackboneElement Key images associated with this report
.... 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
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link Σ 1..1 Reference(Media) Reference to the image source
... conclusion S 1..1 string 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm SC 0..* Attachment 報告結果-MIMEType
Constraints: UploadContent
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
.... data 0..1 base64Binary Data inline, base64ed
.... url SΣ 1..1 url 檢查報告(請填寫完整檔案路徑)
Example General: http://www.acme.com/logo-small.png
Example General: file://PathologyReport01.pdf
.... size Σ 0..1 unsignedInt Number of bytes of content (if url provided)
.... hash Σ 0..1 base64Binary Hash of the data (sha-1, base64ed)
.... title SΣ 0..1 string 檢查報告名稱
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
DiagnosticReport.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
DiagnosticReport.language Base preferred Common Languages 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required DiagnosticReportStatus 📍4.0.1 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base extensible LOINC-健保事前審查-報告類型值集 📦1.0.9 This IG
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error DiagnosticReport.presentedForm 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()()-]+.[a-zA-Z]{2,5}$')
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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 DiagnosticReport 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 DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport 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()
speType error DiagnosticReport.code 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填 (coding.exists(code='47526-9')) implies (text.exists())

This structure is derived from DiagnosticReport

Summary

Mandatory: 11 elements(2 nested mandatory elements)
Must-Support: 7 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron