more updates.
This commit is contained in:
parent
a298635f84
commit
204d35b64b
|
@ -11,7 +11,7 @@ export class ListDocumentReferenceComponent extends ListGenericResourceComponent
|
|||
columnDefinitions: GenericColumnDefn[] = [
|
||||
{ title: 'Date', versions: '*', format: 'date', getter: d => d.date },
|
||||
{ title: 'Content', versions: '*', getter: d => d.content?.[0]?.attachment.title },
|
||||
{ title: 'Category', versions: '*', format: 'codeableConcept', getter: d => d.category }, // Document category
|
||||
{ title: 'Category', versions: '*', format: 'codeableConcept', getter: d => d.category?.[0] }, // Document category
|
||||
{ title: 'Author', versions: '*', getter: d => d.author?.[0]?.display }, // Whoever creates the document
|
||||
|
||||
]
|
||||
|
|
|
@ -9,12 +9,12 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re
|
|||
})
|
||||
export class ListProcedureComponent extends ListGenericResourceComponent {
|
||||
columnDefinitions: GenericColumnDefn[] = [
|
||||
{ title: 'Procedure', versions: '*', format: 'code', getter: p => p.code.coding?.[0] },
|
||||
{ title: 'Procedure', versions: '*', format: 'codeableConcept', getter: p => p.code },
|
||||
{ title: 'Performed', versions: '*', getter: p => attributeXTime(p,'performed') },
|
||||
{ title: 'ID', versions: '*', getter: p => p.id },
|
||||
{ title: 'Recorded', versions: '*', format: 'dateTime', getter: p => p.extension?.recorded },
|
||||
{ title: 'Reason', versions: '*', format: 'code', getter: p => p.reasonCode?.coding?.[0] },
|
||||
{ title: 'Reason', versions: '*', format: 'codeableConcept', getter: p => p.reasonCode?.[0] },
|
||||
{ title: 'Status', versions: '*', getter: p => p.status },
|
||||
{ title: 'Status Reason', versions: '*', format: 'code', getter: p => p.statusReason?.coding?.[0] }
|
||||
{ title: 'Status Reason', versions: '*', format: 'codeableConcept', getter: p => p.statusReason }
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue