eHealth Infrastructure (v2019.5.1)

StructureDefinition: ehealth-media

Some Observations may be accompanied by media. E.g. images.

It is possible to search for Media based on:

  • context
  • subject
  • code
  • period
  • deviceMeasuringQuality
  • situationQuality
  • operationQuality

At least one of “subject” and “context” must be provided. “period” searches on range of “occurence”.

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media

This profile builds on Media.

This profile was published on Thu May 16 12:32:10 UTC 2019 as a draft by ehealth.sundhed.dk.

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

 

Terminology Bindings

PathNameConformanceValueSet
Media.languageCommon LanguagesextensibleCommon Languages
Media.typeDigitalMediaTyperequiredDigitalMediaType
Media.subtypeMedia SubTypeexampleMedia SubType
Media.viewMedia Collection View/ProjectionexampleMedia Collection View/Projection
Media.reasonCodeProcedure Reason CodesexampleProcedure Reason Codes
Media.bodySiteSNOMED CT Body StructuresexampleSNOMED CT Body Structures

Constraints

IdPathDetailsRequirements
dom-2MediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1MediaIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4MediaIf 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-3MediaIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
mda-1MediaHeight can only be used for a photo or video
: height.empty() or type != 'audio'
mda-2MediaWidth can only be used for a photo or video
: width.empty() or type != 'audio'
mda-3MediaFrames can only be used for a photo
: frames.empty() or type = 'photo'
mda-4MediaDuration can only be used for an audio or a video
: duration.empty() or type != 'photo'
.