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
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Information about patient's relatives, relevant for patient
EXTENDS @ CLOSED {
a [fhir:FamilyMemberHistory]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External Id(s) for this record
fhir:instantiatesCanonical @?; # Instantiates FHIR protocol or
# definition
fhir:instantiatesUri @?; # Instantiates external protocol or
# definition
fhir:status @ AND
{fhir:v @fhirvs:history-status}; # partial | completed |
# entered-in-error | health-unknown
fhir:dataAbsentReason @?; # subject-unknown | withheld |
# unable-to-obtain | deferred
fhir:patient @ AND {fhir:link
@ ? }; # Patient history is about
fhir:date @?; # When history was recorded or last
# updated
fhir:participant @?; # Who or what participated in the
# activities related to the family
# member history and how they were
# involved
fhir:name @?; # The family member described
fhir:relationship @; # Relationship to the subject
fhir:sex @?; # male | female | other | unknown
fhir:born @ OR
@ OR
@ ?; # (approximate) date of birth
fhir:age @ OR
@ OR
@ ?; # (approximate) age
fhir:estimatedAge @?; # Age is estimated?
fhir:deceased @ OR
@ OR
@ OR
@ OR
@ ?; # Dead? How old/when?
fhir:reason @?; # Why was family member history
# performed?
fhir:note @?; # General note about related person
fhir:condition @?; # Condition that the related person
# had
fhir:procedure @?; # Procedures that the related person
# had
}
# Who or what participated in the activities related to the family member history and how they were involved
EXTENDS @ CLOSED {
fhir:function @?; # Type of involvement
fhir:actor @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }; # Who or what participated in the
# activities related to the family
# member history
}
# Procedures that the related person had
EXTENDS @ CLOSED {
fhir:code @; # Procedures performed on the
# related person
fhir:outcome @?; # What happened following the
# procedure
fhir:contributedToDeath @?; # Whether the procedure contributed
# to the cause of death
fhir:performed @ OR
@ OR
@ OR
@ OR
@ ?; # When the procedure was performed
fhir:note @?; # Extra information about the
# procedure
}
# Condition that the related person had
EXTENDS @ CLOSED {
fhir:code @; # Condition, allergy, or intolerance
# suffered by relation
fhir:outcome @?; # deceased | permanent disability |
# etc
fhir:contributedToDeath @?; # Whether the condition contributed
# to the cause of death
fhir:onset @ OR
@ OR
@ OR
@ ?; # When condition first manifested
fhir:note @?; # Extra information about condition
}
#---------------------- 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 @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# A code that identifies the status of the family history record.
fhirvs:history-status ["partial" "completed" "entered-in-error" "health-unknown"]