@smile-cdr/fhirts 2.0.0 → 2.0.1
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/dist/FHIR-R3.d.ts +78 -1
- package/dist/FHIR-R3.js +28 -1
- package/package.json +1 -1
- package/src/FHIR-R3.ts +88 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Updates (R3)
|
|
6
|
+
|
|
7
|
+
* Added support for `ValueSet` resource.
|
|
8
|
+
|
|
3
9
|
## 2.0.0
|
|
4
10
|
|
|
5
11
|
### Updates
|
|
6
12
|
|
|
7
13
|
* Introduce utilities for generic usages. Read more about usage here [Getting Started section](GETTINGSTARTED.md).
|
|
14
|
+
|
|
15
|
+
|
|
8
16
|
## 1.5.0
|
|
9
17
|
|
|
10
18
|
### Updates (R4)
|
package/dist/FHIR-R3.d.ts
CHANGED
|
@@ -1069,5 +1069,82 @@ export declare class Age extends FHIRElement {
|
|
|
1069
1069
|
system: string;
|
|
1070
1070
|
code: Code;
|
|
1071
1071
|
}
|
|
1072
|
-
export
|
|
1072
|
+
export declare class ValueSet extends BaseResource {
|
|
1073
|
+
resourceType: "ValueSet";
|
|
1074
|
+
url?: string;
|
|
1075
|
+
identifier?: Identifier[];
|
|
1076
|
+
version?: string;
|
|
1077
|
+
name?: string;
|
|
1078
|
+
title?: string;
|
|
1079
|
+
status: string;
|
|
1080
|
+
experimental?: boolean;
|
|
1081
|
+
date?: string | Date;
|
|
1082
|
+
publisher?: string;
|
|
1083
|
+
contact?: ContactDetail[];
|
|
1084
|
+
description?: string;
|
|
1085
|
+
useContext?: UsageContext[];
|
|
1086
|
+
jurisdiction?: CodeableConcept[];
|
|
1087
|
+
immutable?: boolean;
|
|
1088
|
+
purpose?: string;
|
|
1089
|
+
copyright?: string;
|
|
1090
|
+
extensible?: boolean;
|
|
1091
|
+
compose?: ValueSetCompose;
|
|
1092
|
+
expansion?: ValueSetExpansion;
|
|
1093
|
+
}
|
|
1094
|
+
export declare class ValueSetCompose extends BackboneElement {
|
|
1095
|
+
lockedDate?: string | Date;
|
|
1096
|
+
inactive?: boolean;
|
|
1097
|
+
include: ValueSetInclude[];
|
|
1098
|
+
exclude?: ValueSetInclude[];
|
|
1099
|
+
}
|
|
1100
|
+
export declare class ValueSetInclude extends BackboneElement {
|
|
1101
|
+
system?: string;
|
|
1102
|
+
version?: string;
|
|
1103
|
+
concept?: ValueSetConcept[];
|
|
1104
|
+
filter?: ValueSetFilter[];
|
|
1105
|
+
valueSet?: string[];
|
|
1106
|
+
}
|
|
1107
|
+
export declare class ValueSetConcept extends BackboneElement {
|
|
1108
|
+
code: string;
|
|
1109
|
+
display?: string;
|
|
1110
|
+
designation?: ValueSetDesignation[];
|
|
1111
|
+
}
|
|
1112
|
+
export declare class ValueSetDesignation extends BackboneElement {
|
|
1113
|
+
language?: string;
|
|
1114
|
+
use?: Coding;
|
|
1115
|
+
value: string;
|
|
1116
|
+
}
|
|
1117
|
+
export declare class ValueSetFilter extends BackboneElement {
|
|
1118
|
+
property: string;
|
|
1119
|
+
op: string;
|
|
1120
|
+
value: string;
|
|
1121
|
+
}
|
|
1122
|
+
export declare class ValueSetExpansion extends BackboneElement {
|
|
1123
|
+
identifier?: string;
|
|
1124
|
+
timestamp: string | Date;
|
|
1125
|
+
total?: number;
|
|
1126
|
+
offset?: number;
|
|
1127
|
+
parameter?: ValueSetParameter[];
|
|
1128
|
+
contains?: ValueSetContains[];
|
|
1129
|
+
}
|
|
1130
|
+
export declare class ValueSetParameter extends BackboneElement {
|
|
1131
|
+
name: string;
|
|
1132
|
+
valueString?: string;
|
|
1133
|
+
valueBoolean?: boolean;
|
|
1134
|
+
valueInteger?: number;
|
|
1135
|
+
valueDecimal?: number;
|
|
1136
|
+
valueUri?: string;
|
|
1137
|
+
valueCode?: string;
|
|
1138
|
+
}
|
|
1139
|
+
export declare class ValueSetContains extends BackboneElement {
|
|
1140
|
+
system?: string;
|
|
1141
|
+
abstract?: boolean;
|
|
1142
|
+
inactive?: boolean;
|
|
1143
|
+
version?: string;
|
|
1144
|
+
code?: Code;
|
|
1145
|
+
display?: string;
|
|
1146
|
+
designation?: ValueSetDesignation[];
|
|
1147
|
+
contains?: ValueSetContains[];
|
|
1148
|
+
}
|
|
1149
|
+
export type Resource = AllergyIntolerance | ClinicalImpression | Schedule | HealthcareService | Bundle | AuditEvent | CommunicationRequest | Immunization | Observation | Device | Practitioner | PractitionerRole | ProcedureRequest | Task | Communication | CarePlan | EpisodeOfCare | CareTeam | Encounter | ProcessRequest | Account | Location | Organization | AppointmentResponse | Appointment | QuestionnaireResponse | Questionnaire | Slot | Patient | DocumentReference | ValueSet;
|
|
1073
1150
|
export {};
|
package/dist/FHIR-R3.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Restriction = exports.SampledData = exports.Output = exports.Input = exports.Range = exports.Ratio = exports.Component = exports.Timing = exports.Activity = exports.EncounterParticipant = exports.Participant = exports.ReferenceRange = exports.Context = exports.ContextRelated = exports.Annotation = exports.FHIROption = exports.Answer = exports.EnableWhen = exports.Network = exports.Payload = exports.Identifier = exports.Reference = exports.ContactDetail = exports.ContactPoint = exports.Contact = exports.PatientCommunication = exports.Link = exports.Content = exports.Qualification = exports.Attachment = exports.VaccinationProtocol = exports.ImmunizationReaction = exports.ImmunizationExplaination = exports.PractitionerForImmunization = exports.UsageContext = exports.Quantity = exports.Period = exports.CodeableConcept = exports.Meta = exports.Address = exports.Extension = exports.HumanName = exports.DoseCoding = exports.Coding = exports.Code = exports.Narrative = exports.BaseResource = exports.DomainResource = exports.BackboneElement = exports.FHIRElement = void 0;
|
|
4
4
|
exports.ClinicalImpressionFinding = exports.ClinicalImpressionInvestigation = exports.ClinicalImpression = exports.Slot = exports.Schedule = exports.HealthcareService = exports.Bundle = exports.AuditEvent = exports.CommunicationRequest = exports.Immunization = exports.Observation = exports.Device = exports.Practitioner = exports.PractitionerRole = exports.ProcedureRequest = exports.Task = exports.Communication = exports.CarePlan = exports.EpisodeOfCare = exports.CareTeam = exports.CareTeamParticipant = exports.Encounter = exports.ProcessRequest = exports.Account = exports.Location = exports.Organization = exports.AppointmentResponse = exports.Appointment = exports.DocumentReference = exports.Patient = exports.Questionnaire = exports.QuestionnaireResponse = exports.Udi = exports.Entity = exports.EntityDetail = exports.Source = exports.Agent = exports.Item = exports.QuestionnaireResponseItem = exports.Requester = exports.Position = exports.ActivityDetail = exports.BundleEntry = exports.BundleResponse = exports.BundleRequest = exports.Search = exports.BundleSignature = exports.BundleLink = exports.NotAvailable = exports.AvailableTime = void 0;
|
|
5
|
-
exports.Age = exports.AllergyIntoleranceReaction = exports.AllergyIntolerance = void 0;
|
|
5
|
+
exports.ValueSetContains = exports.ValueSetParameter = exports.ValueSetExpansion = exports.ValueSetFilter = exports.ValueSetDesignation = exports.ValueSetConcept = exports.ValueSetInclude = exports.ValueSetCompose = exports.ValueSet = exports.Age = exports.AllergyIntoleranceReaction = exports.AllergyIntolerance = void 0;
|
|
6
6
|
/* This is base class from which other elements are derived */
|
|
7
7
|
class FHIRElement {
|
|
8
8
|
}
|
|
@@ -389,3 +389,30 @@ exports.AllergyIntoleranceReaction = AllergyIntoleranceReaction;
|
|
|
389
389
|
class Age extends FHIRElement {
|
|
390
390
|
}
|
|
391
391
|
exports.Age = Age;
|
|
392
|
+
class ValueSet extends BaseResource {
|
|
393
|
+
}
|
|
394
|
+
exports.ValueSet = ValueSet;
|
|
395
|
+
class ValueSetCompose extends BackboneElement {
|
|
396
|
+
}
|
|
397
|
+
exports.ValueSetCompose = ValueSetCompose;
|
|
398
|
+
class ValueSetInclude extends BackboneElement {
|
|
399
|
+
}
|
|
400
|
+
exports.ValueSetInclude = ValueSetInclude;
|
|
401
|
+
class ValueSetConcept extends BackboneElement {
|
|
402
|
+
}
|
|
403
|
+
exports.ValueSetConcept = ValueSetConcept;
|
|
404
|
+
class ValueSetDesignation extends BackboneElement {
|
|
405
|
+
}
|
|
406
|
+
exports.ValueSetDesignation = ValueSetDesignation;
|
|
407
|
+
class ValueSetFilter extends BackboneElement {
|
|
408
|
+
}
|
|
409
|
+
exports.ValueSetFilter = ValueSetFilter;
|
|
410
|
+
class ValueSetExpansion extends BackboneElement {
|
|
411
|
+
}
|
|
412
|
+
exports.ValueSetExpansion = ValueSetExpansion;
|
|
413
|
+
class ValueSetParameter extends BackboneElement {
|
|
414
|
+
}
|
|
415
|
+
exports.ValueSetParameter = ValueSetParameter;
|
|
416
|
+
class ValueSetContains extends BackboneElement {
|
|
417
|
+
}
|
|
418
|
+
exports.ValueSetContains = ValueSetContains;
|
package/package.json
CHANGED
package/src/FHIR-R3.ts
CHANGED
|
@@ -1250,4 +1250,91 @@ export class Age extends FHIRElement {
|
|
|
1250
1250
|
code: Code;
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
|
-
export
|
|
1253
|
+
export class ValueSet extends BaseResource {
|
|
1254
|
+
resourceType: "ValueSet";
|
|
1255
|
+
url?: string;
|
|
1256
|
+
identifier?: Identifier[];
|
|
1257
|
+
version?: string;
|
|
1258
|
+
name?: string;
|
|
1259
|
+
title?: string;
|
|
1260
|
+
status: string;
|
|
1261
|
+
experimental?: boolean;
|
|
1262
|
+
date?: string | Date;
|
|
1263
|
+
publisher?: string;
|
|
1264
|
+
contact?: ContactDetail[];
|
|
1265
|
+
description?: string;
|
|
1266
|
+
useContext?: UsageContext[];
|
|
1267
|
+
jurisdiction?: CodeableConcept[];
|
|
1268
|
+
immutable?: boolean;
|
|
1269
|
+
purpose?: string;
|
|
1270
|
+
copyright?: string;
|
|
1271
|
+
extensible?: boolean;
|
|
1272
|
+
compose?: ValueSetCompose;
|
|
1273
|
+
expansion?: ValueSetExpansion;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export class ValueSetCompose extends BackboneElement {
|
|
1277
|
+
lockedDate?: string | Date;
|
|
1278
|
+
inactive?: boolean;
|
|
1279
|
+
include: ValueSetInclude[];
|
|
1280
|
+
exclude?: ValueSetInclude[];
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
export class ValueSetInclude extends BackboneElement {
|
|
1284
|
+
system?: string;
|
|
1285
|
+
version?: string;
|
|
1286
|
+
concept?: ValueSetConcept[];
|
|
1287
|
+
filter?: ValueSetFilter[];
|
|
1288
|
+
valueSet?: string[];
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
export class ValueSetConcept extends BackboneElement {
|
|
1292
|
+
code: string;
|
|
1293
|
+
display?: string;
|
|
1294
|
+
designation?: ValueSetDesignation[];
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export class ValueSetDesignation extends BackboneElement {
|
|
1298
|
+
language?: string;
|
|
1299
|
+
use?: Coding;
|
|
1300
|
+
value: string;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export class ValueSetFilter extends BackboneElement {
|
|
1304
|
+
property: string;
|
|
1305
|
+
op: string;
|
|
1306
|
+
value: string;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
export class ValueSetExpansion extends BackboneElement {
|
|
1310
|
+
identifier?: string;
|
|
1311
|
+
timestamp: string | Date;
|
|
1312
|
+
total?: number;
|
|
1313
|
+
offset?: number;
|
|
1314
|
+
parameter?: ValueSetParameter[];
|
|
1315
|
+
contains?: ValueSetContains[];
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
export class ValueSetParameter extends BackboneElement {
|
|
1319
|
+
name: string;
|
|
1320
|
+
valueString?: string;
|
|
1321
|
+
valueBoolean?: boolean;
|
|
1322
|
+
valueInteger?: number;
|
|
1323
|
+
valueDecimal?: number;
|
|
1324
|
+
valueUri?: string;
|
|
1325
|
+
valueCode?: string;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
export class ValueSetContains extends BackboneElement {
|
|
1329
|
+
system?: string;
|
|
1330
|
+
abstract?: boolean;
|
|
1331
|
+
inactive?: boolean;
|
|
1332
|
+
version?: string;
|
|
1333
|
+
code?: Code;
|
|
1334
|
+
display?: string;
|
|
1335
|
+
designation?: ValueSetDesignation[];
|
|
1336
|
+
contains?: ValueSetContains[];
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
export type Resource = AllergyIntolerance | ClinicalImpression | Schedule | HealthcareService | Bundle | AuditEvent | CommunicationRequest | Immunization | Observation | Device | Practitioner | PractitionerRole | ProcedureRequest | Task | Communication | CarePlan | EpisodeOfCare | CareTeam | Encounter | ProcessRequest | Account | Location | Organization | AppointmentResponse | Appointment | QuestionnaireResponse | Questionnaire | Slot | Patient | DocumentReference | ValueSet;
|