HL7 FHIR Implementation Guide: Taiwan Common Oncology Data Elements IG Release 0.1.0 - TW | STU1
0.1.0 - ci-build

HL7 FHIR Implementation Guide: Taiwan Common Oncology Data Elements IG Release 0.1.0 - TW | STU1 - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: VGHDiagnosticReportProfile

Official URL: https://mcode.dicom.org.tw/StructureDefinition/VGHDiagnosticReportProfile | Version: 0.1.0
Active as of 2024-07-02 | Computable Name: VGHDiagnosticReportProfile

診斷報告資源

Usage:

- This Resource Profile is not used by any profiles in this Implementation Guide

### Formal Views of Profile Content

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

- Differential Table
- Key Elements Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from DiagnosticReport

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
identifier |  |  |  |
type |  |  |  |
coding |  |  |  |
system |  | 1..1 | uri | 標識符類型系統，為必填
code |  | 1..1 | code | 標識符類型編碼，為必填
system |  | 1..1 | uri | 標識符系統，為必填
value |  | 1..1 | string | 標識符值，為必填
status |  | 1..1 | code | 將狀態設為最終 Required Pattern: final
category |  | 0..1 | CodeableConcept | 診斷報告的類別，可以為空
coding |  |  |  |
code |  | 0..1 | code | 類別編碼，可以為空
code |  | 1..1 | CodeableConcept | 診斷報告的代碼，為必填
text |  | 1..1 | string | 代碼描述文字，為必填
subject |  | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
Slices for effective[x] |  | 0..1 | dateTime, Period | 診斷報告的生效時間，可以為空 Slice: Unordered, Open by type:$this
effective[x]:effectiveDateTime |  | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod |  | 0..1 | Period | 生效的期間，可以為空
issued |  | 0..1 | instant | 診斷報告的發布時間，可以為空
conclusion |  | 0..1 | string | 診斷報告的結論，可以為空
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
contentType |  | 1..1 | code | 呈現形式的內容類型，為必填
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
title |  | 0..1 | string | 呈現形式的標題，可以為空
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!Σ | 1..1 | code | 將狀態設為最終 Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | Σ | 0..1 | CodeableConcept | 診斷報告的類別，可以為空 Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
code | Σ | 1..1 | CodeableConcept | 診斷報告的代碼，為必填 Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
text | Σ | 1..1 | string | 代碼描述文字，為必填
subject | Σ | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
Slices for effective[x] | Σ | 0..1 |  | 診斷報告的生效時間，可以為空 Slice: Unordered, Closed by type:$this
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effective[x]:effectiveDateTime | Σ | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod | Σ | 0..1 | Period | 生效的期間，可以為空
issued | Σ | 0..1 | instant | 診斷報告的發布時間，可以為空
conclusion |  | 0..1 | string | 診斷報告的結論，可以為空
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
contentType | Σ | 1..1 | code | 呈現形式的內容類型，為必填 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
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
title | Σ | 0..1 | string | 呈現形式的標題，可以為空 Example General: Official Corporate Logo
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
DiagnosticReport.status | required | Pattern: final `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.presentedForm.contentType | required | Mime Types (a valid code from `urn:ietf:bcp:13`) `http://hl7.org/fhir/ValueSet/mimetypes|4.0.1` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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() |

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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 | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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 | Σ | 0..* | 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 | 標識符類型系統，為必填
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | 標識符類型編碼，為必填
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
system | Σ | 1..1 | uri | 標識符系統，為必填 Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | 標識符值，為必填 Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | 將狀態設為最終 Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | Σ | 0..1 | CodeableConcept | 診斷報告的類別，可以為空 Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
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 | Σ | 0..* | 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 | Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | 類別編碼，可以為空
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
code | Σ | 1..1 | CodeableConcept | 診斷報告的代碼，為必填 Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
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 | Σ | 0..* | Coding | Code defined by a terminology system
text | Σ | 1..1 | string | 代碼描述文字，為必填
subject | Σ | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
Slices for effective[x] | Σ | 0..1 |  | 診斷報告的生效時間，可以為空 Slice: Unordered, Closed by type:$this
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effective[x]:effectiveDateTime | Σ | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod | Σ | 0..1 | Period | 生效的期間，可以為空
issued | Σ | 0..1 | instant | 診斷報告的發布時間，可以為空
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
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 |  | 0..1 | string | 診斷報告的結論，可以為空
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
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 | Σ | 1..1 | code | 呈現形式的內容類型，為必填 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 Bindings | Purpose
AllLanguages | Max Binding
Example General: en-AU
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | 呈現形式的標題，可以為空 Example General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
DiagnosticReport.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
DiagnosticReport.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
DiagnosticReport.identifier.type | extensible | Identifier Type Codes `http://hl7.org/fhir/ValueSet/identifier-type` from the FHIR Standard
DiagnosticReport.status | required | Pattern: final `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindings `http://hl7.org/fhir/ValueSet/clinical-findings` from the FHIR Standard
DiagnosticReport.presentedForm.contentType | required | Mime Types (a valid code from `urn:ietf:bcp:13`) `http://hl7.org/fhir/ValueSet/mimetypes|4.0.1` from the FHIR Standard
DiagnosticReport.presentedForm.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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() |

This structure is derived from DiagnosticReport

Summary

Mandatory: 2 elements (6 nested mandatory elements)

Slices

This structure defines the following Slices:

- The element DiagnosticReport.effective[x] is sliced based on the value of type:$this

Differential View

This structure is derived from DiagnosticReport

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
identifier |  |  |  |
type |  |  |  |
coding |  |  |  |
system |  | 1..1 | uri | 標識符類型系統，為必填
code |  | 1..1 | code | 標識符類型編碼，為必填
system |  | 1..1 | uri | 標識符系統，為必填
value |  | 1..1 | string | 標識符值，為必填
status |  | 1..1 | code | 將狀態設為最終 Required Pattern: final
category |  | 0..1 | CodeableConcept | 診斷報告的類別，可以為空
coding |  |  |  |
code |  | 0..1 | code | 類別編碼，可以為空
code |  | 1..1 | CodeableConcept | 診斷報告的代碼，為必填
text |  | 1..1 | string | 代碼描述文字，為必填
subject |  | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
Slices for effective[x] |  | 0..1 | dateTime, Period | 診斷報告的生效時間，可以為空 Slice: Unordered, Open by type:$this
effective[x]:effectiveDateTime |  | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod |  | 0..1 | Period | 生效的期間，可以為空
issued |  | 0..1 | instant | 診斷報告的發布時間，可以為空
conclusion |  | 0..1 | string | 診斷報告的結論，可以為空
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
contentType |  | 1..1 | code | 呈現形式的內容類型，為必填
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
title |  | 0..1 | string | 呈現形式的標題，可以為空
Documentation for this format

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!Σ | 1..1 | code | 將狀態設為最終 Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | Σ | 0..1 | CodeableConcept | 診斷報告的類別，可以為空 Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
code | Σ | 1..1 | CodeableConcept | 診斷報告的代碼，為必填 Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
text | Σ | 1..1 | string | 代碼描述文字，為必填
subject | Σ | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
Slices for effective[x] | Σ | 0..1 |  | 診斷報告的生效時間，可以為空 Slice: Unordered, Closed by type:$this
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effective[x]:effectiveDateTime | Σ | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod | Σ | 0..1 | Period | 生效的期間，可以為空
issued | Σ | 0..1 | instant | 診斷報告的發布時間，可以為空
conclusion |  | 0..1 | string | 診斷報告的結論，可以為空
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
contentType | Σ | 1..1 | code | 呈現形式的內容類型，為必填 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
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
title | Σ | 0..1 | string | 呈現形式的標題，可以為空 Example General: Official Corporate Logo
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
DiagnosticReport.status | required | Pattern: final `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.presentedForm.contentType | required | Mime Types (a valid code from `urn:ietf:bcp:13`) `http://hl7.org/fhir/ValueSet/mimetypes|4.0.1` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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() |

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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 | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | 診斷報告的文本，可以為空
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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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 | Σ | 0..* | 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 | 標識符類型系統，為必填
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | 標識符類型編碼，為必填
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
system | Σ | 1..1 | uri | 標識符系統，為必填 Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | 標識符值，為必填 Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | 將狀態設為最終 Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | Σ | 0..1 | CodeableConcept | 診斷報告的類別，可以為空 Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
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 | Σ | 0..* | 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 | Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | 類別編碼，可以為空
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
code | Σ | 1..1 | CodeableConcept | 診斷報告的代碼，為必填 Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
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 | Σ | 0..* | Coding | Code defined by a terminology system
text | Σ | 1..1 | string | 代碼描述文字，為必填
subject | Σ | 1..1 | Reference(Patient | Group | Device | Location) | 診斷報告的主體，為必填
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
Slices for effective[x] | Σ | 0..1 |  | 診斷報告的生效時間，可以為空 Slice: Unordered, Closed by type:$this
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effective[x]:effectiveDateTime | Σ | 0..1 | dateTime | 生效的日期時間，可以為空
effective[x]:effectivePeriod | Σ | 0..1 | Period | 生效的期間，可以為空
issued | Σ | 0..1 | instant | 診斷報告的發布時間，可以為空
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
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 |  | 0..1 | string | 診斷報告的結論，可以為空
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
presentedForm |  | 0..* | Attachment | 診斷報告的呈現形式，可以有多個
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 | Σ | 1..1 | code | 呈現形式的內容類型，為必填 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 Bindings | Purpose
AllLanguages | Max Binding
Example General: en-AU
data |  | 1..1 | base64Binary | 呈現形式的數據，為必填
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | 呈現形式的標題，可以為空 Example General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
DiagnosticReport.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
DiagnosticReport.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
DiagnosticReport.identifier.type | extensible | Identifier Type Codes `http://hl7.org/fhir/ValueSet/identifier-type` from the FHIR Standard
DiagnosticReport.status | required | Pattern: final `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindings `http://hl7.org/fhir/ValueSet/clinical-findings` from the FHIR Standard
DiagnosticReport.presentedForm.contentType | required | Mime Types (a valid code from `urn:ietf:bcp:13`) `http://hl7.org/fhir/ValueSet/mimetypes|4.0.1` from the FHIR Standard
DiagnosticReport.presentedForm.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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() |

This structure is derived from DiagnosticReport

Summary

Mandatory: 2 elements (6 nested mandatory elements)

Slices

This structure defines the following Slices:

- The element DiagnosticReport.effective[x] is sliced based on the value of type:$this

Other representations of profile: CSV, Excel, Schematron