UNPKG

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

64 lines (63 loc) 2.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _propTypes = _interopRequireDefault(require("prop-types")); var _interpretationPropTypes = _interopRequireDefault(require("./interpretationPropTypes")); var _statusPropTypes = _interopRequireDefault(require("./statusPropTypes")); var _valuePropTypes = _interopRequireDefault(require("./valuePropTypes")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var observationPropShape = _propTypes.default.shape({ /** * Event ID for result */ eventId: _propTypes.default.string, /** * Value and optional Unit of Measure for the Observation Result */ result: _valuePropTypes.default, /** * Enum for possible Result Interpretation values (also called `Clinical Severity` and `Normalcy`). * One of `'critical'`, `'critical-high'`, `'critical-low'`, `'positive'`, `'abnormal'`, `'high'`, `'low'`, `'normal'`. */ interpretation: _interpretationPropTypes.default, /** * Enum for possible Result Statuses. * One of `'entered-in-error'`s. */ status: _statusPropTypes.default, /** * If the Result type is Numeric, in flowsheet cell will switch to alternate view if cannot fully display value. */ isNumeric: _propTypes.default.bool, /** * If the Result value has been modified from it's original value for the same clinically documented event & datetime. */ isModified: _propTypes.default.bool, /** * If the Result value has an appended comment. */ hasComment: _propTypes.default.bool, /** * If the Result value has not been authenticated and committed to patient chart. */ isUnverified: _propTypes.default.bool, /** * Display to show the full Result Name/Label Concept, e.g. `'Temperature Oral'`. */ conceptDisplay: _propTypes.default.string, /** * Display to show an appropriate clinically relevant documented datetime. */ datetimeDisplay: _propTypes.default.string, /** * Visually hides the unit of measure, e.g. when presented in a series of side-by-side columns of the same unit. */ hideUnit: _propTypes.default.bool, /** * Whether or not the result has a value for a specific datetime. */ resultNoData: _propTypes.default.bool }); var _default = exports.default = observationPropShape;