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
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Planned participants in the coordination and delivery of care
EXTENDS @ CLOSED {
a [fhir:CareTeam]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External Ids for this team
fhir:status @ AND
{fhir:v @fhirvs:care-team-status}?; # proposed | active | suspended |
# inactive | entered-in-error
fhir:category @?; # Type of team
fhir:name @?; # Name of the team, such as crisis
# assessment team
fhir:subject @ AND {fhir:link
@ OR
@ ? }?; # Who care team is for
fhir:period @?; # Time period team covers
fhir:participant @?; # Members of the team
fhir:reason @?; # Why the care team exists
fhir:managingOrganization @?; # Organization responsible for the
# care team
fhir:telecom @?; # A contact detail for the care team
# (that applies to all members)
fhir:note @?; # Comments made about the CareTeam
}
# Members of the team
EXTENDS @ CLOSED {
fhir:role @?; # Type of involvement
fhir:member @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # Who is involved
fhir:onBehalfOf @ AND {fhir:link
@ ? }?; # Organization of the practitioner
fhir:coverage @ OR
@ ?; # When the member is generally
# available within this care team
}
#---------------------- 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 @ ;
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 ------------------------
# Indicates the status of the care team.
fhirvs:care-team-status ["proposed" "active" "suspended" "inactive" "entered-in-error"]