@smile-cdr/fhirts 1.4.5 → 1.4.7

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.7
4
+
5
+ ### Updates (R3)
6
+
7
+ * Fixed property `asserted` to `asserter` for AllergyIntolerance resource.
8
+ ## 1.4.6
9
+
10
+ ### Updates (R3)
11
+
12
+ * Added AllergyIntolerance resource.
13
+
3
14
  ## 1.4.5
4
15
 
5
16
  ### Updates (R3)
package/dist/FHIR-R3.d.ts CHANGED
@@ -1002,4 +1002,41 @@ export declare class ClinicalImpressionFinding extends BackboneElement {
1002
1002
  itemCodeableConcept: CodeableConcept;
1003
1003
  itemReference: Reference;
1004
1004
  }
1005
+ export declare class AllergyIntolerance extends Resource {
1006
+ identifier: Identifier[];
1007
+ clinicalStatus: Code;
1008
+ verificationStatus: Code;
1009
+ type: Code;
1010
+ category: Code[];
1011
+ critically: Code;
1012
+ code: CodeableConcept;
1013
+ patient: Reference;
1014
+ onsetDateTime: Date | string;
1015
+ onsetAge: Age;
1016
+ onsetPeriod: Period;
1017
+ onsetRange: Range;
1018
+ onsetString: string;
1019
+ assertedDate: Date | string;
1020
+ recorder: Reference;
1021
+ asserter: Reference;
1022
+ lastOccurrence: Date | string;
1023
+ note: Annotation[];
1024
+ reaction: AllergyIntoleranceReaction[];
1025
+ }
1026
+ export declare class AllergyIntoleranceReaction extends BackboneElement {
1027
+ substance: CodeableConcept;
1028
+ manifestation: CodeableConcept[];
1029
+ description: string;
1030
+ onset: Date | string;
1031
+ severity: Code;
1032
+ exposureRoute: CodeableConcept;
1033
+ note: Annotation[];
1034
+ }
1035
+ export declare class Age extends FHIRElement {
1036
+ value: number;
1037
+ comparator: '<' | '<=' | '>=' | '>';
1038
+ unit: string;
1039
+ system: string;
1040
+ code: Code;
1041
+ }
1005
1042
  export {};
package/dist/FHIR-R3.js CHANGED
@@ -2,6 +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.Resource = 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
6
  /* This is base class from which other elements are derived */
6
7
  class FHIRElement {
7
8
  }
@@ -379,3 +380,12 @@ exports.ClinicalImpressionInvestigation = ClinicalImpressionInvestigation;
379
380
  class ClinicalImpressionFinding extends BackboneElement {
380
381
  }
381
382
  exports.ClinicalImpressionFinding = ClinicalImpressionFinding;
383
+ class AllergyIntolerance extends Resource {
384
+ }
385
+ exports.AllergyIntolerance = AllergyIntolerance;
386
+ class AllergyIntoleranceReaction extends BackboneElement {
387
+ }
388
+ exports.AllergyIntoleranceReaction = AllergyIntoleranceReaction;
389
+ class Age extends FHIRElement {
390
+ }
391
+ exports.Age = Age;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile-cdr/fhirts",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
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
@@ -1180,4 +1180,42 @@ export class ClinicalImpressionFinding extends BackboneElement {
1180
1180
  itemReference: Reference;
1181
1181
  }
1182
1182
 
1183
+ export class AllergyIntolerance extends Resource {
1184
+ identifier: Identifier[];
1185
+ clinicalStatus: Code;
1186
+ verificationStatus: Code;
1187
+ type: Code;
1188
+ category: Code[];
1189
+ critically: Code;
1190
+ code: CodeableConcept;
1191
+ patient: Reference;
1192
+ onsetDateTime: Date | string;
1193
+ onsetAge: Age;
1194
+ onsetPeriod: Period;
1195
+ onsetRange: Range;
1196
+ onsetString: string;
1197
+ assertedDate: Date | string;
1198
+ recorder: Reference;
1199
+ asserter: Reference;
1200
+ lastOccurrence: Date | string;
1201
+ note: Annotation[];
1202
+ reaction: AllergyIntoleranceReaction[];
1203
+ }
1204
+
1205
+ export class AllergyIntoleranceReaction extends BackboneElement {
1206
+ substance: CodeableConcept;
1207
+ manifestation: CodeableConcept[];
1208
+ description: string;
1209
+ onset: Date | string;
1210
+ severity: Code;
1211
+ exposureRoute: CodeableConcept;
1212
+ note: Annotation[];
1213
+ }
1183
1214
 
1215
+ export class Age extends FHIRElement {
1216
+ value: number;
1217
+ comparator: '<' | '<=' | '>=' | '>';
1218
+ unit: string;
1219
+ system: string;
1220
+ code: Code;
1221
+ }