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
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Group of multiple entities
EXTENDS @ CLOSED {
a [fhir:Group]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:url @?; # Canonical identifier for this
# Group, represented as an absolute
# URI (globally unique)
fhir:identifier @?; # Business Identifier for this Group
fhir:version @?; # Business version of the Group
fhir:versionAlgorithm @ OR
@ ?; # How to compare versions
fhir:name @?; # Label for Group
fhir:title @?; # Name for this Group (human
# friendly)
fhir:status @ AND
{fhir:v @fhirvs:publication-status}?; # draft | active | retired | unknown
fhir:experimental @?; # For testing purposes, not real
# usage
fhir:date @?; # Date last changed
fhir:publisher @?; # Name of the publisher/steward
# (organization or individual)
fhir:contact @?; # Contact details for the publisher
fhir:description @?; # Natural language description of
# the group
fhir:useContext @?; # The context that the content is
# intended to support
fhir:purpose @?; # Why this Group is defined
fhir:copyright @?; # Use and/or publishing restrictions
fhir:copyrightLabel @?; # Copyright holder and year(s)
fhir:type @ AND
{fhir:v @fhirvs:group-type}?; # person | animal | practitioner |
# device | careteam |
# healthcareservice | location |
# organization | relatedperson |
# specimen
fhir:membership @ AND
{fhir:v @fhirvs:group-membership-basis}; # definitional | conceptual |
# enumerated
fhir:code @?; # Kind of Group members
fhir:quantity @?; # Number of members
fhir:managingEntity @ AND {fhir:link
@ OR
@ OR
@ OR
@ ? }?; # Entity that is the custodian of
# the Group's definition
fhir:combinationMethod @ AND
{fhir:v @fhirvs:group-characteristic-combination}?; # all-of | any-of | at-least |
# at-most | except-subset
fhir:combinationThreshold @?; # Provides the value of "n" when
# "at-least" or "at-most" codes are
# used
fhir:characteristic @?; # Include / Exclude group members by
# Trait
fhir:member @?; # Who or what is in group
}
# Who or what is in group
EXTENDS @ CLOSED {
fhir:entity @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }; # Reference to the group member
fhir:period @?; # Period member belonged to the group
fhir:inactive @?; # If member is no longer in group
}
# Include / Exclude group members by Trait
EXTENDS @ CLOSED {
fhir:code @; # Kind of characteristic
fhir:value @ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ; # Value held by characteristic
fhir:exclude @; # Group includes or excludes
fhir:description @?; # Natural language description of
# the characteristic
fhir:method @?; # Method for how the characteristic
# value was determined
fhir:determinedBy (@ AND {fhir:link @ OR
@ OR
@ }) OR
@ ?; # Defines the characteristic
fhir:offset @?; # Reference point for comparison
fhir:instances @ OR
@ ?; # Number of occurrences meeting the
# characteristic
fhir:duration @ OR
@ ?; # Length of time in which the
# characteristic is met
fhir:period @?; # Period over which characteristic
# is tested
fhir:timing @?; # Timing in which the characteristic
# is determined
}
#---------------------- 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 @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# Logical grouping of characteristics for the Group Resource.
fhirvs:group-characteristic-combination ["all-of" "any-of" "at-least" "at-most" "except-subset"]
# Basis for membership in a group
fhirvs:group-membership-basis ["definitional" "conceptual" "enumerated"]
# Types of resources that are part of group.
fhirvs:group-type ["person" "animal" "practitioner" "device" "careteam" "healthcareservice" "location" "organization" "relatedperson" "specimen"]
# The lifecycle status of an artifact.
fhirvs:publication-status ["draft" "active" "retired" "unknown"]