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
| Active as of 2026-09-04 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/OperationDefinition/ahd-complete> a fhir:OperationDefinition ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ahd-complete"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition ahd-complete</b></p><a name=\"ahd-complete\"> </a><a name=\"hcahd-complete\"> </a><p>URL: [base]/QuestionnaireResponse/$complete</p><p>URL: [base]/QuestionnaireResponse/[id]/$complete</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>signedBinary</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R5/binary.html\">Binary</a></td><td/><td><div><p>Digitally signed PET (ASiC-E container) as a Binary resource.</p>\n</div></td></tr><tr><td>IN</td><td>bundle</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R5/bundle.html\">Bundle</a></td><td/><td><div><p>Collection Bundle with the QuestionnaireResponse and the paper-signing Provenance.</p>\n</div></td></tr><tr><td>OUT</td><td>questionnaireResponse</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a></td><td/><td><div><p>Reference to the stored PET version.</p>\n</div></td></tr><tr><td>OUT</td><td>provenance</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a></td><td/><td><div><p>Reference to the stored signing Provenance.</p>\n</div></td></tr><tr><td>OUT</td><td>signedBinary</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a></td><td/><td><div><p>Reference to the stored signed Binary (digital signing only).</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
] ; #
fhir:url [ fhir:v "https://fhir.ee/ahd/OperationDefinition/ahd-complete"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.1.0"] ; #
fhir:name [ fhir:v "AHDQuestionnaireResponseComplete"] ; #
fhir:title [ fhir:v "PET confirmation ($complete)"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:kind [ fhir:v "operation"] ; #
fhir:experimental [ fhir:v false] ; #
fhir:date [ fhir:v "2026-09-04T09:27:54+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "TEHIK"] ; #
fhir:contact ( [
fhir:name [ fhir:v "TEHIK" ] ;
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://tehik.ee" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "abi@tehik.ee" ]
] )
] ) ; #
fhir:description [ fhir:v "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."] ; #
fhir:affectsState [ fhir:v true] ; #
fhir:code [ fhir:v "complete"] ; #
fhir:resource ( [ fhir:v "QuestionnaireResponse"] ) ; #
fhir:system [ fhir:v false] ; #
fhir:type [ fhir:v true] ; #
fhir:instance [ fhir:v true] ; #
fhir:parameter ( [
fhir:name [ fhir:v "signedBinary" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Digitally signed PET (ASiC-E container) as a Binary resource." ] ;
fhir:type [ fhir:v "Binary" ]
] [
fhir:name [ fhir:v "bundle" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Collection Bundle with the QuestionnaireResponse and the paper-signing Provenance." ] ;
fhir:type [ fhir:v "Bundle" ]
] [
fhir:name [ fhir:v "questionnaireResponse" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Reference to the stored PET version." ] ;
fhir:type [ fhir:v "Reference" ]
] [
fhir:name [ fhir:v "provenance" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Reference to the stored signing Provenance." ] ;
fhir:type [ fhir:v "Reference" ]
] [
fhir:name [ fhir:v "signedBinary" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Reference to the stored signed Binary (digital signing only)." ] ;
fhir:type [ fhir:v "Reference" ]
] ) . #
IG © 2026+ TEHIK. Package ee.fhir.ahd#0.1.0 based on FHIR 5.0.0. Generated 2026-09-04
Links: Table of Contents |
QA Report