photo
A photograph relating to a patient. This can be included as either:
Patient.photo
usage:Patient.id[0] | UKCore-Patient-Sn-Photo-Example |
Patient.photo[0].contentType[0] | image/png |
Patient.photo[0].data[0] | base64Binary |
Patient |
id : UKCore-Patient-Sn-Photo-Example |
photo |
contentType : image/png |
data : base64Binary |
<Patient xmlns="http://hl7.org/fhir"> <id value="UKCore-Patient-Sn-Photo-Example" /> <!-- **************snippet start************** --> <photo> <contentType value="image/png" /> <data value="base64Binary" /> </photo> <!-- **************snippet end************** --> </Patient>
{ "resourceType": "Patient", "id": "UKCore-Patient-Sn-Photo-Example", "photo": [ { "contentType": "image/png", "data": "base64Binary" } ] }
If both are used, the URL SHALL point to the same data as that encoded in the attachment.