Functional standard / Foundation
Instance
Every resource carries these elements. Patient-scoped resources also carry patient_id. Resource pages list only their own elements and point here.
This is the inheritance root, in the sense of an openEHR LOCATABLE's common fields or a FHIR resource's id and meta. It is not a resource you create.
| Name | Card. | Type | Flags | Meaning |
|---|---|---|---|---|
| id | 1..1 | id | R | Server-assigned. |
| site | 1..1 | code | R | Tenant. Shared definitions use site *. |
| status | 1..1 | code | B | The state machine on the resource page. |
| created_at | 1..1 | dateTime | R | Stored at. |
| created_by | 1..1 | id | R | Actor id. |
| updated_at | 0..1 | dateTime | R | Last change. |
| updated_by | 0..1 | id | R | Actor of the last change. |
| deleted | 1..1 | boolean | R | Soft delete. Often impossible. See the resource. |
| definition_key | 0..1 | code | I | Template key. |
| definition_id | 0..1 | id | R | Exact published definition. |
| definition_version | 0..1 | integer | R | Version used at creation. |
| patient_id | 1..1 on patient resources | id | I | Present on PatientInstance. Optional on Task, Routine, Approval, Proposal, Conversation. |