| Left: | ehealth-media (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media) | 
| Right: | ehealth-media (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media) | 
| Error | StructureDefinition.version | Values for version differ: '5.0.1' vs '3.6.0' | 
| Information | StructureDefinition.date | Values for date differ: '2025-08-12T12:53:07+00:00' vs '2025-10-07T07:53:30+00:00' | 
| Information | Media.language | Example/preferred bindings differ at Media.language using binding from ehealth-media | 
| Error | Media.subject | Type Mismatch: Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device], CanonicalType[http://hl7.org/fhir/StructureDefinition/Specimen]]) vs Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device], CanonicalType[http://hl7.org/fhir/StructureDefinition/Specimen]]) | 
| Name | Value | Comments | |
|---|---|---|---|
 abstract | false | ||
 baseDefinition | http://hl7.org/fhir/StructureDefinition/Media | ||
 copyright | |||
 date | 2025-08-12T12:53:07+00:00 | 2025-10-07T07:53:30+00:00 | 
  | 
 description | |||
 experimental | |||
 fhirVersion | 4.0.1 | ||
 jurisdiction | |||
![]()  jurisdiction[0] | urn:iso:std:iso:3166#DK | ||
 kind | resource | ||
 name | ehealth-media | ||
 publisher | Den telemedicinske infrastruktur (eHealth Infrastructure) | ||
 purpose | |||
 status | active | ||
 title | |||
 type | Media | ||
 url | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media | ||
 version | 5.0.1 | 3.6.0 | 
  | 
| Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments![]()  | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()  | 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 Constraints: ehealth-media-usageMode-metadata-no-content  | 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 Constraints: ehealth-media-usageMode-metadata-no-content  | |||||||||
![]() ![]()  | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
![]() ![]()  | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
![]() ![]()  | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]()  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
  | 
  | ||||||||||
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements  | |||||||||||
![]() ![]()  | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
![]() ![]()  | 3..* | Extension | Extension Slice: Unordered, Open by value:url  | 3..* | Extension | Extension Slice: Unordered, Open by value:url  | |||||||||||
![]() ![]()  | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]()  | Σ | 0..* | Identifier | Identifier(s) for the image | Σ | 0..* | Identifier | Identifier(s) for the image | |||||||||
![]() ![]()  | Σ | 1..1 | Reference(ehealth-servicerequest) {r} | Procedure that caused this media to be created | Σ | 1..1 | Reference(ehealth-servicerequest) {r} | Procedure that caused this media to be created | |||||||||
![]() ![]()  | Σ | 0..* | Reference(Resource) | Part of referenced event | Σ | 0..* | Reference(Resource) | Part of referenced event | |||||||||
![]() ![]()  | ?!Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: ?? (required): Codes identifying the lifecycle stage of an event.  | ?!Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: ?? (required): Codes identifying the lifecycle stage of an event.  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | Classification of media as image, video, or audio Binding: ?? (extensible): Codes for high level media categories.  | Σ | 0..1 | CodeableConcept | Classification of media as image, video, or audio Binding: ?? (extensible): Codes for high level media categories.  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | The type of acquisition equipment/process Binding: ?? (required)  | Σ | 0..1 | CodeableConcept | The type of acquisition equipment/process Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | Imaging view, e.g. Lateral or Antero-posterior Binding: ?? (required)  | Σ | 0..1 | CodeableConcept | Imaging view, e.g. Lateral or Antero-posterior Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 1..1 | Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) {r} | Who/What this Media is a record of | Σ | 1..1 | Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | Specimen) {r} | Who/What this Media is a record of | 
  | ||||||||
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||||||||
![]() ![]() ![]()  | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | |||||||||
![]() ![]() ![]()  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).  | |||||||||
![]() ![]() ![]()  | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | |||||||||
![]() ![]() ![]()  | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource | |||||||||
![]() ![]()  | Σ | 0..1 | Reference(Encounter) | Encounter associated with media | Σ | 0..1 | Reference(Encounter) | Encounter associated with media | |||||||||
![]() ![]()  | Σ | 1..1 | dateTime, Period | When Media was collected | Σ | 1..1 | dateTime, Period | When Media was collected | |||||||||
![]() ![]()  | Σ | 0..1 | instant | Date/Time this version was made available | Σ | 0..1 | instant | Date/Time this version was made available | |||||||||
![]() ![]()  | Σ | 0..1 | Reference(ehealth-practitioner) {r} | The person who generated the image | Σ | 0..1 | Reference(ehealth-practitioner) {r} | The person who generated the image | |||||||||
![]() ![]()  | Σ | 0..* | CodeableConcept | Why was event performed? Binding: ?? (example): The reason for the media.  | Σ | 0..* | CodeableConcept | Why was event performed? Binding: ?? (example): The reason for the media.  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | Observed body part Binding: ?? (required)  | Σ | 0..1 | CodeableConcept | Observed body part Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 0..1 | string | Name of the device/manufacturer | Σ | 0..1 | string | Name of the device/manufacturer | |||||||||
![]() ![]()  | Σ | 0..1 | Reference(ehealth-device | ehealth-devicemetric) {r} | Observing Device | Σ | 0..1 | Reference(ehealth-device | ehealth-devicemetric) {r} | Observing Device | |||||||||
![]() ![]()  | Σ | 0..1 | positiveInt | Height of the image in pixels (photo/video) | Σ | 0..1 | positiveInt | Height of the image in pixels (photo/video) | |||||||||
![]() ![]()  | Σ | 0..1 | positiveInt | Width of the image in pixels (photo/video) | Σ | 0..1 | positiveInt | Width of the image in pixels (photo/video) | |||||||||
![]() ![]()  | Σ | 0..1 | positiveInt | Number of frames if > 1 (photo) | Σ | 0..1 | positiveInt | Number of frames if > 1 (photo) | |||||||||
![]() ![]()  | Σ | 0..1 | decimal | Length in seconds (audio / video) | Σ | 0..1 | decimal | Length in seconds (audio / video) | |||||||||
![]() ![]()  | Σ | 1..1 | Attachment | Actual Media - reference or data | Σ | 1..1 | Attachment | Actual Media - reference or data | |||||||||
![]() ![]()  | 0..* | Annotation | Comments made about the media | 0..* | Annotation | Comments made about the media | |||||||||||
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||||||||
![]() ![]() ![]()  | Σ | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation Slice: Unordered, Closed by type:$this  | Σ | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation Slice: Unordered, Closed by type:$this  | |||||||||
![]() ![]() ![]()  | Σ | 0..1 | dateTime | When the annotation was made | Σ | 0..1 | dateTime | When the annotation was made | |||||||||
![]() ![]() ![]()  | Σ | 1..1 | markdown | The annotation - text content (as markdown) | Σ | 1..1 | markdown | The annotation - text content (as markdown) | |||||||||
  Documentation for this format | |||||||||||||||||