@smile-cdr/fhirts 1.3.0 → 1.3.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/.changeset/README.md +8 -0
- package/.changeset/blue-ducks-grow.md +8 -0
- package/.changeset/config.json +11 -0
- package/CHANGELOG.md +6 -0
- package/dist/FHIR-R3.d.ts +31 -0
- package/dist/FHIR-R3.js +10 -1
- package/package.json +2 -1
- package/src/FHIR-R3.ts +34 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Changesets
|
|
2
|
+
|
|
3
|
+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
|
4
|
+
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
|
5
|
+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
|
6
|
+
|
|
7
|
+
We have a quick list of common questions to get you started engaging with this project in
|
|
8
|
+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@1.7.0/schema.json",
|
|
3
|
+
"changelog": "@changesets/cli/changelog",
|
|
4
|
+
"commit": false,
|
|
5
|
+
"fixed": [],
|
|
6
|
+
"linked": [],
|
|
7
|
+
"access": "restricted",
|
|
8
|
+
"baseBranch": "master",
|
|
9
|
+
"updateInternalDependencies": "patch",
|
|
10
|
+
"ignore": []
|
|
11
|
+
}
|
package/CHANGELOG.md
CHANGED
package/dist/FHIR-R3.d.ts
CHANGED
|
@@ -969,4 +969,35 @@ export declare class Slot extends Resource {
|
|
|
969
969
|
overbooked: boolean;
|
|
970
970
|
comment: string;
|
|
971
971
|
}
|
|
972
|
+
export declare class ClinicalImpression extends Resource {
|
|
973
|
+
identifier: Identifier[];
|
|
974
|
+
status: string;
|
|
975
|
+
code: CodeableConcept;
|
|
976
|
+
description: string;
|
|
977
|
+
subject: Reference;
|
|
978
|
+
context: Reference;
|
|
979
|
+
effectiveDateTime: string;
|
|
980
|
+
effectivePeriod: Period;
|
|
981
|
+
date: string;
|
|
982
|
+
assessor: Reference;
|
|
983
|
+
previous: Reference;
|
|
984
|
+
problem: Reference[];
|
|
985
|
+
investigation: ClinicalImpressionInvestigation[];
|
|
986
|
+
protocol: string[];
|
|
987
|
+
summary: string;
|
|
988
|
+
finding: ClinicalImpressionFinding[];
|
|
989
|
+
prognosisCodeableConcept: CodeableConcept[];
|
|
990
|
+
prognosisReference: Reference[];
|
|
991
|
+
action: Reference[];
|
|
992
|
+
note: Annotation[];
|
|
993
|
+
}
|
|
994
|
+
export declare class ClinicalImpressionInvestigation extends BackboneElement {
|
|
995
|
+
code: CodeableConcept;
|
|
996
|
+
item: Reference[];
|
|
997
|
+
}
|
|
998
|
+
export declare class ClinicalImpressionFinding extends BackboneElement {
|
|
999
|
+
basis: string;
|
|
1000
|
+
itemCodeableConcept: CodeableConcept;
|
|
1001
|
+
itemReference: Reference;
|
|
1002
|
+
}
|
|
972
1003
|
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.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;
|
|
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
5
|
/* This is base class from which other elements are derived */
|
|
6
6
|
class FHIRElement {
|
|
7
7
|
}
|
|
@@ -379,3 +379,12 @@ exports.Schedule = Schedule;
|
|
|
379
379
|
class Slot extends Resource {
|
|
380
380
|
}
|
|
381
381
|
exports.Slot = Slot;
|
|
382
|
+
class ClinicalImpression extends Resource {
|
|
383
|
+
}
|
|
384
|
+
exports.ClinicalImpression = ClinicalImpression;
|
|
385
|
+
class ClinicalImpressionInvestigation extends BackboneElement {
|
|
386
|
+
}
|
|
387
|
+
exports.ClinicalImpressionInvestigation = ClinicalImpressionInvestigation;
|
|
388
|
+
class ClinicalImpressionFinding extends BackboneElement {
|
|
389
|
+
}
|
|
390
|
+
exports.ClinicalImpressionFinding = ClinicalImpressionFinding;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smile-cdr/fhirts",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Fhir ts/js library for frontend apps",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build": "tsc"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@changesets/cli": "^2.21.0",
|
|
13
14
|
"typescript": "^4.0.2"
|
|
14
15
|
}
|
|
15
16
|
}
|
package/src/FHIR-R3.ts
CHANGED
|
@@ -1151,4 +1151,38 @@ export class Slot extends Resource {
|
|
|
1151
1151
|
comment: string;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
+
export class ClinicalImpression extends Resource {
|
|
1155
|
+
identifier: Identifier[];
|
|
1156
|
+
status: string;
|
|
1157
|
+
code: CodeableConcept;
|
|
1158
|
+
description: string;
|
|
1159
|
+
subject: Reference;
|
|
1160
|
+
context: Reference;
|
|
1161
|
+
effectiveDateTime: string;
|
|
1162
|
+
effectivePeriod: Period;
|
|
1163
|
+
date: string;
|
|
1164
|
+
assessor: Reference;
|
|
1165
|
+
previous: Reference;
|
|
1166
|
+
problem: Reference[];
|
|
1167
|
+
investigation: ClinicalImpressionInvestigation[];
|
|
1168
|
+
protocol: string[];
|
|
1169
|
+
summary: string;
|
|
1170
|
+
finding: ClinicalImpressionFinding[];
|
|
1171
|
+
prognosisCodeableConcept: CodeableConcept[];
|
|
1172
|
+
prognosisReference: Reference[];
|
|
1173
|
+
action: Reference[];
|
|
1174
|
+
note: Annotation[];
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
export class ClinicalImpressionInvestigation extends BackboneElement {
|
|
1178
|
+
code: CodeableConcept;
|
|
1179
|
+
item: Reference[];
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
export class ClinicalImpressionFinding extends BackboneElement {
|
|
1183
|
+
basis: string;
|
|
1184
|
+
itemCodeableConcept: CodeableConcept;
|
|
1185
|
+
itemReference: Reference;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1154
1188
|
|