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-task-complete | Version: 0.1.0 | |||
| Draft as of 2026-09-04 | Computable Name: AHDTrusteeInvitationComplete | |||
UC-AHD-060: the invitation recipient accepts the trusted person invitation with a digitally signed RelatedPerson (ASiC-E container). Under the stage-1 mock configuration, the operation parses the container without DigiDoc signature verification and stores it locally instead of DRIT. Where digital signing is not enabled, the operation responds with HTTP 501.
URL: [base]/Task/[id]/$complete
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | signedBinary | 1..1 | Binary | Digitally signed trusted person (ASiC-E container) as a Binary resource. | ||
| OUT | task | 1..1 | Reference | Reference to the completed invitation (Task) version. | ||
| OUT | relatedPerson | 1..1 | Reference | Reference to the confirmed trusted person (RelatedPerson) version. | ||
| OUT | provenance | 1..1 | Reference | Reference to the stored signing Provenance. | ||
| OUT | signedBinary | 1..1 | Reference | Reference to the stored signed Binary (the ASiC-E container). |