@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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://nuts-foundation.github.io/nl-generic-functions-ig/Bundle/phi-org2> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "phi-org2"] ;
  fhir:Bundle.type [ fhir:value "transaction"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:27e58ece-409e-44f9-8cc1-b33495a0ef9d" ] ;
     fhir:Bundle.entry.resource <urn:uuid:27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:8f26c2c2-9a7b-4a2f-84ac-264f1177964c" ] ;
     fhir:Bundle.entry.resource <urn:uuid:8f26c2c2-9a7b-4a2f-84ac-264f1177964c> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Condition/8f26c2c2-9a7b-4a2f-84ac-264f1177964c" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757" ] ;
     fhir:Bundle.entry.resource <urn:uuid:5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Condition/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:6bc0f95c-f281-475e-a279-4ed6beb59024" ] ;
     fhir:Bundle.entry.resource <urn:uuid:6bc0f95c-f281-475e-a279-4ed6beb59024> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Procedure/6bc0f95c-f281-475e-a279-4ed6beb59024" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:8c2d4009-4322-4d4a-8e29-3e70cd67d286" ] ;
     fhir:Bundle.entry.resource <urn:uuid:8c2d4009-4322-4d4a-8e29-3e70cd67d286> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "MedicationRequest/8c2d4009-4322-4d4a-8e29-3e70cd67d286" ]
     ]
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:e00a59fa-7d7e-422d-8505-ef3e645404e9" ] ;
     fhir:Bundle.entry.resource <urn:uuid:e00a59fa-7d7e-422d-8505-ef3e645404e9> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "MedicationStatement/e00a59fa-7d7e-422d-8505-ef3e645404e9" ]
     ]
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:52b792ba-11ae-42f3-bcc1-231f333f2317" ] ;
     fhir:Bundle.entry.resource <urn:uuid:52b792ba-11ae-42f3-bcc1-231f333f2317> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "DocumentReference/52b792ba-11ae-42f3-bcc1-231f333f2317" ]
     ]
  ] .

<urn:uuid:27e58ece-409e-44f9-8cc1-b33495a0ef9d> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "27e58ece-409e-44f9-8cc1-b33495a0ef9d"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_27e58ece-409e-44f9-8cc1-b33495a0ef9d\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 27e58ece-409e-44f9-8cc1-b33495a0ef9d</b></p><a name=\"27e58ece-409e-44f9-8cc1-b33495a0ef9d\"> </a><a name=\"hc27e58ece-409e-44f9-8cc1-b33495a0ef9d\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient\">nl core Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><code>http://fhir.nl/fhir/NamingSystem/bsn</code>/111222333</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+31612345678\">+31612345678</a></li><li><a href=\"mailto:j.merkens@bigtech.com\">j.merkens@bigtech.com</a></li><li>Kerkstraat 18 Ulft 7071 WZ </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-cff921f3-c1c1-4a4c-8f0f-cafd0aa25067.html\">Organization 2</a></li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://organization2.example.org/EHR/patients" ] ;
     fhir:Identifier.value [ fhir:value "vdfesz" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/bsn" ] ;
     fhir:Identifier.value [ fhir:value "111222333" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Merkens" ] ;
     fhir:HumanName.given [
       fhir:value "Jaantje" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "+31612345678" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "j.merkens@bigtech.com" ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1950-02-26"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.line [
       fhir:value "Kerkstraat 18" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Ulft" ] ;
     fhir:Address.postalCode [ fhir:value "7071 WZ" ]
  ] ;
  fhir:Patient.managingOrganization [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Organization/cff921f3-c1c1-4a4c-8f0f-cafd0aa25067> ;
     fhir:Reference.reference [ fhir:value "Organization/cff921f3-c1c1-4a4c-8f0f-cafd0aa25067" ] ;
     fhir:Reference.display [ fhir:value "Organization 2" ]
  ] .

<urn:uuid:8f26c2c2-9a7b-4a2f-84ac-264f1177964c> a fhir:Condition ;
  fhir:Resource.id [ fhir:value "8f26c2c2-9a7b-4a2f-84ac-264f1177964c"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_8f26c2c2-9a7b-4a2f-84ac-264f1177964c\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition 8f26c2c2-9a7b-4a2f-84ac-264f1177964c</b></p><a name=\"8f26c2c2-9a7b-4a2f-84ac-264f1177964c\"> </a><a name=\"hc8f26c2c2-9a7b-4a2f-84ac-264f1177964c\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem\">nl core Problem</a></p></div><p><b>identifier</b>: <code>https://cp2-test.example.org/Condition</code>/8f26c2c2-9a7b-4a2f-84ac-264f1177964c</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 308546005}\">Dissection of aorta</span></p><p><b>subject</b>: <a href=\"Patient-27e58ece-409e-44f9-8cc1-b33495a0ef9d.html\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</a></p><p><b>onset</b>: 2017-09-03 12:00:00+0000</p></div>"
  ] ;
  fhir:Condition.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://cp2-test.example.org/Condition" ] ;
     fhir:Identifier.value [ fhir:value "8f26c2c2-9a7b-4a2f-84ac-264f1177964c" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ] ;
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:308546005 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "308546005" ] ;
       fhir:Coding.display [ fhir:value "Dissection of aorta" ]
     ]
  ] ;
  fhir:Condition.subject [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Reference.reference [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
  ] ;
  fhir:Condition.onsetDateTime [ fhir:value "2017-09-03T12:00:00Z"^^xsd:dateTime] .

<urn:uuid:5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757> a fhir:Condition ;
  fhir:Resource.id [ fhir:value "5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition 5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757</b></p><a name=\"5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757\"> </a><a name=\"hc5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem\">nl core Problem</a></p></div><p><b>identifier</b>: <code>https://cp2-test.example.org/Condition</code>/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 66931009}\">Hypercalcemia</span></p><p><b>subject</b>: <a href=\"Patient-27e58ece-409e-44f9-8cc1-b33495a0ef9d.html\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</a></p><p><b>onset</b>: 2021-09-03 12:00:00+0000</p></div>"
  ] ;
  fhir:Condition.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://cp2-test.example.org/Condition" ] ;
     fhir:Identifier.value [ fhir:value "5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ] ;
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:66931009 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "66931009" ] ;
       fhir:Coding.display [ fhir:value "Hypercalcemia" ]
     ]
  ] ;
  fhir:Condition.subject [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Reference.reference [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
  ] ;
  fhir:Condition.onsetDateTime [ fhir:value "2021-09-03T12:00:00Z"^^xsd:dateTime] .

<urn:uuid:6bc0f95c-f281-475e-a279-4ed6beb59024> a fhir:Procedure ;
  fhir:Resource.id [ fhir:value "6bc0f95c-f281-475e-a279-4ed6beb59024"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Procedure_6bc0f95c-f281-475e-a279-4ed6beb59024\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Procedure 6bc0f95c-f281-475e-a279-4ed6beb59024</b></p><a name=\"6bc0f95c-f281-475e-a279-4ed6beb59024\"> </a><a name=\"hc6bc0f95c-f281-475e-a279-4ed6beb59024\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure\">http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure</a></p></div><p><b>identifier</b>: <code>https://cp2-test.example.org/Procedure</code>/6bc0f95c-f281-475e-a279-4ed6beb59024</p><p><b>status</b>: Completed</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 13619001}\">Thyroidectomy</span></p><p><b>subject</b>: <a href=\"Patient-27e58ece-409e-44f9-8cc1-b33495a0ef9d.html\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</a></p><p><b>performed</b>: 2022-05-15 08:00:00+0000</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"PractitionerRole-f051d3bd-26ff-4030-a5b6-fc4ef2be83ba.html\">PractitionerRole Cardioloog</a></td></tr></table><p><b>reasonReference</b>: <a href=\"Condition-5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757.html\">Condition Hypercalcemia</a></p></div>"
  ] ;
  fhir:Procedure.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://cp2-test.example.org/Procedure" ] ;
     fhir:Identifier.value [ fhir:value "6bc0f95c-f281-475e-a279-4ed6beb59024" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ] ;
  fhir:Procedure.status [ fhir:value "completed"] ;
  fhir:Procedure.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:13619001 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "13619001" ] ;
       fhir:Coding.display [ fhir:value "Thyroidectomy" ]
     ]
  ] ;
  fhir:Procedure.subject [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Reference.reference [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
  ] ;
  fhir:Procedure.performedDateTime [ fhir:value "2022-05-15T08:00:00Z"^^xsd:dateTime] ;
  fhir:Procedure.performer [
     fhir:index 0 ;
     fhir:Procedure.performer.actor [
       fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba" ]
     ]
  ] ;
  fhir:Procedure.reasonReference [
     fhir:index 0 ;
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Condition/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757> ;
     fhir:Reference.reference [ fhir:value "Condition/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757" ]
  ] .

<urn:uuid:8c2d4009-4322-4d4a-8e29-3e70cd67d286> a fhir:MedicationRequest ;
  fhir:Resource.id [ fhir:value "8c2d4009-4322-4d4a-8e29-3e70cd67d286"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationRequest" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationRequest>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_8c2d4009-4322-4d4a-8e29-3e70cd67d286\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 8c2d4009-4322-4d4a-8e29-3e70cd67d286</b></p><a name=\"8c2d4009-4322-4d4a-8e29-3e70cd67d286\"> </a><a name=\"hc8c2d4009-4322-4d4a-8e29-3e70cd67d286\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationRequest\">http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationRequest</a></p></div><p><b>identifier</b>: <code>https://cp2-test.example.org/MedicationRequest</code>/8c2d4009-4322-4d4a-8e29-3e70cd67d286</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{http://www.whocc.no/atc L01BC05}\">gemcitabine</span></p><p><b>subject</b>: <a href=\"Patient-27e58ece-409e-44f9-8cc1-b33495a0ef9d.html\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</a></p><p><b>authoredOn</b>: 2017-09-03</p><p><b>requester</b>: <a href=\"PractitionerRole-f051d3bd-26ff-4030-a5b6-fc4ef2be83ba.html\">PractitionerRole Cardioloog</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take one tablet by mouth twice daily</p><p><b>timing</b>: 2 per 1 day</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>250 mg</td></tr></table></blockquote></div>"
  ] ;
  fhir:MedicationRequest.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://cp2-test.example.org/MedicationRequest" ] ;
     fhir:Identifier.value [ fhir:value "8c2d4009-4322-4d4a-8e29-3e70cd67d286" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ] ;
  fhir:MedicationRequest.status [ fhir:value "active"] ;
  fhir:MedicationRequest.intent [ fhir:value "order"] ;
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "L01BC05" ] ;
       fhir:Coding.display [ fhir:value "gemcitabine" ]
     ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Reference.reference [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
  ] ;
  fhir:MedicationRequest.authoredOn [ fhir:value "2017-09-03"^^xsd:date] ;
  fhir:MedicationRequest.requester [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take one tablet by mouth twice daily" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "250"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ]
     ]
  ] .

<urn:uuid:e00a59fa-7d7e-422d-8505-ef3e645404e9> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "e00a59fa-7d7e-422d-8505-ef3e645404e9"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationStatement" ;
       fhir:index 0 ;
       fhir:link <http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationStatement>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_e00a59fa-7d7e-422d-8505-ef3e645404e9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement e00a59fa-7d7e-422d-8505-ef3e645404e9</b></p><a name=\"e00a59fa-7d7e-422d-8505-ef3e645404e9\"> </a><a name=\"hce00a59fa-7d7e-422d-8505-ef3e645404e9\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationStatement\">http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationStatement</a></p></div><p><b>identifier</b>: <code>https://cp2-test.example.org/MedicationStatement</code>/e00a59fa-7d7e-422d-8505-ef3e645404e9</p><p><b>status</b>: Active</p><p><b>medication</b>: <span title=\"Codes:{http://www.whocc.no/atc L01BC05}\">gemcitabine</span></p><p><b>subject</b>: <a href=\"Patient-27e58ece-409e-44f9-8cc1-b33495a0ef9d.html\">Jaantje Merkens  Female, DoB: 1950-02-26 ( http://organization2.example.org/EHR/patients#vdfesz)</a></p><p><b>effective</b>: 2017-09-03</p><p><b>dateAsserted</b>: 2017-09-03</p><p><b>informationSource</b>: <a href=\"PractitionerRole-f051d3bd-26ff-4030-a5b6-fc4ef2be83ba.html\">PractitionerRole Cardioloog</a></p><blockquote><p><b>dosage</b></p><p><b>text</b>: Take one tablet by mouth twice daily</p><p><b>timing</b>: 2 per 1 day</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>250 mg</td></tr></table></blockquote></div>"
  ] ;
  fhir:MedicationStatement.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://cp2-test.example.org/MedicationStatement" ] ;
     fhir:Identifier.value [ fhir:value "e00a59fa-7d7e-422d-8505-ef3e645404e9" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
             fhir:Coding.code [ fhir:value "author" ]
           ]
         ] ;
         fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
         fhir:Identifier.value [ fhir:value "22222222" ]
       ]
     ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "L01BC05" ] ;
       fhir:Coding.display [ fhir:value "gemcitabine" ]
     ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d> ;
     fhir:Reference.reference [ fhir:value "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
  ] ;
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2017-09-03"^^xsd:date] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-09-03"^^xsd:date] ;
  fhir:MedicationStatement.informationSource [
     fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take one tablet by mouth twice daily" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "250"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ]
     ]
  ] .

<urn:uuid:52b792ba-11ae-42f3-bcc1-231f333f2317> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "52b792ba-11ae-42f3-bcc1-231f333f2317"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-localization-documentreference" ;
       fhir:index 0 ;
       fhir:link <http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-localization-documentreference>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_52b792ba-11ae-42f3-bcc1-231f333f2317\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference 52b792ba-11ae-42f3-bcc1-231f333f2317</b></p><a name=\"52b792ba-11ae-42f3-bcc1-231f333f2317\"> </a><a name=\"hc52b792ba-11ae-42f3-bcc1-231f333f2317\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-nl-gf-localization-documentreference.html\">NL Generic Functions Localization DocumentReference Profile</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 55188-7}\">Patient data Document</span></p><p><b>subject</b>: Identifier: <a href=\"NamingSystem-pseudo-bsn.html\" title=\"This Patient identifier represents a pseudonymized BSN.\">Pseudonymized BSN</a>/123456789</p><p><b>custodian</b>: Identifier: Ura/22222222</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/json+fhir</td><td><a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&amp;canonical=https://cp2-test.example.org/fhirr4/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d\">https://cp2-test.example.org/fhirr4/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d</a></td></tr></table></blockquote></div>"
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:55188-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "55188-7" ] ;
       fhir:Coding.display [ fhir:value "Patient data Document" ]
     ]
  ] ;
  fhir:DocumentReference.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/pseudo-bsn" ] ;
       fhir:Identifier.value [ fhir:value "123456789" ]
     ]
  ] ;
  fhir:DocumentReference.custodian [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.nl/fhir/NamingSystem/ura" ] ;
       fhir:Identifier.value [ fhir:value "22222222" ]
     ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "application/json+fhir" ] ;
       fhir:Attachment.url [ fhir:value "https://cp2-test.example.org/fhirr4/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://nuts-foundation.github.io/nl-generic-functions-ig/Bundle/phi-org2.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

