PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.poc.second.test@1.0.0
    http://electronichealth.se/fhir/StructureDefinition/NLLDetectedIssue
{
  "description": null,
  "_filename": "NLLDetectedIssue.StructureDefinition.json",
  "package_name": "rs/bonsai.poc.second.test",
  "date": "2022-02-02",
  "derivation": "constraint",
  "publisher": "Swedish eHealth Agency",
  "fhirVersion": "4.0.1",
  "name": "NLLDetectedIssue",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "name": "E-hälsomyndigheten concept",
    "identity": "EHM"
  } ],
  "abstract": false,
  "type": "DetectedIssue",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "active",
  "id": "2f793b6b-9e1d-49af-9d5c-4d739242203f",
  "kind": "resource",
  "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDetectedIssue",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "DetectedIssue",
      "path": "DetectedIssue",
      "short": "Issue according to Automatic Format and Constitution Control (AFF)",
      "definition": "Indicates a issue with a MedcationRequest or a MedicationDispense according to the Automatic Format and Constitution Control (AFF) ."
    }, {
      "id": "DetectedIssue.extension",
      "min": 0,
      "path": "DetectedIssue.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "path": "DetectedIssue.extension",
      "min": 0,
      "definition": "Used when communicationg an error or warning for a MedicationDispense within a dispatch. The DispatchRowNo (sv Aktörens expeditionsradnummer) uniquely identifies a MediationDispense within a dispatch.",
      "short": "Identifier for MedicationDispense within dispatch",
      "mapping": [ {
        "map": "Aktörens expeditionsradnummer",
        "identity": "EHM"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLDispatchRowNo" ]
      } ],
      "mustSupport": true,
      "sliceName": "nllDispatchRowNo",
      "max": "1",
      "id": "DetectedIssue.extension:nllDispatchRowNo"
    }, {
      "id": "DetectedIssue.status",
      "path": "DetectedIssue.status",
      "short": "preliminary",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/ValueSet/detected-issue-status"
      },
      "mapping": [ {
        "map": "Status på avvikelse",
        "identity": "EHM"
      } ],
      "definition": "Indicates the status of the detected issue.\r\nThe status \"preliminary\" is used for in the Swedish National Medication List as the detected issues always are generated from the current conditions.",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code",
      "min": 1,
      "path": "DetectedIssue.code",
      "short": "AFF error or warning",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/aff-codes",
        "description": "Codes identifying the Automatic Format and Constitution Control (AFF) error or warning"
      },
      "mapping": [ {
        "map": "AFF-resultat",
        "identity": "EHM"
      } ],
      "definition": "Code identifying the Automatic Format and Constitution Control (AFF) error or warning.",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code.coding",
      "max": "1",
      "min": 1,
      "path": "DetectedIssue.code.coding",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code.coding.system",
      "path": "DetectedIssue.code.coding.system",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code.coding.version",
      "path": "DetectedIssue.code.coding.version",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code.coding.code",
      "min": 1,
      "path": "DetectedIssue.code.coding.code",
      "short": "Issue code",
      "mapping": [ {
        "map": "AFF-felkod",
        "identity": "EHM"
      } ],
      "definition": "A code identifying the reason of the issue",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.code.coding.display",
      "path": "DetectedIssue.code.coding.display",
      "short": "Error description",
      "mapping": [ {
        "map": "AFF-felmeddelande",
        "identity": "EHM"
      } ],
      "definition": "A short text describing the meaning of the error code",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.severity",
      "path": "DetectedIssue.severity",
      "short": "moderate | low",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/ValueSet/detected-issue-severity"
      },
      "mapping": [ {
        "map": "Allvarlighetsgrad",
        "identity": "EHM"
      } ],
      "definition": "In the Swedish National Medication List there are two severety levels: \r\n\"Low\" which corresponds to \"Accepted with a warning\" (Accepterad med varning)\r\nor\r\n\"Moderate\" which corresponds to \"Rejected\" (Avvisad)",
      "mustSupport": true
    }, {
      "id": "DetectedIssue.identified[x]",
      "path": "DetectedIssue.identified[x]",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time when identified",
      "mapping": [ {
        "map": "Kontrolltidpunkt",
        "identity": "EHM"
      } ],
      "definition": "The date and time when the Automatic Format and Constitution Control (Automatisk format- och författningskontroll, AFF) was made.",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
}