This resource stores multimedia attachments such as photos, documents, videos, or other binary files related to patient care. Each media entry contains the file content, type, creation date, and associated clinical context.
You can review or retrieve media information with FHIR® passthrough.
_search
Query for media attachments for a patient.
cURL request example
Request Body Schema
- patientArray of string
Who/What this Media is a record of.
- patient.identifierArray of string
One or more external identifiers for the patient
- identifierArray of string
Identifier(s) for the image
- typeArray of string
Classification of media as image, video, or audio
- statusArray of string
preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- encounterArray of string
Encounter associated with media
- encounter.identifierArray of string
Identifier(s) by which this encounter is known
- createdArray of string
When Media was collected
- resourceTyperequired, string
Identifies the type of the resource
Value:Bundle - typerequired, string
Identifies this bundle as a response to a search
Value:searchset - totalrequired, number
The total number of matches
- entryArray of Media or Other
A resource matching the search criteria or related to a matching resource
- resourcerequired, object
A photo or video or audio recording acquired or used in healthcare.
- resourceTyperequired, string
Identifies the type of the resource
Value:Media - statusrequired, string
The current state of the {{title}}.
Possible Values:preparation,in-progress,not-done,on-hold,stopped,completed,entered-in-error,unknown - contentrequired, object
The actual content of the media - inline or by direct reference to the media source file.
- contentTypestring
Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
- datastring
The actual data of the attachment - a sequence of bytes, base64 encoded.
- idstring
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
- identifierArray of object
Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.
- extensionArray of Boolean, String, CodeableConcept, Coding
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
- valueBooleanboolean
A single value for the extension.
- usestring
The purpose of this identifier.
Possible Values:usual,official,temp,secondary,old (If known) - systemstring
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
- valuestring
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
- typeobject
A code that classifies whether the media is an image, video or audio recording or some other media category.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- modalityobject
Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- viewobject
The name of the imaging view e.g. Lateral or Antero-posterior (AP).
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- subjectobject
Who/What this Media is a record of.
Must be a resource of type
Patient.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#and refers to a contained resource.
- encounterobject
The encounter that establishes the context for this media.
Must be a resource of type
Encounter.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#and refers to a contained resource.
- operatorobject
The person who administered the collection of the image.
Must be a resource of type
Practitioner.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#and refers to a contained resource.
- bodySiteobject
Indicates the site on the subject's body where the observation was made (i.e. the target site).
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- noteArray of object
Comments made about the media by the performer, subject or other participants.
- textrequired, string
The text of the annotation in markdown format.
- createdDateTimestring
The date and time(s) at which the media was collected.
Only one of
createdDateTime,createdPeriodmay be present. - createdPeriodobject
The date and time(s) at which the media was collected.
Only one of
createdDateTime,createdPeriodmay be present.- startstring
The start of the period. The boundary is inclusive.
- endstring
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
- searchrequired, object
Information about the search process that lead to the creation of this entry.
- moderequired, string
Identifies the Media as matching the search parameters
Value:match
Response to a Media search operation