Examples

Example 1: POST Provenance to Nullify a QuestionnaireResponse

The following example concerns a Provenance which nullifies a given QuestionnaireResponse resource with id=214492. The reason for nullifying is given as a text. To be able to specify HSA id:s for both unit and practitioner, a PractitionerRole resource is contained within the QuestionnaireResponse.

Request

  1. POST [baseURL]/Provenance

Body

Link to Json format

Provenance

Example 2: POST Provenance to Nullify an Observation

The following example concerns a Provenance which nullifies a given Observation resource with id=50130. The reason for nullifying is given as a text. To be able to specify HSA id:s for both unit and practitioner, a PractitionerRole resource is contained within the Observation.

Request

  1. POST [baseURL]/Observation

Body

Link to Json format