@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Observation/example-odh> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-odh"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-simple-observation" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-simple-observation>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation example-odh</b></p><a name=\"example-odh\"> </a><a name=\"hcexample-odh\"> </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-simple-observation.html\">US Quality Core Simple Observation</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social History</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 21843-8}\">History of Usual Occupation</span></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>effective</b>: 2024-04-09 08:00:00-0400 --&gt; 2026-08-01 10:30:00-0400</p><p><b>performer</b>: <a href=\"Practitioner-example.html\">Example Practitioner</a></p><p><b>value</b>: <span title=\"Codes:\">Radiology Technician (Radiology Tech) [Radiologic Technicians]</span></p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "social-history" ] ;
       fhir:Coding.display [ fhir:value "Social History" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:21843-8 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "21843-8" ] ;
       fhir:Coding.display [ fhir:value "History of Usual Occupation" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/us/quality-core/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <http://hl7.org/fhir/us/quality-core/Encounter/example> ;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ] ;
  fhir:Observation.effectivePeriod [
     fhir:Period.start [ fhir:value "2024-04-09T08:00:00-04:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-08-01T10:30:00-04:00"^^xsd:dateTime ]
  ] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:link <http://hl7.org/fhir/us/quality-core/Practitioner/example> ;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ] ;
     fhir:Reference.display [ fhir:value "Example Practitioner" ]
  ] ;
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.text [ fhir:value "Radiology Technician (Radiology Tech) [Radiologic Technicians]" ]
  ] .

<http://hl7.org/fhir/us/quality-core/Patient/example> a fhir:us .

<http://hl7.org/fhir/us/quality-core/Encounter/example> a fhir:us .

<http://hl7.org/fhir/us/quality-core/Practitioner/example> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Observation/example-odh.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/Observation/example-odh.ttl> .

# -------------------------------------------------------------------------------------

