Page Status: Outdated

Datalock - Cancel

Page index

Introduction

This section describes the process of removing a data lock.

The basic approach to achieve this use case is an HTTP GET on Basic. For example:

GET [base]/Basic? TODO

Se NLLDataLock for more information.

Sequence diagram

The diagram below shows the typical sequence needed to remove a data lock.

Note that the requests shown in the diagram doesn't include the full basepath. It only shows the last part of the http request including resource and possible search/query parameters.

See the generic example for other type of responses.

Examples

HTTP Header

Required authorization and provenance information.

TODO

Parameter Mandatory Comment
Authorization
X-Access
X-Purpose
X-Provenance
X-Request-ID
X-User-Agent
X-OrgInfo
X-PatientRef

This is an example of access and purpose type. The type must reflect the given situation. A full list of access and purpose types will be enclosed in the developer portal Confluence, EHM.

See HTTP Header and Authorization for generic information about the HTTP header.

Example - Cancel data lock

A data lock is cancelled by providing a provenance structure with the activity type unregistered provided.

  "activity": {
    "coding": [
      {
        "code": "UNREGISTERED",
      }
    ]
  },