This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 4.0.1. For a full list of available versions, see the Directory of published versions 
Operation Definition
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
_ a fhir:OperationDefinition;
fhir:Resource.id [ fhir:value "Task-fail"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/Task-fail"];
fhir:OperationDefinition.name [ fhir:value "Fail Task"];
fhir:OperationDefinition.status [ fhir:value "draft"];
fhir:OperationDefinition.kind [ fhir:value "operation"];
fhir:OperationDefinition.date [ fhir:value "2016-08-11T17:02:54+10:00"];
fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"];
fhir:OperationDefinition.contact [
fhir:index 0;
fhir:OperationDefinition.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "other" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
], [
fhir:index 1;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
]
];
fhir:OperationDefinition.description [ fhir:value "Fail this task. The task is transitioned to the failed state."];
fhir:OperationDefinition.code [ fhir:value "fail"];
fhir:OperationDefinition.system [ fhir:value "false"];
fhir:OperationDefinition.instance [ fhir:value "true"];
fhir:OperationDefinition.parameter [
fhir:index 0;
fhir:OperationDefinition.name [ fhir:value "reason" ];
fhir:OperationDefinition.use [ fhir:value "in" ];
fhir:OperationDefinition.min [ fhir:value "0" ];
fhir:OperationDefinition.max [ fhir:value "1" ];
fhir:OperationDefinition.documentation [ fhir:value "The reason for failure. If present, this is assigned to the failureReason property of the task." ];
fhir:OperationDefinition.type [ fhir:value "CodeableConcept" ]
] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.