{
  "resourceType": "StructureDefinition",
  "url": "http://ehealth.uia.no/StructureDefinition/FESTSubstance",
  "name": "FESTSubstance",
  "status": "draft",
  "date": "2018-05-05T03:51:14.65+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Substance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Substance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Substance.identifier.system",
        "path": "Substance.identifier.system",
        "type": [
          {
            "code": "uri",
            "profile": "http://www.kith.no/xmlstds/eresept/forskrivning/2014-12-01"
          }
        ]
      },
      {
        "id": "Substance.code.coding.system",
        "path": "Substance.code.coding.system",
        "type": [
          {
            "code": "uri",
            "profile": "http://www.kith.no/xmlstds/eresept/forskrivning/2014-12-01"
          }
        ]
      },
      {
        "id": "Substance.code.coding.code",
        "path": "Substance.code.coding.code",
        "slicing": {
          "description": "FEST generates unique id for active substance.",
          "rules": "open"
        }
      },
      {
        "id": "Substance.code.coding.code:virkestoffID",
        "path": "Substance.code.coding.code",
        "sliceName": "virkestoffID",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "min": 1
      },
      {
        "id": "Substance.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Substance.code.text",
        "slicing": {
          "description": "English name of the substance.",
          "rules": "open"
        }
      },
      {
        "id": "Substance.code.text:engelskNavn",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Substance.code.text",
        "sliceName": "engelskNavn",
        "min": 1
      }
    ]
  }
}