@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/ips/Bundle/bundle-minimal> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bundle-minimal"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/Bundle-uv-ips"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Bundle-uv-ips>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:identifier [
     fhir:system [ fhir:v "urn:oid:2.16.724.4.8.10.200.10"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "28b95815-76ce-457b-b7ae-a972e527db40" ]
  ] ; # 
  fhir:type [ fhir:v "document"] ; # 
  fhir:timestamp [ fhir:v "2020-12-11T14:30:00+01:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "urn:uuid:f40b07e3-37e8-48c3-bf1c-ae70fe12dab0"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:f40b07e3-37e8-48c3-bf1c-ae70fe12dab0> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:45271f7f-63ab-4946-970f-3daaaa06637f"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:45271f7f-63ab-4946-970f-3daaaa06637f> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:a21fe796-3594-4ad9-a01e-cc83118ceca9"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:a21fe796-3594-4ad9-a01e-cc83118ceca9> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:d179321e-c091-4cd4-8642-3a27537d506d"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:d179321e-c091-4cd4-8642-3a27537d506d> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:e1271efd-18ff-4654-9ee7-45f40019c453"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:e1271efd-18ff-4654-9ee7-45f40019c453> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:95db7c92-566a-4ded-896b-2220ab244a9e"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:95db7c92-566a-4ded-896b-2220ab244a9e> )
  ] [
     fhir:fullUrl [ fhir:v "urn:uuid:74861316-f69d-4652-9fb1-8512a20c7927"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:74861316-f69d-4652-9fb1-8512a20c7927> )
  ] ) . # 

<urn:uuid:f40b07e3-37e8-48c3-bf1c-ae70fe12dab0> a fhir:Composition ;
  fhir:id [ fhir:v "f40b07e3-37e8-48c3-bf1c-ae70fe12dab0"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:60591-5 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "60591-5" ] ;
       fhir:display [ fhir:v "Patient summary Document" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad" ]
  ] ; # 
  fhir:date [ fhir:v "2020-12-11T14:30:00+01:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:reference [ fhir:v "urn:uuid:45271f7f-63ab-4946-970f-3daaaa06637f" ]
  ] ) ; # 
  fhir:title [ fhir:v "Patient Summary as of December 11, 2020 14:30"] ; # 
  fhir:confidentiality [ fhir:v "N"] ; # 
  fhir:attester ( [
     fhir:mode [ fhir:v "legal" ] ;
     fhir:time [ fhir:v "2020-12-11T14:30:00+01:00"^^xsd:dateTime ] ;
     fhir:party [
       fhir:reference [ fhir:v "urn:uuid:45271f7f-63ab-4946-970f-3daaaa06637f" ]
     ]
  ] [
     fhir:mode [ fhir:v "legal" ] ;
     fhir:time [ fhir:v "2020-12-11T14:30:00+01:00"^^xsd:dateTime ] ;
     fhir:party [
       fhir:reference [ fhir:v "urn:uuid:a21fe796-3594-4ad9-a01e-cc83118ceca9" ]
     ]
  ] ) ; # 
  fhir:custodian [
     fhir:reference [ fhir:v "urn:uuid:a21fe796-3594-4ad9-a01e-cc83118ceca9" ]
  ] ; # 
  fhir:relatesTo ( [
     fhir:code [ fhir:v "appends" ] ;
     fhir:target [
       a fhir:Identifier ;
       fhir:system [ fhir:v "urn:oid:2.16.724.4.8.10.200.10"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "20e12ce3-857f-49c0-b888-cb670597f191" ]
     ]
  ] ) ; # 
  fhir:event ( [
     fhir:code ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActClass"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PCPR" ]
       ] )
     ] ) ;
     fhir:period [
       fhir:end [ fhir:v "2020-12-11T14:30:00+01:00"^^xsd:dateTime ]
     ]
  ] ) ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Active Problems" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:11450-4 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "11450-4" ] ;
         fhir:display [ fhir:v "Problem list - Reported" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ]
     ] ;
     fhir:entry ( [
       fhir:reference [ fhir:v "urn:uuid:d179321e-c091-4cd4-8642-3a27537d506d" ]
     ] )
  ] [
     fhir:title [ fhir:v "Medication" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:10160-0 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "10160-0" ] ;
         fhir:display [ fhir:v "History of Medication use Narrative" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ]
     ] ;
     fhir:entry ( [
       fhir:reference [ fhir:v "urn:uuid:e1271efd-18ff-4654-9ee7-45f40019c453" ]
     ] )
  ] [
     fhir:title [ fhir:v "Allergies and Intolerances" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:48765-2 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "48765-2" ] ;
         fhir:display [ fhir:v "Allergies and adverse reactions Document" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ]
     ] ;
     fhir:entry ( [
       fhir:reference [ fhir:v "urn:uuid:74861316-f69d-4652-9fb1-8512a20c7927" ]
     ] )
  ] ) . # 

<urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad> a fhir:Patient ;
  fhir:id [ fhir:v "244ad7c3-beeb-41d1-8a2f-c76b8cf720ad"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.4.6.3"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "574687583" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "DeLarosa" ] ;
     fhir:given ( [ fhir:v "Martha" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+31788700800" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1972-05-01"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "Laan Van Europa 1600" ] ) ;
     fhir:city [ fhir:v "Dordrecht" ] ;
     fhir:postalCode [ fhir:v "3317 DB" ] ;
     fhir:country [ fhir:v "NL" ]
  ] ) ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MTH" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [ fhir:v "Mum" ] ;
       fhir:given ( [ fhir:v "Martha" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+33-555-20036" ] ;
       fhir:use [ fhir:v "home" ]
     ] ) ;
     fhir:address [
       fhir:line ( [ fhir:v "Promenade des Anglais 111" ] ) ;
       fhir:city [ fhir:v "Lyon" ] ;
       fhir:postalCode [ fhir:v "69001" ] ;
       fhir:country [ fhir:v "FR" ]
     ]
  ] ) . # 

<urn:uuid:45271f7f-63ab-4946-970f-3daaaa06637f> a fhir:Practitioner ;
  fhir:id [ fhir:v "45271f7f-63ab-4946-970f-3daaaa06637f"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:2.16.528.1.1007.3.1"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "129854633" ] ;
     fhir:assigner [
       fhir:display [ fhir:v "CIBG" ]
     ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "van Hulp" ] ;
     fhir:given ( [ fhir:v "Beetje" ] )
  ] ) ; # 
  fhir:qualification ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0360"^^xsd:anyURI ] ;
         fhir:version [ fhir:v "2.7" ] ;
         fhir:code [ fhir:v "MD" ] ;
         fhir:display [ fhir:v "Doctor of Medicine" ]
       ] )
     ]
  ] ) . # 

<urn:uuid:a21fe796-3594-4ad9-a01e-cc83118ceca9> a fhir:Organization ;
  fhir:id [ fhir:v "a21fe796-3594-4ad9-a01e-cc83118ceca9"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:2.16.528.1.1007.3.3"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "564738757" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name [ fhir:v "Anorg Aniza Tion BV / The best custodian ever"] ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+31-51-34343400" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:address ( [
     fhir:use [ fhir:v "work" ] ;
     fhir:line ( [ fhir:v "Houttuinen 27" ] ) ;
     fhir:city [ fhir:v "Dordrecht" ] ;
     fhir:postalCode [ fhir:v "3311 CE" ] ;
     fhir:country [ fhir:v "NL" ]
  ] ) . # 

<urn:uuid:d179321e-c091-4cd4-8642-3a27537d506d> a fhir:Condition ;
  fhir:id [ fhir:v "d179321e-c091-4cd4-8642-3a27537d506d"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:1.2.3.999"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "cacceb57-395f-48e1-9c88-e9c9704dc2d2" ]
  ] ) ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "active" ]
     ] )
  ] ; # 
  fhir:verificationStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "confirmed" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:75326-9 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "75326-9" ] ;
       fhir:display [ fhir:v "Problem" ]
     ] )
  ] ) ; # 
  fhir:severity [
     fhir:coding ( [
       a loinc:LA6751-7 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "LA6751-7" ] ;
       fhir:display [ fhir:v "Moderate" ]
     ] )
  ] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:198436008 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "198436008" ] ;
       fhir:display [ fhir:v "Menopausal flushing (finding)" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/sid/icd-10"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "N95.1" ] ;
       fhir:display [ fhir:v "Menopausal and female climacteric states" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad" ]
  ] ; # 
  fhir:onset [
     a fhir:dateTime ;
     fhir:v "2015"^^xsd:gYear
  ] ; # 
  fhir:recordedDate [ fhir:v "2016-10"^^xsd:gYearMonth] . # 

<urn:uuid:e1271efd-18ff-4654-9ee7-45f40019c453> a fhir:MedicationStatement ;
  fhir:id [ fhir:v "e1271efd-18ff-4654-9ee7-45f40019c453"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:1.2.3.999"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "8faf0319-89d3-427c-b9d1-e8c8fd390dca" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:reference [ fhir:v "urn:uuid:95db7c92-566a-4ded-896b-2220ab244a9e" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad" ]
  ] ; # 
  fhir:effective [
     a fhir:Period ;
     fhir:start [ fhir:v "2015-03"^^xsd:gYearMonth ]
  ] ; # 
  fhir:dosage ( [
     fhir:timing [
       fhir:repeat [
         fhir:count [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         fhir:system [ fhir:v "http://standardterms.edqm.eu"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "20053000" ] ;
         fhir:display [ fhir:v "Oral use" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1" ]
       ]
     ] )
  ] ) . # 

<urn:uuid:95db7c92-566a-4ded-896b-2220ab244a9e> a fhir:Medication ;
  fhir:id [ fhir:v "95db7c92-566a-4ded-896b-2220ab244a9e"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:108774000 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "108774000" ] ;
       fhir:display [ fhir:v "Product containing anastrozole (medicinal product)" ]
     ] [
       fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.4.4.1"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "99872" ] ;
       fhir:display [ fhir:v "ANASTROZOL 1MG TABLET" ]
     ] [
       fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.4.4.7"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "2076667" ] ;
       fhir:display [ fhir:v "ANASTROZOL CF TABLET FILMOMHULD 1MG" ]
     ] [
       fhir:system [ fhir:v "http://www.whocc.no/atc"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "L02BG03" ] ;
       fhir:display [ fhir:v "anastrozole" ]
     ] )
  ] . # 

<urn:uuid:74861316-f69d-4652-9fb1-8512a20c7927> a fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "74861316-f69d-4652-9fb1-8512a20c7927"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:1.2.3.999"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "8d9566a4-d26d-46be-a3e4-c9f3a0e5cd83" ]
  ] ) ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "active" ]
     ] )
  ] ; # 
  fhir:verificationStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "confirmed" ]
     ] )
  ] ; # 
  fhir:type [ fhir:v "allergy"] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:criticality [ fhir:v "high"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:764146007 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "764146007" ] ;
       fhir:display [ fhir:v "Substance with penicillin structure (substance)" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "urn:uuid:244ad7c3-beeb-41d1-8a2f-c76b8cf720ad" ]
  ] ; # 
  fhir:onset [
     a fhir:dateTime ;
     fhir:v "2010"^^xsd:gYear
  ] . # 

# -------------------------------------------------------------------------------------

