Is it ok to change PrimaryCareDoctorId column in patientprofile table with an update query. Will changing this affect anything else. I usually dont update, insert or delete in database but when there is a pcp turnover. updating pcp in by going into each patient registration becomes hectic.
If it were me, I would run a SQL trace while updating the pcp on a test patient and see if it is updating any other table before trying it. I have done things like batch change a patients home LOC when closing an office without any issues. Never tried a PCP though..
I have done a referring like this a few times with out issue.
I've updated the PrimaryCareDoctorId a few times, and I didn't see any issue with it. One thing to note is that whenever the PCP is added/changed in registration, it automatically adds the new pcp to the patient's contacts. If you are still needing this functionality, you'll also need to add the to the PatientRelationship table.
thank you all for you suggestions. I can confidently make changes now.