Update a specific Patient By ID

PATCH {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}

To update a patient by a known ID

  1. HTTP Method: PATCH
  2. HTTP URL: https://api.live.welkincloud.io/gh/sb-demo/patients/6801d498-26f4-4aee-961b-5daffcf193c8
  3. HTTP Response Codes: 200, 400, 404, 500

Note:

  • phone: when working with patients and fields such as phone, phone must be specified in the international format, E.164 format, without zero
  • careTeamMembers is deprecated, use only careTeam to update

Request Body

{"careTeam"=>[{"id"=>"3a62d0c2-98e9-4d81-872f-8cf4495f814f", "pointOfContact"=>false}, {"id"=>"340b4131-1664-4b7e-83bb-5a4c1a0239b7", "pointOfContact"=>false}, {"id"=>"f32ccae4-0c11-4000-af7a-1208f1e4fe19", "pointOfContact"=>false}, {"id"=>"e3e6685e-2e31-4fda-bb7f-c6ce451b6509", "pointOfContact"=>true}]}