OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: OpenMRS Allergy Intolerance Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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 -------------------------------------------------------------------

 a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "5b829d01-34bb-47d1-b1bb-9303c3a9ebc"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrs-AllergyIntolerance"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/omrs-AllergyIntolerance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"5b829d01-34bb-47d1-b1bb-9303c3a9ebc\"> </a></p><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\">Resource AllergyIntolerance &quot;5b829d01-34bb-47d1-b1bb-9303c3a9ebc&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-omrs-AllergyIntolerance.html\">OpenMRS AllergyIntolerance</a></p></div><p><b>identifier</b>: id: dce9740a-1691-11df-97a5-7038c432aabf</p><p><b>clinicalStatus</b>: active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>patient</b>: <a href=\"Patient-example-openmrs-Patient.html\">Patient/example-openmrs-Patient</a> &quot; JEANNETTE&quot;</p><p><b>recorder</b>: <a href=\"Practitioner-7a9e2727-11ee-47ae-8af5-1dcf5337f7c2.html\">Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2: Super User</a> &quot; CAREFUL&quot;</p><h3>Reactions</h3><table class=\"grid\"><tr><td>-</td><td><b>Substance</b></td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td>*</td><td>162298 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (CIEL#162298)</span></td><td>Cholesterol in LDL [Moles/volume] in Serum or Plasma <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#22748-8)</span></td><td>mild</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://fhir.openmrs.org/code-system/allergyID"^^xsd:anyURI ] ;
fhir:value [ fhir:v "dce9740a-1691-11df-97a5-7038c432aabf" ]
  ] ) ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "active" ]     ] )
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/example-openmrs-Patient" ] ;
fhir:type [ fhir:v "Patient"^^xsd:anyURI ]
  ] ; # 
  fhir:recorder [
fhir:reference [ fhir:v "Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2" ] ;
fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Super User" ]
  ] ; # 
  fhir:reaction ( [
fhir:substance [
      ( fhir:coding [
fhir:system [ fhir:v "https://openconceptlab.org/orgs/CIEL/sources/CIEL"^^xsd:anyURI ] ;
fhir:code [ fhir:v "162298" ]       ] )     ] ;
    ( fhir:manifestation [
      ( fhir:coding [
a loinc:22748-8 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "22748-8" ]       ] )     ] ) ;
fhir:severity [ fhir:v "mild" ]
  ] ) . #