PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.imaging@1.0.0-ballot
    http://hl7.eu/fhir/imaging/StructureDefinition/DocumentReferenceImagingReport
description: Profile for DocumentReference resources used in the EEHRxF context, based on the IHE MHD Minimal DocumentReference profile. This profile is used for the DocumentReference resources that represent imaging reports in the EEHRxF context. It includes additional constraints and extensions specific to imaging reports, such as the type of report, the clinical specialty, the anatomical region of interest and the profile of the imaging report.
package_name: hl7.fhir.eu.imaging
derivation: constraint
name: DocumentReferenceImagingReport
type: DocumentReference
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        version:
          match: {url: null}
          schema: {type: Extension, short: Version of the document referenced by this DocumentReference., url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.version', index: 1}
          min: 0
          max: 1
        bodysite:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.bodySite
            index: 2
            extensions:
              concept:
                url: null
                short: The anatomical region of the patient that is the focus of the imaging manifest, concept field is required.
                _required: true
                index: 4
                extensions: {}
                elements:
                  extension: {index: 5}
                  value:
                    choices: []
                    index: 7
            elements:
              extension:
                index: 3
                slicing:
                  slices:
                    concept:
                      match: {}
                      schema:
                        short: The anatomical region of the patient that is the focus of the imaging manifest, concept field is required.
                        _required: true
                        index: 4
                        extensions: {}
                        elements:
                          extension: {index: 5}
                          value:
                            choices: []
                            index: 7
              value:
                choices: []
                index: 9
            required: [extension]
        modality:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.modality', index: 10}
          min: 1
          max: 1
  type:
    short: Type of Imaging Diagnostic Report
    index: 11
    elements:
      coding:
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            imaging-report:
              match: {code: 85430-7, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 85430-7, system: 'http://loinc.org'}
                _required: true
                index: 13
              min: 1
              max: 1
    required: [coding]
  category:
    index: 14
    elements:
      coding:
        index: 15
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            priority-area:
              match: {code: Medical-Imaging, system: 'http://hl7.eu/fhir/health-data-api/CodeSystem/eehrxf-document-priority-category-cs'}
              schema:
                pattern:
                  type: Coding
                  value: {code: Medical-Imaging, system: 'http://hl7.eu/fhir/health-data-api/CodeSystem/eehrxf-document-priority-category-cs'}
                _required: true
                index: 16
              min: 1
              max: 1
    required: [coding]
  custodian:
    type: Reference
    short: Organization that manages the Imaging Report
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu']
    index: 17
  content:
    extensions:
      profile: {url: 'http://hl7.eu/fhir/imaging/StructureDefinition/im-documentreference-content-profile', min: 1, type: Extension, short: Contains the profile of the referred report, index: 19}
    elements:
      extension:
        index: 18
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            profile:
              match: {url: null}
              schema: {type: Extension, short: Contains the profile of the referred report, url: 'http://hl7.eu/fhir/imaging/StructureDefinition/im-documentreference-content-profile', index: 19}
              min: 1
    required: [extension]
  context:
    elements:
      practiceSetting: {short: 'Clinical specialty (e.g., radiology, laboratory) - SHOULD be used for lab vs imaging differentiation', index: 20}
package_version: 1.0.0-ballot
extensions:
  version: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.version', min: 0, max: 1, type: Extension, short: Version of the document referenced by this DocumentReference., index: 1}
  bodysite:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.bodySite
    type: Extension
    index: 2
    extensions:
      concept:
        url: null
        short: The anatomical region of the patient that is the focus of the imaging manifest, concept field is required.
        _required: true
        index: 4
        extensions: {}
        elements:
          extension: {index: 5}
          value:
            choices: []
            index: 7
    elements:
      extension:
        index: 3
        slicing:
          slices:
            concept:
              match: {}
              schema:
                short: The anatomical region of the patient that is the focus of the imaging manifest, concept field is required.
                _required: true
                index: 4
                extensions: {}
                elements:
                  extension: {index: 5}
                  value:
                    choices: []
                    index: 7
      value:
        choices: []
        index: 9
    required: [extension]
  modality: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.modality', min: 1, max: 1, type: Extension, index: 10}
class: profile
kind: resource
url: http://hl7.eu/fhir/imaging/StructureDefinition/DocumentReferenceImagingReport
base: http://hl7.eu/fhir/health-data-api/StructureDefinition/EehrxfMhdDocumentReference
version: 1.0.0-ballot
required: [extension, type, category]