🐛 fix (general-consent): fix type error when create encounter
This commit is contained in:
@@ -132,10 +132,11 @@ async function actionHandler(type: string) {
|
||||
if (data) {
|
||||
const resp2 = await create({
|
||||
entityType_code: 'encounter',
|
||||
ref_id: +data?.id,
|
||||
ref_id: data?.id,
|
||||
type_code: 'general-consent',
|
||||
})
|
||||
console.log('resp2', resp2.body?.data)
|
||||
backToList()
|
||||
}
|
||||
} else {
|
||||
console.log('Ada error di form', result)
|
||||
|
||||
Reference in New Issue
Block a user