NGS IG
0.1.0 - ci-build

NGS IG - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 基因定序檢測報告-DiagnosticReport TWNGS

Official URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/DiagnosticReport-twngs Version: 0.1.0
Draft as of 2025-01-13 Computable Name: DiagnosticReportTWNGS

此基因定序檢測報告-DiagnosticReport TWNGSS Profile說明本IG如何進一步定義FHIR的DiagnosticReport Resource以呈現健保次世代基因定序檢測報告

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension N 1..* Extension 疾病資訊
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:condition SN 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Optional Extensions Element
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.


ele-1: All FHIR elements must have a @value or children
... code ΣN 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.


ele-1: All FHIR elements must have a @value or children
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: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
... subject ΣCN 0..1 Reference(病人資訊-Patient TWNGS) 病人資訊
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for effective[x] ΣN 1..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣN 1..1 dateTime 費用年月
ele-1: All FHIR elements must have a @value or children
... performer ΣCN 1..* Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... result CN 1..* Reference(基因資訊-Observation TWNGS) 基因資訊
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1
from the FHIR Standard
DiagnosticReport.codepreferredPattern: LOINC Code 51969-4("Genetic analysis report")
http://hl7.org/fhir/ValueSet/report-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorDiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.resultSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport DiagnosticReport
... extension 1.. 疾病資訊
... Slices for extension Content/Rules for all slices
.... extension:condition S 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Extension
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
... basedOn S 1.. Reference(基因定序檢測申請項目-ServiceRequest TWNGS) 基因定序檢測申請項目
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
... subject Reference(病人資訊-Patient TWNGS) 病人資訊
... Slices for effective[x] 1.. Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 1.. dateTime 費用年月
... performer 1.. Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
... result 1.. Reference(基因資訊-Observation TWNGS) 基因資訊

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ 0..1 string Logical id of this artifact
... meta ΣN 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text N 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 1..* Extension 疾病資訊
Slice: Unordered, Open by value:url
.... extension:condition SN 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Optional Extensions Element
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier ΣN 0..* Identifier Business identifier for report
... basedOn SCN 1..* Reference(基因定序檢測申請項目-ServiceRequest TWNGS) 基因定序檢測申請項目
ref-1: SHALL have a contained resource if a local reference is provided
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.

... category ΣN 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.


... code ΣN 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.


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: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject ΣCN 0..1 Reference(病人資訊-Patient TWNGS) 病人資訊
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣCN 0..1 Reference(Encounter) Health care event when test ordered
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for effective[x] ΣN 1..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣN 1..1 dateTime 費用年月
... issued Σ 0..1 instant DateTime this version was made
... performer ΣCN 1..* Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
ref-1: SHALL have a contained resource if a local reference is provided
... resultsInterpreter ΣCN 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Primary result interpreter
ref-1: SHALL have a contained resource if a local reference is provided
... specimen CN 0..* Reference(Specimen) Specimens this report is based on
ref-1: SHALL have a contained resource if a local reference is provided
... result CN 1..* Reference(基因資訊-Observation TWNGS) 基因資訊
ref-1: SHALL have a contained resource if a local reference is provided
... imagingStudy CN 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
ref-1: SHALL have a contained resource if a local reference is provided
... media ΣN 0..* BackboneElement Key images associated with this report
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link ΣCN 1..1 Reference(Media) Reference to the image source
ref-1: SHALL have a contained resource if a local reference is provided
... conclusion 0..1 string Clinical conclusion (interpretation) of test results
... conclusionCode N 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.


... presentedForm CN 0..* Attachment Entire report as issued
att-1: If the Attachment has data, it SHALL have a contentType

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1
from the FHIR Standard
DiagnosticReport.categoryexampleDiagnosticServiceSectionCodes
http://hl7.org/fhir/ValueSet/diagnostic-service-sections
from the FHIR Standard
DiagnosticReport.codepreferredPattern: LOINC Code 51969-4("Genetic analysis report")
http://hl7.org/fhir/ValueSet/report-codes
from the FHIR Standard
DiagnosticReport.conclusionCodeexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
att-1errorDiagnosticReport.presentedFormIf the Attachment has data, it SHALL have a contentType
: data.empty() or contentType.exists()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorDiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.encounter, DiagnosticReport.performer, DiagnosticReport.resultsInterpreter, DiagnosticReport.specimen, DiagnosticReport.result, DiagnosticReport.imagingStudy, DiagnosticReport.media.linkSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension N 1..* Extension 疾病資訊
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:condition SN 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Optional Extensions Element
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.


ele-1: All FHIR elements must have a @value or children
... code ΣN 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.


ele-1: All FHIR elements must have a @value or children
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: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
... subject ΣCN 0..1 Reference(病人資訊-Patient TWNGS) 病人資訊
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for effective[x] ΣN 1..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣN 1..1 dateTime 費用年月
ele-1: All FHIR elements must have a @value or children
... performer ΣCN 1..* Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... result CN 1..* Reference(基因資訊-Observation TWNGS) 基因資訊
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1
from the FHIR Standard
DiagnosticReport.codepreferredPattern: LOINC Code 51969-4("Genetic analysis report")
http://hl7.org/fhir/ValueSet/report-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorDiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.resultSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport DiagnosticReport
... extension 1.. 疾病資訊
... Slices for extension Content/Rules for all slices
.... extension:condition S 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Extension
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
... basedOn S 1.. Reference(基因定序檢測申請項目-ServiceRequest TWNGS) 基因定序檢測申請項目
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
... subject Reference(病人資訊-Patient TWNGS) 病人資訊
... Slices for effective[x] 1.. Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 1.. dateTime 費用年月
... performer 1.. Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
... result 1.. Reference(基因資訊-Observation TWNGS) 基因資訊

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ 0..1 string Logical id of this artifact
... meta ΣN 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text N 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 1..* Extension 疾病資訊
Slice: Unordered, Open by value:url
.... extension:condition SN 1..1 Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) Optional Extensions Element
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier ΣN 0..* Identifier Business identifier for report
... basedOn SCN 1..* Reference(基因定序檢測申請項目-ServiceRequest TWNGS) 基因定序檢測申請項目
ref-1: SHALL have a contained resource if a local reference is provided
... status ?!Σ 1..1 code registered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.

... category ΣN 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.


... code ΣN 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.


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: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 51969-4
..... display 1..1 string Representation defined by the system
Fixed Value: Genetic analysis report
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject ΣCN 0..1 Reference(病人資訊-Patient TWNGS) 病人資訊
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣCN 0..1 Reference(Encounter) Health care event when test ordered
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for effective[x] ΣN 1..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣN 1..1 dateTime 費用年月
... issued Σ 0..1 instant DateTime this version was made
... performer ΣCN 1..* Reference(基因檢測機構-Organization Gene TWNGS) 基因檢測機構
ref-1: SHALL have a contained resource if a local reference is provided
... resultsInterpreter ΣCN 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Primary result interpreter
ref-1: SHALL have a contained resource if a local reference is provided
... specimen CN 0..* Reference(Specimen) Specimens this report is based on
ref-1: SHALL have a contained resource if a local reference is provided
... result CN 1..* Reference(基因資訊-Observation TWNGS) 基因資訊
ref-1: SHALL have a contained resource if a local reference is provided
... imagingStudy CN 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
ref-1: SHALL have a contained resource if a local reference is provided
... media ΣN 0..* BackboneElement Key images associated with this report
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link ΣCN 1..1 Reference(Media) Reference to the image source
ref-1: SHALL have a contained resource if a local reference is provided
... conclusion 0..1 string Clinical conclusion (interpretation) of test results
... conclusionCode N 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.


... presentedForm CN 0..* Attachment Entire report as issued
att-1: If the Attachment has data, it SHALL have a contentType

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1
from the FHIR Standard
DiagnosticReport.categoryexampleDiagnosticServiceSectionCodes
http://hl7.org/fhir/ValueSet/diagnostic-service-sections
from the FHIR Standard
DiagnosticReport.codepreferredPattern: LOINC Code 51969-4("Genetic analysis report")
http://hl7.org/fhir/ValueSet/report-codes
from the FHIR Standard
DiagnosticReport.conclusionCodeexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
att-1errorDiagnosticReport.presentedFormIf the Attachment has data, it SHALL have a contentType
: data.empty() or contentType.exists()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorDiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.encounter, DiagnosticReport.performer, DiagnosticReport.resultsInterpreter, DiagnosticReport.specimen, DiagnosticReport.result, DiagnosticReport.imagingStudy, DiagnosticReport.media.linkSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

 

Other representations of profile: CSV, Excel, Schematron