@prefix fhir: <http://hl7.org/fhir/> .
@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/Medication/MedicationKPSInvalid> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MedicationKPSInvalid"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-medication"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-medication>
     ] )
  ] ; # 
  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: Medication MedicationKPSInvalid</b></p><a name=\"MedicationKPSInvalid\"> </a><a name=\"hcMedicationKPSInvalid\"> </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-medication</code></p></div><p><b>status</b>: Active</p><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td></tr><tr><td style=\"display: none\">*</td><td>LOT-INVALID-001</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:batch [
     fhir:lotNumber [ fhir:v "LOT-INVALID-001" ]
  ] . # 

# -------------------------------------------------------------------------------------

