@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pdex/Bundle/2000002> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "2000002"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
     ] )
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:timestamp [ fhir:v "2020-07-16T20:26:23.217+00:00"^^xsd:dateTime] ; # 
  fhir:total [ fhir:v "2"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
     fhir:relation [ fhir:v "self" ] ;
     fhir:url [ fhir:v "https://example.com/base/fhir/MedicationDispense?ct=W3sidG9rZW4iOiIrUklEOn53MThjQUk5RlVPZ0lEQUFBQUFBQU"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "https://example.com/base/Patient/1"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/Patient/1> ) ;
     fhir:search [
       fhir:mode [ fhir:v "include" ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/MedicationDispense/1000001"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/MedicationDispense/1000001> ) ;
     fhir:search [
       fhir:mode [ fhir:v "match" ]
     ]
  ] ) . # 

<https://example.com/base/Patient/1> a fhir:Patient ;
  fhir:id [ fhir:v "1"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"1\"> </a></p><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\">Resource Patient &quot;1&quot; </p></div></div>"
  ] . # 

<https://example.com/base/MedicationDispense/1000001> a fhir:MedicationDispense ;
  fhir:id [ fhir:v "1000001"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationDispense</b><a name=\"1000001\"> </a></p><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\">Resource MedicationDispense &quot;1000001&quot; </p></div><p><b>status</b>: completed</p><p><b>medication</b>: Lisinopril, 30 TABLET in 1 BLISTER PACK (54458-872-10) (package) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ndc.html\">National drug codes</a>#54458-872-10)</span></p><p><b>subject</b>: <a href=\"#Patient_1\">See above (Patient/1)</a></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=\"Practitioner-4.html\">Practitioner/4</a> &quot; SMITH&quot;</td></tr></table><p><b>location</b>: <a href=\"Location-5.html\">Location/5</a> &quot;MyFavorite Pharmacy&quot;</p><p><b>type</b>: Refill <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ActCode.html\">ActCode</a>#RF)</span></p><p><b>quantity</b>: 60</p><p><b>daysSupply</b>: 30</p></div>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "54458-872-10" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/us/davinci-pdex/Patient/1> ;
     fhir:reference [ fhir:v "Patient/1" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:link <http://hl7.org/fhir/us/davinci-pdex/Practitioner/4> ;
       fhir:reference [ fhir:v "Practitioner/4" ]
     ]
  ] ) ; # 
  fhir:location [
     fhir:link <http://hl7.org/fhir/us/davinci-pdex/Location/5> ;
     fhir:reference [ fhir:v "Location/5" ]
  ] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "RF" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "60"^^xsd:decimal ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "30"^^xsd:decimal ]
  ] . # 

<http://hl7.org/fhir/us/davinci-pdex/Patient/1> a fhir:us .

<http://hl7.org/fhir/us/davinci-pdex/Practitioner/4> a fhir:us .

<http://hl7.org/fhir/us/davinci-pdex/Location/5> a fhir:us .

# -------------------------------------------------------------------------------------

