PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Healthcare plan for patient or group
EXTENDS @ CLOSED {
a [fhir:CarePlan]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External Ids for this plan
fhir:instantiatesCanonical @?; # Instantiates FHIR protocol or
# definition
fhir:instantiatesUri @?; # Instantiates external protocol or
# definition
fhir:basedOn @?; # Fulfills plan, proposal or order
fhir:replaces @?; # CarePlan replaced by this CarePlan
fhir:partOf @?; # Part of referenced CarePlan
fhir:status @ AND
{fhir:v @fhirvs:request-status}; # draft | active | on-hold | revoked
# | completed | entered-in-error |
# unknown
fhir:intent @ AND
{fhir:v @fhirvs:care-plan-intent}; # proposal | plan | order | option |
# directive
fhir:category @?; # Type of plan
fhir:title @?; # Human-friendly name for the care
# plan
fhir:description @?; # Summary of nature of plan
fhir:subject @ AND {fhir:link
@ OR
@ ? }; # Who the care plan is for
fhir:encounter @ AND {fhir:link
@ ? }?; # The Encounter during which this
# CarePlan was created
fhir:period @?; # Time period plan covers
fhir:created @?; # Date record was first recorded
fhir:custodian @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # Who is the designated responsible
# party
fhir:contributor @?; # Who provided the content of the
# care plan
fhir:careTeam @?; # Who's involved in plan?
fhir:addresses @?; # Health issues this plan addresses
fhir:supportingInfo @?; # Information considered as part of
# plan
fhir:goal @?; # Desired outcome of plan
fhir:activity @?; # Action to occur or has occurred as
# part of plan
fhir:note @?; # Comments about the plan
}
# Action to occur or has occurred as part of plan
EXTENDS @ CLOSED {
fhir:performedActivity @?; # Results of the activity (concept,
# or Appointment, Encounter,
# Procedure, etc.)
fhir:progress @?; # Comments about the activity
# status/progress
fhir:plannedActivityReference @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # Activity that is intended to be
# part of the care plan
}
#---------------------- Cardinality Types (OneOrMore) -------------------
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# Codes indicating the degree of authority/intentionality associated with a care plan.
fhirvs:care-plan-intent ["proposal" "plan" "order" "option" "directive"]
# Codes identifying the lifecycle stage of a request.
fhirvs:request-status ["draft" "active" "on-hold" "revoked" "completed" "entered-in-error" "unknown"]