Photo

Description

Container for the patient photo.

Use

Use for images of patient to identify him, like portrait pictures on identity cards.

Not use

Not use for observations or diagnostic topics.

Data Model

Name Type M Description Example
photo String X The photo itself (data), base64 encoding “SGVsbG9Xb3JsZA==”
mimeType String X Mime-Type of the file. “image/png”
description String Some description which kind of picture is given. “portrait”
date DateTime Date when picture was taken. “01.01.1970”

Rules

– If no picture is given, no other content is needed in this data type.
– The picture data must be encoded, no binary representation of data.
– The encoding format must be base64.

Parameter Codes

loinc_num component system property time_aspct scale_typ method_typ
72170-4 Photographic image XXX Find Pt Doc

Update Rhythm

The patient can update his photo at any point of time – multiple times per day.

Schema

{
“id”: “/core/personal/Photo”,
“$schema”: “http://json-schema.org/draft-04/schema#”,
“type”: “object”,
“properties”: {
“photo”: {
“type”: “string”,
“media”: {
“binaryEncoding”: “base64”
}
},
“mimeType”: {
“type”: “string”
},
“description”: {
“type”: “string”
},
“date”: {
“$ref”: “/core/DateTime”
}
},
“required”: [“photo”, “mimeType”],
“additionalProperties”: false
}