Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions onprc_ehr/resources/web/onprc_ehr/model/sources/SurgicalRounds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Copyright (c) 2013-2019 LabKey Corporation
*
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/
EHR.model.DataModelManager.registerMetadata('SurgicalRounds', {
allQueries: {
Id: {
editable: false,
columnConfig: {
editable: false
}
}
},
byQuery: {
'study.clinremarks': {
category: {
defaultValue: 'Surgery',
hidden: true
},
hx: {
hidden: true
},
s: {
hidden: true
},
o: {
hidden: true
},
a: {
hidden: true
},
p: {
hidden: true
},
p2: {
hidden: false
}
},
'study.blood': {
reason: {
defaultValue: 'Clinical'
}
}
}
});
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public SurgicalRoundsFormType(DataEntryFormContext ctx, Module owner)
}
}

addClientDependency(ClientDependency.supplierFromPath("ehr/model/sources/SurgicalRounds.js"));
addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/model/sources/SurgicalRounds.js"));
setDisplayReviewRequired(true);
}

Expand Down