@smile-cdr/fhirts 1.4.4 → 1.4.5
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 +7 -0
- package/dist/FHIR-R3.d.ts +14 -14
- package/package.json +1 -1
- package/src/FHIR-R3.ts +14 -14
package/CHANGELOG.md
CHANGED
package/dist/FHIR-R3.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare class Address extends FHIRElement {
|
|
|
80
80
|
}
|
|
81
81
|
export declare class Meta extends FHIRElement {
|
|
82
82
|
versionId: string;
|
|
83
|
-
lastUpdated: string;
|
|
83
|
+
lastUpdated: string | Date;
|
|
84
84
|
profile: string;
|
|
85
85
|
security: Coding;
|
|
86
86
|
tag: Coding;
|
|
@@ -90,8 +90,8 @@ export declare class CodeableConcept extends FHIRElement {
|
|
|
90
90
|
text: string;
|
|
91
91
|
}
|
|
92
92
|
export declare class Period extends FHIRElement {
|
|
93
|
-
start: string;
|
|
94
|
-
end: string;
|
|
93
|
+
start: string | Date;
|
|
94
|
+
end: string | Date;
|
|
95
95
|
}
|
|
96
96
|
export declare class Quantity extends FHIRElement {
|
|
97
97
|
value: number;
|
|
@@ -344,8 +344,8 @@ export declare class Restriction extends BackboneElement {
|
|
|
344
344
|
export declare class AvailableTime extends BackboneElement {
|
|
345
345
|
daysOfWeek: string[];
|
|
346
346
|
allDay: boolean;
|
|
347
|
-
availableStartTime: string;
|
|
348
|
-
availableEndTime: string;
|
|
347
|
+
availableStartTime: string | Date;
|
|
348
|
+
availableEndTime: string | Date;
|
|
349
349
|
}
|
|
350
350
|
export declare class NotAvailable extends BackboneElement {
|
|
351
351
|
description: string;
|
|
@@ -514,12 +514,12 @@ export declare class Questionnaire extends Resource {
|
|
|
514
514
|
title: string;
|
|
515
515
|
status: string;
|
|
516
516
|
experimental: boolean;
|
|
517
|
-
date: string;
|
|
517
|
+
date: string | Date;
|
|
518
518
|
publisher: string;
|
|
519
519
|
description: string;
|
|
520
520
|
purpose: string;
|
|
521
|
-
rovalDate: string;
|
|
522
|
-
lastReviewedDate: string;
|
|
521
|
+
rovalDate: string | Date;
|
|
522
|
+
lastReviewedDate: string | Date;
|
|
523
523
|
effectivePeriod: Period;
|
|
524
524
|
useContext: UsageContext[];
|
|
525
525
|
jurisdiction: CodeableConcept[];
|
|
@@ -535,7 +535,7 @@ export declare class Patient extends Resource {
|
|
|
535
535
|
name: HumanName[];
|
|
536
536
|
telecom: ContactPoint[];
|
|
537
537
|
gender: Code;
|
|
538
|
-
birthDate: string;
|
|
538
|
+
birthDate: string | Date;
|
|
539
539
|
address: Address;
|
|
540
540
|
maritalStatus: CodeableConcept;
|
|
541
541
|
contact: Contact[];
|
|
@@ -795,7 +795,7 @@ export declare class Practitioner extends Resource {
|
|
|
795
795
|
telecom: ContactPoint[];
|
|
796
796
|
address: Address[];
|
|
797
797
|
gender: string;
|
|
798
|
-
birthDate: string;
|
|
798
|
+
birthDate: string | Date;
|
|
799
799
|
photo: Attachment[];
|
|
800
800
|
qualification: Qualification[];
|
|
801
801
|
communication: CodeableConcept[];
|
|
@@ -860,13 +860,13 @@ export declare class Immunization extends Resource {
|
|
|
860
860
|
vaccineCode: CodeableConcept;
|
|
861
861
|
patient: Reference;
|
|
862
862
|
encounter: Reference;
|
|
863
|
-
date: string;
|
|
863
|
+
date: string | Date;
|
|
864
864
|
primarySource: boolean;
|
|
865
865
|
reportOrigin: CodeableConcept;
|
|
866
866
|
location: Reference;
|
|
867
867
|
manufacturer: Reference;
|
|
868
868
|
lotNumber: string;
|
|
869
|
-
expirationDate: string;
|
|
869
|
+
expirationDate: string | Date;
|
|
870
870
|
site: CodeableConcept;
|
|
871
871
|
route: CodeableConcept;
|
|
872
872
|
doseQuantity: DoseCoding;
|
|
@@ -978,9 +978,9 @@ export declare class ClinicalImpression extends Resource {
|
|
|
978
978
|
description: string;
|
|
979
979
|
subject: Reference;
|
|
980
980
|
context: Reference;
|
|
981
|
-
effectiveDateTime: string;
|
|
981
|
+
effectiveDateTime: string | Date;
|
|
982
982
|
effectivePeriod: Period;
|
|
983
|
-
date: string;
|
|
983
|
+
date: string | Date;
|
|
984
984
|
assessor: Reference;
|
|
985
985
|
previous: Reference;
|
|
986
986
|
problem: Reference[];
|
package/package.json
CHANGED
package/src/FHIR-R3.ts
CHANGED
|
@@ -115,7 +115,7 @@ export class Address extends FHIRElement {
|
|
|
115
115
|
|
|
116
116
|
export class Meta extends FHIRElement {
|
|
117
117
|
versionId: string;
|
|
118
|
-
lastUpdated: string;
|
|
118
|
+
lastUpdated: string | Date;
|
|
119
119
|
profile: string;
|
|
120
120
|
security: Coding;
|
|
121
121
|
tag: Coding;
|
|
@@ -127,8 +127,8 @@ export class CodeableConcept extends FHIRElement {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
export class Period extends FHIRElement {
|
|
130
|
-
start: string;
|
|
131
|
-
end: string;
|
|
130
|
+
start: string | Date;
|
|
131
|
+
end: string | Date;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
export class Quantity extends FHIRElement {
|
|
@@ -466,8 +466,8 @@ export class Restriction extends BackboneElement {
|
|
|
466
466
|
export class AvailableTime extends BackboneElement {
|
|
467
467
|
daysOfWeek: string[];
|
|
468
468
|
allDay: boolean;
|
|
469
|
-
availableStartTime: string;
|
|
470
|
-
availableEndTime: string;
|
|
469
|
+
availableStartTime: string | Date;
|
|
470
|
+
availableEndTime: string | Date;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
export class NotAvailable extends BackboneElement {
|
|
@@ -656,12 +656,12 @@ export class Questionnaire extends Resource {
|
|
|
656
656
|
// TODO - fix Code and change status to type Code
|
|
657
657
|
status: string;
|
|
658
658
|
experimental: boolean;
|
|
659
|
-
date: string;
|
|
659
|
+
date: string | Date;
|
|
660
660
|
publisher: string;
|
|
661
661
|
description: string;
|
|
662
662
|
purpose: string;
|
|
663
|
-
rovalDate: string;
|
|
664
|
-
lastReviewedDate: string;
|
|
663
|
+
rovalDate: string | Date;
|
|
664
|
+
lastReviewedDate: string | Date;
|
|
665
665
|
effectivePeriod: Period;
|
|
666
666
|
useContext: UsageContext[];
|
|
667
667
|
jurisdiction: CodeableConcept[];
|
|
@@ -679,7 +679,7 @@ export class Patient extends Resource {
|
|
|
679
679
|
name: HumanName[];
|
|
680
680
|
telecom: ContactPoint[];
|
|
681
681
|
gender: Code;
|
|
682
|
-
birthDate: string;
|
|
682
|
+
birthDate: string | Date;
|
|
683
683
|
address: Address;
|
|
684
684
|
maritalStatus: CodeableConcept;
|
|
685
685
|
contact: Contact[];
|
|
@@ -959,7 +959,7 @@ export class Practitioner extends Resource {
|
|
|
959
959
|
telecom: ContactPoint[];
|
|
960
960
|
address: Address[];
|
|
961
961
|
gender: string;
|
|
962
|
-
birthDate: string;
|
|
962
|
+
birthDate: string | Date;
|
|
963
963
|
photo: Attachment[];
|
|
964
964
|
qualification: Qualification[];
|
|
965
965
|
communication: CodeableConcept[];
|
|
@@ -1027,13 +1027,13 @@ export class Immunization extends Resource {
|
|
|
1027
1027
|
vaccineCode: CodeableConcept;
|
|
1028
1028
|
patient: Reference;
|
|
1029
1029
|
encounter: Reference;
|
|
1030
|
-
date: string;
|
|
1030
|
+
date: string | Date;
|
|
1031
1031
|
primarySource: boolean;
|
|
1032
1032
|
reportOrigin: CodeableConcept;
|
|
1033
1033
|
location: Reference;
|
|
1034
1034
|
manufacturer: Reference;
|
|
1035
1035
|
lotNumber: string;
|
|
1036
|
-
expirationDate: string;
|
|
1036
|
+
expirationDate: string | Date;
|
|
1037
1037
|
site: CodeableConcept;
|
|
1038
1038
|
route: CodeableConcept;
|
|
1039
1039
|
doseQuantity: DoseCoding;
|
|
@@ -1153,9 +1153,9 @@ export class ClinicalImpression extends Resource {
|
|
|
1153
1153
|
description: string;
|
|
1154
1154
|
subject: Reference;
|
|
1155
1155
|
context: Reference;
|
|
1156
|
-
effectiveDateTime: string;
|
|
1156
|
+
effectiveDateTime: string | Date;
|
|
1157
1157
|
effectivePeriod: Period;
|
|
1158
|
-
date: string;
|
|
1158
|
+
date: string | Date;
|
|
1159
1159
|
assessor: Reference;
|
|
1160
1160
|
previous: Reference;
|
|
1161
1161
|
problem: Reference[];
|