@ltht-react/allergy-detail
Advanced tools
Comparing version 1.3.7 to 1.3.9
@@ -6,2 +6,18 @@ # Change Log | ||
## [1.3.9](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/allergy-detail@1.3.8...@ltht-react/allergy-detail@1.3.9) (2021-07-14) | ||
**Note:** Version bump only for package @ltht-react/allergy-detail | ||
## [1.3.8](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/allergy-detail@1.3.7...@ltht-react/allergy-detail@1.3.8) (2021-07-12) | ||
**Note:** Version bump only for package @ltht-react/allergy-detail | ||
## [1.3.7](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/allergy-detail@1.3.6...@ltht-react/allergy-detail@1.3.7) (2021-07-07) | ||
@@ -8,0 +24,0 @@ |
@@ -13,5 +13,6 @@ "use strict"; | ||
var detail_1 = require("@ltht-react/detail"); | ||
var allergy_onset_detail_1 = __importDefault(require("./atoms/allergy-onset-detail")); | ||
var TopSection = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 1rem;\n\n & dl:last-of-type {\n margin-top: 0;\n text-align: right;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 1rem;\n\n & dl:last-of-type {\n margin-top: 0;\n text-align: right;\n }\n"]))); | ||
var AllergyDetail = function (_a) { | ||
var _b, _c, _d, _e, _f, _g; | ||
var _b, _c, _d, _e, _f; | ||
var allergy = _a.allergy; | ||
@@ -27,5 +28,6 @@ return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(TopSection, { children: [jsx_runtime_1.jsx(detail_1.CodeableConceptDetail, { term: "Allergy", concept: allergy.code }, void 0), | ||
jsx_runtime_1.jsx(detail_1.DatetimeDetail, { term: "Asserted Date", datetime: allergy === null || allergy === void 0 ? void 0 : allergy.assertedDate }, void 0), | ||
jsx_runtime_1.jsx(detail_1.DatetimeDetail, { term: "Onset Date", datetime: (_g = allergy === null || allergy === void 0 ? void 0 : allergy.onSet) === null || _g === void 0 ? void 0 : _g.onSetDateTime }, void 0), | ||
jsx_runtime_1.jsx(allergy_onset_detail_1.default, { term: "Onset", onset: allergy.onSet }, void 0), | ||
jsx_runtime_1.jsx(detail_1.DatetimeDetail, { term: "Last Occurance", datetime: allergy === null || allergy === void 0 ? void 0 : allergy.lastOccurrence }, void 0), | ||
jsx_runtime_1.jsx(detail_1.ResourceReferenceDetail, { term: "Recorder", resourceReference: allergy === null || allergy === void 0 ? void 0 : allergy.recorder }, void 0)] }, void 0)); | ||
jsx_runtime_1.jsx(detail_1.ResourceReferenceDetail, { term: "Recorder", resourceReference: allergy === null || allergy === void 0 ? void 0 : allergy.recorder }, void 0), | ||
jsx_runtime_1.jsx(detail_1.AnnotationListDetail, { term: "Note(s)", notes: allergy.note }, void 0)] }, void 0)); | ||
}; | ||
@@ -32,0 +34,0 @@ exports.default = AllergyDetail; |
{ | ||
"name": "@ltht-react/allergy-detail", | ||
"version": "1.3.7", | ||
"version": "1.3.9", | ||
"description": "ltht-react clinical AllergyDetail component.", | ||
@@ -30,9 +30,10 @@ "author": "LTHT", | ||
"@emotion/styled": "^11.0.0", | ||
"@ltht-react/detail": "^1.3.7", | ||
"@ltht-react/description-list": "^1.3.7", | ||
"@ltht-react/detail": "^1.3.9", | ||
"@ltht-react/styles": "^1.3.2", | ||
"@ltht-react/types": "^1.0.4", | ||
"@ltht-react/utils": "^1.1.5", | ||
"@ltht-react/types": "^1.0.5", | ||
"@ltht-react/utils": "^1.1.7", | ||
"react": "^17.0.0" | ||
}, | ||
"gitHead": "c7df36e5ef2ef7298245992c3d9eac6b7cdbfd96" | ||
"gitHead": "a99d00246977dbb9ad038895976b6b9f3be59d1b" | ||
} |
Sorry, the diff of this file is not supported yet
29007
24
288
8
Updated@ltht-react/detail@^1.3.9
Updated@ltht-react/types@^1.0.5
Updated@ltht-react/utils@^1.1.7