PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# A person that is related to a patient, but who is not a direct target of care
EXTENDS @ CLOSED {
a [fhir:RelatedPerson]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # A human identifier for this person
fhir:active @?; # Whether this related person's
# record is in active use
fhir:patient @ AND {fhir:link
@ ? }; # The patient this person is related
# to
fhir:relationship @?; # The relationship of the related
# person to the patient
fhir:name @?; # A name associated with the person
fhir:telecom @?; # A contact detail for the person
fhir:gender @ AND
{fhir:v @fhirvs:administrative-gender}?; # male | female | other | unknown
fhir:birthDate @?; # The date on which the related
# person was born
fhir:address @?; # Address where the related person
# can be contacted or visited
fhir:photo @?; # Image of the person
fhir:period @?; # Period of time that this
# relationship is considered valid
fhir:communication @?; # A language which may be used to
# communicate with the related
# person about the patient's health
}
# A language which may be used to communicate with the related person about the patient's health
EXTENDS @ CLOSED {
fhir:language @; # The language which can be used to
# communicate with the related
# person about the patient's health
fhir:preferred @?; # Language preference indicator
}
#---------------------- 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 ------------------------
# The gender of a person used for administrative purposes.
fhirvs:administrative-gender ["male" "female" "other" "unknown"]