@ltht-react/allergy-detail
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.7](https://ssh.github.com/ltht-epr/ltht-react/compare/@ltht-react/allergy-detail@0.1.6...@ltht-react/allergy-detail@0.1.7) (2020-04-03) | ||
**Note:** Version bump only for package @ltht-react/allergy-detail | ||
## [0.1.6](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/allergy-detail@0.1.5...@ltht-react/allergy-detail@0.1.6) (2020-03-16) | ||
@@ -8,0 +16,0 @@ |
@@ -6,5 +6,4 @@ /** @jsx jsx */ | ||
interface Props { | ||
title?: string; | ||
allergy: AllergyIntolerance; | ||
} | ||
export default AllergyDetail; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** @jsx jsx */ | ||
var react_1 = __importDefault(require("react")); | ||
var core_1 = require("@emotion/core"); | ||
var card_1 = require("@ltht-react/card"); | ||
var header_1 = require("@ltht-react/header"); | ||
var detail_1 = require("@ltht-react/detail"); | ||
var AllergyDetail = function (_a) { | ||
var title = _a.title, allergy = _a.allergy; | ||
var allergy = _a.allergy; | ||
var _b, _c, _d, _e, _f; | ||
return (core_1.jsx(card_1.Card, null, | ||
core_1.jsx(card_1.CardHeader, null, | ||
core_1.jsx(header_1.SubHeader, null, title)), | ||
core_1.jsx(card_1.CardBody, null, | ||
core_1.jsx(detail_1.ResourceReferenceDetail, { term: "Asserter", resourceReference: (_b = allergy) === null || _b === void 0 ? void 0 : _b.asserter }), | ||
core_1.jsx(detail_1.DatetimeDetail, { term: "Asserted Date", datetime: (_c = allergy) === null || _c === void 0 ? void 0 : _c.assertedDate }), | ||
core_1.jsx(detail_1.CodeableConceptDetail, { term: "Code", concept: (_d = allergy) === null || _d === void 0 ? void 0 : _d.code }), | ||
core_1.jsx(detail_1.StringDetail, { term: "Category", description: (_f = (_e = allergy) === null || _e === void 0 ? void 0 : _e.category) === null || _f === void 0 ? void 0 : _f.toString() })))); | ||
return (core_1.jsx(react_1.default.Fragment, null, | ||
core_1.jsx(detail_1.ResourceReferenceDetail, { term: "Asserter", resourceReference: (_b = allergy) === null || _b === void 0 ? void 0 : _b.asserter }), | ||
core_1.jsx(detail_1.DatetimeDetail, { term: "Asserted Date", datetime: (_c = allergy) === null || _c === void 0 ? void 0 : _c.assertedDate }), | ||
core_1.jsx(detail_1.CodeableConceptDetail, { term: "Code", concept: (_d = allergy) === null || _d === void 0 ? void 0 : _d.code }), | ||
core_1.jsx(detail_1.StringDetail, { term: "Category", description: (_f = (_e = allergy) === null || _e === void 0 ? void 0 : _e.category) === null || _f === void 0 ? void 0 : _f.toString() }))); | ||
}; | ||
exports.default = AllergyDetail; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ltht-react/allergy-detail", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "ltht-react clinical AllergyDetail component.", | ||
@@ -30,12 +30,10 @@ "author": "LTHT", | ||
"@emotion/styled": "^10.0.27", | ||
"@ltht-react/card": "^0.1.5", | ||
"@ltht-react/detail": "^0.1.6", | ||
"@ltht-react/header": "^0.1.5", | ||
"@ltht-react/detail": "^0.1.7", | ||
"@ltht-react/styles": "^0.1.2", | ||
"@ltht-react/types": "^0.0.11", | ||
"@ltht-react/utils": "^0.1.4", | ||
"@ltht-react/types": "^0.0.12", | ||
"@ltht-react/utils": "^0.1.5", | ||
"emotion": "^10.0.27", | ||
"react": "^16.12.0" | ||
}, | ||
"gitHead": "3c74589ef31401a6999d236ffdf430960acc7041" | ||
"gitHead": "45a10d21bdbc0f5f9a5242aca2240a1efa53604a" | ||
} |
@@ -0,0 +0,0 @@ # AllergyDetail |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
4817
27
+ Added@ltht-react/types@0.0.12(transitive)
- Removed@ltht-react/card@^0.1.5
- Removed@ltht-react/header@^0.1.5
- Removed@fortawesome/fontawesome-common-types@0.2.360.3.0(transitive)
- Removed@fortawesome/fontawesome-svg-core@1.3.0(transitive)
- Removed@fortawesome/free-solid-svg-icons@5.15.4(transitive)
- Removed@fortawesome/react-fontawesome@0.1.19(transitive)
- Removed@ltht-react/card@0.1.35(transitive)
- Removed@ltht-react/header@0.1.24(transitive)
- Removed@ltht-react/icon@0.1.28(transitive)
- Removed@ltht-react/types@0.0.11(transitive)
- Removedclassnames@2.5.1(transitive)
Updated@ltht-react/detail@^0.1.7
Updated@ltht-react/types@^0.0.12
Updated@ltht-react/utils@^0.1.5