@smile-cdr/fhirts 1.4.6 → 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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.8
4
+
5
+ ### Updates (R4)
6
+
7
+ * Made `resourceType` a `required` for Resource for R4.
8
+
9
+ ## 1.4.7
10
+
11
+ ### Updates (R3)
12
+
13
+ * Fixed property `asserted` to `asserter` for AllergyIntolerance resource.
3
14
  ## 1.4.6
4
15
 
5
16
  ### Updates (R3)
package/dist/FHIR-R3.d.ts CHANGED
@@ -1018,7 +1018,7 @@ export declare class AllergyIntolerance extends Resource {
1018
1018
  onsetString: string;
1019
1019
  assertedDate: Date | string;
1020
1020
  recorder: Reference;
1021
- asserted: Reference;
1021
+ asserter: Reference;
1022
1022
  lastOccurrence: Date | string;
1023
1023
  note: Annotation[];
1024
1024
  reaction: AllergyIntoleranceReaction[];
@@ -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.6",
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",
package/src/FHIR-R3.ts CHANGED
@@ -1196,7 +1196,7 @@ export class AllergyIntolerance extends Resource {
1196
1196
  onsetString: string;
1197
1197
  assertedDate: Date | string;
1198
1198
  recorder: Reference;
1199
- asserted: Reference;
1199
+ asserter: Reference;
1200
1200
  lastOccurrence: Date | string;
1201
1201
  note: Annotation[];
1202
1202
  reaction: AllergyIntoleranceReaction[];
@@ -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;