Publish-box (todo)
Clinical Decision Support Work Group | Maturity Level: N/A | Standards Status: Informative |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Operation Definition
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:OperationDefinition ; fhir:id [ fhir:v "PlanDefinition-apply"] ; fhir:text [ fhir:status [ fhir:v "generated" ] ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ; fhir:value [ fhir:v "3" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ; fhir:value [ fhir:v "trial-use" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ; fhir:value [ fhir:v "cds" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/OperationDefinition/PlanDefinition-apply"], [ fhir:v "http://hl7.org/fhir/OperationDefinition/PlanDefinition-apply"] ; fhir:version [ fhir:v "6.0.0-ballot2"], [ fhir:v "6.0.0-ballot2"] ; fhir:name [ fhir:v "Apply"], [ fhir:v "Apply"] ; fhir:title [ fhir:v "Apply"], [ fhir:v "Apply"] ; fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ; fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ; fhir:date [ fhir:v "2024-08-12T16:52:12+08:00"], [ fhir:v "2024-08-12T16:52:12+08:00"] ; fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"], [ fhir:v "HL7 International / Clinical Decision Support"] ; fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "fhir@lists.hl7.org" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "fhir@lists.hl7.org" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ] ] ) ] ) ; fhir:description [ fhir:v "The apply operation applies a PlanDefinition to a given subject"], [ fhir:v "The apply operation applies a PlanDefinition to a given subject"] ; fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; fhir:kind [ fhir:v "operation"] ; fhir:affectsState [ fhir:v "false"] ; fhir:code [ fhir:v "apply"] ; fhir:comment [ fhir:v "The result of this operation is a Bundle for each subject, where the Bundle contains as its first entry a RequestOrchestration that is the direct result of applying the PlanDefinition to that subject, and any subsequent entries in the Bundle are resources that were created or updated as part of that process. The RequestOrchestration will have actions for each of the applicable actions in the plan based on evaluating the applicability condition in context. For each applicable action, the definition is applied as described in the $apply operation of the ActivityDefinition resource, and the resulting resource is added as an entry to the Bundle. If the ActivityDefinition includes library references, those libraries will be available to the evaluated expressions. If those libraries have parameters, those parameters will be bound by name to the parameters given to the operation. In addition, parameters to the $apply operation are available within dynamicValue expressions as context variables, accessible by the name of the parameter, prefixed with a percent (%) symbol. For a more detailed description, refer to the PlanDefinition and ActivityDefinition resource documentation. Note that result of this operation is transient (i.e. none of the resources created by the operation are persisted in the server, they are all returned as entries in the result Bundle(s)). The result effectively represents a proposed set of activities, and it is up to the caller to determine whether and how those activities are actually carried out and/or persisted."] ; fhir:resource ( [ fhir:v "PlanDefinition"] ) ; fhir:system [ fhir:v "false"] ; fhir:type [ fhir:v "true"] ; fhir:instance [ fhir:v "true"] ; fhir:parameter ( [ fhir:name [ fhir:v "planDefinition" ] ; fhir:use [ fhir:v "in" ] ; fhir:scope ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The plan definition to be applied. If the operation is invoked at the instance level, this parameter is not allowed; if the operation is invoked at the type level, this parameter is required, or a url (and optionally version) must be supplied" ] ; fhir:type [ fhir:v "PlanDefinition" ] ] [ fhir:name [ fhir:v "url" ] ; fhir:use [ fhir:v "in" ] ; fhir:scope ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The url of the plan definition to be applied. If the operation is invoked at the instance level, this parameter is not allowed; if the operation is invoked at the type level, this parameter (and optionally the version), or the planDefinition parameter must be supplied" ] ; fhir:type [ fhir:v "canonical" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/PlanDefinition" ] ) ] [ fhir:name [ fhir:v "version" ] ; fhir:use [ fhir:v "in" ] ; fhir:scope ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The version of the plan definition to be applied. If the operation is invoked at the instance level, this parameter is not allowed; if the operation is invoked at the type level, this parameter may only be used if the url parameter is supplied." ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "subject" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "*" ] ; fhir:documentation [ fhir:v "The subject(s) that is/are the target of the plan to be applied. The subject may be a Patient, Practitioner, Organization, Location, Device, or Group. Subjects provided in this parameter will be resolved as the subject of the PlanDefinition based on the type of the subject. If multiple subjects of the same type are provided, the behavior is implementation-defined" ] ; fhir:type [ fhir:v "string" ] ; fhir:searchType [ fhir:v "reference" ] ] [ fhir:name [ fhir:v "encounter" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The encounter in context, if any" ] ; fhir:type [ fhir:v "string" ] ; fhir:searchType [ fhir:v "reference" ] ] [ fhir:name [ fhir:v "practitioner" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The practitioner applying the plan definition" ] ; fhir:type [ fhir:v "string" ] ; fhir:searchType [ fhir:v "reference" ] ] [ fhir:name [ fhir:v "organization" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The organization applying the plan definition" ] ; fhir:type [ fhir:v "string" ] ; fhir:searchType [ fhir:v "reference" ] ] [ fhir:name [ fhir:v "userType" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.)" ] ; fhir:type [ fhir:v "CodeableConcept" ] ] [ fhir:name [ fhir:v "userLanguage" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "Preferred language of the person using the system" ] ; fhir:type [ fhir:v "CodeableConcept" ] ] [ fhir:name [ fhir:v "userTaskContext" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources" ] ; fhir:type [ fhir:v "CodeableConcept" ] ] [ fhir:name [ fhir:v "setting" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "The current setting of the request (inpatient, outpatient, etc.)" ] ; fhir:type [ fhir:v "CodeableConcept" ] ] [ fhir:name [ fhir:v "settingContext" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:documentation [ fhir:v "Additional detail about the setting of the request, if any" ] ; fhir:type [ fhir:v "CodeableConcept" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:documentation [ fhir:v "A Bundle for each input subject that is the result of applying the plan definition to that subject" ] ; fhir:type [ fhir:v "Bundle" ] ] ) . # -------------------------------------------------------------------------------------
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Mon, Aug 12, 2024 16:59+0800.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change