@smile-cdr/fhirts 2.0.3 → 2.0.4

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Updates (R4)
6
+
7
+ * `OperationOutcome` class now has `id` set to type `string`. `Resource` class should now support `id`.
8
+
3
9
  ## 2.0.3
4
10
 
5
11
  ### Updates (R4)
@@ -18,6 +18,10 @@ export declare class OperationOutcome {
18
18
  * This is a OperationOutcome resource
19
19
  */
20
20
  resourceType: 'OperationOutcome';
21
+ /**
22
+ * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
23
+ */
24
+ id?: string;
21
25
  /**
22
26
  * An error, warning, or information message that results from a system action.
23
27
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile-cdr/fhirts",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Fhir ts/js library for frontend apps",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -20,6 +20,10 @@ export class OperationOutcome {
20
20
  * This is a OperationOutcome resource
21
21
  */
22
22
  resourceType: 'OperationOutcome';
23
+ /**
24
+ * The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
25
+ */
26
+ id?: string;
23
27
  /**
24
28
  * An error, warning, or information message that results from a system action.
25
29
  */
@@ -1,4 +1,3 @@
1
- import { Patient } from "../../FHIR-R4/classes/patient";
2
1
  import { BundleUtilities } from "./BundleUtilities";
3
2
 
4
3
  const inputPayload = require("./../../test-resources/Bundle-R4.json");