I have a provider who would like to be able to send a customized letter to several different provides for a patient based off their specialty. For example he may have a note that needs to be sent to the primary care, cardiologist, and endocrinologist. Does anyone have a easy way to pull the different providers into a letter. I'm not sure what would be the best as far as adding it under contacts with the different specialty or through obsterms or variables and was wondering if anyone had efficient workflows they would be willing to share.
I would think through the use of an OBS Term.
The following looks to see if an OBS code is set, and then if so prints the OBS plus a couple other related OBS codes.
{if LASTOBSVALUE("CC GOAL#1") <> "" then "Goal #1: " +LASTOBSVALUE('CC GOAL#1') + STR(HRET) + "Barrier(s): " +LASTOBSVALUE('CC GOAL#1 TY') + STR(HRET) + "Plan: " +LASTOBSVALUE('CC GOAL#1 ST') + STR(HRET) + "Status: " +LASTOBSVALUE('MGMT PLAN 1') else "" endif}