{
  "resourceType": "ValueSet",
  "status": "draft",
  "name": "NexusAllergens",
  "id": "nexus-allergens",
  "title": "Allergens Value Set (CCDD, SNOMED CT and Natural Health Products)",
  "description": "What a patient can be allergic or intolerant to, for primary-care allergy entry: drugs from the\nCanadian Clinical Drug Data Set (CCDD), other substances (drug classes, foods, environmental agents)\nfrom the SNOMED CT substance hierarchy, and Health Canada's licensed natural health\nproducts, identified by Natural Product Number (NPN), offered side by side.\n\n**Compose-only, and nothing binds to it.** This set is the union of\nits member code systems, written as `compose` with no stored `expansion`. No element in this guide\nis bound to it, and it adds no constraint to any profile. It is a terminology artifact of this\nspecification, resolved by its canonical `url`; it is not one of the per-tenant pick-lists that the\n[Curated Value Set Profile](StructureDefinition-nexus-valueset.md) describes, and does not claim that\nprofile.\n\n**Which part of each system.** CCDD and NPN are included whole. SNOMED CT is restricted to\n105590001 |Substance| and its descendants (`is-a`), following the coding guidance on\n[`AllergyIntolerance.code`](StructureDefinition-nexus-emr-core-allergyintolerance.md): a single drug is\nits CCDD ingredient code, and a drug class, food or other substance is a SNOMED CT substance.\n\n**Each member carries a label.** Every include carries the\n[Include Label Extension](StructureDefinition-nexus-include-label.md): the name a user interface\nshows for that member, with its Canadian French translation. A consumer that ignores the labels\nstill reads the set correctly.\n\n**The short list that goes with it.** An allergy-entry screen offering this set can present\n[Preferred Allergens](ValueSet-nexus-preferred-allergens.md) first, before the user searches. Every\ncode in that list is also in this set.",
  "url": "https://fhir.apps.health/ValueSet/nexus-allergens",
  "experimental": false,
  "useContext": [
    {
      "code": {
        "code": "task",
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "display": "Workflow Task"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "code": "ALLERLE",
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
            "display": "allergy list entry"
          }
        ]
      }
    }
  ],
  "copyright": "This value set references the Canadian Clinical Drug Data Set, published by Health Canada. It also references SNOMED CT, copyright SNOMED International; implementers need the appropriate SNOMED CT Affiliate licence (in Canada, through Canada Health Infoway), and Health Canada's Natural Product Numbers, from the Licensed Natural Health Products Database, available under the Open Government Licence – Canada. The CCDD and NPN code system identities are published through HL7 Terminology (THO). It enumerates no codes. Contains information licensed under the Open Government Licence – Canada. Contient de l'information visée par la Licence du gouvernement ouvert – Canada.",
  "compose": {
    "include": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/hc-CCDD",
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-include-label",
            "valueString": "Drugs",
            "_valueString": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/translation",
                  "extension": [
                    {
                      "url": "lang",
                      "valueCode": "fr-CA"
                    },
                    {
                      "url": "content",
                      "valueString": "Médicaments"
                    }
                  ]
                }
              ]
            }
          }
        ]
      },
      {
        "system": "http://snomed.info/sct",
        "filter": [
          {
            "property": "concept",
            "op": "is-a",
            "value": "105590001"
          }
        ],
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-include-label",
            "valueString": "Substances",
            "_valueString": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/translation",
                  "extension": [
                    {
                      "url": "lang",
                      "valueCode": "fr-CA"
                    },
                    {
                      "url": "content",
                      "valueString": "Substances"
                    }
                  ]
                }
              ]
            }
          }
        ]
      },
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-hc-npn",
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-include-label",
            "valueString": "Natural health products",
            "_valueString": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/translation",
                  "extension": [
                    {
                      "url": "lang",
                      "valueCode": "fr-CA"
                    },
                    {
                      "url": "content",
                      "valueString": "Produits de santé naturels"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}
