@smile-cdr/fhirts 1.4.7 → 1.4.8

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
+ ## 1.4.8
4
+
5
+ ### Updates (R4)
6
+
7
+ * Made `resourceType` a `required` for Resource for R4.
8
+
3
9
  ## 1.4.7
4
10
 
5
11
  ### Updates (R3)
@@ -14,7 +14,7 @@ import { Id } from './id';
14
14
  import { Meta } from './meta';
15
15
  import { Uri } from './uri';
16
16
  export declare class Resource {
17
- resourceType?: string;
17
+ resourceType: string;
18
18
  id?: Id;
19
19
  meta?: Meta;
20
20
  implicitRules?: Uri;
@@ -14,7 +14,7 @@ import { Id } from './../classes/id';
14
14
  import { Meta } from './../classes/meta';
15
15
  import { Uri } from './../classes/uri';
16
16
  export interface IResource {
17
- resourceType?: string;
17
+ resourceType: string;
18
18
  id?: Id;
19
19
  meta?: Meta;
20
20
  implicitRules?: Uri;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile-cdr/fhirts",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Fhir ts/js library for frontend apps",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -16,7 +16,7 @@ import { Uri } from './uri';
16
16
 
17
17
 
18
18
  export class Resource {
19
- resourceType?: string;
19
+ resourceType: string;
20
20
  id?: Id;
21
21
  meta?: Meta;
22
22
  implicitRules?: Uri;
@@ -16,7 +16,7 @@ import { Uri } from './../classes/uri';
16
16
 
17
17
 
18
18
  export interface IResource {
19
- resourceType?: string;
19
+ resourceType: string;
20
20
  id?: Id;
21
21
  meta?: Meta;
22
22
  implicitRules?: Uri;