Procedure
An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.
http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-procedure.html
See this Zendesk article for information on creating procedures with the Perform
command.
Endpoints
Procedure read
Read an Procedure resource.
Path Parameters
Response Payload Attributes
The FHIR Resource name.
The identifier of the Procedure.
A code specifying the state of the procedure.
Identification of the procedure.
Code defined by a terminology system.
The system url of the coding.
The code of the procedure.
The display name of the coding.
Who the procedure was performed on
The reference string of the subject in the format of "Patient/a39cafb9d1b445be95a2e2548e12a787"
.
Type the reference refers to (e.g. “Patient”).
When the procedure was performed.
In Canvas, this will be the datetime of service of the note the Perform command is committed to.
Responses
Errors
Procedure search
Search for Procedure resources.
Query Parameters
The identifier of the Procedure.
The patient reference of whom the procedure was performed on in the format Patient/a39cafb9d1b445be95a2e2548e12a787
.
Response Payload Attributes
The FHIR Resource name.
This element and value designate that the bundle is a search response. Search result bundles will always have the Bundle.type of searchset .
The number of resources that match the search parameter.
Attributes relevant to pagination, see our Pagination page for more detail.
The relation of the page search
The search url for the specific relation
The results bundle that lists out each object returned in the search
The attributes specific to the resource type, see the Attributes section below
Attributes
The FHIR Resource name.
The identifier of the Procedure.
A code specifying the state of the procedure.
Identification of the procedure.
Code defined by a terminology system.
The system url of the coding.
The code of the procedure.
The display name of the coding.
Who the procedure was performed on
The reference string of the subject in the format of "Patient/a39cafb9d1b445be95a2e2548e12a787"
.
Type the reference refers to (e.g. “Patient”).
When the procedure was performed.
In Canvas, this will be the datetime of service of the note the Perform command is committed to.
Responses
Errors
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Procedure/<id>' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Procedure/<id>" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Procedure", "id": "2dd9a3bc-a3bb-472b-aaef-c57be394de39", "status": "unknown", "code": { "coding": [ { "system": "http://www.ama-assn.org/go/cpt", "code": "23066", "display": "Biopsy soft tissue shoulder deep" } ] }, "subject": { "reference": "Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0", "type": "Patient" }, "performedDateTime": "2023-09-20T21:18:54.263690+00:00" }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-found", "details": { "text": "Unknown Procedure resource 'a47c7b0e-bbb4-42cd-bc4a-df259d148ea1'" } } ] }
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Procedure?patient=Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Procedure?patient=Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Bundle", "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "/Procedure?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" }, { "relation": "first", "url": "/Procedure?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" }, { "relation": "last", "url": "/Procedure?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" } ], "entry": [ { "resource": { "resourceType": "Procedure", "id": "2dd9a3bc-a3bb-472b-aaef-c57be394de39", "status": "unknown", "code": { "coding": [ { "system": "http://www.ama-assn.org/go/cpt", "code": "23066", "display": "Biopsy soft tissue shoulder deep" } ] }, "subject": { "reference": "Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0", "type": "Patient" }, "performedDateTime": "2023-09-20T21:18:54.263690+00:00" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "details": { "text": "Bad request" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }