maintenance: title: FORM_PLASTIC_SERGERY_POST_OP;; mlmname: FORM_PLASTIC_SERGERY_POST_OP;; arden: version 2.5;; version: 6.10;; institution: St. Clair Hospital ;; author: Shivprasad Jadhav;; specialist: Shivprasad Jadhav, Allscripts;; date: 2015-02-23;; validation: testing;; library: purpose: Scenario 1 : when user select any order of "Famotidine",then othere order i.e "Famotidine 20mg IV PUSH -12hours should be grayed out.. Scenario 2 : when user select any order of "Famotidine",then othere order i.e "Famotidine 20mg,PO for (BID (9-21) should be grayed out.;; explanation: ;; keywords: ;; citations: ;; knowledge: type: data-driven;; data: ( this_communication, // Communication object this_form, // Form object client_info_obj //Arden ClientInfo object ) := argument; field_list:= this_form.Fields; Medication := last of ( field_list WHERE field_list.DataItemName = "MultiOrderGrid" and field_list.Control_MultiFieldOccNum = 49 ); Medication_Value := Medication.Value ; // *********** Objects for first flow ************* Famotidine1 := first of (Medication_Value where Medication_Value.Name = "Famotidine 20mg Tab"); Famotidine2 := first of (Medication_Value where Medication_Value.Name = "Famotidine Inj"); //PCA - Morphine Order Set If Famotidine1.IsSelected = True Then Famotidine2.IsReadonly := True; Endif; If Famotidine2.IsSelected = True Then Famotidine1.IsReadonly := True; Endif; If Famotidine1.IsSelected = False And Famotidine2.IsSelected = False Then Famotidine1.IsReadonly := False; Famotidine2.IsReadonly := False; EndIf; ;; priority: 50 ;; evoke: ;; logic: conclude true; ;; action: return this_communication, this_form; ;; Urgency: 50;; end: