Media - FHIR Resource (dstu2)
This Media Resource uses the
FHIR API standard for access and structure.
Validate an Media FHIR Resource (dstu2)
Resource Attributes
Attribute | Field is list | Type | Description |
---|
content | false | Attachment | # Actual Media - reference or data
|
deviceName | false | string | # Name of the device/manufacturer
|
duration | false | unsignedInt | # C? Length in seconds (audio / video)
|
frames | false | positiveInt | # C? Number of frames if > 1 (photo)
|
height | false | positiveInt | # C? Height of the image in pixels (photo/video)
|
identifier | true | Identifier | # Identifier(s) for the image
|
operator | false | Reference | # The person who generated the image
|
subject | false | Reference | # Who/What this Media is a record of
|
subtype | false | CodeableConcept | # The type of acquisition equipment/process
|
type | false | code | # photo | video | audio
|
view | false | CodeableConcept | # Imaging view, e.g. Lateral or Antero-posterior
|
width | false | positiveInt | # C? Width of the image in pixels (photo/video)
|
Media Structure
{
"resourceType" : "Media",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"type" : "<code>", // R! photo | video | audio
"subtype" : { CodeableConcept }, // The type of acquisition equipment/process
"identifier" : [{ Identifier }], // Identifier(s) for the image
"subject" : { Reference(Patient|Practitioner|Group|Device|Specimen) }, // Who/What this Media is a record of
"operator" : { Reference(Practitioner) }, // The person who generated the image
"view" : { CodeableConcept }, // Imaging view, e.g. Lateral or Antero-posterior
"deviceName" : "<string>", // Name of the device/manufacturer
"height" : "<positiveInt>", // C? Height of the image in pixels (photo/video)
"width" : "<positiveInt>", // C? Width of the image in pixels (photo/video)
"frames" : "<positiveInt>", // C? Number of frames if > 1 (photo)
"duration" : "<unsignedInt>", // C? Length in seconds (audio / video)
"content" : { Attachment } // R! Actual Media - reference or data
}
Media Search Parameters
The following search parameters can be used to query Media resources. Just submit them like so:
https://api.1up.health/fhir/dstu2/Media?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|
created | date | content.creation |
identifier | text | identifier |
operator | reference | operator |
patient | reference | subject |
subject | reference | subject |
subtype | text | subtype |
type | text | type |
view | text | view |