Skip to content

Commit 97dafaa

Browse files
authored
Adjust clinical view content for treatment (#312)
1 parent d2c66ad commit 97dafaa

File tree

8 files changed

+131
-199
lines changed

8 files changed

+131
-199
lines changed

packages/esm-ugandaemr-app/src/custom-expressions/custom-apis.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/esm-ugandaemr-app/src/custom-expressions/custom-expressions.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

packages/esm-ugandaemr-app/src/index.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { defineConfigSchema, getAsyncLifecycle, getSyncLifecycle, provide } from '@openmrs/esm-framework';
22
import { configSchema } from './config-schema';
33
import { moduleName } from './constants';
4-
import { registerCustomDataSource, registerExpressionHelper } from '@openmrs/openmrs-form-engine-lib';
54

65
import formBuilderAppMenu from './menu-app-items/form-builder-app-item/form-builder-app-item.component';
76
import systemInfoAppMenu from './menu-app-items/system-info-app-item/system-info-app-item.component';
@@ -25,13 +24,6 @@ import {
2524
patientChartDivider_dashboardMeta,
2625
} from '@ohri/openmrs-esm-ohri-commons-lib';
2726

28-
import {
29-
CalcMonthsOnART,
30-
DSDMCategorizationDatasource,
31-
latestObs,
32-
patientDSDM,
33-
} from './custom-expressions/custom-expressions';
34-
3527
import {
3628
drtbSummaryDashboardMeta,
3729
dstbSummaryDashboardMeta,
@@ -78,18 +70,6 @@ export const dispensingAppMenuItem = getSyncLifecycle(dispensingAppMenu, options
7870

7971
export function startupApp() {
8072
defineConfigSchema(moduleName, configSchema);
81-
registerExpressionHelper('cusGetLatestObs', latestObs);
82-
registerExpressionHelper('getPatientDSMD', patientDSDM);
83-
registerExpressionHelper('CustomMonthsOnARTCalc', CalcMonthsOnART);
84-
85-
registerCustomDataSource({
86-
name: 'dsdm_categorization_datasource',
87-
load: () => {
88-
return Promise.resolve({
89-
default: new DSDMCategorizationDatasource(),
90-
});
91-
},
92-
});
9373
}
9474

9575
export const systemInfoPage = getAsyncLifecycle(() => import('./pages/system-info/system-info.component'), {

packages/esm-ugandaemr-app/src/views/hiv/hct/family-tracking/family-tracking-config.json

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,13 @@
2121
{
2222
"id": "memberAgeUnit",
2323
"title": "Member Age",
24-
"concept": "4049d989-b99e-440d-8f70-c222aa9fe45c"
24+
"concept": "33b18e88-0eb9-48f0-8023-2e90caad4469"
2525
},
2626
{
2727
"id": "memberRelationship",
2828
"title": "Member Relationship",
2929
"concept": "164352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
3030
},
31-
{
32-
"id": "memberEIDCare",
33-
"title": "EID Care",
34-
"concept": "eidCareConceptUuid"
35-
},
3631
{
3732
"id": "memberStatus",
3833
"title": "Member Status",
@@ -41,23 +36,18 @@
4136
{
4237
"id": "memberHIVCare",
4338
"title": "HIV Care",
44-
"concept": "dce13f66-30ab-102d-86b0-7a5022ba4115"
39+
"concept": "1f98a7e6-4d0a-4008-a6f7-4ec118f08983"
4540
},
4641
{
47-
"id": "memberEIDNo",
48-
"title": "EID No",
49-
"concept": "dce11a89-30ab-102d-86b0-7a5022ba4115"
42+
"id": "memberStatusDate",
43+
"title": "HIV Status Date",
44+
"concept": "b7f597e7-39b5-419e-9ec5-de5901fffb52"
5045
},
5146
{
5247
"id": "memberContact",
5348
"title": "Contact ",
5449
"concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
5550
},
56-
{
57-
"id": "memberStatusDate",
58-
"title": "HIV Status Date",
59-
"concept": "b7f597e7-39b5-419e-9ec5-de5901fffb52"
60-
},
6151
{
6252
"id": "actions",
6353
"title": "Actions",

packages/esm-ugandaemr-app/src/views/hiv/hct/general-counselling/general-conselling-config.json

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,29 @@
99
"encounterType": "6d88e370-f2ba-476b-bf1b-d8eaf3b1b67e",
1010
"columns": [
1111
{
12-
"id": "contactDate",
13-
"isDate": true,
14-
"title": "contactDateTitle",
15-
"concept": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
12+
"id": "physcohologicalIssues",
13+
"title": "Psychological issues",
14+
"concept": "1760ea50-8f05-4675-aedd-d55f99541aa8"
15+
},
16+
{
17+
"id": "socialIssues",
18+
"title": "Social Issues",
19+
"concept": "1760ea50-8f05-4675-aedd-d55f99541aa8"
1620
},
1721
{
18-
"id": "contactMethod",
19-
"title": "contactMethodTitle",
20-
"concept": "166456AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
22+
"id": "patientCategorization",
23+
"title": "Patient Categorization",
24+
"concept": "cc183c11-0f94-4992-807c-84f33095ce37"
2125
},
2226
{
23-
"id": "contactOutcome",
24-
"title": "contactOutcomeTitle",
25-
"concept": "167011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
27+
"id": "dsdModel",
28+
"title": "DSDM Model",
29+
"concept": "1e755463-df07-4f18-bc67-9e5527bc252f"
30+
},
31+
{
32+
"id": "dsdApproach",
33+
"title": "DSDM Approach",
34+
"concept": "73312fee-c321-11e8-a355-529269fb1459"
2635
},
2736
{
2837
"id": "actions",
@@ -59,20 +68,37 @@
5968
"encounterType": "38cb2232-30fc-4b1f-8df1-47c795771ee9",
6069
"columns": [
6170
{
62-
"id": "contactDate",
71+
"id": "vlSampleCollectionDate",
6372
"isDate": true,
64-
"title": "contactDateTitle",
65-
"concept": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
73+
"title": "VL Sample Collection Date",
74+
"concept": "c4389c60-32f5-4390-b7c6-9095ff880df5"
6675
},
6776
{
68-
"id": "contactMethod",
69-
"title": "contactMethodTitle",
70-
"concept": "166456AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
77+
"id": "vlInitiationCpoies",
78+
"title": "VL Copes/ml at Initiation of IAC",
79+
"concept": "dc8d83e3-30ab-102d-86b0-7a5022ba4115"
7180
},
7281
{
73-
"id": "contactOutcome",
74-
"title": "contactOutcomeTitle",
75-
"concept": "167011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
82+
"id": "hivdr4SampleCollectionDate",
83+
"isDate": true,
84+
"title": "HIVDR Sample Collection Date",
85+
"concept": "0b434cfa-b11c-4d14-aaa2-9aed6ca2da88"
86+
},
87+
{
88+
"id": "vlResultsAfterIac",
89+
"title": "VL Results after IAC",
90+
"concept": "dca12261-30ab-102d-86b0-7a5022ba4115"
91+
},
92+
{
93+
"id": "vlCopiesAfterIac",
94+
"title": "VL copies/ml after IAC",
95+
"concept": "dc8d83e3-30ab-102d-86b0-7a5022ba4115"
96+
},
97+
{
98+
"id": "dateResultsReceivedAtFacility",
99+
"isDate": true,
100+
"title": "Date VL Results Received at facility",
101+
"concept": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
76102
},
77103
{
78104
"id": "actions",

0 commit comments

Comments
 (0)