Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bot] Fast-forward for 23.11.10 #941

Merged
merged 9 commits into from
Mar 5, 2024
2 changes: 2 additions & 0 deletions onprc_ehr/resources/queries/study/ExamVetPE/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
<column name="p2date"/>
<column name="p2"/>
<column name="id/assignedVet/assignedVet"/>
<column name="Id/activeFlags/Alert::valueField"/>
<column name="Id/MostRecentTB/MonthsSinceLastTB"/>
</columns>
<sorts>
<sort column="Id/curLocation/room"/>
Expand Down
3 changes: 2 additions & 1 deletion onprc_ehr/resources/queries/study/pregnancyGestation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ INNER JOIN ehr_lookups.species p on (m.Id.DataSet.demographics.species = p.commo
And m.date in (select max(s.date) AS d from study.pregnancyConfirmation s where s.id = m.id)
And m.Id.DataSet.demographics.calculated_status.code = 'Alive'
And p.Gestation is not null
And m.outcome.birthDate is null
And m.outcome.birthDate is null And (Select count(*) from ehr.snomed_tags stg where stg.code.code = 'F-30980' And stg.id = m.id
And stg.date >= m.date ) = 0
And m.gestation_days is not null
17 changes: 13 additions & 4 deletions onprc_ehr/resources/web/onprc_ehr/panel/AnimalDetailsCasePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

//Created 5-9-2016 R.Blasa

Ext4.define('onprc_ehr.panel.AnimalDetailsCasePanel', {
extend: 'EHR.panel.SnapshotPanel',
alias: 'widget.onprc_ehr-animaldetailspanel',
Ext4.define('ONPRC_EHR.panel.AnimalDetailsCasePanel', {
extend: 'onprc_ehr.panel.SnapshotPanel',
alias: 'widget.onprc_ehr-animaldetailscasepanel',

border: true,
showExtendedInformation: false,
Expand Down Expand Up @@ -88,7 +88,7 @@ Ext4.define('onprc_ehr.panel.AnimalDetailsCasePanel', {
},
items: [{
xtype: 'container',
width: 380,
width: 780, //Modified width 2-15-2024 R. Blasa
defaults: {
xtype: 'displayfield',
labelWidth: this.defaultLabelWidth
Expand Down Expand Up @@ -119,6 +119,13 @@ Ext4.define('onprc_ehr.panel.AnimalDetailsCasePanel', {
xtype: 'displayfield',
fieldLabel: 'Active Cases',
name: 'activeCases'
},{
// Added: 2-15-2024 R. Blasa
xtype: 'ehr-snapshotchildpanel',
headerLabel: 'Sustained Release Medication',
name: 'sdrug'


}]
},{
xtype: 'container',
Expand Down Expand Up @@ -266,6 +273,8 @@ Ext4.define('onprc_ehr.panel.AnimalDetailsCasePanel', {

toSet['assignmentsAndGroups'] = values.length ? values.join('<br>') : null;
} ,


//Added 4-28-2016 R.Blasa
appendCases: function(toSet, results){
var values = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @param subjectId
*/
Ext4.define('ONPC_EHR.panel.AnimalDetailsPanel', {
Ext4.define('ONPRC_EHR.panel.AnimalDetailsPanel', {
extend: 'onprc_ehr.panel.SnapshotPanel',
alias: 'widget.onprc_ehr-animaldetailspanels',

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AnimalDetailsRoundsFormSection extends NonStoreFormSection
public AnimalDetailsRoundsFormSection()
{
// //Modified 5-4-2016 R.Blasa
super("AnimalDetails", "Animal Details", "onprc_ehr-animaldetailspanel" );
super("AnimalDetails", "Animal Details", "onprc_ehr-animaldetailscasepanel" );

//Modified 5-4-2016 R.Blasa
addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/panel/AnimalDetailsCasePanel.js"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ public PathologyTissuesFormType(DataEntryFormContext ctx, Module owner)
addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/form/field/PathologyTissuesField.js"));
}

@Override
protected List<String> getMoreActionButtonConfigs()
{
List<String> ret = super.getMoreActionButtonConfigs();
ret.add("ENTERDEATH_FOR_TISSUES");

return ret;
}

@Override
protected boolean canInsert()
Expand Down
Loading