fix: change items encounter for roles
This commit is contained in:
No files matched your search
@@ -47,12 +47,14 @@ export const defaultItems: EncounterItem[] = [
|
||||
title: 'Protokol Kemoterapi',
|
||||
classCode: ['ambulatory'],
|
||||
unit: 'chemo',
|
||||
afterId: 'early-medical-assessment',
|
||||
},
|
||||
{
|
||||
id: 'chemotherapy-medicine',
|
||||
title: 'Protokol Obat Kemoterapi',
|
||||
classCode: ['ambulatory'],
|
||||
unit: 'chemo',
|
||||
afterId: 'chemotherapy-protocol',
|
||||
},
|
||||
{
|
||||
id: 'report',
|
||||
@@ -216,7 +218,12 @@ export const getItemsAll = (classCode: string, unit: string, items: EncounterIte
|
||||
|
||||
const listItemsForOutpatientRehab = mergeArrayAt(
|
||||
getItemsAll('ambulatory', 'all', defaultItems),
|
||||
getItemsByIds(['rehab-medical-assessment', 'function-assessment', 'therapy-protocol'], defaultItems),
|
||||
getItemsAll('ambulatory', 'rehab', defaultItems),
|
||||
)
|
||||
|
||||
const listItemsForOutpatientChemo = mergeArrayAt(
|
||||
getItemsAll('ambulatory', 'all', defaultItems),
|
||||
getItemsAll('ambulatory', 'chemo', defaultItems),
|
||||
)
|
||||
|
||||
export const listItems = {
|
||||
@@ -225,6 +232,10 @@ export const listItems = {
|
||||
'items': listItemsForOutpatientRehab,
|
||||
'roles': medicalPositions,
|
||||
},
|
||||
'unit|chemo': {
|
||||
'items': listItemsForOutpatientChemo,
|
||||
'roles': medicalPositions,
|
||||
},
|
||||
'all': getItemsAll('ambulatory', 'all', defaultItems),
|
||||
},
|
||||
'installation|emergency': {
|
||||
|
||||
Reference in New Issue
Block a user