@ltht-react/allergy-detail 1.3.34 → 1.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/index.js +13 -13
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.3.35 (2022-01-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ltht-react/allergy-detail
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## 1.3.34 (2022-01-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @ltht-react/allergy-detail
|
package/lib/index.js
CHANGED
|
@@ -9,25 +9,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
11
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
12
|
-
var
|
|
12
|
+
var type_detail_1 = require("@ltht-react/type-detail");
|
|
13
13
|
var allergy_onset_detail_1 = __importDefault(require("./atoms/allergy-onset-detail"));
|
|
14
14
|
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"])));
|
|
15
15
|
var AllergyDetail = function (_a) {
|
|
16
16
|
var _b, _c, _d, _e, _f;
|
|
17
17
|
var allergy = _a.allergy;
|
|
18
|
-
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(TopSection, { children: [jsx_runtime_1.jsx(
|
|
19
|
-
jsx_runtime_1.jsx(
|
|
20
|
-
jsx_runtime_1.jsx(
|
|
21
|
-
jsx_runtime_1.jsx(
|
|
22
|
-
jsx_runtime_1.jsx(
|
|
23
|
-
jsx_runtime_1.jsx(
|
|
24
|
-
jsx_runtime_1.jsx(detail_1.StringDetail, { term: "Criticality", description: (_f = allergy.criticality) === null || _f === void 0 ? void 0 : _f.toString() }, void 0),
|
|
25
|
-
jsx_runtime_1.jsx(detail_1.ResourceReferenceDetail, { term: "Asserter", resourceReference: allergy === null || allergy === void 0 ? void 0 : allergy.asserter }, void 0),
|
|
26
|
-
jsx_runtime_1.jsx(detail_1.DatetimeDetail, { term: "Asserted Date", datetime: allergy === null || allergy === void 0 ? void 0 : allergy.assertedDate }, void 0),
|
|
18
|
+
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsxs(TopSection, { children: [jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Type", description: (_b = allergy.type) === null || _b === void 0 ? void 0 : _b.toString() }, void 0),
|
|
19
|
+
jsx_runtime_1.jsx(type_detail_1.CodingListDetail, { term: "Data Source(s)", codings: allergy.metadata.dataSources }, void 0)] }, void 0),
|
|
20
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Category", description: (_c = allergy === null || allergy === void 0 ? void 0 : allergy.category) === null || _c === void 0 ? void 0 : _c.toString() }, void 0),
|
|
21
|
+
jsx_runtime_1.jsx(type_detail_1.CodeableConceptDetail, { term: "Allergy", concept: allergy.code }, void 0),
|
|
22
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Verification Status", description: (_d = allergy.verificationStatus) === null || _d === void 0 ? void 0 : _d.toString() }, void 0),
|
|
23
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Clinical Status", description: (_e = allergy.clinicalStatus) === null || _e === void 0 ? void 0 : _e.toString() }, void 0),
|
|
27
24
|
jsx_runtime_1.jsx(allergy_onset_detail_1.default, { term: "Onset", onset: allergy.onSet }, void 0),
|
|
28
|
-
jsx_runtime_1.jsx(
|
|
29
|
-
jsx_runtime_1.jsx(
|
|
30
|
-
jsx_runtime_1.jsx(
|
|
25
|
+
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceDetail, { term: "Asserter", resourceReference: allergy === null || allergy === void 0 ? void 0 : allergy.asserter }, void 0),
|
|
26
|
+
jsx_runtime_1.jsx(type_detail_1.DatetimeDetail, { term: "Asserted Date", datetime: allergy === null || allergy === void 0 ? void 0 : allergy.assertedDate }, void 0),
|
|
27
|
+
jsx_runtime_1.jsx(type_detail_1.AnnotationListDetail, { term: "Note(s)", notes: allergy.note }, void 0),
|
|
28
|
+
jsx_runtime_1.jsx(type_detail_1.DatetimeDetail, { term: "Last Occurance", datetime: allergy === null || allergy === void 0 ? void 0 : allergy.lastOccurrence }, void 0),
|
|
29
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Criticality", description: (_f = allergy.criticality) === null || _f === void 0 ? void 0 : _f.toString() }, void 0),
|
|
30
|
+
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceDetail, { term: "Recorder", resourceReference: allergy === null || allergy === void 0 ? void 0 : allergy.recorder }, void 0)] }, void 0));
|
|
31
31
|
};
|
|
32
32
|
exports.default = AllergyDetail;
|
|
33
33
|
var templateObject_1;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,2DAAoC;AAEpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,2DAAoC;AAEpC,uDAOgC;AAChC,sFAAuD;AAEvD,IAAM,UAAU,GAAG,gB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,kBAAC,4BAAc,IAAC,IAAI,EAAC,gBAAgB,EAAC,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,WAAI;YAC3E,kBAAC,0BAAY,IAAC,IAAI,EAAC,aAAa,EAAC,WAAW,EAAE,MAAA,OAAO,CAAC,WAAW,0CAAE,QAAQ,EAAE,WAAI;YACjF,kBAAC,qCAAuB,IAAC,IAAI,EAAC,UAAU,EAAC,iBAAiB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,WAAI,YAChF,CACJ,CAAA;CAAA,CAAA;AAMD,kBAAe,aAAa,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/allergy-detail",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.35",
|
|
4
4
|
"description": "ltht-react clinical AllergyDetail component.",
|
|
5
5
|
"author": "LTHT",
|
|
6
6
|
"homepage": "",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@emotion/react": "^11.0.0",
|
|
29
29
|
"@emotion/styled": "^11.0.0",
|
|
30
|
-
"@ltht-react/description-list": "^1.3.
|
|
31
|
-
"@ltht-react/styles": "^1.3.
|
|
32
|
-
"@ltht-react/type-detail": "^1.3.
|
|
33
|
-
"@ltht-react/types": "^1.0.
|
|
34
|
-
"@ltht-react/utils": "^1.1.
|
|
30
|
+
"@ltht-react/description-list": "^1.3.33",
|
|
31
|
+
"@ltht-react/styles": "^1.3.27",
|
|
32
|
+
"@ltht-react/type-detail": "^1.3.35",
|
|
33
|
+
"@ltht-react/types": "^1.0.31",
|
|
34
|
+
"@ltht-react/utils": "^1.1.33",
|
|
35
35
|
"react": "^17.0.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "ff4ee5d0a3e3fd7bc51c4d71a9004672aa608588"
|
|
38
38
|
}
|