FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/b2cad53e-1da5-4653-bf79-9ed45f433534

Packagepoc.bonsai.current
Resource TypeStructureDefinition
Idb2cad53e-1da5-4653-bf79-9ed45f433534
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=poc.bonsai.current@1.1.0&canonical=http://electronichealth.se/fhir/StructureDefinition/NLLDataLock
URLhttp://electronichealth.se/fhir/StructureDefinition/NLLDataLock
Version1.1.0
Statusactive
Date2024-08-28
NameNLLDataLock
TypeBasic
Kindresource

Resources that use this resource

StructureDefinition
NLLProvenanceNLLProvenance
NLLProvenanceBasicDataLockNLLProvenanceBasicDataLock
NLLTransactionBundleNLLTransactionBundle

Resources that this resource uses

StructureDefinition
NLLDataLockLegalGroundNLLDataLockLegalGround
NLLDataLockStatusNLLDataLockStatus
NLLDataLockTargetNLLDataLockTarget
NLLLockedSubjectTypeNLLLockedSubjectType
NLLPrescriptionChainNLLPrescriptionChain
ValueSet
basic-resource-typesTyp av resurs
data-lock-statusSpärrstatus
data-lock-typesSpärrtyp
locked-subjectsSpärrad uppgift
security-labelsSäkerhetsklassning

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "b2cad53e-1da5-4653-bf79-9ed45f433534",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-08-28T06:34:02.402075+00:00"
  },
  "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDataLock",
  "version": "1.1.0",
  "name": "NLLDataLock",
  "status": "active",
  "date": "2024-08-28",
  "publisher": "Swedish eHealth Agency",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "EHM",
      "uri": "http://ehalsomyndigheten.se",
      "name": "E-hälsomyndigheten concept"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic",
        "path": "Basic",
        "short": "Information showing that the target resource has an privacy (sv integritet) or confidenitiality (sv sekretess) lock",
        "definition": "As described in \"Lag (2018:1212) om nationell läkemedelslista\" chapter 4, it must be possible for a patient or practitioner to lock parts of a prescription. An active DataLock referencing a resource shows that parts of, or the full resource, should be filtered based on who/what tries to access the information. The filtering is done by the Swedish eHealth Agency, given which role tries to acess the resource (target of the DataLock) and purpose of the access. Creating or in-activating a DataLock is done by the client."
      },
      {
        "id": "Basic.id",
        "path": "Basic.id",
        "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.\r\nThis id is identified by the URI http://electronichealth.se/identifier/nlldatalockid in documentation and external systems.",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Spärr-id"
          }
        ]
      },
      {
        "id": "Basic.meta",
        "path": "Basic.meta",
        "mustSupport": true
      },
      {
        "id": "Basic.meta.versionId",
        "path": "Basic.meta.versionId",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Spärrversion"
          }
        ]
      },
      {
        "id": "Basic.meta.security",
        "path": "Basic.meta.security",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/security-labels"
        }
      },
      {
        "id": "Basic.meta.security.system",
        "path": "Basic.meta.security.system",
        "mustSupport": true
      },
      {
        "id": "Basic.meta.security.version",
        "path": "Basic.meta.security.version",
        "mustSupport": true
      },
      {
        "id": "Basic.meta.security.code",
        "path": "Basic.meta.security.code",
        "mustSupport": true
      },
      {
        "id": "Basic.extension",
        "path": "Basic.extension",
        "min": 3
      },
      {
        "id": "Basic.extension:nllTargetPatient",
        "path": "Basic.extension",
        "sliceName": "nllTargetPatient",
        "short": "Reference to patient affected by this lock",
        "definition": "Reference to the patient whos processesing of personal data is affected by the lock.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Referens till patient"
          }
        ]
      },
      {
        "id": "Basic.extension:nllPrescriptionChain",
        "path": "Basic.extension",
        "sliceName": "nllPrescriptionChain",
        "short": "Prescription chain id",
        "definition": "Prescription chain id that is locked. All MedicationRequests and MedicationDispenses in the prescription chain are locked.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Förskrivningskedje-id"
          }
        ]
      },
      {
        "id": "Basic.extension:nllLockedSubjectType",
        "path": "Basic.extension",
        "sliceName": "nllLockedSubjectType",
        "short": "Type of information locked",
        "definition": "Type of information locked by the presence of the data lock. The locked information is all treatment reasons (sv: behandlingsorsak) for a confidentiality lock with the type SEKRETESS_PAT. Otherwise it is either a complete prescription chain (sv förskrivningskedja) or all dispenses for paper prescriptions (sv: pappersuttag) for the referenced patient.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/locked-subjects"
        },
        "mapping": [
          {
            "identity": "EHM",
            "map": "Spärrad uppgift"
          }
        ]
      },
      {
        "id": "Basic.extension:nllStatus",
        "path": "Basic.extension",
        "sliceName": "nllStatus",
        "short": "The status of the lock, reflects if it is active or not",
        "definition": "The status of the lock, reflects if it is active or not",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://electronichealth.se/fhir/StructureDefinition/NLLDataLockStatus"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Spärrstatus"
          }
        ]
      },
      {
        "id": "Basic.extension:nllStatus.value[x]",
        "path": "Basic.extension.value[x]",
        "binding": {
          "strength": "required",
          "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/data-lock-status"
        }
      },
      {
        "id": "Basic.extension:nllLegalGround",
        "path": "Basic.extension",
        "sliceName": "nllLegalGround",
        "short": "Legal ground for the data lock",
        "definition": "The legal ground defines who the lock applies to and the legal ground for setting the data lock. <br>\r\nAn privacy lock (INTEGRITET) affects the purpose \"health care\" (sv \"vård\") for health care pracititioners and the purpose \"support patient medication use\" (sv \"underlättande av patients läkemedelsanvändning\") for pharmacy personnel.<br>\r\nA confidentiality lock applies to the patient (SEKRETESS_PAT) or the patient's guardian (SEKRETESS_VH). The confidentiality lock is based on a confidentiality assessment according to the law \"Public Access to Information and Secrecy Act\" (sv Offentlighets- och sekretesslag).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/data-lock-types"
        },
        "mapping": [
          {
            "identity": "EHM",
            "map": "Spärrorsak"
          }
        ]
      },
      {
        "id": "Basic.code",
        "path": "Basic.code",
        "short": "Resource type: Data Lock (sv. Spärr)",
        "definition": "The type of resource is \"Data Lock\" (sv. Spärr)",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Codes for identifying types of Basic",
          "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/basic-resource-types"
        },
        "mapping": [
          {
            "identity": "EHM",
            "map": "Resurstyp Spärr"
          }
        ]
      },
      {
        "id": "Basic.code.coding",
        "path": "Basic.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Basic.code.coding.system",
        "path": "Basic.code.coding.system",
        "fixedUri": "http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types",
        "mustSupport": true
      },
      {
        "id": "Basic.code.coding.version",
        "path": "Basic.code.coding.version",
        "mustSupport": true
      },
      {
        "id": "Basic.code.coding.code",
        "path": "Basic.code.coding.code",
        "min": 1,
        "fixedCode": "datalock",
        "mustSupport": true
      }
    ]
  }
}