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
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# An action that is being or was performed on an individual or entity
EXTENDS @ CLOSED {
a [fhir:Procedure]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External Identifiers for this
# procedure
fhir:instantiatesCanonical @?; # Instantiates FHIR protocol or
# definition
fhir:instantiatesUri @?; # Instantiates external protocol or
# definition
fhir:basedOn @?; # A request for this procedure
fhir:partOf @?; # Part of referenced event
fhir:status @ AND
{fhir:v @fhirvs:event-status}; # preparation | in-progress |
# not-done | on-hold | stopped |
# completed | entered-in-error |
# unknown
fhir:statusReason @?; # Reason for current status
fhir:category @?; # Classification of the procedure
fhir:code @?; # Identification of the procedure
fhir:subject @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }; # Individual or entity the procedure
# was performed on
fhir:focus @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # Who is the target of the procedure
# when it is not the subject of
# record only
fhir:encounter @ AND {fhir:link
@ ? }?; # The Encounter during which this
# Procedure was created
fhir:occurrence @ OR
@ OR
@ OR
@ OR
@ OR
@ ?; # When the procedure occurred or is
# occurring
fhir:recorded @?; # When the procedure was first
# captured in the subject's record
fhir:recorder @ AND {fhir:link
@ OR
@ OR
@ OR
@ ? }?; # Who recorded the procedure
fhir:reported @ OR
(@ AND {fhir:link @ OR
@ OR
@ OR
@ OR
@ }) ?; # Reported rather than primary record
fhir:performer @?; # Who performed the procedure and
# what they did
fhir:location @ AND {fhir:link
@ ? }?; # Where the procedure happened
fhir:reason @?; # The justification that the
# procedure was performed
fhir:bodySite @?; # Target body sites
fhir:bodyStructure @ AND {fhir:link
@ ? }?; # Target body structure
fhir:outcome @?; # The result of procedure
fhir:report @?; # Any report resulting from the
# procedure
fhir:complication @?; # Complication following the
# procedure
fhir:followUp @?; # Instructions for follow up
fhir:note @?; # Additional information about the
# procedure
fhir:focalDevice @?; # Manipulated, implanted, or removed
# device
fhir:used @?; # Items used during procedure
fhir:supportingInfo @?; # Extra information relevant to the
# procedure
}
# Manipulated, implanted, or removed device
EXTENDS @ CLOSED {
fhir:action @?; # Kind of change to device
fhir:manipulated @ AND {fhir:link
@ ? }; # Device that was changed
}
# Who performed the procedure and what they did
EXTENDS @ CLOSED {
fhir:function @?; # Type of performance
fhir:actor @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }; # Who performed the procedure
fhir:onBehalfOf @ AND {fhir:link
@ ? }?; # Organization the device or
# practitioner was acting for
fhir:period @?; # When the performer performed the
# procedure
}
#---------------------- 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
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
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
@ } ;
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
@ } ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# Codes identifying the lifecycle stage of an event.
fhirvs:event-status ["preparation" "in-progress" "not-done" "on-hold" "stopped" "completed" "entered-in-error" "unknown"]