UK Core Implementation Guide 1.0.0 - STU1

photo

A photograph relating to a patient. This can be included as either:

  • An attachment encoded as base64Binary with a relevant MIME contentType: image/png, image/jpg or image/jpeg preferred.

Table View

Patient.id[0]UKCore-Patient-Sn-Photo-Example
Patient.photo[0].contentType[0]image/png
Patient.photo[0].data[0]base64Binary

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Sn-Photo-Example" />
<!-- **************snippet start************** -->
<contentType value="image/png" />
<data value="base64Binary" />
</photo>
<!-- **************snippet end************** -->
</Patient>

JSON View

{
"resourceType": "Patient",
"id": "UKCore-Patient-Sn-Photo-Example",
"photo": [
{
"contentType": "image/png",
"data": "base64Binary"
}
]
}


and/or
  • URL where the data can be found.

If both are used the URL SHALL point to the same data as that encoded in the attachment.


back to top