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
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Detailed information about conditions, problems or diagnoses
EXTENDS @ CLOSED {
a [fhir:Condition]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External Ids for this condition
fhir:clinicalStatus @; # active | recurrence | relapse |
# inactive | remission | resolved |
# unknown
fhir:verificationStatus @?; # unconfirmed | provisional |
# differential | confirmed | refuted
# | entered-in-error
fhir:category @?; # problem-list-item |
# encounter-diagnosis
fhir:severity @?; # Subjective severity of condition
fhir:code @?; # Identification of the condition,
# problem or diagnosis
fhir:bodySite @?; # Anatomical location, if relevant
fhir:bodyStructure @ AND {fhir:link
@ ? }?; # Anatomical body structure
fhir:subject @ AND {fhir:link
@ OR
@ ? }; # Who has the condition?
fhir:encounter @ AND {fhir:link
@ ? }?; # The Encounter during which this
# Condition was created
fhir:onset @ OR
@ OR
@ OR
@ OR
@ ?; # Estimated or actual date,
# date-time, or age
fhir:abatement @ OR
@ OR
@ OR
@ OR
@ ?; # When in resolution/remission
fhir:recordedDate @?; # Date condition was first recorded
fhir:participant @?; # Who or what participated in the
# activities related to the
# condition and how they were
# involved
fhir:stage @?; # Stage/grade, usually assessed
# formally
fhir:evidence @?; # Supporting evidence for the
# condition
fhir:note @?; # Additional information about the
# Condition
}
# Stage/grade, usually assessed formally
EXTENDS @ CLOSED {
fhir:summary @?; # Simple summary (disease specific)
fhir:assessment @?; # Formal record of assessment
fhir:type @?; # Kind of staging
}
# Who or what participated in the activities related to the condition 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
# 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 @ AND {fhir:link
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}