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
Clinical Decision Support Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
Plan Definition Illustrating Related Actions
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/PlanDefinition/options-example> a fhir:PlanDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "options-example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>" ]; fhir:DomainResource.contained [ a fhir:ActivityDefinition; fhir:index 0; fhir:Resource.id [ fhir:value "activitydefinition-medicationrequest-1" ]; fhir:ActivityDefinition.status [ fhir:value "draft" ]; fhir:ActivityDefinition.kind [ fhir:value "MedicationRequest" ]; fhir:ActivityDefinition.productCodeableConcept [ fhir:CodeableConcept.text [ fhir:value "Medication 1" ] ] ], [ a fhir:ActivityDefinition; fhir:index 1; fhir:Resource.id [ fhir:value "activitydefinition-medicationrequest-2" ]; fhir:ActivityDefinition.status [ fhir:value "draft" ]; fhir:ActivityDefinition.kind [ fhir:value "MedicationRequest" ]; fhir:ActivityDefinition.productCodeableConcept [ fhir:CodeableConcept.text [ fhir:value "Medication 2" ] ] ]; fhir:PlanDefinition.title [ fhir:value "This example illustrates relationships between actions."]; fhir:PlanDefinition.status [ fhir:value "draft"]; fhir:PlanDefinition.action [ fhir:index 0; fhir:PlanDefinition.action.groupingBehavior [ fhir:value "logical-group" ]; fhir:PlanDefinition.action.selectionBehavior [ fhir:value "all" ]; fhir:PlanDefinition.action.action [ fhir:index 0; fhir:Element.id [ fhir:value "medication-action-1" ]; fhir:PlanDefinition.action.title [ fhir:value "Administer Medication 1" ]; fhir:PlanDefinition.action.definition [ fhir:Reference.reference [ fhir:value "#activitydefinition-medicationrequest-1" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "medication-action-2" ]; fhir:PlanDefinition.action.title [ fhir:value "Administer Medication 2" ]; fhir:PlanDefinition.action.relatedAction [ fhir:index 0; fhir:PlanDefinition.action.relatedAction.actionId [ fhir:value "medication-action-1" ]; fhir:PlanDefinition.action.relatedAction.relationship [ fhir:value "after-end" ]; fhir:PlanDefinition.action.relatedAction.offsetDuration [ fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]; fhir:Quantity.unit [ fhir:value "h" ] ] ]; fhir:PlanDefinition.action.definition [ fhir:Reference.reference [ fhir:value "#activitydefinition-medicationrequest-2" ] ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/PlanDefinition/options-example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/PlanDefinition/options-example.ttl> . # -------------------------------------------------------------------------------------
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.