Get media by ID
get
/Media/{id}
Note: The FHIR API endpoints described below are currently pending production deployment for electronic health record (EHR) environments. Developers are welcome and encouraged to develop against the specifications in anticipation of production availability, which will be announced at a later date.
Retrieves individual media content by the associated ID.
Request
Path Parameters
-
id(required): string
The logical resource ID.
Header Parameters
-
accept(required): string
The media type to be requested.
Example:
application/fhir+json -
authorization(required): string
The credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
There's no request body for this operation.
Back to TopResponse
200 Response
Successful retrieve response.
Root Schema : Media
Type:
Show Source
object-
content(required): object
content
-
id(required): string
-
resourceType(required): string
Allowed Values:
[ "Media" ] -
status(required): string
The status of the media.
-
subject(required):
subject
The subject of the media. Usually, but not always, the subject is the patient.
Nested Schema : content
Type:
Show Source
object-
contentType(required): string
The type of the data in the attachment, which allows a method to interpret or render the data.
-
data: string
The base64-encoded content of the media.
-
size: integer
The number of bytes of data that composes this content (before base64 encoding, if applicable).
Nested Schema : subject
The subject of the media. Usually, but not always, the subject is the patient.
Match All
The subject of the media. Usually, but not always, the subject is the patient.
Show Source
Default Response
An OperationOutcome
describing any error that occurred.
Root Schema : OperationOutcome
Type:
Show Source
object-
issue(required): array
issue
-
resourceType(required): string
Allowed Values:
[ "OperationOutcome" ]