@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/cow/ServiceRequest/cow-service-request-example> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cow-service-request-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 cow-service-request-example</b></p><a name=\"cow-service-request-example\"> </a><a name=\"hccow-service-request-example\"> </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>identifier</b>: <code>https://placer.example.org/ehr</code>/5f8b4be6-9484-449d-a217-7472a0389899</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 2345-7}\">Glucose [Mass/volume] in Serum or Plasma</span></p><p><b>subject</b>: Mr. John Doe (Identifier: Medical record number/553242)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://placer.example.org/ehr"^^xsd:anyURI ;
       fhir:l <https://placer.example.org/ehr>
     ] ;
     fhir:value [ fhir:v "5f8b4be6-9484-449d-a217-7472a0389899" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:2345-7 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "2345-7" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:type [
       fhir:v "Patient"^^xsd:anyURI ;
       fhir:l fhir:Patient
     ] ;
     fhir:identifier [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
           ] ;
           fhir:code [ fhir:v "MR" ]
         ] )
       ] ;
       fhir:system [
         fhir:v "https://placer.example.org/ehr"^^xsd:anyURI ;
         fhir:l <https://placer.example.org/ehr>
       ] ;
       fhir:value [ fhir:v "553242" ]
     ] ;
     fhir:display [ fhir:v "Mr. John Doe" ]
  ] . # 

# -------------------------------------------------------------------------------------

