@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 -------------------------------------------------------------------

<https://fhir.apps.health/ServiceRequest/lab-request-hemoglobin> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "lab-request-hemoglobin"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-servicerequest"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-servicerequest>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Lab request for hemoglobin test submitted on April 8, 2025 at 10:10 am due to dizziness and fatigue.</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-servicerequest-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "SRVREQ-HEMOGLOBIN-20250408" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:108252007 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "108252007" ] ;
       fhir:display [ fhir:v "Laboratory procedure" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:text [ fhir:v "Hemoglobin" ]
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1234567890" ]
     ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2025-04-08T10:10:00-06:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/organization-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "cedarbrook-clinic" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

