Update list-medication-request.component.ts
This commit is contained in:
parent
285e1ffdb7
commit
b1f7c4777b
|
@ -8,12 +8,13 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re
|
||||||
})
|
})
|
||||||
export class ListMedicationRequestComponent extends ListGenericResourceComponent {
|
export class ListMedicationRequestComponent extends ListGenericResourceComponent {
|
||||||
columnDefinitions: GenericColumnDefn[] = [
|
columnDefinitions: GenericColumnDefn[] = [
|
||||||
{ title: 'Medication', versions: '*', format: 'code', getter: m => m.medicationCodeableConcept?.coding[0] },
|
// { title: 'Medication', versions: '*', format: 'code', getter: m => m.medicationCodeableConcept?.coding[0] },
|
||||||
{ title: 'Dosage Timing', versions: '*', format: 'period', getter: m => m.dosageInstruction[0]?.timing.repeat.boundsPeriod},
|
|
||||||
{ title: 'Dosage Date', versions: '*', format: 'date', getter: m => m.dosageInstruction[0]?.timing.event},
|
|
||||||
{ title: 'Author Date', versions: '*', format: 'date', getter: m => m.authoredOn },
|
{ title: 'Author Date', versions: '*', format: 'date', getter: m => m.authoredOn },
|
||||||
|
{ title: 'Medication', versions: '*', getter: m => m.medicationCodeableConcept.coding[0].display }, //remove drug code
|
||||||
|
{ title: 'Dosage Timing', versions: '*', format: 'period', getter: m => m.dosageInstruction[0]?.timing.repeat.boundsPeriod},
|
||||||
|
// Not used { title: 'Dosage Date', versions: '*', format: 'date', getter: m => m.dosageInstruction[0]?.timing.event},
|
||||||
|
{ title: 'Route', versions: '*', format: 'code', getter: m => m.dosageInstruction[0]?.route.coding[0] },
|
||||||
{ title: 'Do Not Perform', versions: '*', getter: m => m.doNotPerform},
|
{ title: 'Do Not Perform', versions: '*', getter: m => m.doNotPerform},
|
||||||
{ title: 'Reason', versions: '*', format: 'code', getter: m => m.reasonCode[0]?.coding[0] },
|
{ title: 'Reason', versions: '*', format: 'code', getter: m => m.reasonCode[0]?.coding[0] },
|
||||||
{ title: 'Route', versions: '*', format: 'code', getter: m => m.dosageInstruction[0]?.route.coding[0] }
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue