6.2 Media リソース

logo fhir

HomeInfrastructureMedia [media]

Resource Media - Content6.2

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

The resource name as it appears in a RESTful URL is [root]/media/

The Media resource contains photos, videos, and audio recordings. It is used with media acquired or used as part of the healthcare process. Here are some typical usages:

  • Photos of patients and staff for identification purposes
  • Photos and videos of diagnostic or care provision procedures for recording purposes
  • Storing scans and faxes of paper documents where not enough metadata exists to create a DocumentReference
  • Images on diagnostic reports

Although the Media resource is allowed to contain images collected by a DICOM based system, DICOM images would preferentially be made available in a FHIR ecosystem by provision of an ImagingStudy resource with references to a WADO-RS server.

Resource Content6.2.1

<Media xmlns="http://hl7.org/fhir"> <!-- from Resource: extension, narrative, and contained --> <type value="[code]"/><!-- 1..1 photo | audio | video § --> <subtype><!-- 0..1 CodeableConcept The type of acquisition equipment/process § --></subtype> <identifier><!-- 0..* Identifier Identifier(s) for the image § --></identifier> <dateTime value="[dateTime]"/><!-- 0..1 When the media was taken/recorded § --> <subject><!-- 0..1 Resource(Patient|Practitioner|Group|Device|Specimen) Who/What this Media is a record of § --></subject> <requester><!-- 0..1 Resource(Practitioner) Who asked that this image be collected § --></requester> <operator><!-- 0..1 Resource(Practitioner) The person who generated the image § --></operator> <view><!-- 0..1 CodeableConcept Imaging view e.g Lateral or Antero-posterior § --></view> <deviceName value="[string]"/><!-- 0..1 Name of the device/manufacturer § --> <height value="[integer]"/><!-- 0..1 Height of the image in pixels(photo/video) § --> <width value="[integer]"/><!-- 0..1 Width of the image in pixels (photo/video) § --> <frames value="[integer]"/><!-- 0..1 Number of frames if > 1 (photo) § --> <length value="[integer]"/><!-- 0..1 Length in seconds (audio / video) § --> <content><!-- 1..1 Attachment Actual Media - reference or data --></content> </Media>

Alternate definitions: Schema/Schematron, Resource Profile

Terminology Bindings 6.2.1.1

Constraints6.2.1.2

  • Inv-1: Height can only be used for a photo or video (xpath: not(f:type/@value='audio') or not(f:height))
  • Inv-2: Width can only be used for a photo or video (xpath: not(f:type/@value='audio') or not(f:width))
  • Inv-3: Frames can only be used for a photo (xpath: (f:type/@value='photo') or not(f:frames))
  • Inv-4: Length can only be used for an audio or a video (xpath: not(f:type/@value='photo') or not(f:length))

Search Parameters 6.2.2

Search Parameters for RESTful searches. The standard parameters also apply. See Searching for more information.