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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
?!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 |
![]() ![]() ![]() |
SCN | 1..* | Reference(基因定序檢測申請項目-ServiceRequest 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 |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() |
Σ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 | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
SΣN | 1..1 | dateTime | 費用年月 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() |
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 |
![]() |
Path | Conformance | ValueSet / Code | URI |
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1 from the FHIR Standard | |
DiagnosticReport.code | preferred | Pattern: LOINC Code 51969-4("Genetic analysis report")http://hl7.org/fhir/ValueSet/report-codes from the FHIR Standard |
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() | |
ref-1 | error | DiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.result | SHALL 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
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
DiagnosticReport | |||
![]() ![]() ![]() |
1.. | 疾病資訊 | ||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) | Extension URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition |
![]() ![]() ![]() |
S | 1.. | Reference(基因定序檢測申請項目-ServiceRequest TWNGS) | 基因定序檢測申請項目 |
![]() ![]() ![]() |
Required Pattern: At least the following | |||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |
![]() ![]() ![]() |
Reference(病人資訊-Patient TWNGS) | 病人資訊 | ||
![]() ![]() ![]() |
1.. | Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() |
S | 1.. | dateTime | 費用年月 |
![]() ![]() ![]() |
1.. | Reference(基因檢測機構-Organization Gene TWNGS) | 基因檢測機構 | |
![]() ![]() ![]() |
1.. | Reference(基因資訊-Observation TWNGS) | 基因資訊 | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Logical id of this artifact | ||||
![]() ![]() ![]() |
ΣN | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
N | 0..1 | Narrative | Text summary of the resource, for human interpretation | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
N | 1..* | Extension | 疾病資訊 Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
SN | 1..1 | Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) | Optional Extensions Element URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition | ||||
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
ΣN | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() ![]() |
SCN | 1..* | Reference(基因定序檢測申請項目-ServiceRequest TWNGS) | 基因定序檢測申請項目 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() ![]() |
ΣN | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
![]() ![]() ![]() |
ΣN | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
ΣCN | 0..1 | Reference(病人資訊-Patient TWNGS) | 病人資訊 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣCN | 0..1 | Reference(Encounter) | Health care event when test ordered ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣN | 1..1 | Clinically relevant time/time-period for report Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
SΣN | 1..1 | dateTime | 費用年月 | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | DateTime this version was made | ||||
![]() ![]() ![]() |
ΣCN | 1..* | Reference(基因檢測機構-Organization Gene TWNGS) | 基因檢測機構 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣCN | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
CN | 0..* | Reference(Specimen) | Specimens this report is based on ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
CN | 1..* | Reference(基因資訊-Observation TWNGS) | 基因資訊 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
ΣN | 0..* | BackboneElement | Key images associated with this report | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!ΣN | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Comment about the image (e.g. explanation) | |||||
![]() ![]() ![]() ![]() |
ΣCN | 1..1 | Reference(Media) | Reference to the image source ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | string | Clinical conclusion (interpretation) of test results | |||||
![]() ![]() ![]() |
N | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | ||||
![]() ![]() ![]() |
CN | 0..* | Attachment | Entire report as issued att-1: If the Attachment has data, it SHALL have a contentType | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
DiagnosticReport.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.code | preferred | Pattern: LOINC Code 51969-4("Genetic analysis report")http://hl7.org/fhir/ValueSet/report-codes from the FHIR Standard | ||||
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindingshttp://hl7.org/fhir/ValueSet/clinical-findings from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
att-1 | error | DiagnosticReport.presentedForm | If the Attachment has data, it SHALL have a contentType : data.empty() or contentType.exists() | |
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() | |
ref-1 | error | DiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.encounter, DiagnosticReport.performer, DiagnosticReport.resultsInterpreter, DiagnosticReport.specimen, DiagnosticReport.result, DiagnosticReport.imagingStudy, DiagnosticReport.media.link | SHALL 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
Summary
Mandatory: 0 element(7 nested mandatory elements)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
?!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 |
![]() ![]() ![]() |
SCN | 1..* | Reference(基因定序檢測申請項目-ServiceRequest 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 |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() |
Σ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 | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
SΣN | 1..1 | dateTime | 費用年月 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ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 |
![]() ![]() ![]() |
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 |
![]() |
Path | Conformance | ValueSet / Code | URI |
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1 from the FHIR Standard | |
DiagnosticReport.code | preferred | Pattern: LOINC Code 51969-4("Genetic analysis report")http://hl7.org/fhir/ValueSet/report-codes from the FHIR Standard |
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() | |
ref-1 | error | DiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.result | SHALL 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
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
DiagnosticReport | |||
![]() ![]() ![]() |
1.. | 疾病資訊 | ||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) | Extension URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition |
![]() ![]() ![]() |
S | 1.. | Reference(基因定序檢測申請項目-ServiceRequest TWNGS) | 基因定序檢測申請項目 |
![]() ![]() ![]() |
Required Pattern: At least the following | |||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |
![]() ![]() ![]() |
Reference(病人資訊-Patient TWNGS) | 病人資訊 | ||
![]() ![]() ![]() |
1.. | Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() |
S | 1.. | dateTime | 費用年月 |
![]() ![]() ![]() |
1.. | Reference(基因檢測機構-Organization Gene TWNGS) | 基因檢測機構 | |
![]() ![]() ![]() |
1.. | Reference(基因資訊-Observation TWNGS) | 基因資訊 | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Logical id of this artifact | ||||
![]() ![]() ![]() |
ΣN | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
N | 0..1 | Narrative | Text summary of the resource, for human interpretation | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
N | 1..* | Extension | 疾病資訊 Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
SN | 1..1 | Reference(基因定序檢測報告之疾病資訊-Condition TWNGS) | Optional Extensions Element URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/extension-DiagnosticReport-condition | ||||
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
ΣN | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() ![]() |
SCN | 1..* | Reference(基因定序檢測申請項目-ServiceRequest TWNGS) | 基因定序檢測申請項目 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() ![]() |
ΣN | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
![]() ![]() ![]() |
ΣN | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 51969-4 | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Genetic analysis report | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
ΣCN | 0..1 | Reference(病人資訊-Patient TWNGS) | 病人資訊 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣCN | 0..1 | Reference(Encounter) | Health care event when test ordered ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣN | 1..1 | Clinically relevant time/time-period for report Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
SΣN | 1..1 | dateTime | 費用年月 | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | DateTime this version was made | ||||
![]() ![]() ![]() |
ΣCN | 1..* | Reference(基因檢測機構-Organization Gene TWNGS) | 基因檢測機構 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
ΣCN | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
CN | 0..* | Reference(Specimen) | Specimens this report is based on ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
CN | 1..* | Reference(基因資訊-Observation TWNGS) | 基因資訊 ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
ΣN | 0..* | BackboneElement | Key images associated with this report | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!ΣN | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Comment about the image (e.g. explanation) | |||||
![]() ![]() ![]() ![]() |
ΣCN | 1..1 | Reference(Media) | Reference to the image source ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | string | Clinical conclusion (interpretation) of test results | |||||
![]() ![]() ![]() |
N | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | ||||
![]() ![]() ![]() |
CN | 0..* | Attachment | Entire report as issued att-1: If the Attachment has data, it SHALL have a contentType | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
DiagnosticReport.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.code | preferred | Pattern: LOINC Code 51969-4("Genetic analysis report")http://hl7.org/fhir/ValueSet/report-codes from the FHIR Standard | ||||
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindingshttp://hl7.org/fhir/ValueSet/clinical-findings from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
att-1 | error | DiagnosticReport.presentedForm | If the Attachment has data, it SHALL have a contentType : data.empty() or contentType.exists() | |
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() | |
ref-1 | error | DiagnosticReport.basedOn, DiagnosticReport.subject, DiagnosticReport.encounter, DiagnosticReport.performer, DiagnosticReport.resultsInterpreter, DiagnosticReport.specimen, DiagnosticReport.result, DiagnosticReport.imagingStudy, DiagnosticReport.media.link | SHALL 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
Summary
Mandatory: 0 element(7 nested mandatory elements)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron