{
  "resourceType": "StructureDefinition",
  "id": "no-basis-Substance",
  "url": "http://hl7.no/fhir/StructureDefinition/no-basis-Substance",
  "version": "2.0.0",
  "name": "NoBasisSubstance",
  "title": "no-basis-Substance",
  "status": "active",
  "date": "2019-07-03",
  "description": "Basis profile for Substances to be used in Norway. The profile is adapted to use FEST as source of information.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Substance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Substance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Substance",
        "path": "Substance",
        "definition": "A homogeneous material with a definite composition.\r\n\r\nThe profile is adapted to use FEST information for coding the substance."
      },
      {
        "id": "Substance.code.coding",
        "path": "Substance.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "openAtEnd"
        }
      },
      {
        "id": "Substance.code.coding:FEST-Substance",
        "path": "Substance.code.coding",
        "sliceName": "FEST-Substance",
        "short": "Substance defined in FEST",
        "definition": "A reference to a substance defined in FEST. Using the Substance-id in FEST as code and the Substance name as display. When communicating with other systems in Norway FEST Id shouuld be provided.",
        "max": "1"
      },
      {
        "id": "Substance.code.coding:FEST-Substance.system",
        "path": "Substance.code.coding.system",
        "short": "FEST",
        "definition": "FEST is the national DB",
        "min": 1,
        "fixedUri": "http://ehelse.no/fhir/CodeSystem/FEST"
      },
      {
        "id": "Substance.code.coding:FEST-Substance.code",
        "path": "Substance.code.coding.code",
        "short": "Substance Id in FEST",
        "definition": "The FEST Id is unique across versions of FEST.",
        "min": 1
      },
      {
        "id": "Substance.code.coding:FEST-Substance.display",
        "path": "Substance.code.coding.display",
        "short": "Substance name from FEST",
        "definition": "The name of the substance as defiend in FEST.",
        "min": 1
      }
    ]
  }
}