Skip to content

Returns the updated PatientProcedure.

Request

Updates the resource identified by the path parameter. Validation errors return 400; 404 when the resource is missing.

Security
bearerAuth or oAuthSandbox
Path
procedureIdinteger, (int64), >= 1required

ID of the procedure to update

Example:1
Query
responseFieldsstring

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.

reasonstring

correct reason for credit and rebill case if organization ledger rule was set

coveredBystring

Covered practice procedures by location | carrier (insurance) ?coveredBy=location

Enum:"location""carrier"
Example:coveredBy=location | carrier
Headers
Organization-IDstringrequired

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

Example:1006
Bodyapplication/jsonrequired

Purpose: Update the Patient Procedure Update identified by the path parameter.

Required fields: Only included properties are updated; omitted fields are unchanged.

Idempotency: Not supported.

One of:
amountnumber, (float)
Example:123.56
entryDatestring, (date)
Example:"2021-09-29T00:00:00.000Z"
serviceDatestring, (date)
Example:"2021-09-29T00:00:00.000Z"
startDatestring, (date)
Example:"2018-07-09T00:00:00.000Z"
endDatestring, (date)
Example:"2018-07-09T00:00:00.000Z"
treatmentPlannedDatestring, (date)
Example:"2018-07-09T00:00:00.000Z"
expirationDatestring, (date-time)
Example:"2018-07-09T19:00:00.000Z"
statusstring
Enum:"COMPLETED""EXISTING""TREATMENT_PLAN""IN_PROCESS""REFERRED"
Example:"COMPLETED"
oralCavitystring
Enum:"UPPER_LEFT""UPPER_RIGHT""LOWER_LEFT""LOWER_RIGHT""ARCH_MAXILLARY""ARCH_MANDI_BULAR""UPPER_LEFT_SEXTANT""UPPER_ANTERIOR_SEXTANT""UPPER_RIGHT_SEXTANT""LOWER_LEFT_SEXTANT"
Example:"UPPER_LEFT"
notesstring, <= 255 characters
Example:"string"
statestring
Enum:"ACTIVE""CANCELLED""INVALIDATED"
Example:"ACTIVE"
primaryInsuranceEstimateOverridenumber, (double)
Example:1.23456
secondaryInsuranceEstimateOverridenumber, (double)
Example:1.23456
billToInsuranceboolean
Example:true
autoCalculateEstimateEnabledboolean

Required if status field is COMPLETED

Example:true
monthsRemainingnumber, (int16)
Example:0
referredOutboolean
Example:true
procedureTeethArray of objects

Required if treatmentArea of practiceProcedure is in [TOOTH, SURFACE, ROOT]

practiceProcedureobject

A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

renderingProviderobject

A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

treatmentPlannedProviderobject

A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

insuranceClaimsArray of objects
patientConditionsArray of objects
perioExamsArray of objects
primaryInsurancenumber, (float)write-only
Example:1.23
secondaryInsurancenumber, (float)write-only
Example:1.23
writeOffnumber, (float)write-only
Example:1.23
guarantorPortionnumber, (float)write-only
Example:1.23
replacedByobject

A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

curl -i -X PUT \
  'https://papidocs.hs1api.com/_mock/publicapi/api-clinical-and-medical-records/v1/patientprocedures/1?responseFields=string&reason=string&coveredBy=location%20%7C%20carrier' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Organization-ID: 1006' \
  -d '{
    "amount": 123.56,
    "entryDate": "2021-09-29T00:00:00.000Z"
  }'

Responses

PatientProcedure was updated

Bodyapplication/json
One of:
dataobject(PatientProcedureV1)

This Endpoint is being rate limited. More information can be found here: https://portal.hs1api.com/guide

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": { "id": "9000003725942", "type": "PatientProcedureV1" }, "warnings": [ { … } ] }