@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 -------------------------------------------------------------------

<https://fhir-ig.digital.health.nz/sdhr/ValueSet/sdhr-allergyintolerance-code-valueset> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "sdhr-allergyintolerance-code-valueset"] ; # 
  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: ValueSet sdhr-allergyintolerance-code-valueset</b></p><a name=\"sdhr-allergyintolerance-code-valueset\"> </a><a name=\"hcsdhr-allergyintolerance-code-valueset\"> </a><p>This value set includes codes based on the following rules:</p><ul><li>Import all the codes that are contained in <a href=\"http://hl7.org/fhir/R4/valueset-allergyintolerance-code.html\">AllergyIntolerance Substance/Product, Condition and Negation Codes</a></li><li>Include all codes defined in <code>https://standards.digital.health.nz/ns/nzmt-type-code</code><span title=\"Version is not explicitly stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "https://fhir-ig.digital.health.nz/sdhr/ValueSet/sdhr-allergyintolerance-code-valueset"^^xsd:anyURI ;
     fhir:l <https://fhir-ig.digital.health.nz/sdhr/ValueSet/sdhr-allergyintolerance-code-valueset>
  ] ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "SDHRAllergyIntoleranceCodeValueSet"] ; # 
  fhir:title [ fhir:v "ValueSet for AllergyIntolerance Code"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-06-05T02:07:34+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health New Zealand"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Health New Zealand" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://github.com/tewhatuora" ]
     ] )
  ] [
     fhir:name [ fhir:v "HNZ Integration Team" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "integration@tewhatuora.govt.nz" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A ValueSet containing all codes from the AllergyIntolerance Code system."] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:valueSet ( [
         fhir:v "http://hl7.org/fhir/ValueSet/allergyintolerance-code"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/ValueSet/allergyintolerance-code>
       ] )
     ] [
       fhir:system [
         fhir:v "https://standards.digital.health.nz/ns/nzmt-type-code"^^xsd:anyURI ;
         fhir:l <https://standards.digital.health.nz/ns/nzmt-type-code>
       ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

