description: Clinical document used to represent a Imaging Report for the scope of the HL7 Europe project. package_name: hl7.fhir.eu.imaging-r5 derivation: constraint name: CompositionEuImaging type: Composition elements: category: array: true min: 2 index: 9 slicing: rules: open ordered: false discriminator: - {path: $this, type: value} min: 2 slices: diagnostic-service: match: {} schema: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/diagnostic-service-sections'} index: 10 min: 0 max: 1 imaging-report: match: coding: - {code: 85430-7, system: 'http://loinc.org'} schema: pattern: type: CodeableConcept value: coding: - {code: 85430-7, system: 'http://loinc.org'} _required: true index: 11 min: 1 max: 1 imaging: match: coding: - {code: Medical-Imaging, system: 'http://hl7.eu/fhir/eu-health-data-api/CodeSystem/eehrxf-document-priority-category-cs'} schema: pattern: type: CodeableConcept value: coding: - {code: Medical-Imaging, system: 'http://hl7.eu/fhir/eu-health-data-api/CodeSystem/eehrxf-document-priority-category-cs'} _required: true index: 12 min: 1 max: 1 section: constraint: eu-imaging-composition-1: {human: 'When a section is empty, the emptyReason extension SHALL be present.', source: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/CompositionEuImaging', severity: error, expression: 'entry.empty().not() or emptyReason.exists() or section.exists() or extension(''http://hl7.org/fhir/StructureDefinition/note'').value.text.exists()'} eu-imaging-composition-2: {human: 'A section must contain at least one of text, entries, or sub-sections.', source: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/CompositionEuImaging', severity: error, expression: text.exists() or entry.exists() or section.exists()} array: true min: 4 index: 29 elements: code: {index: 30} emptyReason: binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/imaging-r5/ValueSet/SectionEmptyReasonEuImaging'} index: 31 required: [code] slicing: rules: open ordered: false discriminator: - {path: code, type: value} min: 4 slices: findings: match: code: coding: - {code: 59776-5, system: 'http://loinc.org'} schema: short: Findings index: 68 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 70} elements: extension: index: 69 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 70} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 59776-5, system: 'http://loinc.org'} index: 71 entry: index: 72 slicing: rules: open ordered: false discriminator: - {path: resolve(), type: profile} min: null slices: finding: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Observation'] array: true index: 73 min: 0 keyimage: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/DocumentReferenceKeyImageEuImaging', 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImagingSelectionKeyImageEuImaging'] array: true index: 74 min: 0 image: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 75 min: 0 comparison: match: code: coding: - {code: 18834-2, system: 'http://loinc.org'} schema: short: History index: 62 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 64} elements: extension: index: 63 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 64} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 18834-2, system: 'http://loinc.org'} index: 65 entry: index: 66 slicing: rules: open ordered: false discriminator: - {path: resolve(), type: profile} min: null slices: comparedstudy: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImagingSelectionEuImaging', 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImagingStudyEuImaging'] array: true index: 67 min: 0 report: match: code: coding: - {code: LP173421-1, system: 'http://loinc.org'} schema: short: Report - all content in one section index: 94 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 96} elements: extension: index: 95 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 96} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: LP173421-1, system: 'http://loinc.org'} index: 97 impression: match: code: coding: - {code: 19005-8, system: 'http://loinc.org'} schema: short: Impressions index: 76 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 78} elements: extension: index: 77 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 78} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 19005-8, system: 'http://loinc.org'} index: 79 entry: index: 80 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: null slices: finding: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ObservationFindingEuImaging'] array: true index: 81 min: 0 impression: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] array: true index: 82 min: 0 keyimage: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/DocumentReferenceKeyImageEuImaging', 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImagingSelectionKeyImageEuImaging'] array: true index: 83 min: 0 history: match: code: coding: - {code: 11329-0, system: 'http://loinc.org'} schema: short: History _required: true index: 44 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 46} elements: extension: index: 45 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 46} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 11329-0, system: 'http://loinc.org'} index: 47 entry: index: 48 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: profile} min: null slices: vitals: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Observation'] array: true index: 49 min: 0 problemlist: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] array: true index: 50 min: 0 implants: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device'] array: true index: 51 min: 0 medication: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest'] array: true index: 52 min: 0 procedure: match: code: coding: - {code: 55111-9, system: 'http://loinc.org'} schema: short: Procedure _required: true index: 53 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 55} radiationDose: {url: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/RadiationDose', min: 0, max: 1, type: Extension, index: 56} elements: extension: index: 54 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 55} min: 0 radiationDose: match: {url: null} schema: {type: Extension, url: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/RadiationDose', index: 56} min: 0 max: 1 code: pattern: type: CodeableConcept value: coding: - {code: 55111-9, system: 'http://loinc.org'} index: 57 entry: index: 58 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: null slices: procedure: match: {} schema: short: The imaging Procedure(s) refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ProcedureEuImaging'] type: Reference array: true index: 59 min: 0 adverse-event: match: {} schema: short: AdverseEvent(s) refers: ['http://hl7.org/fhir/StructureDefinition/AdverseEvent'] type: Reference array: true index: 60 min: 0 radiation-dose: match: {} schema: {array: true, index: 61} min: 0 recommendation: match: code: coding: - {code: 18783-1, system: 'http://loinc.org'} schema: short: Recommendations index: 84 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 86} elements: extension: index: 85 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 86} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 18783-1, system: 'http://loinc.org'} index: 87 entry: index: 88 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: null slices: suggestion: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest'] array: true index: 89 min: 0 communication: match: code: coding: - {code: 73568-8, system: 'http://loinc.org'} schema: short: Communications index: 90 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 92} elements: extension: index: 91 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 92} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 73568-8, system: 'http://loinc.org'} index: 93 order: match: code: coding: - {code: 55115-0, system: 'http://loinc.org'} schema: short: Order _required: true index: 38 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 40} elements: extension: index: 39 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 40} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 55115-0, system: 'http://loinc.org'} index: 41 entry: index: 42 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: null slices: order: match: {} schema: short: Order reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ServiceRequestOrderEuImaging'] type: Reference array: true index: 43 min: 0 imagingstudy: match: code: coding: - {code: 18726-0, system: 'http://loinc.org'} schema: short: Imaging Study _required: true index: 32 extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, index: 34} elements: extension: index: 33 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 34} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 18726-0, system: 'http://loinc.org'} index: 35 entry: index: 36 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: 1 slices: imagingstudy: match: {} schema: min: 1 short: Imaging Study Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImagingStudyEuImaging'] type: Reference array: true _required: true index: 37 min: 1 required: [entry] attester: index: 18 slicing: rules: open ordered: false discriminator: - {path: mode, type: value} min: null slices: legalAuthenticator: match: mode: coding: - {code: legal, system: 'http://hl7.org/fhir/composition-attestation-mode'} schema: array: true index: 19 elements: mode: pattern: type: CodeableConcept value: coding: - {code: legal, system: 'http://hl7.org/fhir/composition-attestation-mode'} index: 20 time: {index: 21} party: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu-core'] index: 22 required: [time] resultValidator: match: mode: coding: - {code: professional, system: 'http://hl7.org/fhir/composition-attestation-mode'} schema: array: true index: 23 elements: mode: pattern: type: CodeableConcept value: coding: - {code: professional, system: 'http://hl7.org/fhir/composition-attestation-mode'} index: 24 time: {index: 25} party: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu-core'] index: 26 extensions: deviceAttester: {url: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/DeviceAttesterExt', min: 0, max: 1, type: Extension, index: 27} elements: extension: type: Extension url: http://hl7.eu/fhir/imaging-r5/StructureDefinition/DeviceAttesterExt index: 27 slicing: slices: deviceAttester: match: {} schema: {type: Extension, url: 'http://hl7.eu/fhir/imaging-r5/StructureDefinition/DeviceAttesterExt', index: 27} min: 0 max: 1 required: [time] type: short: Type of Imaging Diagnostic Report binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/imaging-r5/ValueSet/ImagingReportTypesEuVSEuImaging'} index: 8 author: index: 14 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: profile} min: null slices: author: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu-core'] array: true index: 15 min: 0 authoringDevice: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device'] array: true index: 16 min: 0 organization: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/organization-eu-core'] array: true index: 17 min: 0 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: basedOn: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/event-basedOn', index: 1} min: 0 informationRecipient: match: {url: null} schema: {type: Extension, short: Information Recipient, url: 'http://hl7.eu/fhir/StructureDefinition/information-recipient', index: 2} min: 0 diagnosticreport-reference: match: {url: null} schema: type: Extension url: http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/DiagnosticReportEuImaging'] index: 6 custodian: type: Reference short: Organization that manages the Imaging Report refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/organization-eu-core'] index: 28 identifier: {short: Report identifier, index: 7} subject: {index: 13} package_version: 1.0.0-ballot extensions: basedOn: {url: 'http://hl7.org/fhir/StructureDefinition/event-basedOn', min: 0, type: Extension, index: 1} informationRecipient: {url: 'http://hl7.eu/fhir/StructureDefinition/information-recipient', min: 0, type: Extension, short: Information Recipient, index: 2} diagnosticreport-reference: url: http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference type: Extension index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/DiagnosticReportEuImaging'] index: 6 class: profile kind: resource url: http://hl7.eu/fhir/imaging-r5/StructureDefinition/CompositionEuImaging base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.0.0-ballot required: [identifier, subject]