@prefix fhir: <http://hl7.org/fhir/> .
@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/us/davinci-crd/ServiceRequest/example> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </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\">Language: en</p></div><p><b>basedOn</b>: <a href=\"http://example.org/fhir/ServiceRequest/someReferral\">http://example.org/fhir/ServiceRequest/someReferral</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 25267002}\">Implant Pacemaker</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy V. Shaw  Female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>authoredOn</b>: 2015-03-30</p><p><b>requester</b>: <a href=\"Practitioner-full.html\">Dr. Beverly Crusher</a></p><p><b>performer</b>: <a href=\"http://example.org/fhir/Practitioner/full2\">Dr Cecil Surgeon</a></p><p><b>locationReference</b>: <a href=\"Location-example.html\">Location South Wing, second floor</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 48867003}\">Bradycardia</span></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:basedOn ( [
     fhir:l <http://example.org/fhir/ServiceRequest/someReferral> ;
     fhir:reference [ fhir:v "http://example.org/fhir/ServiceRequest/someReferral" ]
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0795T" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0796T" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0797T" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0804T" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0823T" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
             fhir:l <http://www.ama-assn.org/go/cpt>
           ] ;
           fhir:code [ fhir:v "0915T" ]
         ] )
       ]
     ] ) ;
     fhir:coding ( [
       a sct:25267002 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "25267002" ] ;
       fhir:display [ fhir:v "Insertion of intracardiac pacemaker (procedure)" ]
     ] ) ;
     fhir:text [ fhir:v "Implant Pacemaker" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2015-03-30"^^xsd:date] ; # 
  fhir:requester [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Practitioner/full> ;
     fhir:reference [ fhir:v "Practitioner/full" ] ;
     fhir:display [ fhir:v "Dr. Beverly Crusher" ]
  ] ; # 
  fhir:performer ( [
     fhir:l <http://example.org/fhir/Practitioner/full2> ;
     fhir:reference [ fhir:v "http://example.org/fhir/Practitioner/full2" ] ;
     fhir:display [ fhir:v "Dr Cecil Surgeon" ]
  ] ) ; # 
  fhir:locationReference ( [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Location/example> ;
     fhir:reference [ fhir:v "Location/example" ]
  ] ) ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       a sct:48867003 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "48867003" ] ;
       fhir:display [ fhir:v "Bradycardia" ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/us/davinci-crd/Patient/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Practitioner/full> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Location/example> a fhir:Us .

# -------------------------------------------------------------------------------------

