eHealth Infrastructure
3.3.0 - ci-build Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 3.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions

Resource Profile: ehealth-media

Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media Version: 3.3.0
Active as of 2024-12-20 Computable Name: ehealth-media

Introduction

A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.

Scope and Usage

In scope of the eHealth infrastructure Media resources are used with measurements, so that submitted measurement bundles can consist of e.g. Observations, QuestionnaireResponses, and Media. The actual media data can be contained as a payload of the Media resource (using the content.data element) or be referenced from the Media resource (using the content.url element).

Usage mode

The use of a Media resource is defined by the usageMode element. The following values are allowed:

  • raw: The media is an original raw data file, eg. an original image of a wound.
  • metadata: The media has no content, but it specifies metadata about the media, eg. the location of a wound specified by the bodySite element.
  • overlay: The media is an overlay on top of a raw media, eg. a perimeter drawing on top of an image of a wound.

Media grouping

Media resources can grouped together using the relatedTo element. Eg. an overlay media is related to the raw media. Media connected through relatedTo will be grouped together by means of a series id in the element series. The series id is maintained by the eHealth infrastructure. Grouping can only done among media resources that are based on the same service request. A group of media can be retrieved by searching for media resources by series id.

Storage of media

Media content delivered inline in the content.data element will be extracted and stored outside the resource in the eHealth infrastructure, and the element content.url will be set to allow retrieval of the content. The eHealth infrastructure will anonymize media image content. Sensitive metadata in the image will be removed before the image is stored. Media content delivered by reference in the content.url element will not be stored or anonymized by the eHealth infrastructure.

Image thumbnails

The eHealth infrastructure will automatically generate thumbnail representations of media image content delivered inline. The sizes of thumbnails are determined by configuration in the eHealth infrastructure. When retrieving a media, the thumbnail representations can be found in the thumbnail element. Thumbnails are generated asynchronously, so they may not be available immediately after the media is submitted. Each thumbnail representations will have status set to 'requested' and have no content element until the thumbnail is generated. In case that errors prevent the generation of a thumbnail, the status of the thumbnail will be set to 'failed'.

Update of media

Media resources can be updated, to change status, or to allow grouping of media that was not grouped at the time of submission by updating relatedTo, or to modify the content of a media submitted with usage mode 'overlay'. Update of content is only allowed for media with usageMode 'overlay'. The status of a Media resource can be updated from any of: 'preparation' | 'in-progress' | 'on-hold' | 'completed' to 'stopped'. Update of any other elements is denied.

Searching media

It is possible to search for Media based on:

  • episodeOfCare
  • subject
  • type
  • period
  • deviceMeasuringQuality
  • qualityCode
  • qualityType
  • series
  • usageMode
  • relatedTo

At least one of "subject" and "episodeOfCare" must be provided. "period" searches on range of "occurence".

Usage:

Formal Views of Profile Content

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

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
... basedOn 1..1 Reference(ehealth-servicerequest) {r} Procedure that caused this media to be created
... modality 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
... subject 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
... created[x] 1..1 dateTime, Period When Media was collected
... operator 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
... bodySite 0..1 CodeableConcept Observed body part
Binding: Body site (required)
... device 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
... note
.... Slices for author[x] 0..1 Reference(Practitioner | Patient | RelatedPerson | Organization), string Individual responsible for the annotation
Slice: Unordered, Open by type:$this
..... author[x]:authorReference 0..1 Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson) Individual responsible for the annotation
..... author[x]:authorString 0..1 string Individual responsible for the annotation

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
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
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... 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
... Slices for extension 3..* 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
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... 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
... status ?!Σ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.


ele-1: All FHIR elements must have a @value or children
... modality Σ 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
ele-1: All FHIR elements must have a @value or children
... view Σ 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: Media view (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... created[x] Σ 1..1 When Media was collected
ele-1: All FHIR elements must have a @value or children
.... createdDateTime dateTime
.... createdPeriod Period
... operator Σ 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
ele-1: All FHIR elements must have a @value or children
... bodySite Σ 0..1 CodeableConcept Observed body part
Binding: Body site (required)
ele-1: All FHIR elements must have a @value or children
... device Σ 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
ele-1: All FHIR elements must have a @value or children
... content Σ 1..1 Attachment Actual Media - reference or data
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Media.statusrequiredEventStatus
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... 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
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier(s) for the image
... basedOn Σ 1..1 Reference(ehealth-servicerequest) {r} Procedure that caused this media to be created
... partOf Σ 0..* Reference(Resource) Part of referenced event
... status ?!Σ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.

... type Σ 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible): Codes for high level media categories.

... modality Σ 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
... view Σ 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: Media view (required)
... subject Σ 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter associated with media
... created[x] Σ 1..1 When Media was collected
.... createdDateTime dateTime
.... createdPeriod Period
... issued Σ 0..1 instant Date/Time this version was made available
... operator Σ 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
... reasonCode Σ 0..* CodeableConcept Why was event performed?
Binding: ProcedureReasonCodes (example): The reason for the media.


... bodySite Σ 0..1 CodeableConcept Observed body part
Binding: Body site (required)
... deviceName Σ 0..1 string Name of the device/manufacturer
... device Σ 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
... height Σ 0..1 positiveInt Height of the image in pixels (photo/video)
... width Σ 0..1 positiveInt Width of the image in pixels (photo/video)
... frames Σ 0..1 positiveInt Number of frames if > 1 (photo)
... duration Σ 0..1 decimal Length in seconds (audio / video)
... content Σ 1..1 Attachment Actual Media - reference or data
... note 0..* Annotation Comments made about the media
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for author[x] Σ 0..1 Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
..... author[x]:authorReference Σ 0..1 Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson) Individual responsible for the annotation
..... author[x]:authorString Σ 0..1 string Individual responsible for the annotation
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Media.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Media.statusrequiredEventStatus
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Media.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())

Differential View

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
... basedOn 1..1 Reference(ehealth-servicerequest) {r} Procedure that caused this media to be created
... modality 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
... subject 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
... created[x] 1..1 dateTime, Period When Media was collected
... operator 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
... bodySite 0..1 CodeableConcept Observed body part
Binding: Body site (required)
... device 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
... note
.... Slices for author[x] 0..1 Reference(Practitioner | Patient | RelatedPerson | Organization), string Individual responsible for the annotation
Slice: Unordered, Open by type:$this
..... author[x]:authorReference 0..1 Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson) Individual responsible for the annotation
..... author[x]:authorString 0..1 string Individual responsible for the annotation

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
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
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... 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
... Slices for extension 3..* 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
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... 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
... status ?!Σ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.


ele-1: All FHIR elements must have a @value or children
... modality Σ 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
ele-1: All FHIR elements must have a @value or children
... view Σ 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: Media view (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... created[x] Σ 1..1 When Media was collected
ele-1: All FHIR elements must have a @value or children
.... createdDateTime dateTime
.... createdPeriod Period
... operator Σ 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
ele-1: All FHIR elements must have a @value or children
... bodySite Σ 0..1 CodeableConcept Observed body part
Binding: Body site (required)
ele-1: All FHIR elements must have a @value or children
... device Σ 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
ele-1: All FHIR elements must have a @value or children
... content Σ 1..1 Attachment Actual Media - reference or data
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Media.statusrequiredEventStatus
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media C 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
ehealth-media-usageMode-metadata-no-content: Media with usage mode 'metadata' cannot have content.
... 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
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
.... episodeOfCare 1..1 Reference(EpisodeOfCare) Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
.... quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
.... resolvedTiming 1..1 (Complex) Resolved Timing
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing
.... thumbnail 0..* (Complex) Media Thumbnail
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-thumbnail
.... usageMode 1..1 code Usage mode
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode
Binding: Media Usage Mode (required)
.... relatedTo 0..* Reference(ehealth-media) {r} Related to
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-related-to
.... series 0..1 string Series ID
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-series-id
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier(s) for the image
... basedOn Σ 1..1 Reference(ehealth-servicerequest) {r} Procedure that caused this media to be created
... partOf Σ 0..* Reference(Resource) Part of referenced event
... status ?!Σ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.

... type Σ 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible): Codes for high level media categories.

... modality Σ 0..1 CodeableConcept The type of acquisition equipment/process
Binding: Media modality (required)
... view Σ 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: Media view (required)
... subject Σ 1..1 Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) Who/What this Media is a record of
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter associated with media
... created[x] Σ 1..1 When Media was collected
.... createdDateTime dateTime
.... createdPeriod Period
... issued Σ 0..1 instant Date/Time this version was made available
... operator Σ 0..1 Reference(ehealth-practitioner) {r} The person who generated the image
... reasonCode Σ 0..* CodeableConcept Why was event performed?
Binding: ProcedureReasonCodes (example): The reason for the media.


... bodySite Σ 0..1 CodeableConcept Observed body part
Binding: Body site (required)
... deviceName Σ 0..1 string Name of the device/manufacturer
... device Σ 0..1 Reference(ehealth-device | ehealth-devicemetric) {r} Observing Device
... height Σ 0..1 positiveInt Height of the image in pixels (photo/video)
... width Σ 0..1 positiveInt Width of the image in pixels (photo/video)
... frames Σ 0..1 positiveInt Number of frames if > 1 (photo)
... duration Σ 0..1 decimal Length in seconds (audio / video)
... content Σ 1..1 Attachment Actual Media - reference or data
... note 0..* Annotation Comments made about the media
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for author[x] Σ 0..1 Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
..... author[x]:authorReference Σ 0..1 Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson) Individual responsible for the annotation
..... author[x]:authorString Σ 0..1 string Individual responsible for the annotation
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Media.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Media.statusrequiredEventStatus
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.modalityrequiredMediaModality
http://ehealth.sundhed.dk/vs/media-modality
from this IG
Media.viewrequiredMediaView
http://ehealth.sundhed.dk/vs/media-view
from this IG
Media.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Media.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
Media.bodySiterequiredBodySite
http://ehealth.sundhed.dk/vs/body-site
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-media-usageMode-metadata-no-contenterrorMediaMedia with usage mode 'metadata' cannot have content.
: extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media-usage-mode').value = 'metadata' implies (content.data.empty() and content.url.empty())

 

Other representations of profile: CSV, Excel, Schematron