@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://profiles.ihe.net/ITI/RESTfulATNA/Observation/ex-IHE-ToDo-laugh-0> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-IHE-ToDo-laugh-0"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/RESTfulATNA/StructureDefinition/IHE.ToDo.laugh" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/RESTfulATNA/StructureDefinition/IHE.ToDo.laugh>
     ] ;
     fhir:Meta.security [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
       fhir:Coding.code [ fhir:value "HTEST" ]
     ]
  ] ;
  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-IHE-ToDo-laugh-0</b></p><a name=\"ex-IHE-ToDo-laugh-0\"> </a><a name=\"hcex-IHE-ToDo-laugh-0\"> </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-IHE.ToDo.laugh.html\">IHE ToDo Laugh Observation</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActReason.html\">test health data (Details: ActReason code HTEST = 'test health data')</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category activity}\">Activity</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 71344-6}, {http://snomed.info/sct 288535006}\">I have been able to laugh and see the funny side of things in the past 7 days [EPDS]</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>effective</b>: 2023-12-01 08:42:50-0500</p><p><b>performer</b>: <a href=\"Practitioner-ex-author.html\">Practitioner: telecom = Author@example.com</a></p><p><b>note</b>: </p><blockquote><div><p>a minimal blood pressure</p>\n</div></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 97379-2}\">XR Humerus - left AP</span></p><p><b>value</b>: 140 PercentNormal<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 367475009}\">Lesion of ulnar nerve</span></p><p><b>value</b>: baseball</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 404641004}\">Giddiness</span></p><p><b>value</b>: can't breath</p></blockquote></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "activity" ] ;
       fhir:Coding.display [ fhir:value "Activity" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:71344-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "71344-6" ] ;
       fhir:Coding.display [ fhir:value "I have been able to laugh and see the funny side of things in the past 7 days [EPDS]" ]
     ], [
       fhir:index 1 ;
       a sct:288535006 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "288535006" ] ;
       fhir:Coding.display [ fhir:value "Finding relating to laughing" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://profiles.ihe.net/ITI/RESTfulATNA/Patient/ex-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-patient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2023-12-01T08:42:50-05:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <https://profiles.ihe.net/ITI/RESTfulATNA/Practitioner/ex-author> ;
     fhir:Reference.reference [ fhir:value "Practitioner/ex-author" ]
  ] ;
  fhir:Observation.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "a minimal blood pressure" ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:97379-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "97379-2" ] ;
         fhir:Coding.display [ fhir:value "XR Humerus - left AP" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "140"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "PercentNormal" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "%" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:367475009 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "367475009" ] ;
         fhir:Coding.display [ fhir:value "Lesion of ulnar nerve" ]
       ]
     ] ;
     fhir:Observation.component.valueString [ fhir:value "baseball" ]
  ], [
     fhir:index 2 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:404641004 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "404641004" ] ;
         fhir:Coding.display [ fhir:value "Giddiness" ]
       ]
     ] ;
     fhir:Observation.component.valueString [ fhir:value "can't breath" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://profiles.ihe.net/ITI/RESTfulATNA/Observation/ex-IHE-ToDo-laugh-0.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

