@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://johnmoehrke.github.io/ElementLabeling/Observation/ex-observation-depression> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-observation-depression"] ;
  fhir:Resource.meta [
     fhir:Meta.security [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "BH" ]
     ], [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ] ;
       fhir:Coding.code [ fhir:value "R" ] ;
       fhir:Coding.display [ fhir:value "restricted" ]
     ]
  ] ;
  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 ex-observation-depression</b></p><a name=\"ex-observation-depression\"> </a><a name=\"hcex-observation-depression\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Security Labels: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html\">behavioral health information sensitivity (Details: ActCode code BH = 'behavioral health information sensitivity')</a>, <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v3-Confidentiality.html\">restricted (Details: Confidentiality code R = 'restricted')</a></p></div><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 44261-6}\">Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient-element-labeled.html\">John Schmidt  Male, DoB: 1923-07-25 ( http://hl7.org/fhir/sid/us-ssn#United States Social Security Number#666-01-2345 (use: official))</a></p><p><b>effective</b>: 2026-11-15</p><p><b>performer</b>: <a href=\"Patient-ex-patient-element-labeled.html\">John Schmidt  Male, DoB: 1923-07-25 ( http://hl7.org/fhir/sid/us-ssn#United States Social Security Number#666-01-2345 (use: official))</a></p><p><b>value</b>: 12</p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:44261-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "44261-6" ] ;
       fhir:Coding.display [ fhir:value "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://johnmoehrke.github.io/ElementLabeling/Patient/ex-patient-element-labeled> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-patient-element-labeled" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-11-15"^^xsd:date] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:link <http://johnmoehrke.github.io/ElementLabeling/Patient/ex-patient-element-labeled> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-patient-element-labeled" ]
  ] ;
  fhir:Observation.valueInteger [ fhir:value "12"^^xsd:integer] ;
  fhir:Observation.interpretation [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" ] ;
       fhir:Coding.code [ fhir:value "H" ] ;
       fhir:Coding.display [ fhir:value "High" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://johnmoehrke.github.io/ElementLabeling/Observation/ex-observation-depression.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

