FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Operation-activitydefinition-apply.ttl

Clinical Decision Support Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle, JSON-LD

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 "ActivityDefinition-apply"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/ActivityDefinition-apply"];
  fhir:OperationDefinition.name [ fhir:value "Apply"];
  fhir:OperationDefinition.status [ fhir:value "draft"];
  fhir:OperationDefinition.kind [ fhir:value "operation"];
  fhir:OperationDefinition.date [ fhir:value "2019-10-24T11:53:00+11:00"];
  fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:OperationDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       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 "The apply operation realizes a definition in a specific context"];
  fhir:OperationDefinition.code [ fhir:value "apply"];
  fhir:OperationDefinition.comment [ fhir:value "The result of invoking this operation is a resource of the type specified by the activity definition, with all the definitions resolved as appropriate for the type of resource. Any dynamicValue elements will be evaluated and the resulting value used for the values of the appropriate elements of the returned resource.  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"];
  fhir:OperationDefinition.resource [
     fhir:value "ActivityDefinition";
     fhir:index 0
  ];
  fhir:OperationDefinition.system [ fhir:value "false"];
  fhir:OperationDefinition.type [ fhir:value "false"];
  fhir:OperationDefinition.instance [ fhir:value "true"];
  fhir:OperationDefinition.parameter [
     fhir:index 0;
     fhir:OperationDefinition.name [ fhir:value "patient" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "1" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The patient that is the target of the activity to be applied" ];
     fhir:OperationDefinition.type [ fhir:value "Reference" ];
     fhir:OperationDefinition.profile [
       fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ]
     ]
  ], [
     fhir:index 1;
     fhir:OperationDefinition.name [ fhir:value "encounter" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The encounter in context, if any" ];
     fhir:OperationDefinition.type [ fhir:value "Reference" ];
     fhir:OperationDefinition.profile [
       fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ]
     ]
  ], [
     fhir:index 2;
     fhir:OperationDefinition.name [ fhir:value "practitioner" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The practitioner in context" ];
     fhir:OperationDefinition.type [ fhir:value "Reference" ];
     fhir:OperationDefinition.profile [
       fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ]
     ]
  ], [
     fhir:index 3;
     fhir:OperationDefinition.name [ fhir:value "organization" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The organization in context" ];
     fhir:OperationDefinition.type [ fhir:value "Reference" ];
     fhir:OperationDefinition.profile [
       fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]
     ]
  ], [
     fhir:index 4;
     fhir:OperationDefinition.name [ fhir:value "userType" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.)" ];
     fhir:OperationDefinition.type [ fhir:value "CodeableConcept" ]
  ], [
     fhir:index 5;
     fhir:OperationDefinition.name [ fhir:value "userLanguage" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "Preferred language of the person using the system" ];
     fhir:OperationDefinition.type [ fhir:value "CodeableConcept" ]
  ], [
     fhir:index 6;
     fhir:OperationDefinition.name [ fhir:value "userTaskContext" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "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:OperationDefinition.type [ fhir:value "CodeableConcept" ]
  ], [
     fhir:index 7;
     fhir:OperationDefinition.name [ fhir:value "setting" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The current setting of the request (inpatient, outpatient, etc)" ];
     fhir:OperationDefinition.type [ fhir:value "CodeableConcept" ]
  ], [
     fhir:index 8;
     fhir:OperationDefinition.name [ fhir:value "settingContext" ];
     fhir:OperationDefinition.use [ fhir:value "in" ];
     fhir:OperationDefinition.min [ fhir:value "0" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "Additional detail about the setting of the request, if any" ];
     fhir:OperationDefinition.type [ fhir:value "CodeableConcept" ]
  ], [
     fhir:index 9;
     fhir:OperationDefinition.name [ fhir:value "return" ];
     fhir:OperationDefinition.use [ fhir:value "out" ];
     fhir:OperationDefinition.min [ fhir:value "1" ];
     fhir:OperationDefinition.max [ fhir:value "1" ];
     fhir:OperationDefinition.documentation [ fhir:value "The resource that is the result of applying the definition" ];
     fhir:OperationDefinition.type [ fhir:value "Any" ]
  ] .

# -------------------------------------------------------------------------------------


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.