@smile-cdr/fhirts 1.2.9 → 1.2.10

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,6 +1,20 @@
1
1
  # Changelog
2
2
 
3
- ### 1.2.8
3
+ ## 1.2.10
4
+ ---
5
+
6
+ ### Updates (R3)
7
+
8
+ * Added class for `Slot` resource.
9
+
10
+
11
+ ## 1.2.9
12
+ ---
13
+
14
+ ### Updates (R3)
15
+
16
+ * Fixed a type in the `Restriction` resource, where `period` was written as `preiod`
17
+ ## 1.2.8
4
18
  ---
5
19
  ### Updates (R4)
6
20
 
package/dist/FHIR-R3.d.ts CHANGED
@@ -956,4 +956,17 @@ export declare class Schedule extends Resource {
956
956
  planningHorizon: Period;
957
957
  comment: string;
958
958
  }
959
+ export declare class Slot extends Resource {
960
+ identifier: Identifier[];
961
+ serviceCategory: CodeableConcept;
962
+ serviceType: CodeableConcept[];
963
+ speciality: CodeableConcept[];
964
+ appointmentType: CodeableConcept;
965
+ schedule: Reference;
966
+ status: string;
967
+ start: string;
968
+ end: string;
969
+ overbooked: boolean;
970
+ comment: string;
971
+ }
959
972
  export {};
package/dist/FHIR-R3.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
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.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.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;
4
+ 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
5
  /* This is base class from which other elements are derived */
6
6
  class FHIRElement {
7
7
  }
@@ -376,3 +376,6 @@ exports.HealthcareService = HealthcareService;
376
376
  class Schedule extends Resource {
377
377
  }
378
378
  exports.Schedule = Schedule;
379
+ class Slot extends Resource {
380
+ }
381
+ exports.Slot = Slot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile-cdr/fhirts",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
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
@@ -1137,5 +1137,18 @@ export class Schedule extends Resource {
1137
1137
  comment: string;
1138
1138
  }
1139
1139
 
1140
+ export class Slot extends Resource {
1141
+ identifier: Identifier[];
1142
+ serviceCategory: CodeableConcept;
1143
+ serviceType: CodeableConcept[];
1144
+ speciality: CodeableConcept[];
1145
+ appointmentType: CodeableConcept;
1146
+ schedule: Reference;
1147
+ status: string;
1148
+ start: string;
1149
+ end: string;
1150
+ overbooked: boolean;
1151
+ comment: string;
1152
+ }
1140
1153
 
1141
1154