|
81 | 81 | style: 'margin-bottom: 10px;' |
82 | 82 | },{ |
83 | 83 | xtype: 'button', |
84 | | - style: 'margin-bottom: 10px;', |
| 84 | + style: 'margin-bottom: 30px;', |
85 | 85 | border: true, |
86 | 86 | text: 'View Report', |
87 | 87 | scope: this, |
|
117 | 117 |
|
118 | 118 | window.open(LABKEY.ActionURL.buildURL('query', 'executeQuery', null, params)) |
119 | 119 | } |
| 120 | + },{ |
| 121 | + html: '<b> Please enter blood draws according to linked chart below.</b>', |
| 122 | + style: 'margin-bottom: 10px;' |
| 123 | + |
| 124 | + },{ |
| 125 | + xtype: 'button', |
| 126 | + style: 'margin-bottom: 30px;', |
| 127 | + border: true, |
| 128 | + text: 'View Blood Draw Chart', |
| 129 | + scope: this, |
| 130 | + |
| 131 | + handler: function(btn){ |
| 132 | + |
| 133 | + var url = LABKEY.ActionURL.buildURL('onprc_ehr', 'BloodDrawChart', this.containerPath); |
| 134 | + window.open(url); |
| 135 | + }, |
| 136 | + |
120 | 137 | }, |
121 | | - //Modified by Kollil, 9/19/23 |
122 | | - // As per Tkt# 9767, this section is deleted from the page. |
123 | | - |
124 | | - // { |
125 | | - // html: '<hr><b>Blood Needed For Viral Surveillance:</b>', |
126 | | - // style: 'margin-bottom: 10px;' |
127 | | - // },{ |
128 | | - // html: 'This report will summarize blood needed for viral surveillance based on the following criteria:<br>' + |
129 | | - // '- 4mL is required for HBV testing on all SPF animals over 180 days old that have not been HBV tested during this calendar year<br>' + |
130 | | - // '- 4mL is required for SRV testing for all Japanese Macaques, and non-SPF Cynos that have not been testing during this calendar year', |
131 | | - // style: 'margin-bottom: 10px;' |
132 | | - // },{ |
133 | | - // xtype: 'button', |
134 | | - // style: 'margin-bottom: 10px;', |
135 | | - // border: true, |
136 | | - // text: 'View Report', |
137 | | - // scope: this, |
138 | | - // handler: function(btn){ |
139 | | - // var groupName = btn.up('panel').down('#groupName').getValue() || []; |
140 | | - // groupName = Ext4.isArray(groupName) ? groupName: [groupName]; |
141 | | - // |
142 | | - // var room = btn.up('panel').down('#room').getValue() || []; |
143 | | - // room = Ext4.isArray(room) ? room: [room]; |
144 | | - // |
145 | | - // var field = btn.up('panel').down('#animalField'); |
146 | | - // var animalid = field.getValue() || []; |
147 | | - // if (!Ext4.isEmpty(animalid)){ |
148 | | - // animalid = Ext4.String.trim(animalid); |
149 | | - // animalid = animalid.replace(/[\s,;]+/g, ';'); |
150 | | - // animalid = animalid.replace(/(^;|;$)/g, ''); |
151 | | - // } |
152 | | - // animalid = Ext4.isArray(animalid) ? animalid: [animalid]; |
153 | | - // |
154 | | - // var params = { |
155 | | - // schemaName: 'study', |
156 | | - // 'query.queryName': 'processingSerology', |
157 | | - // 'query.Id/demographics/calculated_status~eq': 'Alive', |
158 | | - // 'query.bloodVol~gt': 0 |
159 | | - // }; |
160 | | - // |
161 | | - // if (!Ext4.isEmpty(groupName)) |
162 | | - // params['query.Id/activeAnimalGroups/groups~in'] = groupName.join(';'); |
163 | | - // |
164 | | - // if (!Ext4.isEmpty(room)) |
165 | | - // params['query.Id/curLocation/room~in'] = room.join(';'); |
166 | | - // |
167 | | - // if (!Ext4.isEmpty(animalid)) |
168 | | - // params['query.Id~in'] = animalid.join(';'); |
169 | | - // |
170 | | - // window.open(LABKEY.ActionURL.buildURL('query', 'executeQuery', null, params)) |
171 | | - // } |
172 | | - // }, |
| 138 | + |
173 | 139 | { |
174 | 140 | html: '<hr><b>Blood Needed For Genetic Testing:</b>', |
175 | 141 | style: 'margin-bottom: 10px;' |
|
0 commit comments