Skip to content

Returns a list of objects with calculated fields for PatientProcedures based on filter criteria

Request

Required: filter must include patientProcedure.id (single or list). Required: responseFields must include both isEditable and appointmentToBeDeleted (comma-separated). Missing either typically returns 400.

Security
bearerAuth or oAuthSandbox
Query
filterstringrequired

Filter clauses for objects with calculated fields for patientprocedures. General grammar and operators: the Public API filter documentation.

Keys and operators (this endpoint)

  • patientProcedure.id (==, ->)

  • location.id (==, !=, ->)

  • isEditable (==)

  • appointmentToBeDeleted (==, ->)

Examples: location.id==12, patientProcedure.id==12, appointmentToBeDeleted==value, isEditable==value.

responseFieldsstringrequired

A URL-encoded, comma-delimited list of field names to include in the response data. Additionally, the following values are also supported:

ALL - Returns all field names.

Headers
Organization-IDstringrequired

Organization context for the request. Must match the organization authorized by the access token.

Example:1006
curl -i -X GET \
  'https://papidocs.hs1api.com/_mock/publicapi/api-clinical-and-medical-records/v1/patientprocedures/calculated?filter=string&responseFields=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Organization-ID: 1006'

Responses

The request was successful

Bodyapplication/json
dataArray of objects(PatientProcedureCalcV1)
Example:
[ {} ]
warningsArray of objects(Error)
Example:
[ { "code": "VALIDATION_ERROR", "title": "Validation Failed", "description": "The provided data does not meet the required validation rules.", "source": "request.body" } ]
errorsArray of objects(Error)
Example:
[ { "code": "ERR101", "title": "Example Title" } ]
Response
{ "data": [ {} ], "warnings": [ { … } ] }