1.0.0 - ci-build

DKMedComEKG, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-medcom-ekg/ and changes regularly. See the Directory of published versions

Resource Profile: MedComDocumentDiagnosticReport

Official URL: http://medcomfhir.dk/ig/ekg/StructureDefinition/medcom-document-diagnosticreport Version: 1.0.0
Draft as of 2025-11-12 Computable Name: MedComDocumentDiagnosticReport

Report containing observation results.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The Diagnostic Report identifier
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... value SΣC 1..1 string The value that is unique
Constraints: medcom-uuidv4
Example General: 123456
... code SΣ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: MedComDiagnosticReportCodesValueset (required)
... subject SΣ 1..1 Reference(MedComCorePatient(3.0.1)) {b} The subject of the report - usually, but not always, the patient
... Slices for effective[x] Σ 0..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣ 0..1 dateTime Clinically relevant time/time-period for report
... issued SΣ 1..1 instant DateTime this version was made
... performer SΣ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Responsible Diagnostic Service
... result S 0..* Reference(MedComCoreObservation(3.0.1)) {b} Observations
... media SΣ 0..* BackboneElement Attachments that are relevant for assessment of the patient's condition.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... link SΣ 1..1 Reference(MedComMedia(3.0.1)) Reference to the image source
... conclusion S 0..1 string A comment relevant for all observations in the report.
... presentedForm S 0..* Attachment Entire report as issued
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... title SΣ 0..1 string Title of the attached file.
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required MedComCoreDiagnosticReportStatus 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.code Base required MedComDiagnosticReportCodesValueset 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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()
medcom-uuidv4 error DiagnosticReport.identifier.value The value shall correspond to the structure of an UUID version 4 matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

This structure is derived from MedComCoreDiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... Slices for effective[x] 0..1 dateTime, Period Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 0..1 dateTime Clinically relevant time/time-period for report
... presentedForm S 0..* Attachment Entire report as issued
.... contentType S 1..1 code Mime type of the content, with charset etc.
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... title S 0..1 string Title of the attached file.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The Diagnostic Report identifier
.... 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.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Constraints: medcom-uuidv4
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 ?!SΣ 1..1 code registered | partial | preliminary | final | corrected | cancelled | entered-in-error
Binding: MedComCoreDiagnosticReportStatus (required)
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
... code SΣ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: MedComDiagnosticReportCodesValueset (required)
... subject SΣ 1..1 Reference(MedComCorePatient(3.0.1)) {b} The subject of the report - usually, but not always, the patient
... encounter Σ 0..1 Reference(Encounter) Health care event when test ordered
... Slices for effective[x] Σ 0..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣ 0..1 dateTime Clinically relevant time/time-period for report
... issued SΣ 1..1 instant DateTime this version was made
... performer SΣ 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 S 0..* Reference(MedComCoreObservation(3.0.1)) {b} Observations
... imagingStudy 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
... media SΣ 0..* BackboneElement Attachments that are relevant for assessment of the patient's condition.
.... 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 SΣ 1..1 Reference(MedComMedia(3.0.1)) Reference to the image source
... conclusion S 0..1 string A comment relevant for all observations in the report.
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Entire report as issued
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... 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 SΣ 0..1 string Title of the attached file.
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base preferred Common Languages 📍4.0.1 FHIR Std.
DiagnosticReport.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
DiagnosticReport.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required MedComCoreDiagnosticReportStatus 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base required MedComDiagnosticReportCodesValueset 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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()
medcom-uuidv4 error DiagnosticReport.identifier.value The value shall correspond to the structure of an UUID version 4 matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

This structure is derived from MedComCoreDiagnosticReport

Summary

Mandatory: 0 element(1 nested mandatory element)
Must-Support: 5 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of DiagnosticReport.effective[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The Diagnostic Report identifier
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... value SΣC 1..1 string The value that is unique
Constraints: medcom-uuidv4
Example General: 123456
... code SΣ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: MedComDiagnosticReportCodesValueset (required)
... subject SΣ 1..1 Reference(MedComCorePatient(3.0.1)) {b} The subject of the report - usually, but not always, the patient
... Slices for effective[x] Σ 0..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣ 0..1 dateTime Clinically relevant time/time-period for report
... issued SΣ 1..1 instant DateTime this version was made
... performer SΣ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam) Responsible Diagnostic Service
... result S 0..* Reference(MedComCoreObservation(3.0.1)) {b} Observations
... media SΣ 0..* BackboneElement Attachments that are relevant for assessment of the patient's condition.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... link SΣ 1..1 Reference(MedComMedia(3.0.1)) Reference to the image source
... conclusion S 0..1 string A comment relevant for all observations in the report.
... presentedForm S 0..* Attachment Entire report as issued
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... title SΣ 0..1 string Title of the attached file.
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required MedComCoreDiagnosticReportStatus 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.code Base required MedComDiagnosticReportCodesValueset 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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()
medcom-uuidv4 error DiagnosticReport.identifier.value The value shall correspond to the structure of an UUID version 4 matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

Differential View

This structure is derived from MedComCoreDiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... Slices for effective[x] 0..1 dateTime, Period Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime S 0..1 dateTime Clinically relevant time/time-period for report
... presentedForm S 0..* Attachment Entire report as issued
.... contentType S 1..1 code Mime type of the content, with charset etc.
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... title S 0..1 string Title of the attached file.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* MedComCoreDiagnosticReport(3.0.1) 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..1 Identifier The Diagnostic Report identifier
.... 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.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Constraints: medcom-uuidv4
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 ?!SΣ 1..1 code registered | partial | preliminary | final | corrected | cancelled | entered-in-error
Binding: MedComCoreDiagnosticReportStatus (required)
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.
... code SΣ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: MedComDiagnosticReportCodesValueset (required)
... subject SΣ 1..1 Reference(MedComCorePatient(3.0.1)) {b} The subject of the report - usually, but not always, the patient
... encounter Σ 0..1 Reference(Encounter) Health care event when test ordered
... Slices for effective[x] Σ 0..1 Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣ 0..1 dateTime Clinically relevant time/time-period for report
... issued SΣ 1..1 instant DateTime this version was made
... performer SΣ 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 S 0..* Reference(MedComCoreObservation(3.0.1)) {b} Observations
... imagingStudy 0..* Reference(ImagingStudy) Reference to full details of imaging associated with the diagnostic report
... media SΣ 0..* BackboneElement Attachments that are relevant for assessment of the patient's condition.
.... 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 SΣ 1..1 Reference(MedComMedia(3.0.1)) Reference to the image source
... conclusion S 0..1 string A comment relevant for all observations in the report.
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Entire report as issued
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
.... data S 0..1 base64Binary Base64 encoded data of attached file.
.... 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 SΣ 0..1 string Title of the attached file.
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base preferred Common Languages 📍4.0.1 FHIR Std.
DiagnosticReport.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
DiagnosticReport.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
DiagnosticReport.status Base required MedComCoreDiagnosticReportStatus 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍4.0.1 FHIR Std.
DiagnosticReport.code Base required MedComDiagnosticReportCodesValueset 📦1.8.1 DK MedCom Terminology v2.0
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required MimeType 📍4.0.1 FHIR Std.
DiagnosticReport.presentedForm.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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()
medcom-uuidv4 error DiagnosticReport.identifier.value The value shall correspond to the structure of an UUID version 4 matches('urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

This structure is derived from MedComCoreDiagnosticReport

Summary

Mandatory: 0 element(1 nested mandatory element)
Must-Support: 5 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of DiagnosticReport.effective[x]

 

Other representations of profile: CSV, Excel, Schematron