@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/ServiceRequest/proposal-example> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "proposal-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-servicerequested" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-servicerequested>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest proposal-example</b></p><a name=\"proposal-example\"> </a><a name=\"hcproposal-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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-servicerequested.html\">US Quality Core ServiceRequested</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Proposal</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 387713003}\">Surgical Procedure</span></p><p><b>priority</b>: Urgent</p><p><b>code</b>: <span title=\"Codes:\">Value Set: Intermittent pneumatic compression devices (IPC)</span> (value set: <a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.117.1.7.1.214-20230117\">Intermittent pneumatic compression devices</a>)</p><p><b>subject</b>: <a href=\"Patient-example.html\">Example Patient  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter: identifier = http://hospital.example.org/encounter-ids#ENC-2026-987654 (use: official, ); status = finished; class = inpatient encounter (ActCode#IMP); type = Hospital admission; priority = urgent; period = 2026-08-01 10:30:00-0400 --&gt; 2026-08-05 14:00:00-0400</a></p><p><b>occurrence</b>: 2026-08-02</p><p><b>authoredOn</b>: 2026-07-30</p></div>"
  ] ;
  fhir:ServiceRequest.status [ fhir:value "active"] ;
  fhir:ServiceRequest.intent [ fhir:value "proposal"] ;
  fhir:ServiceRequest.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:387713003 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "387713003" ] ;
       fhir:Coding.display [ fhir:value "Surgical Procedure" ]
     ]
  ] ;
  fhir:ServiceRequest.priority [ fhir:value "urgent"] ;
  fhir:ServiceRequest.code [
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/codeOptions" ] ;
       fhir:Extension.valueCanonical [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214>
       ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Value Set: Intermittent pneumatic compression devices (IPC)" ]
  ] ;
  fhir:ServiceRequest.subject [
     fhir:link <http://hl7.org/fhir/us/quality-core/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:ServiceRequest.encounter [
     fhir:link <http://hl7.org/fhir/us/quality-core/Encounter/example> ;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ] ;
  fhir:ServiceRequest.occurrenceDateTime [ fhir:value "2026-08-02"^^xsd:date] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2026-07-30"^^xsd:date] .

<http://hl7.org/fhir/us/quality-core/Patient/example> a fhir:us .

<http://hl7.org/fhir/us/quality-core/Encounter/example> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/ServiceRequest/proposal-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/ServiceRequest/proposal-example.ttl> .

# -------------------------------------------------------------------------------------

