Skip to content

Commit

Permalink
Modified Pathology Misc Charges query
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohsudev committed Oct 31, 2024
1 parent d63a925 commit fe3f8a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onprc_ehr/resources/queries/study/NecropsyToMiscCharges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ FROM study.encounters b
Left join (
Select a.Id, a.date, a.project, a.chargeId, a.quantity, a.unitCost, a.chargecategory, a.QCState, a.taskid
from onprc_billing.miscCharges a
Where a.chargeid.rowid in (4484,4485,4486,4487,4488,4489,5283, 4516,5296,5297,5298)
Where a.chargeid.rowid in (select j.rowid from onprc_billing_public.chargeableItems j where j.category = 'Pathology'
And j.active = true)
group by a.Id, a.date, a.project, a.chargeId, a.quantity, a.unitCost, a.chargecategory, a.QCState, a.taskid

) r1 on (r1.id = b.id )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ EHR.model.DataModelManager.registerMetadata('Biopsy_Notes', {
project: {
xtype: 'onprc_ehr-projectentryfield'
},
filename: {
hidden: false,
shownInGrid: true,
label: 'Pdf File',
columnConfig: {
width: 200
}
},
remark: {
defaultValue: 'CLINICAL HISTORY: \n\n\nGROSS DESCRIPTION: \n\n\nHISTOLOGIC DIAGNOSIS: \n\n\nCOMMENTS: \n\n\n',
hidden: false
Expand Down

0 comments on commit fe3f8a2

Please sign in to comment.