Vision Adapter for QuickFHIR
1.0.0 - draft

Vision Adapter for QuickFHIR - Local Development build (v1.0.0). See the Directory of published versions

: How to write a Condition - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "write-condition.example"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
    ( fhir:resource [
a fhir:Encounter ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<b>narrative not required</b>"       ] ;
fhir:status [ fhir:v "finished" ] ;
fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AMB" ] ;
fhir:display [ fhir:v "ambulatory" ]       ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/1714" ]       ] ;
fhir:period [
fhir:end [ fhir:v "2021-02-15"^^xsd:date ]       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Encounter"^^xsd:anyURI ]     ]
  ] [
    ( fhir:resource [
a fhir:Condition ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>code</b>: Persistent cough <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#284523002)</span></p><p><b>subject</b>: <a href=\"Patient/1714\">Patient/1714</a></p><p><b>recordedDate</b>: 2021-02-15</p><p><b>note</b>: Data entered to test posting via QF</p></div>"       ] ;
fhir:code [
        ( fhir:coding [
a sct:284523002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "284523002" ] ;
fhir:display [ fhir:v "Persistent cough" ]         ] )       ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/1714" ]       ] ;
fhir:recordedDate [ fhir:v "2021-02-15"^^xsd:date ] ;
      ( fhir:note [
fhir:text [ fhir:v "Data entered to test posting via QF" ]       ] )     ] ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Condition"^^xsd:anyURI ]     ]
  ] ) . #