Some Observations may be accompanied by media. E.g. images.
It is possible to search for Media based on:
At least one of “subject” and “context” must be provided. “period” searches on range of “occurence”.
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.
This structure is derived from Media
Summary
Mandatory: 5 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from Media
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Media | 0..* | A photo, video, or audio recording acquired or used in healthcare. | ||
extension | 0..* | Extension | Slice: Unordered, Open by value:url | |
ehealth-quality | 0..* | (Complex) | Minimum requirements for qualities URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality | |
ehealth-sharingPolicy | 1..1 | CodeableConcept | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy Binding: SubmissionSharingPolicies (required) | |
basedOn | 1..1 | Reference(eHealth ProcedureRequest) {r} | ||
subject | 1..1 | Reference(eHealth Patient | eHealth Practitioner | Group | eHealth Device | Specimen) {r} | ||
reference | 1..1 | string | ||
context | 1..1 | Reference(eHealth EpisodeOfCare) {r} | ||
operator | 0..1 | Reference(eHealth Practitioner) {r} | ||
device | 0..1 | Reference(eHealth Device | eHealth DeviceMetric) {r} | ||
Documentation for this format |
This structure is derived from Media
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Media | I | 0..* | A photo, video, or audio recording acquired or used in healthcare. | |
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: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ehealth-quality | 0..* | (Complex) | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality | |
ehealth-sharingPolicy | 1..1 | CodeableConcept | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy Binding: SubmissionSharingPolicies (required) | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Identifier(s) for the image |
basedOn | Σ | 1..1 | Reference(eHealth ProcedureRequest) {r} | Procedure that caused this media to be created |
type | Σ | 1..1 | code | photo | video | audio Binding: DigitalMediaType (required) |
subtype | Σ | 0..1 | CodeableConcept | The type of acquisition equipment/process Binding: Media SubType (example) |
view | Σ | 0..1 | CodeableConcept | Imaging view, e.g. Lateral or Antero-posterior Binding: Media Collection View/Projection (example) |
subject | Σ | 1..1 | Reference(eHealth Patient | eHealth Practitioner | Group | eHealth Device | Specimen) {r} | Who/What this Media is a record of |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
context | Σ | 1..1 | Reference(eHealth EpisodeOfCare) {r} | Encounter / Episode associated with media |
occurrence[x] | Σ | 0..1 | dateTime, Period | When Media was collected |
operator | Σ | 0..1 | Reference(eHealth Practitioner) {r} | The person who generated the image |
reasonCode | Σ | 0..* | CodeableConcept | Why was event performed? Binding: Procedure Reason Codes (example) |
bodySite | Σ | 0..1 | CodeableConcept | Body part in media Binding: SNOMED CT Body Structures (example) |
device | Σ | 0..1 | Reference(eHealth Device | eHealth DeviceMetric) {r} | Observing Device |
height | ΣI | 0..1 | positiveInt | Height of the image in pixels (photo/video) |
width | ΣI | 0..1 | positiveInt | Width of the image in pixels (photo/video) |
frames | ΣI | 0..1 | positiveInt | Number of frames if > 1 (photo) |
duration | ΣI | 0..1 | unsignedInt | 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 | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
author[x] | Σ | 0..1 | Reference(eHealth Practitioner | eHealth Patient | eHealth RelatedPerson) {r}, string | Individual responsible for the annotation |
time | Σ | 0..1 | dateTime | When the annotation was made |
text | 1..1 | string | The annotation - text content | |
Documentation for this format |
This structure is derived from Media
Summary
Mandatory: 5 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from Media
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Media | 0..* | A photo, video, or audio recording acquired or used in healthcare. | ||
extension | 0..* | Extension | Slice: Unordered, Open by value:url | |
ehealth-quality | 0..* | (Complex) | Minimum requirements for qualities URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality | |
ehealth-sharingPolicy | 1..1 | CodeableConcept | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy Binding: SubmissionSharingPolicies (required) | |
basedOn | 1..1 | Reference(eHealth ProcedureRequest) {r} | ||
subject | 1..1 | Reference(eHealth Patient | eHealth Practitioner | Group | eHealth Device | Specimen) {r} | ||
reference | 1..1 | string | ||
context | 1..1 | Reference(eHealth EpisodeOfCare) {r} | ||
operator | 0..1 | Reference(eHealth Practitioner) {r} | ||
device | 0..1 | Reference(eHealth Device | eHealth DeviceMetric) {r} | ||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Media | I | 0..* | A photo, video, or audio recording acquired or used in healthcare. | |
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: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ehealth-quality | 0..* | (Complex) | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality | |
ehealth-sharingPolicy | 1..1 | CodeableConcept | Extension URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy Binding: SubmissionSharingPolicies (required) | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Identifier(s) for the image |
basedOn | Σ | 1..1 | Reference(eHealth ProcedureRequest) {r} | Procedure that caused this media to be created |
type | Σ | 1..1 | code | photo | video | audio Binding: DigitalMediaType (required) |
subtype | Σ | 0..1 | CodeableConcept | The type of acquisition equipment/process Binding: Media SubType (example) |
view | Σ | 0..1 | CodeableConcept | Imaging view, e.g. Lateral or Antero-posterior Binding: Media Collection View/Projection (example) |
subject | Σ | 1..1 | Reference(eHealth Patient | eHealth Practitioner | Group | eHealth Device | Specimen) {r} | Who/What this Media is a record of |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
context | Σ | 1..1 | Reference(eHealth EpisodeOfCare) {r} | Encounter / Episode associated with media |
occurrence[x] | Σ | 0..1 | dateTime, Period | When Media was collected |
operator | Σ | 0..1 | Reference(eHealth Practitioner) {r} | The person who generated the image |
reasonCode | Σ | 0..* | CodeableConcept | Why was event performed? Binding: Procedure Reason Codes (example) |
bodySite | Σ | 0..1 | CodeableConcept | Body part in media Binding: SNOMED CT Body Structures (example) |
device | Σ | 0..1 | Reference(eHealth Device | eHealth DeviceMetric) {r} | Observing Device |
height | ΣI | 0..1 | positiveInt | Height of the image in pixels (photo/video) |
width | ΣI | 0..1 | positiveInt | Width of the image in pixels (photo/video) |
frames | ΣI | 0..1 | positiveInt | Number of frames if > 1 (photo) |
duration | ΣI | 0..1 | unsignedInt | 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 | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
author[x] | Σ | 0..1 | Reference(eHealth Practitioner | eHealth Patient | eHealth RelatedPerson) {r}, string | Individual responsible for the annotation |
time | Σ | 0..1 | dateTime | When the annotation was made |
text | 1..1 | string | The annotation - text content | |
Documentation for this format |
Path | Name | Conformance | ValueSet |
Media.language | Common Languages | extensible | Common Languages |
Media.type | DigitalMediaType | required | DigitalMediaType |
Media.subtype | Media SubType | example | Media SubType |
Media.view | Media Collection View/Projection | example | Media Collection View/Projection |
Media.reasonCode | Procedure Reason Codes | example | Procedure Reason Codes |
Media.bodySite | SNOMED CT Body Structures | example | SNOMED CT Body Structures |
Id | Path | Details | Requirements |
dom-2 | Media | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | Media | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | Media | If 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-3 | Media | If 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-1 | Media | Height can only be used for a photo or video : height.empty() or type != 'audio' | |
mda-2 | Media | Width can only be used for a photo or video : width.empty() or type != 'audio' | |
mda-3 | Media | Frames can only be used for a photo : frames.empty() or type = 'photo' | |
mda-4 | Media | Duration can only be used for an audio or a video : duration.empty() or type != 'photo' |