HL7 Europe Imaging Study Report
0.1.0 - ci-build 150

HL7 Europe Imaging Study Report, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/imaging/ and changes regularly. See the Directory of published versions

Resource Profile: Imaging Key Image Document Reference

Official URL: http://hl7.eu/fhir/imaging/StructureDefinition/im-keyimages-document-reference Version: 0.1.0
Standards status: Draft Maturity Level: 1 Computable Name: ImKeyImageDocumentReference

Copyright/Legal: Used by permission of HL7 Europe, all rights reserved Creative Commons License

A document containing key images for a patient. It can refer to a DICOM or non-DICOM image. When referring to a DICOM image, the DocumentReference.content.attachment.url should be a WADO-URI. When referring to a non-DICOM image, the DocumentReference.content.attachment.url should be a direct URL to the image.

When the resource represents a DICOM instance it SHALL contain a the SOP Instance UID in the identifier element. When the resource represents a DICOM series it SHALL contain the Series Instance UID in the identifier element.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference C 0..* DocumentReference A reference to a document
docRef-1: facilityType SHALL only be present if context is not an encounter
docRef-2: practiceSetting SHALL only be present if context is not present
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... meta Σ 0..1 Meta Metadata about the resource
ele-1: All FHIR elements must have a @value or children
.... security SΣ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language S 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language

Additional BindingsPurpose
CommonLanguages Starter Set

ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... Slices for identifier SOΣ 0..1 ImAccessionNumberIdentifier Business identifiers for the document
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
.... identifier:seriesInstanceUid SΣ 0..1 ImAccessionNumberIdentifier Business identifiers for the document
ele-1: All FHIR elements must have a @value or children
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
..... type SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
..... system SΣ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Required Pattern: urn:ietf:rfc:3986
..... value SΣC 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... identifier:sopClassInstanceUid SΣ 0..1 ImAccessionNumberIdentifier Business identifiers for the document
ele-1: All FHIR elements must have a @value or children
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
..... type SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
..... system SΣ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Required Pattern: urn:ietf:rfc:3986
..... value SΣC 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... Slices for basedOn 0..* Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... basedOn:imorderaccession S 0..1 Reference(Imaging Order) Procedure that caused this media to be created
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.


ele-1: All FHIR elements must have a @value or children
... modality SOΣ 1..1 CodeableConcept Imaging modality used
Binding: Modality (extensible): Type of acquired data in the instance.


ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
... Slices for category SΣ 1..* CodeableConcept Categorization of document
Slice: Unordered, Open by profile:$this
Binding: ReferencedItemCategoryValueSet (example): High-level kind of document at a macro level.


ele-1: All FHIR elements must have a @value or children
.... category:imkeyimages SΣ 1..1 CodeableConcept Categorization of document
Binding: ReferencedItemCategoryValueSet (example): High-level kind of document at a macro level.


ele-1: All FHIR elements must have a @value or children
..... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
...... coding:keyimagecode SΣ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 55113-5
....... display 1..1 string Representation defined by the system
Fixed Value: Imaging Key Images Document
... subject SOΣ 1..1 Reference(Imaging Patient) Who/what is the subject of the document
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
... context C 0..* Reference(Appointment | Encounter | EpisodeOfCare) Context of the document content
ele-1: All FHIR elements must have a @value or children
... bodySite SOΣ 0..1 CodeableReference(BodyStructure) Body part included
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts


ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
... date SOΣ 0..1 instant When this document reference was created
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
... Slices for author SOΣ 0..* Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) Who and/or what authored the document
Slice: Unordered, Open by profile:$this
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
.... author:performer SΣ 0..* Reference(Practitioner Role) Who and/or what authored the document
ele-1: All FHIR elements must have a @value or children
... description SOΣ 0..1 markdown Human-readable description
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
... Slices for content SΣ 1..* BackboneElement Document referenced
Slice: Unordered, Open by value:extension.where( url = 'http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail'
ele-1: All FHIR elements must have a @value or children
.... content:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... attachment SΣ 1..1 Attachment Where to access the document
ele-1: All FHIR elements must have a @value or children
.... content:thumbnail SΣ 0..1 BackboneElement Document referenced
ele-1: All FHIR elements must have a @value or children
..... Slices for extension 1..* Extension 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
...... extension:thumbnail S 1..1 (Complex) Thumbnail state
URL: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail"
....... value[x] 1..1 boolean Value of extension
ele-1: All FHIR elements must have a @value or children
Required Pattern: true
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... attachment SΣ 1..1 Attachment Where to access the document
ele-1: All FHIR elements must have a @value or children
.... content:content SOΣ 1..1 BackboneElement Document referenced
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
..... Slices for extension 1..* Extension 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
...... extension:thumbnail S 1..1 (Complex) Thumbnail state
URL: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail"
....... value[x] 1..1 boolean Value of extension
ele-1: All FHIR elements must have a @value or children
Required Pattern: true
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... attachment SOΣ 1..1 Attachment Where to access the document
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
...... contentType SOΣC 0..1 code Mime type of the content, with charset etc.
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)


ele-1: All FHIR elements must have a @value or children
Example General: text/plain; charset=UTF-8, image/png
ObligationsActor
SHALL:populate-if-known IM Producer
...... url SOΣ 1..1 url Uri where the data can be found
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png
ObligationsActor
SHALL:populate-if-known IM Producer
...... title SOΣ 0..1 string Label to display in place of the data
ele-1: All FHIR elements must have a @value or children
Example General: Official Corporate Logo
ObligationsActor
SHALL:populate-if-known IM Producer
...... height SOTU 0..1 positiveInt Height of the image in pixels (photo/video)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
...... width SOTU 0..1 positiveInt Width of the image in pixels (photo/video)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
...... frames SOTU 0..1 positiveInt Number of frames if > 1 (photo)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer
...... duration SOTU 0..1 decimal Length in seconds (audio / video)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:populate-if-known IM Producer

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DocumentReference.meta.securityextensibleAllSecurityLabels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
DocumentReference.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
DocumentReference.identifier:seriesInstanceUid.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
DocumentReference.identifier:seriesInstanceUid.typeextensiblePattern: 00080018
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
DocumentReference.identifier:sopClassInstanceUid.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
DocumentReference.identifier:sopClassInstanceUid.typeextensiblePattern: 112002
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
DocumentReference.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|5.0.0
from the FHIR Standard
DocumentReference.modalityextensibleModality
http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html
DocumentReference.categoryexampleReferencedItemCategoryValueSet
http://hl7.org/fhir/ValueSet/referenced-item-category
from the FHIR Standard
DocumentReference.category:imkeyimagesexampleReferencedItemCategoryValueSet
http://hl7.org/fhir/ValueSet/referenced-item-category
from the FHIR Standard
DocumentReference.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
DocumentReference.content:content.attachment.contentTyperequiredMimeTypes (a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentReferenceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentReferenceIf 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorDocumentReferenceIf 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-5errorDocumentReferenceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentReferenceA resource should have narrative for robust management
: text.`div`.exists()
docRef-1warningDocumentReferencefacilityType SHALL only be present if context is not an encounter
: facilityType.empty() or context.where(resolve() is Encounter).empty()
docRef-2warningDocumentReferencepracticeSetting SHALL only be present if context is not present
: practiceSetting.empty() or context.where(resolve() is Encounter).empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron