NP Core Implementation Guide
1.0.0 - Release Nepal flag

NP Core Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Example NP Core AllergyIntolerance

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

<http://hl7.org/fhir/AllergyIntolerance/ExampleNPCoreAllergyIntolerance> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleNPCoreAllergyIntolerance"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.digitalhealth.gov.np/core/StructureDefinition/np-core-allergyintolerance" ;
       fhir:index -1 ;
       fhir:link <http://fhir.digitalhealth.gov.np/core/StructureDefinition/np-core-allergyintolerance>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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: AllergyIntolerance ExampleNPCoreAllergyIntolerance</b></p><a name=\"ExampleNPCoreAllergyIntolerance\"> </a><a name=\"hcExampleNPCoreAllergyIntolerance\"> </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-np-core-allergyintolerance.html\">NP Core Allergy Intolerance</a></p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</span></p><p><b>type</b>: Allergy</p><p><b>category</b>: Medication</p><p><b>criticality</b>: High Risk</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 372687004}\">Amoxicillin</span></p><p><b>patient</b>: <a href=\"Patient-ExampleNPCorePatient.html\">Aarav Shrestha (official) Male, DoB: 1990-05-15 ( National unique individual identifier: NepalNationalID#1234-5678-9012-3 (use: official))</a></p><p><b>recordedDate</b>: 2026-05-10</p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 271807003}\">Skin rash</span></td><td>Moderate</td></tr></table></div>"
  ] ;
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ] ;
       fhir:Coding.code [ fhir:value "active" ] ;
       fhir:Coding.display [ fhir:value "Active" ]
     ]
  ] ;
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ] ;
       fhir:Coding.code [ fhir:value "confirmed" ] ;
       fhir:Coding.display [ fhir:value "Confirmed" ]
     ]
  ] ;
  fhir:AllergyIntolerance.type [ fhir:value "allergy"] ;
  fhir:AllergyIntolerance.category [
     fhir:value "medication" ;
     fhir:index -1
  ] ;
  fhir:AllergyIntolerance.criticality [ fhir:value "high"] ;
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:372687004 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "372687004" ] ;
       fhir:Coding.display [ fhir:value "Amoxicillin" ]
     ]
  ] ;
  fhir:AllergyIntolerance.patient [
     fhir:link <http://hl7.org/fhir/Patient/ExampleNPCorePatient> ;
     fhir:Reference.reference [ fhir:value "Patient/ExampleNPCorePatient" ]
  ] ;
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2026-05-10"^^xsd:date] ;
  fhir:AllergyIntolerance.reaction [
     fhir:index -1 ;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index -1 ;
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a sct:271807003 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "271807003" ] ;
         fhir:Coding.display [ fhir:value "Skin rash" ]
       ]
     ] ;
     fhir:AllergyIntolerance.reaction.severity [ fhir:value "moderate" ]
  ] .

<http://hl7.org/fhir/Patient/ExampleNPCorePatient> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/AllergyIntolerance/ExampleNPCoreAllergyIntolerance.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/AllergyIntolerance/ExampleNPCoreAllergyIntolerance.ttl> .