@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://localhost:8085/fhir/AllergyIntolerance/AllergyIntoleranceKPSInvalid> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "AllergyIntoleranceKPSInvalid"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-allergy-intolerance"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-allergy-intolerance>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance AllergyIntoleranceKPSInvalid</b></p><a name=\"AllergyIntoleranceKPSInvalid\"> </a><a name=\"hcAllergyIntoleranceKPSInvalid\"> </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: <code>https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-allergy-intolerance</code></p></div><p><b>patient</b>: <a href=\"Patient-PatientKPS.html\">Amina Mohamed  Female, DoB: 1992-03-25 ( http://moh.kenya/identifier/nationalID-no#12345678)</a></p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org LA15701-8}\">Urticaria (hives)</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:patient [
     fhir:l <http://localhost:8085/fhir/Patient/PatientKPS> ;
     fhir:reference [ fhir:v "Patient/PatientKPS" ]
  ] ; # 
  fhir:reaction ( [
     fhir:manifestation ( [
       fhir:coding ( [
         a loinc:LA15701-8 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA15701-8" ] ;
         fhir:display [ fhir:v "Urticaria (hives)" ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

