Update Prescription

PUT {{URL}}/patient/{{PATIENT_ID}}/prescription/{{PRESCRIPTION_ID}}

Update an existing prescription. Only updates to prescriptions created by you would be allowed. * Only pass the fields that need to be updated. Rest can be ignored.

Request Body

{"patientId"=>123, "prescriptionId"=>345, "dateWritten"=>"2020-02-05T00:00:00.000Z", "prescriber"=>"Dr. Nathan Gork", "imageUrl"=>"https://s3.amazonaws.com/prescription-1", "medications"=>[{"medicationName"=>"lipitor", "din"=>78, "medicationSig"=>"morning and evening", "refillQuantity"=>60, "daysValid"=>30, "substitute"=>true}, {"medicationName"=>"Metformin", "din"=>79, "medicationSig"=>"3 times a day after food", "refillQuantity"=>540, "daysValid"=>180, "substitute"=>true}]}