Procedure
Semantical type
The FHIR resource type is also used as semantical type of the resource. Include the FHIR resource name Procedure into your applications access filter if you need to use this resource.
Resource owner
If the resource contains a subject which is a Patient or Practitioner that user is the owner of the resource. Otherwise the creator of the resource is the owner.
Default value for “subject”
If a resource with no subject field is send to MIDATA, the backend will set the subject to the current user.
Read
Read a single Procedure by id.
Request:
[GET] /fhir/Procedure/<id>
Read specific version
Read a specific version of a single Procedure by id.
Request:
[GET] /fhir/Procedure/<id>/_history/<version>
Retrieve history
Retrieve all versions of a single resource.
Request:
[GET] /fhir/Procedure/<id>/_history
Search
Search for resources of type Procedure
Request:
[GET] /fhir/Procedure?searchParams
List of supported search parameters:
Supported query parameters:
Name | Type | Description |
---|---|---|
_id | token | The ID of the resource |
_lastUpdated | date | Only return resources which were last updated as specified by the given range |
_page | string | |
based-on | reference | A request for this procedure |
category | token | Classification of the procedure |
code | token | A code to identify a procedure |
date | date | When the procedure was performed |
encounter | reference | Encounter created as part of |
identifier | token | A unique identifier for a procedure |
instantiates-canonical | reference | Instantiates FHIR protocol or definition |
instantiates-uri | uri | Instantiates external protocol or definition |
location | reference | Where the procedure happened |
part-of | reference | Part of referenced event |
patient | reference | Search by subject - a patient |
performer | reference | The reference to the practitioner |
reason-code | token | Coded reason procedure performed |
reason-reference | reference | The justification that the procedure was performed |
status | token | preparation - in-progress - not-done - suspended - aborted - completed - entered-in-error - unknown |
subject | reference | Search by subject |
Create
Create a new resource of type Procedure.
Request:
[POST] /fhir/Procedure
Update
Updates a resource of type Procedure.
Request:
[PUT] /fhir/Procedure/<id>