Hello all,
This is my first CHUG post but I'm running out of ideas and I haven't been able to get in touch with my typical resources. Let me know if this is a good avenue or if I should be going about this differently. /////
{if DOCUMENT.SCHEDINST <> ""
DOCUMENT.SCHEDULE_FOR <> ""
OR DOCUMENT.OUTPATIENT <> ""
OR DOCUMENT.SDA <> ""
OR DOCUMENT.EXTENDED_RECOVERY <> ""
OR DOCUMENT.GENERAL <> ""
OR DOCUMENT.MAC <> ""
OR DOCUMENT.IV_SEDATION <> ""
OR DOCUMENT.LOCAL <> ""
OR DOCUMENT.TIME_NEEDED_ <> ""
OR DOCUMENT.OK_FOR_ASC_P <> ""
OR DOCUMENT.MD <> ""
OR DOCUMENT.MD_WHO <> ""
OR DOCUMENT.RNFA <> ""
OR DOCUMENT.RNFA_WHO <> ""
OR DOCUMENT.SECOND_SCRUB <> ""
OR DOCUMENT.NONE <> ""
OR DOCUMENT.NEED_MEDICAL <> ""
OR DOCUMENT.WHO_ <> ""
OR DOCUMENT.COUMADIN <> ""
OR DOCUMENT.PLAVIX <> ""
OR DOCUMENT.ASA <> ""
OR DOCUMENT.PRADAXA <> ""
OR DOCUMENT.SAVAYSA_LIXIANA_ELIQUIS_XARELTO <> ""
OR DOCUMENT.OTHER_MED <> ""
OR DOCUMENT.STOP_ <> ""
OR DOCUMENT.PACEMAKER <> ""
OR DOCUMENT.CPAP_BPAP <> ""
OR DOCUMENT.BOWEL_PREP <> ""
OR DOCUMENT.BOWEL_PREP_W_ENEMA <> ""
OR DOCUMENT.Z1_2_BOWEL_PREP_W_ENEMA <> ""
OR DOCUMENT.NO_PREP <> ""
OR DOCUMENT.NO_ANTIBIOTICS <> ""
OR DOCUMENT.LIQUIDS_1_DAY <> ""
OR DOCUMENT.LIQUIDS_2_DAY <> ""
OR DOCUMENT.STENT <> ""
OR DOCUMENT.NO_STENT <> ""
OR DOCUMENT.MRSA <> "" THEN OBSNOW("SURGRYNEEDED", DOCUMENT.SURGERYFORM) ELSE OBSNOW("SURGRYNEEDED","") ENDIF }
{DOCUMENT.SURGERYFORM = STR(DOCUMENT.SCHEDINST) +HRET + HRET+
"Schedule for: " +STR(DOCUMENT.SCHEDULE_FOR) +HRET +" "+ "Admission: " +STR(DOCUMENT.OUTPATIENT) +STR(DOCUMENT.SDA) +STR(DOCUMENT.EXTENDED_RECOVERY) + HRET + HRET +
"Anesthesia: " +STR(DOCUMENT.GENERAL) +STR(DOCUMENT.MAC) + STR(DOCUMENT.IV_SEDATION) +STR(DOCUMENT.LOCAL) +HRET + HRET +
STR(DOCUMENT.TIME_NEEDED_) + STR(DOCUMENT.OK_FOR_ASC_P) + HRET + HRET +
"Assistamt: " +STR(DOCUMENT.MD) +STR(DOCUMENT.MD_WHO) +STR(DOCUMENT.RNFA) +STR(DOCUMENT.RNFA_WHO) +STR(DOCUMENT.SECOND_SCRUB) +STR(DOCUMENT.NONE) +HRET + HRET+
"Needs Medical Clearance: " +STR(DOCUMENT.NEED_MEDICAL) +STR(DOCUMENT.WHO_) +HRET + HRET+
"Patient Medications: " +STR(DOCUMENT.COUMADIN) +STR(DOCUMENT.PLAVIX) +STR(DOCUMENT.ASA) +STR(DOCUMENT.PRADAXA) +STR(DOCUMENT.SAVAYSA_LIXIANA_ELIQUIS_XARELTO) +STR(DOCUMENT.OTHER_MED) +STR(DOCUMENT.STOP_) +HRET + HRET+
"Patient Devices: " +STR(DOCUMENT.PACEMAKER) +STR(DOCUMENT.CPAP_BPAP) +HRET + HRET+
"Colon Surgery: " +STR(DOCUMENT.BOWEL_PREP) +STR(DOCUMENT.BOWEL_PREP_W_ENEMA) +STR(DOCUMENT.Z1_2_BOWEL_PREP_W_ENEMA) +STR(DOCUMENT.NO_PREP) +STR(DOCUMENT.NO_ANTIBIOTICS) +STR(DOCUMENT.LIQUIDS_1_DAY) +STR(DOCUMENT.LIQUIDS_2_DAY) +STR(DOCUMENT.STENT) +STR(DOCUMENT.NO_STENT) +STR(DOCUMENT.MRSA)
}
Ideally I would get those ~37 document variables to enter into the obs term (SURGRYNEEDED) for a handout. However this is not working but I have follow this methodology on other forms. Guidance is appreciate but I will keep working on this regardless.
Posted : November 1, 2017 8:06 am