Skip to main content

Media

ResourceClinical · DiagnosticsTrial useMaturity 1

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

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
13 of 13 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierIdentifier(s) for the image
basedOnΣ
0..*Reference(ServiceRequest | CarePlan)Procedure that caused this media to be created
partOfΣ
0..*Reference(Resource)Part of referenced event
statusRequired?!Σ
1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknownBinding (required): event-status
typeΣ
0..1CodeableConceptClassification of media as image, video, or audioBinding (extensible): media-type
modalityΣ
0..1CodeableConceptThe type of acquisition equipment/processBinding (example): media-modality
viewΣ
0..1CodeableConceptImaging view, e.g. Lateral or Antero-posteriorBinding (example): media-view
subjectΣ
0..1Reference(Patient | Practitioner | PractitionerRole | Group | Device | Specimen | Location)Who/What this Media is a record of
encounterΣ
0..1Reference(Encounter)Encounter associated with media
created[x]Σ
0..1dateTime | PeriodWhen Media was collected
issuedΣ
0..1instantDate/Time this version was made available
operatorΣ
0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson)The person who generated the image
reasonCodeΣ
0..*CodeableConceptWhy was event performed?Binding (example): procedure-reason
bodySiteΣ
0..1CodeableConceptObserved body partBinding (example): body-site
deviceNameΣ
0..1stringName of the device/manufacturer
deviceΣ
0..1Reference(Device | DeviceMetric | Device)Observing Device
heightΣ
0..1positiveIntHeight of the image in pixels (photo/video)
widthΣ
0..1positiveIntWidth of the image in pixels (photo/video)
framesΣ
0..1positiveIntNumber of frames if > 1 (photo)
durationΣ
0..1decimalLength in seconds (audio / video)
contentRequiredΣ
1..1AttachmentActual Media - reference or data
note
0..*AnnotationComments made about the media

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Media?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
based-onreference

Procedure that caused this media to be created

Media.basedOn
createddate

When Media was collected

Media.created
devicereference

Observing Device

Media.device
encounterreference

Encounter associated with media

Media.encounter
identifiertoken

Identifier(s) for the image

Media.identifier
modalitytoken

The type of acquisition equipment/process

Media.modality
operatorreference

The person who generated the image

Media.operator
patientreference

Who/What this Media is a record of

Media.subject.where(resolve() is Patient)
sitetoken

Observed body part

Media.bodySite
statustoken

preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown

Media.status
subjectreference

Who/What this Media is a record of

Media.subject
typetoken

Classification of media as image, video, or audio

Media.type
viewtoken

Imaging view, e.g. Lateral or Antero-posterior

Media.view

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition