Update list-immunization.component.ts

This commit is contained in:
OhHeyAlan 2023-08-04 00:19:35 -05:00 committed by Jason Kulatunga
parent b1f7c4777b
commit 1273504871
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re
export class ListImmunizationComponent extends ListGenericResourceComponent {
columnDefinitions: GenericColumnDefn[] = [
{ title: 'Vaccine', versions: '*', format: 'code', getter: i => i.vaccineCode.coding[0] },
{ title: 'Status', versions: '*', getter: i => i.status },
{ title: 'Date Given', versions: '*', format: 'date', getter: i => i.date || i.occurrenceDateTime || i.occurrenceStringe },
{ title: 'Date Recorded', versions: '*', format: 'date', getter: i => i.recorded }
]