description: 'A document containing key images for a patient. It can refer to a DICOM or non-DICOM image. \nWhen referring to a DICOM image, the DocumentReference.content.attachment.url should be a WADO-URI. When referring \nto a non-DICOM image, the DocumentReference.content.attachment.url should be a direct URL to the image.\n\nWhen the resource represents a DICOM instance it SHALL contain a the SOP Instance UID in the identifier element. \nWhen the resource represents a DICOM series it SHALL contain the Series Instance UID in the identifier element. ' package_name: hl7.fhir.eu.imaging-r5 derivation: constraint name: DocumentReferenceKeyImageEuImaging type: DocumentReference elements: identifier: index: 0 slicing: rules: open ordered: false discriminator: - {path: $this, type: value} min: null slices: seriesInstanceUid: match: {} schema: index: 1 elements: type: pattern: type: CodeableConcept value: coding: - {code: '112002', system: 'http://dicom.nema.org/resources/ontology/DCM'} index: 2 system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 3 value: {index: 4} required: [value, type, system] sopClassInstanceUid: match: {} schema: index: 5 elements: type: pattern: type: CodeableConcept value: coding: - {code: '00080018', system: 'http://hl7.eu/fhir/imaging-r5/CodeSystem/codesystem-missing-dicom-terminology'} index: 6 system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 7 value: {index: 8} required: [value, type, system] basedOn: index: 9 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: ServiceRequestOrderEuImagingaccession: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/imaging-r5/StructureDefinition/ServiceRequestOrderEuImaging'] index: 10 elements: identifier: {type: Identifier, index: 11} required: [identifier] modality: {index: 12} type: binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/image-reference-type'} index: 13 category: index: 14 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: 1 slices: imkeyimages: match: {} schema: _required: true index: 15 elements: coding: index: 16 slicing: rules: open ordered: false discriminator: - {path: $this, type: value} min: 1 slices: keyimagecode: match: {code: 55113-5, system: 'http://loinc.org'} schema: pattern: type: Coding value: {code: 55113-5, system: 'http://loinc.org'} _required: true index: 17 min: 1 max: 1 required: [coding] subject: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/patient-eu-core'] index: 18 author: index: 19 slicing: rules: open ordered: false discriminator: - {path: $this, type: profile} min: null slices: performer: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu-core'] array: true index: 20 min: 0 content: index: 21 slicing: rules: open ordered: false discriminator: - {path: extension.value, type: value} min: null slices: thumbnail: match: extension: {value: null} schema: index: 22 extensions: thumbnail: url: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail type: Extension index: 24 elements: value: pattern: {type: Boolean, value: true} choices: [] index: 26 elements: extension: index: 23 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: thumbnail: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail index: 24 elements: value: pattern: {type: Boolean, value: true} choices: [] index: 26 required: [extension] content: match: extension: {value: null} schema: _required: true index: 27 extensions: thumbnail: url: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail type: Extension index: 29 elements: value: pattern: {type: Boolean, value: false} choices: [] index: 31 elements: extension: index: 28 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: thumbnail: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail index: 29 elements: value: pattern: {type: Boolean, value: false} choices: [] index: 31 attachment: elements: url: {index: 32} required: [url] required: [extension] package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.eu/fhir/imaging-r5/StructureDefinition/DocumentReferenceKeyImageEuImaging base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.0-ballot required: [modality, subject, category]