@ltht-react/care-plan-detail 1.3.96 → 1.3.97
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.d.ts +8 -8
- package/lib/index.js +30 -30
- 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.97 (2022-08-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ltht-react/care-plan-detail
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## 1.3.96 (2022-07-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @ltht-react/care-plan-detail
|
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CarePlan } from '@ltht-react/types';
|
|
3
|
-
import { CollapsibleDetailCollectionProps } from '@ltht-react/type-detail';
|
|
4
|
-
declare const CarePlanDetail: FC<Props>;
|
|
5
|
-
interface Props extends CollapsibleDetailCollectionProps {
|
|
6
|
-
carePlan: CarePlan;
|
|
7
|
-
}
|
|
8
|
-
export default CarePlanDetail;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CarePlan } from '@ltht-react/types';
|
|
3
|
+
import { CollapsibleDetailCollectionProps } from '@ltht-react/type-detail';
|
|
4
|
+
declare const CarePlanDetail: FC<Props>;
|
|
5
|
+
interface Props extends CollapsibleDetailCollectionProps {
|
|
6
|
+
carePlan: CarePlan;
|
|
7
|
+
}
|
|
8
|
+
export default CarePlanDetail;
|
package/lib/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
|
-
var types_1 = require("@ltht-react/types");
|
|
16
|
-
var type_detail_1 = require("@ltht-react/type-detail");
|
|
17
|
-
var CarePlanDetail = function (_a) {
|
|
18
|
-
var _b, _c;
|
|
19
|
-
var carePlan = _a.carePlan, _d = _a.viewType, viewType = _d === void 0 ? types_1.DetailViewType.Compact : _d;
|
|
20
|
-
return (jsx_runtime_1.jsxs(type_detail_1.CollapsibleDetailCollection, __assign({ viewType: viewType }, { children: [jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Plan", description: carePlan.title }, void 0),
|
|
21
|
-
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Description", description: carePlan.description }, void 0),
|
|
22
|
-
jsx_runtime_1.jsx(type_detail_1.PeriodDetail, { period: carePlan.period }, void 0),
|
|
23
|
-
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Intent", description: carePlan.intent.toString() }, void 0),
|
|
24
|
-
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Status", description: carePlan.status.toString() }, void 0),
|
|
25
|
-
jsx_runtime_1.jsx(type_detail_1.NarrativeDetail, { narrative: carePlan.text }, void 0),
|
|
26
|
-
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Addresses", resourceReferences: carePlan === null || carePlan === void 0 ? void 0 : carePlan.addresses }, void 0),
|
|
27
|
-
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Performer(s)", resourceReferences: (_c = (_b = carePlan === null || carePlan === void 0 ? void 0 : carePlan.activity) === null || _b === void 0 ? void 0 : _b.detail) === null || _c === void 0 ? void 0 : _c.performer }, void 0),
|
|
28
|
-
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Author(s)", resourceReferences: carePlan === null || carePlan === void 0 ? void 0 : carePlan.author }, void 0)] }), void 0));
|
|
29
|
-
};
|
|
30
|
-
exports.default = CarePlanDetail;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
|
+
var types_1 = require("@ltht-react/types");
|
|
16
|
+
var type_detail_1 = require("@ltht-react/type-detail");
|
|
17
|
+
var CarePlanDetail = function (_a) {
|
|
18
|
+
var _b, _c;
|
|
19
|
+
var carePlan = _a.carePlan, _d = _a.viewType, viewType = _d === void 0 ? types_1.DetailViewType.Compact : _d;
|
|
20
|
+
return (jsx_runtime_1.jsxs(type_detail_1.CollapsibleDetailCollection, __assign({ viewType: viewType }, { children: [jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Plan", description: carePlan.title }, void 0),
|
|
21
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Description", description: carePlan.description }, void 0),
|
|
22
|
+
jsx_runtime_1.jsx(type_detail_1.PeriodDetail, { period: carePlan.period }, void 0),
|
|
23
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Intent", description: carePlan.intent.toString() }, void 0),
|
|
24
|
+
jsx_runtime_1.jsx(type_detail_1.StringDetail, { term: "Status", description: carePlan.status.toString() }, void 0),
|
|
25
|
+
jsx_runtime_1.jsx(type_detail_1.NarrativeDetail, { narrative: carePlan.text }, void 0),
|
|
26
|
+
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Addresses", resourceReferences: carePlan === null || carePlan === void 0 ? void 0 : carePlan.addresses }, void 0),
|
|
27
|
+
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Performer(s)", resourceReferences: (_c = (_b = carePlan === null || carePlan === void 0 ? void 0 : carePlan.activity) === null || _b === void 0 ? void 0 : _b.detail) === null || _c === void 0 ? void 0 : _c.performer }, void 0),
|
|
28
|
+
jsx_runtime_1.jsx(type_detail_1.ResourceReferenceListDetail, { term: "Author(s)", resourceReferences: carePlan === null || carePlan === void 0 ? void 0 : carePlan.author }, void 0)] }), void 0));
|
|
29
|
+
};
|
|
30
|
+
exports.default = CarePlanDetail;
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/care-plan-detail",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.97",
|
|
4
4
|
"description": "ltht-react clinical CarePlanDetail 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.95",
|
|
31
|
+
"@ltht-react/styles": "^1.3.89",
|
|
32
|
+
"@ltht-react/type-detail": "^1.3.97",
|
|
33
|
+
"@ltht-react/types": "^1.0.93",
|
|
34
|
+
"@ltht-react/utils": "^1.1.95",
|
|
35
35
|
"react": "^17.0.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "4007295972361bf9b74d594c439a0d7908ec1bda"
|
|
38
38
|
}
|