Workflow
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Clinical Decision Support Work Group | Standards Status : Informative |
Compartments
:
|
Raw Turtle (+ also see Turtle/RDF Format Specification )
Plan Definition Illustrating Related Actions
@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/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" ]<http://hl7.org/fhir/PlanDefinition/options-example> a fhir:PlanDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "options-example"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"^^rdf:XMLLiteral ] ] ; # fhir:contained ( [ a fhir:ActivityDefinition ; fhir:id [ fhir:v "activitydefinition-medicationrequest-1" ] ; fhir:status [ fhir:v "draft" ] ; fhir:kind [ fhir:v "MedicationRequest" ] ; fhir:product [ a fhir:CodeableConcept ; fhir:text [ fhir:v "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" ]] [ a fhir:ActivityDefinition ; fhir:id [ fhir:v "activitydefinition-medicationrequest-2" ] ; fhir:status [ fhir:v "draft" ] ; fhir:kind [ fhir:v "MedicationRequest" ] ; fhir:product [ a fhir:CodeableConcept ; fhir:text [ fhir:v "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.definitionCanonical [ 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.definitionCanonical [ fhir:value "#activitydefinition-medicationrequest-2" ]] ) ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg> ] ; fhir:value [ a fhir:Code ; fhir:v "cds" ]] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/PlanDefinition/options-example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/PlanDefinition/options-example.ttl> .] ) ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ; fhir:l <urn:ietf:rfc:3986> ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.11.15" ] ] ) ; # fhir:name [ fhir:v "ThisExampleIllustratesRelationshipsBetweenActions"] ; # fhir:title [ fhir:v "This example illustrates relationships between actions."] ; # fhir:status [ fhir:v "draft"] ; # fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ] ] ) ] ) ; # fhir:description [ fhir:v "This example illustrates relationships between actions."] ; # fhir:action ( [ fhir:groupingBehavior [ fhir:v "logical-group" ] ; fhir:selectionBehavior [ fhir:v "all" ] ; fhir:action ( [ fhir:id [ fhir:v "medication-action-1" ] ; fhir:title [ fhir:v "Administer Medication 1" ] ; fhir:definition [ a fhir:Canonical ; fhir:v "#activitydefinition-medicationrequest-1"^^xsd:anyURI ; fhir:l <#activitydefinition-medicationrequest-1> ] ] [ fhir:id [ fhir:v "medication-action-2" ] ; fhir:title [ fhir:v "Administer Medication 2" ] ; fhir:relatedAction ( [ fhir:targetId [ fhir:v "medication-action-1" ] ; fhir:relationship [ fhir:v "after-end" ] ; fhir:offset [ a fhir:Duration ; fhir:value [ fhir:v "1"^^xsd:decimal ] ; fhir:unit [ fhir:v "h" ] ] ] ) ; fhir:definition [ a fhir:Canonical ; fhir:v "#activitydefinition-medicationrequest-2"^^xsd:anyURI ; fhir:l <#activitydefinition-medicationrequest-2> ] ] ) ] ) . # # -------------------------------------------------------------------------------------
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
Release
4
(Technical
Correction
#1)
(v4.0.1)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Nov
1,
2019
09:36+1100.
QA
Page
7,
2025
13:32+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change