You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/schemas/med_dossier/Episode.yaml

40 lines
1.6 KiB
YAML

type: object
required:
- icpc
- start
- mut
properties:
icpc:
description: |-
The ICPC1.1 (NL variant) code describing this problem / chronic condition.
Guaranteed to be formatted as `X01.00`, _or_ blank (for GPIS that allow registering problems / conditions without an ICPC).
Note that certain ICPC1.1 codes are generally stated without the subcode, for example, `B73` (Leukemia). Nevertheless these are
returned by this API as `B73.00`.
type: string
pattern: '^[A-Z]\d{2}\.\d{2}$'
example: A97.00
start:
description: |-
This problem / episode / chronic condition was opened on this date, usually because it was diagnosed on this date.
Always provided, but may contain the sentinel value of `1900-01-01` if the source doesn't have a start date. Generally
such episodes are to be treated as having always been part of the patient's dossier.
$ref: ../date.yaml
end:
description: |-
If the episode has been determined to no longer be relevant (for example, cured), the date when the episode was closed.
$ref: ../date.yaml
mut:
description: |-
The last time an event (for example, seeing the patient for chronic care related to this episode) was recorded in context of
this episode. Is guaranteed to be present and will never be earlier than `start`.
$ref: ../date.yaml
description:
description: |-
Most GPIS default the 'description' of an episode to the standard description for the provided ICPC, but allow the
practitioner to change this description.
type: string
example: "Geboorte dochter"