-
Notifications
You must be signed in to change notification settings - Fork 2
/
fullreport.ofn
46 lines (37 loc) · 2.25 KB
/
fullreport.ofn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(fhir:=<http://hl7.org/fhir/>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Prefix(sct:=<http://snomed.info/id/>)
Prefix(sctm:=<http://snomed.info/sct/subset/>)
Prefix(dc:=<http://purl.org/dc/elements/1.1/>)
Prefix(:=<http://example.org/yosemite/>)
Ontology(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/fullreport.ofn>
######################## Imports ###########################
# To avoid version mismatches and 404s, we are using previously downloaded
# snapshots of imported files, instead of downloading the latest.
# Use a saved snapshot instead of downloading from the web:
# Import(<http://snomed.info/sct/900000000000207008cancer_subset>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/snomed_cancer_subset.ttl>)
# Use a saved snapshot instead of downloading from the web:
# Import(<http://hl7.org/fhir/fhir.ttl>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/fhir.ttl>)
# Use a saved snapshot instead of downloading from the web:
# Import(<http://hl7.org/fhir/DiagnosticReport/f201.ttl>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/diagnosticreport-example-f201-brainct.ttl>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/patientreport.ofn>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/cancerreport.ofn>)
Import(<https://raw.githubusercontent.com/yosemiteproject/Tutorial-FHIR-RDF-as-a-Bridge/master/finalreport.ofn>)
######################## Target Diagnosis ###########################
Declaration(Class(:FinalPatientReportWithCancerDiagnosis))
AnnotationAssertion(dc:title :FinalPatientReportWithCancerDiagnosis
"The set of diagnoses that are instances of malignant neoplastic disease (sct:363346000)")
EquivalentClasses( :FinalPatientReportWithCancerDiagnosis
ObjectIntersectionOf (
:PatientReport
:ReportWithCancerDiagnosis
:FinalReport
))
)