Patsiendi elulõpu tahteavaldus
0.1.0 - trial-use
Patsiendi elulõpu tahteavaldus, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-pet/ and changes regularly. See the Directory of published versions
| Official URL: https://fhir.ee/ahd/OperationDefinition/ahd-complete | Version: 0.1.0 | |||
| Active as of 2026-09-04 | Computable Name: AHDQuestionnaireResponseComplete | |||
UC-AHD-055: confirms a patient's end-of-life directive (PET). Input is exactly one of: a digitally signed PET as a Binary (signedBinary) or a QuestionnaireResponse and Provenance collection Bundle for paper signing (bundle). Under the stage-1 mock configuration, the digital path parses the ASiC-E container without DigiDoc signature verification and stores it locally instead of DRIT. Where digital signing is not enabled, the digital path responds with HTTP 501.
URL: [base]/QuestionnaireResponse/$complete
URL: [base]/QuestionnaireResponse/[id]/$complete
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | signedBinary | 0..1 | Binary | Digitally signed PET (ASiC-E container) as a Binary resource. | ||
| IN | bundle | 0..1 | Bundle | Collection Bundle with the QuestionnaireResponse and the paper-signing Provenance. | ||
| OUT | questionnaireResponse | 1..1 | Reference | Reference to the stored PET version. | ||
| OUT | provenance | 1..1 | Reference | Reference to the stored signing Provenance. | ||
| OUT | signedBinary | 0..1 | Reference | Reference to the stored signed Binary (digital signing only). |