@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://fhir.ehdsi.eu/laboratory/ServiceRequest/SampleServiceRequest> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "SampleServiceRequest"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ehdsi.eu/laboratory/StructureDefinition/ServiceRequest-lab-myhealtheu"^^xsd:anyURI ;
       fhir:l <http://fhir.ehdsi.eu/laboratory/StructureDefinition/ServiceRequest-lab-myhealtheu>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest SampleServiceRequest</b></p><a name=\"SampleServiceRequest\"> </a><a name=\"hcSampleServiceRequest\"> </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-ServiceRequest-lab-myhealtheu.html\">ServiceRequest: Laboratory</a></p></div><p><b>identifier</b>: <code>http://example.org</code>/a4310756-a193-4a48-8feb-598c87a1d3f</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 24360-0}\">Hemoglobin and Hematocrit panel - Blood</span></p><p><b>subject</b>: <a href=\"Patient-SamplePatient.html\">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><p><b>insurance</b>: <a href=\"#hcSampleServiceRequest/SampleCoverage\">Coverage: status = active</a></p><p><b>specimen</b>: <a href=\"Specimen-specimen1.html\">Specimen: status = available; type = Blood specimen</a></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Coverage #SampleCoverage</b></p><a name=\"SampleServiceRequest/SampleCoverage\"> </a><a name=\"hcSampleServiceRequest/SampleCoverage\"> </a><p><b>status</b>: Active</p><p><b>beneficiary</b>: <a href=\"Patient-SamplePatient.html\">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><p><b>payor</b>: Best Insurance</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:Coverage ;
     fhir:id [ fhir:v "SampleCoverage" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:beneficiary [
       fhir:l <http://fhir.ehdsi.eu/laboratory/Patient/SamplePatient> ;
       fhir:reference [ fhir:v "Patient/SamplePatient" ]
     ] ;
     fhir:payor ( [
       fhir:display [ fhir:v "Best Insurance" ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org"^^xsd:anyURI ;
       fhir:l <http://example.org>
     ] ;
     fhir:value [ fhir:v "a4310756-a193-4a48-8feb-598c87a1d3f" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:24360-0 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "24360-0" ] ;
       fhir:display [ fhir:v "Hemoglobin and Hematocrit panel - Blood" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.ehdsi.eu/laboratory/Patient/SamplePatient> ;
     fhir:reference [ fhir:v "Patient/SamplePatient" ]
  ] ; # 
  fhir:insurance ( [
     fhir:l <#SampleCoverage> ;
     fhir:reference [ fhir:v "#SampleCoverage" ]
  ] ) ; # 
  fhir:specimen ( [
     fhir:l <http://fhir.ehdsi.eu/laboratory/Specimen/specimen1> ;
     fhir:reference [ fhir:v "Specimen/specimen1" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

