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

OperationDefinition: Trusted person invitation acceptance ($complete)

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

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsignedBinary1..1Binary

Digitally signed trusted person (ASiC-E container) as a Binary resource.

OUTtask1..1Reference

Reference to the completed invitation (Task) version.

OUTrelatedPerson1..1Reference

Reference to the confirmed trusted person (RelatedPerson) version.

OUTprovenance1..1Reference

Reference to the stored signing Provenance.

OUTsignedBinary1..1Reference

Reference to the stored signed Binary (the ASiC-E container).