terra-clinical-result
Version:
The Terra Clinical Result package is a collection of standardized views for presenting clinical results documented to a Patient's Medical Chart, such as Vital Signs, Laboratory Results, and Discretely Documented Values
40 lines (35 loc) • 968 B
JSX
import React from 'react';
import { FlowsheetResultCell, ResultNameHeaderCell } from 'terra-clinical-result/lib';
import Table, {
Header,
Row,
Body,
} from 'terra-html-table';
import classNamesBind from 'classnames/bind';
import styles from '../Examples.module.scss';
const cx = classNamesBind.bind(styles);
const unverifiedResultValue = [
{
eventId: '1602328271',
result: {
value: '101.1',
unit: 'degC',
},
interpretation: 'critical',
isUnverified: true,
},
];
export default () => (
<Table className={cx('mock-flowsheet-table')}>
<Header>
<ResultNameHeaderCell className={cx('mock-flowsheet-resultcolumn')} key="notes" resultName="" />
<ResultNameHeaderCell className={cx('mock-flowsheet-resultcolumn')} key="notes" resultName="" />
</Header>
<Body>
<Row>
<FlowsheetResultCell resultDataSet={unverifiedResultValue} hideUnit />
<></>
</Row>
</Body>
</Table>
);