@smile-cdr/fhirts 1.3.1 → 1.4.0
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 +11 -0
- package/dist/FHIR-R3.d.ts +5 -1
- package/dist/FHIR-R3.js +6 -2
- package/dist/FHIR-R4/classes/models-r4.js +5 -1
- package/dist/FHIR-R4/interfaces/IModel.js +5 -1
- package/package.json +1 -1
- package/src/FHIR-R3.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Updates (R3)
|
|
6
|
+
|
|
7
|
+
* The `Participant` class has been re-tooled to only be used in the `Appointment` class
|
|
8
|
+
* Droped the `Period` field in the `Participant` class as it is not used in `Appointment.participant`
|
|
9
|
+
* Added `EncounterParticipant` to replace the class type in `Encounter.participant`
|
|
10
|
+
* `EncounterParticipant` follows the STU3 spec for `Encounter.participant`
|
|
11
|
+
|
|
12
|
+
This release introduces a breaking change for Encounter.If you're using `Encounter` in your code, the `participant` field will have a new type, `EncounterParticipant` with the appropriate changes. This will break existing implementations, unless they are updated to take advantage of the new `EncounterParticipant` class. The `Period` in the `Participant` class has been removed as it's not using by the `Appointment.participant` field.
|
|
13
|
+
|
|
3
14
|
## 1.3.1
|
|
4
15
|
---
|
|
5
16
|
### Updates (R3)
|
package/dist/FHIR-R3.d.ts
CHANGED
|
@@ -273,6 +273,10 @@ export declare class Participant extends BackboneElement {
|
|
|
273
273
|
actor: Reference;
|
|
274
274
|
required: string;
|
|
275
275
|
status: string;
|
|
276
|
+
}
|
|
277
|
+
export declare class EncounterParticipant extends BackboneElement {
|
|
278
|
+
type: CodeableConcept[];
|
|
279
|
+
individual: Reference;
|
|
276
280
|
period: Period;
|
|
277
281
|
}
|
|
278
282
|
export declare class Activity extends BackboneElement {
|
|
@@ -649,7 +653,7 @@ export declare class Encounter extends Resource {
|
|
|
649
653
|
status: string;
|
|
650
654
|
episodeOfCare: Reference[];
|
|
651
655
|
subject: Reference;
|
|
652
|
-
participant:
|
|
656
|
+
participant: EncounterParticipant[];
|
|
653
657
|
}
|
|
654
658
|
export declare class CareTeamParticipant extends BackboneElement {
|
|
655
659
|
role: CodeableConcept;
|
package/dist/FHIR-R3.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
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.Resource = exports.DomainResource = exports.Id = exports.BackboneElement = exports.FHIRElement = void 0;
|
|
4
|
+
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 = exports.Restriction = void 0;
|
|
5
|
+
exports.ClinicalImpressionFinding = void 0;
|
|
5
6
|
/* This is base class from which other elements are derived */
|
|
6
7
|
class FHIRElement {
|
|
7
8
|
}
|
|
@@ -211,6 +212,9 @@ exports.ReferenceRange = ReferenceRange;
|
|
|
211
212
|
class Participant extends BackboneElement {
|
|
212
213
|
}
|
|
213
214
|
exports.Participant = Participant;
|
|
215
|
+
class EncounterParticipant extends BackboneElement {
|
|
216
|
+
}
|
|
217
|
+
exports.EncounterParticipant = EncounterParticipant;
|
|
214
218
|
class Activity extends BackboneElement {
|
|
215
219
|
}
|
|
216
220
|
exports.Activity = Activity;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
package/src/FHIR-R3.ts
CHANGED
|
@@ -391,8 +391,14 @@ export class Participant extends BackboneElement {
|
|
|
391
391
|
actor: Reference;
|
|
392
392
|
required: string;
|
|
393
393
|
status: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export class EncounterParticipant extends BackboneElement {
|
|
397
|
+
type: CodeableConcept[];
|
|
398
|
+
individual: Reference;
|
|
394
399
|
period: Period;
|
|
395
400
|
}
|
|
401
|
+
|
|
396
402
|
export class Activity extends BackboneElement {
|
|
397
403
|
outcomeCodeableConcept: CodeableConcept[];
|
|
398
404
|
outcomeReference: Reference[];
|
|
@@ -810,7 +816,7 @@ export class Encounter extends Resource {
|
|
|
810
816
|
status: string;
|
|
811
817
|
episodeOfCare: Reference[];
|
|
812
818
|
subject: Reference;
|
|
813
|
-
participant:
|
|
819
|
+
participant: EncounterParticipant[];
|
|
814
820
|
}
|
|
815
821
|
|
|
816
822
|
export class CareTeamParticipant extends BackboneElement {
|