@d4l/collect-lib 1.17.0 → 1.19.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/README.md +18 -19
- package/dist/index.d.mts +163 -100
- package/dist/index.d.ts +163 -100
- package/dist/index.js +4346 -4254
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4352 -4260
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Duration } from 'luxon';
|
|
2
1
|
import * as fhir_r5 from 'fhir/r5';
|
|
2
|
+
import { Duration } from 'luxon';
|
|
3
3
|
|
|
4
4
|
type ConsentTimes = {
|
|
5
5
|
[key: string]: Date | null;
|
|
@@ -31,6 +31,7 @@ type Survey = {
|
|
|
31
31
|
scoring?: SurveyScoring;
|
|
32
32
|
content: SurveyContent;
|
|
33
33
|
reminder?: TaskReminder;
|
|
34
|
+
template?: string;
|
|
34
35
|
};
|
|
35
36
|
type TaskFrequency = {
|
|
36
37
|
type: FrequencyType;
|
|
@@ -91,9 +92,9 @@ type DisplayContent = {
|
|
|
91
92
|
title: TranslatedString;
|
|
92
93
|
message: TranslatedString;
|
|
93
94
|
};
|
|
94
|
-
blocks?:
|
|
95
|
+
blocks?: ContentBlock[];
|
|
95
96
|
};
|
|
96
|
-
type
|
|
97
|
+
type ContentBlock = {
|
|
97
98
|
image?: string;
|
|
98
99
|
text: TranslatedString;
|
|
99
100
|
};
|
|
@@ -126,6 +127,35 @@ interface SeenDisplay {
|
|
|
126
127
|
}
|
|
127
128
|
type DisplayPath = RecursiveKeyOf<Display>;
|
|
128
129
|
|
|
130
|
+
interface Message {
|
|
131
|
+
name: string;
|
|
132
|
+
programName: string;
|
|
133
|
+
recipients: string[];
|
|
134
|
+
subject: TranslatedString;
|
|
135
|
+
blocks?: ContentBlock[];
|
|
136
|
+
createdAt?: string;
|
|
137
|
+
updatedAt?: string;
|
|
138
|
+
sentAt?: string;
|
|
139
|
+
}
|
|
140
|
+
type MessagePath = RecursiveKeyOf<Message>;
|
|
141
|
+
interface MessageRecipient {
|
|
142
|
+
messageName: string;
|
|
143
|
+
programName: string;
|
|
144
|
+
subjectID: string;
|
|
145
|
+
sentAt?: string;
|
|
146
|
+
pushedAt?: string;
|
|
147
|
+
readAt?: string;
|
|
148
|
+
}
|
|
149
|
+
interface SeenMessage {
|
|
150
|
+
name: string;
|
|
151
|
+
programName: string;
|
|
152
|
+
seenAt: string;
|
|
153
|
+
sentAt: string;
|
|
154
|
+
lng: string;
|
|
155
|
+
subject: TranslatedString;
|
|
156
|
+
blocks?: ContentBlock[];
|
|
157
|
+
}
|
|
158
|
+
|
|
129
159
|
interface QuestionnaireScore {
|
|
130
160
|
/**
|
|
131
161
|
* The actual survey name
|
|
@@ -679,6 +709,102 @@ declare const APPLE_HEALTH_SIGNAL_TYPE_ANNOTATIONS: {
|
|
|
679
709
|
[key in DEVICE_SIGNAL_TYPE]?: DEVICE_ANNOTATION;
|
|
680
710
|
};
|
|
681
711
|
|
|
712
|
+
declare function generateFHIRConsent(id: string, consent: Consent, decision: fhir5.Consent['decision'], start: string, end?: string): fhir5.Consent;
|
|
713
|
+
|
|
714
|
+
declare const SliderMinLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-min";
|
|
715
|
+
declare const SliderMaxLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-max";
|
|
716
|
+
declare const SliderStepSizeExtension = "http://fhir.data4life.care/StructureDefinition/slider-step-size";
|
|
717
|
+
declare const RelativeMinValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-min-value";
|
|
718
|
+
declare const RelativeMaxValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-max-value";
|
|
719
|
+
declare const CustomExtensionStudyName = "http://fhir.data4life.care/StructureDefinition/study-name";
|
|
720
|
+
declare const CustomExtensionDate = "http://fhir.data4life.care/StructureDefinition/effective-date";
|
|
721
|
+
declare const MaxValueExtension = "http://hl7.org/fhir/StructureDefinition/maxValue";
|
|
722
|
+
declare const MinValueExtension = "http://hl7.org/fhir/StructureDefinition/minValue";
|
|
723
|
+
declare const MinLengthExtension = "http://hl7.org/fhir/StructureDefinition/minLength";
|
|
724
|
+
declare const QItemControlDefinition = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl";
|
|
725
|
+
declare const RoutineIsPassiveExtension = "http://fhir.data4life.care/StructureDefinition/is-passive-recording";
|
|
726
|
+
declare const SignalIDSystem = "http://fhir.data4life.care/r5/NamingSystem/app-signal-ids";
|
|
727
|
+
declare const AppIDNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/app-db-ids";
|
|
728
|
+
declare const SensorTypeSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-device-type";
|
|
729
|
+
declare const SensorIdentifierSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-peripheral-id";
|
|
730
|
+
declare const TokenNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/participation-token";
|
|
731
|
+
declare const ConsentNameSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-name";
|
|
732
|
+
declare const ConsentVersionSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-version";
|
|
733
|
+
declare const ObservationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/observation-types";
|
|
734
|
+
declare const MeasurementTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-measurement-types";
|
|
735
|
+
declare const StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
|
|
736
|
+
declare const SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
|
|
737
|
+
declare const CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
|
|
738
|
+
declare const CommunicationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/communication-types";
|
|
739
|
+
declare const DEVICE_LABEL_CODING: {
|
|
740
|
+
system: string;
|
|
741
|
+
code: string;
|
|
742
|
+
display: string;
|
|
743
|
+
};
|
|
744
|
+
declare const DEVICE_DISPLAY_LABEL_CODING: {
|
|
745
|
+
system: string;
|
|
746
|
+
code: string;
|
|
747
|
+
display: string;
|
|
748
|
+
};
|
|
749
|
+
declare const DEVICE_OUTPUT_RATE_CODING: {
|
|
750
|
+
system: string;
|
|
751
|
+
code: string;
|
|
752
|
+
display: string;
|
|
753
|
+
};
|
|
754
|
+
declare const DEVICE_SENSOR_DELAY_CODING: {
|
|
755
|
+
system: string;
|
|
756
|
+
code: string;
|
|
757
|
+
display: string;
|
|
758
|
+
};
|
|
759
|
+
declare const SIGNAL_DURATION_CODING: {
|
|
760
|
+
system: string;
|
|
761
|
+
code: string;
|
|
762
|
+
display: string;
|
|
763
|
+
};
|
|
764
|
+
declare const ANDROID_SENSORS_CONSTANT_NAMES: string[];
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Replaces {{program-name}} and {{fhir-base-host}} templates in the given string
|
|
768
|
+
*/
|
|
769
|
+
type StringTemplater = (template: string) => string;
|
|
770
|
+
declare function generateUrn(): string;
|
|
771
|
+
declare function capitalizeFirstLetter(string: string): string;
|
|
772
|
+
declare function getText<K>(content: any, path: K, lng: string): string;
|
|
773
|
+
/**
|
|
774
|
+
* Get a value at a certain path from an object
|
|
775
|
+
* @param obj The object to get from
|
|
776
|
+
* @param path The path to get e.g 'path.to.property'
|
|
777
|
+
* @returns The value at the path or undefined
|
|
778
|
+
*/
|
|
779
|
+
declare function get(obj: Record<string, any>, path: string): string | undefined;
|
|
780
|
+
|
|
781
|
+
declare function generateFHIRQuestionnaireScore(id: string, data: QuestionnaireScore & {
|
|
782
|
+
createdAt: string;
|
|
783
|
+
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
784
|
+
|
|
785
|
+
declare function generateFHIRResponse(id: string, { programName, effectiveDate, language, questionnaire, createdAt, status, answers, }: QuestionnaireResponse): fhir5.QuestionnaireResponse;
|
|
786
|
+
declare const toQuestionnaireResponseItem: (answer: {
|
|
787
|
+
id: string;
|
|
788
|
+
type: QuestionInputType;
|
|
789
|
+
response: ReponseValue | ReponseValue[];
|
|
790
|
+
text: string;
|
|
791
|
+
}) => fhir5.QuestionnaireResponseItem;
|
|
792
|
+
|
|
793
|
+
type RecordingSignalWithId = RecordingSignal & {
|
|
794
|
+
id: string;
|
|
795
|
+
};
|
|
796
|
+
declare function generateFHIRRecordingBundle(id: string, recording: Recording, signals: RecordingSignalWithId[], stringTemplater: StringTemplater): fhir5.Bundle;
|
|
797
|
+
|
|
798
|
+
declare const generateFHIRResearchSubject: (id: string, { programName, subject, progress }: ResearchSubject) => fhir_r5.ResearchSubject;
|
|
799
|
+
|
|
800
|
+
declare function generateFHIRSeenDisplay(id: string, seenDisplay: SeenDisplay): fhir5.Communication;
|
|
801
|
+
|
|
802
|
+
declare function generateFHIRSeenMessage(id: string, seenMessage: SeenMessage): fhir5.Communication;
|
|
803
|
+
|
|
804
|
+
declare function generateFHIRTag(id: string, code: string, date: string, labels: {
|
|
805
|
+
[key: string]: string;
|
|
806
|
+
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
807
|
+
|
|
682
808
|
interface CryptoModule {
|
|
683
809
|
deriveEncryptionKey(recoveryKey: Uint8Array, salt: string): Promise<Uint8Array>;
|
|
684
810
|
generateKey(size: number): Uint8Array;
|
|
@@ -804,6 +930,12 @@ type RestorationSize = {
|
|
|
804
930
|
bytes: number;
|
|
805
931
|
}[];
|
|
806
932
|
};
|
|
933
|
+
type ResponseMinimal = {
|
|
934
|
+
id: string;
|
|
935
|
+
resourceType: string;
|
|
936
|
+
version: number;
|
|
937
|
+
[key: string]: any;
|
|
938
|
+
};
|
|
807
939
|
interface SDKInterface {
|
|
808
940
|
/**
|
|
809
941
|
* Checks readiness state of donation service
|
|
@@ -820,7 +952,7 @@ interface SDKInterface {
|
|
|
820
952
|
/**
|
|
821
953
|
* Register a donor identity for a program
|
|
822
954
|
* @param recoveryKey The 16byte long recovery key (from the recovery phrase)
|
|
823
|
-
* @param
|
|
955
|
+
* @param program The program for which the registration should be done
|
|
824
956
|
* @param participationCode The optional participation code
|
|
825
957
|
* @returns The newly created donor identity
|
|
826
958
|
*/
|
|
@@ -831,7 +963,7 @@ interface SDKInterface {
|
|
|
831
963
|
/**
|
|
832
964
|
* Donate resources for a study
|
|
833
965
|
* @param donorIdentity The donor identity for the study
|
|
834
|
-
* @param
|
|
966
|
+
* @param program The program for which the resources should be donated
|
|
835
967
|
* @param records The list of resources that should be donated
|
|
836
968
|
* @returns True, if the donation was successful. Otherwise, false.
|
|
837
969
|
*/
|
|
@@ -866,6 +998,28 @@ interface SDKInterface {
|
|
|
866
998
|
* @returns True, if the revocation was successful. Otherwise, false.
|
|
867
999
|
*/
|
|
868
1000
|
revoke: (donorIdentity: DonorIdentity, program: Program, records: DonationRecord[]) => Promise<boolean>;
|
|
1001
|
+
/**
|
|
1002
|
+
* Register device for push notifications
|
|
1003
|
+
* @param donorIdentity The donor identity for the study
|
|
1004
|
+
* @param program The program for which the device should be registered
|
|
1005
|
+
* @param deviceToken The device token for push notifications
|
|
1006
|
+
* @returns True, if the registration was successful. Otherwise, false.
|
|
1007
|
+
*/
|
|
1008
|
+
registerDevice: (donorIdentity: DonorIdentity, program: Program, deviceToken: string) => Promise<boolean>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Unregister device for push notifications
|
|
1011
|
+
* @param donorIdentity The donor identity for the study
|
|
1012
|
+
* @param program The program for which the device should be unregistered
|
|
1013
|
+
* @returns True, if the device was removed successfully. Otherwise, false.
|
|
1014
|
+
*/
|
|
1015
|
+
unregisterDevice: (donorIdentity: DonorIdentity, program: Program) => Promise<boolean>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Get responses left for participant in a study
|
|
1018
|
+
* @param donorIdentity The donor identity for the study
|
|
1019
|
+
* @param programName The name of the program for which the responses should be gotten
|
|
1020
|
+
* @returns The list of resources that were left for the participant
|
|
1021
|
+
*/
|
|
1022
|
+
getResponses: (donorIdentity: DonorIdentity, programName: string) => Promise<fhir5.Resource[]>;
|
|
869
1023
|
}
|
|
870
1024
|
declare enum ERROR_CODES {
|
|
871
1025
|
COULD_NOT_SIGN = "could_not_sign",
|
|
@@ -958,6 +1112,9 @@ declare class DonationSDK implements SDKInterface {
|
|
|
958
1112
|
status: RecordState;
|
|
959
1113
|
}[]>;
|
|
960
1114
|
revoke(donorIdentity: DonorIdentity, program: Program, records: DonationRecord[]): Promise<boolean>;
|
|
1115
|
+
getResponses(donorIdentity: DonorIdentity, programName: string, updatedAfter?: string): Promise<ResponseMinimal[]>;
|
|
1116
|
+
registerDevice(donorIdentity: DonorIdentity, program: Program, deviceToken: string): Promise<boolean>;
|
|
1117
|
+
unregisterDevice(donorIdentity: DonorIdentity, program: Program): Promise<boolean>;
|
|
961
1118
|
}
|
|
962
1119
|
|
|
963
1120
|
/**
|
|
@@ -1147,100 +1304,6 @@ declare const wordlists: {
|
|
|
1147
1304
|
de: string[];
|
|
1148
1305
|
};
|
|
1149
1306
|
|
|
1150
|
-
declare function generateFHIRConsent(id: string, consent: Consent, decision: fhir5.Consent['decision'], start: string, end?: string): fhir5.Consent;
|
|
1151
|
-
|
|
1152
|
-
declare const SliderMinLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-min";
|
|
1153
|
-
declare const SliderMaxLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-max";
|
|
1154
|
-
declare const SliderStepSizeExtension = "http://fhir.data4life.care/StructureDefinition/slider-step-size";
|
|
1155
|
-
declare const RelativeMinValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-min-value";
|
|
1156
|
-
declare const RelativeMaxValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-max-value";
|
|
1157
|
-
declare const CustomExtensionStudyName = "http://fhir.data4life.care/StructureDefinition/study-name";
|
|
1158
|
-
declare const CustomExtensionDate = "http://fhir.data4life.care/StructureDefinition/effective-date";
|
|
1159
|
-
declare const MaxValueExtension = "http://hl7.org/fhir/StructureDefinition/maxValue";
|
|
1160
|
-
declare const MinValueExtension = "http://hl7.org/fhir/StructureDefinition/minValue";
|
|
1161
|
-
declare const MinLengthExtension = "http://hl7.org/fhir/StructureDefinition/minLength";
|
|
1162
|
-
declare const QItemControlDefinition = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl";
|
|
1163
|
-
declare const RoutineIsPassiveExtension = "http://fhir.data4life.care/StructureDefinition/is-passive-recording";
|
|
1164
|
-
declare const SignalIDSystem = "http://fhir.data4life.care/r5/NamingSystem/app-signal-ids";
|
|
1165
|
-
declare const AppIDNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/app-db-ids";
|
|
1166
|
-
declare const SensorTypeSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-device-type";
|
|
1167
|
-
declare const SensorIdentifierSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-peripheral-id";
|
|
1168
|
-
declare const TokenNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/participation-token";
|
|
1169
|
-
declare const ConsentNameSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-name";
|
|
1170
|
-
declare const ConsentVersionSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-version";
|
|
1171
|
-
declare const ObservationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/observation-types";
|
|
1172
|
-
declare const MeasurementTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-measurement-types";
|
|
1173
|
-
declare const StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
|
|
1174
|
-
declare const SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
|
|
1175
|
-
declare const CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
|
|
1176
|
-
declare const CommunicationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/communication-types";
|
|
1177
|
-
declare const DEVICE_LABEL_CODING: {
|
|
1178
|
-
system: string;
|
|
1179
|
-
code: string;
|
|
1180
|
-
display: string;
|
|
1181
|
-
};
|
|
1182
|
-
declare const DEVICE_DISPLAY_LABEL_CODING: {
|
|
1183
|
-
system: string;
|
|
1184
|
-
code: string;
|
|
1185
|
-
display: string;
|
|
1186
|
-
};
|
|
1187
|
-
declare const DEVICE_OUTPUT_RATE_CODING: {
|
|
1188
|
-
system: string;
|
|
1189
|
-
code: string;
|
|
1190
|
-
display: string;
|
|
1191
|
-
};
|
|
1192
|
-
declare const DEVICE_SENSOR_DELAY_CODING: {
|
|
1193
|
-
system: string;
|
|
1194
|
-
code: string;
|
|
1195
|
-
display: string;
|
|
1196
|
-
};
|
|
1197
|
-
declare const SIGNAL_DURATION_CODING: {
|
|
1198
|
-
system: string;
|
|
1199
|
-
code: string;
|
|
1200
|
-
display: string;
|
|
1201
|
-
};
|
|
1202
|
-
declare const ANDROID_SENSORS_CONSTANT_NAMES: string[];
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* Replaces {{program-name}} and {{fhir-base-host}} templates in the given string
|
|
1206
|
-
*/
|
|
1207
|
-
type StringTemplater = (template: string) => string;
|
|
1208
|
-
declare function generateUrn(): string;
|
|
1209
|
-
declare function capitalizeFirstLetter(string: string): string;
|
|
1210
|
-
declare function getText<K>(content: any, path: K, lng: string): string;
|
|
1211
|
-
/**
|
|
1212
|
-
* Get a value at a certain path from an object
|
|
1213
|
-
* @param obj The object to get from
|
|
1214
|
-
* @param path The path to get e.g 'path.to.property'
|
|
1215
|
-
* @returns The value at the path or undefined
|
|
1216
|
-
*/
|
|
1217
|
-
declare function get(obj: Record<string, any>, path: string): string | undefined;
|
|
1218
|
-
|
|
1219
|
-
declare function generateQuestionnaireScore(id: string, data: QuestionnaireScore & {
|
|
1220
|
-
createdAt: string;
|
|
1221
|
-
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
1222
|
-
|
|
1223
|
-
declare function generateFHIRResponse(id: string, { programName, effectiveDate, language, questionnaire, createdAt, status, answers, }: QuestionnaireResponse): fhir5.QuestionnaireResponse;
|
|
1224
|
-
declare const toQuestionnaireResponseItem: (answer: {
|
|
1225
|
-
id: string;
|
|
1226
|
-
type: QuestionInputType;
|
|
1227
|
-
response: ReponseValue | ReponseValue[];
|
|
1228
|
-
text: string;
|
|
1229
|
-
}) => fhir5.QuestionnaireResponseItem;
|
|
1230
|
-
|
|
1231
|
-
type RecordingSignalWithId = RecordingSignal & {
|
|
1232
|
-
id: string;
|
|
1233
|
-
};
|
|
1234
|
-
declare function generateFHIRRecordingBundle(id: string, recording: Recording, signals: RecordingSignalWithId[], stringTemplater: StringTemplater): fhir5.Bundle;
|
|
1235
|
-
|
|
1236
|
-
declare const generateFHIRResearchSubject: (id: string, { programName, subject, progress }: ResearchSubject) => fhir_r5.ResearchSubject;
|
|
1237
|
-
|
|
1238
|
-
declare function generateFHIRSeenDisplay(id: string, seenDisplay: SeenDisplay): fhir5.Communication;
|
|
1239
|
-
|
|
1240
|
-
declare function generateFHIRTag(id: string, code: string, date: string, labels: {
|
|
1241
|
-
[key: string]: string;
|
|
1242
|
-
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
1243
|
-
|
|
1244
1307
|
type API = 'DEXCOM' | 'FITBIT';
|
|
1245
1308
|
type APIConfig = {
|
|
1246
1309
|
loginEndpoint: string;
|
|
@@ -1253,4 +1316,4 @@ declare const API_TARGET_MAP: {
|
|
|
1253
1316
|
};
|
|
1254
1317
|
};
|
|
1255
1318
|
|
|
1256
|
-
export { ANDROID_SENSORS_CONSTANT_NAMES, type API, type APIConfig, type APIDeviceConfig, API_TARGET_MAP, APPLE_HEALTH_ACTIVE_ENERGY_ANNOTATION, APPLE_HEALTH_ANNOTATION_ITEM_ACTIVE_ENERGY, APPLE_HEALTH_ANNOTATION_ITEM_SLEEP_DURATION, APPLE_HEALTH_ANNOTATION_ITEM_SLEEP_STATE, APPLE_HEALTH_ANNOTATION_ITEM_STEP_COUNT, APPLE_HEALTH_ANNOTATION_ITEM_WALKING_RUNNING_DISTANCE, APPLE_HEALTH_SIGNAL_TYPE_ANNOTATIONS, APPLE_HEALTH_SLEEP_ANALYSIS_ANNOTATION, APPLE_HEALTH_SLEEP_STATE_MAP, APPLE_HEALTH_STEP_COUNT_ANNOTATION, APPLE_HEALTH_WALKING_RUNNING_DISTANCE_ANNOTATION, ASMSECGMeasurementAnnotation, ASMSSpO2MeasurementAnnotation, type Answer, AnswerCodeCondition, type Answers, AppIDNamingSystem, type AppleHealthSleepStates, type BLEDeviceConfig, BLE_ASMS_ANNOTATION_ITEM_ECG, BLE_ASMS_ANNOTATION_ITEM_SPO2, BLE_CPMS_ANNOTATION_ITEM_ACTIVITY_TYPE, BLE_CPMS_ANNOTATION_ITEM_DAILY_CALORIES, BLE_CPMS_ANNOTATION_ITEM_DAILY_DISTANCE, BLE_CPMS_ANNOTATION_ITEM_DAILY_ELEVATION_GAIN, BLE_CPMS_ANNOTATION_ITEM_DAILY_FLOORS, BLE_CPMS_ANNOTATION_ITEM_DAILY_STEPS, BLE_PAMS_ANNOTATION_ITEM_ABSOLUTE_ELEVATION, BLE_PAMS_ANNOTATION_ITEM_AVERAGE_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_AVERAGE_SPEED, BLE_PAMS_ANNOTATION_ITEM_BYTE, BLE_PAMS_ANNOTATION_ITEM_CALORIES_TOTAL, BLE_PAMS_ANNOTATION_ITEM_DISTANCE_TOTAL, BLE_PAMS_ANNOTATION_ITEM_FLAGS_16, BLE_PAMS_ANNOTATION_ITEM_FLAGS_24, BLE_PAMS_ANNOTATION_ITEM_FLAGS_32, BLE_PAMS_ANNOTATION_ITEM_FLAGS_8, BLE_PAMS_ANNOTATION_ITEM_FLOORS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_FOUR_BYTES, BLE_PAMS_ANNOTATION_ITEM_HEADER, BLE_PAMS_ANNOTATION_ITEM_HEART_RATE, BLE_PAMS_ANNOTATION_ITEM_MAXIMUM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_MAXIMUM_SPEED, BLE_PAMS_ANNOTATION_ITEM_MINIMUM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_MINIMUM_SPEED, BLE_PAMS_ANNOTATION_ITEM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_NEGATIVE_ELEVATION_GAIN, BLE_PAMS_ANNOTATION_ITEM_POSITIVE_ELEVATION_GAIN, BLE_PAMS_ANNOTATION_ITEM_RUNNING_STEPS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_SPEED, BLE_PAMS_ANNOTATION_ITEM_STEPS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_THREE_BYTES, BLE_PAMS_ANNOTATION_ITEM_TWO_BYTES, BLE_PAMS_ANNOTATION_ITEM_VO2_MAX, BLE_PSMS_ANNOTATION_ITEM_HEART_RATE, BLE_PSMS_ANNOTATION_ITEM_IBI, BLE_PSMS_ANNOTATION_ITEM_PPG_GREEN, BLE_PSMS_ANNOTATION_ITEM_PPG_IR, BLE_PSMS_ANNOTATION_ITEM_PPG_RED, BLE_PSMS_ANNOTATION_ITEM_SKIN_TEMPERATURE, type BaseDeviceConfig, type BleDeviceMetaLabel, BoolCondition, CPMSHealthServicesActivityDetectionAnnotation, CPMSHealthServicesPassiveDataAnnotation, CommunicationTypeSystem, type ComparisonOperator, type ConditionOperatorType, type ConditionQuestionType, type ConditionSorting, type ConditionType, Conjunction, type Consent, ConsentCondition, ConsentNameSystem, type ConsentPath, type ConsentTimes, ConsentVersionSystem, type Converter, type CryptoModule, CustomExtensionDate, CustomExtensionStudyName, CustomQuestionSystem, type DEVICE_ANNOTATION, type DEVICE_ANNOTATION_DATA_FORMAT, type DEVICE_ANNOTATION_DATA_TYPE, DEVICE_ANNOTATION_HEARTRATE, type DEVICE_ANNOTATION_ITEM, DEVICE_ANNOTATION_ITEM_ACCELERATION, DEVICE_ANNOTATION_ITEM_ANGULAR_SPEED, DEVICE_ANNOTATION_ITEM_BEACON_ID, DEVICE_ANNOTATION_ITEM_DISTANCE, DEVICE_ANNOTATION_ITEM_EGVS, DEVICE_ANNOTATION_ITEM_HEARTRATE, DEVICE_ANNOTATION_ITEM_MAGNETIC_FIELD, DEVICE_ANNOTATION_ITEM_REMOTE_DISTANCE, DEVICE_ANNOTATION_ITEM_RSSI, DEVICE_ANNOTATION_ITEM_UNIX_TIMESTAMP, DEVICE_ANNOTATION_TIMESTAMP_NOTE, DEVICE_ANNOTATION_TIMESTAMP_SIZE, DEVICE_ANNOTATION_TIMESTAMP_UNIT, DEVICE_D4L_COMPANION_ANNOTATION_ITEM_DATA_TYPES_FLAG, DEVICE_D4L_COMPANION_ANNOTATION_ITEM_TIMESTAMP, DEVICE_DISPLAY_LABEL_CODING, type DEVICE_KEY, type DEVICE_KEY_API, type DEVICE_KEY_BLE, type DEVICE_KEY_INTERNAL, type DEVICE_KEY_SDK, DEVICE_KEY_TO_NAME, DEVICE_LABEL_CODING, type DEVICE_MOVELLA_PAYLOAD_MODES, DEVICE_OUTPUT_RATE_CODING, DEVICE_SENSOR_DELAY_CODING, type DEVICE_SIGNAL_TYPE, type DateBlurringFunction, DateCondition, DecimalCondition, type DeviceConfig, type DeviceName, Disjunction, type Display, type DisplayContent, type
|
|
1319
|
+
export { ANDROID_SENSORS_CONSTANT_NAMES, type API, type APIConfig, type APIDeviceConfig, API_TARGET_MAP, APPLE_HEALTH_ACTIVE_ENERGY_ANNOTATION, APPLE_HEALTH_ANNOTATION_ITEM_ACTIVE_ENERGY, APPLE_HEALTH_ANNOTATION_ITEM_SLEEP_DURATION, APPLE_HEALTH_ANNOTATION_ITEM_SLEEP_STATE, APPLE_HEALTH_ANNOTATION_ITEM_STEP_COUNT, APPLE_HEALTH_ANNOTATION_ITEM_WALKING_RUNNING_DISTANCE, APPLE_HEALTH_SIGNAL_TYPE_ANNOTATIONS, APPLE_HEALTH_SLEEP_ANALYSIS_ANNOTATION, APPLE_HEALTH_SLEEP_STATE_MAP, APPLE_HEALTH_STEP_COUNT_ANNOTATION, APPLE_HEALTH_WALKING_RUNNING_DISTANCE_ANNOTATION, ASMSECGMeasurementAnnotation, ASMSSpO2MeasurementAnnotation, type Answer, AnswerCodeCondition, type Answers, AppIDNamingSystem, type AppleHealthSleepStates, type BLEDeviceConfig, BLE_ASMS_ANNOTATION_ITEM_ECG, BLE_ASMS_ANNOTATION_ITEM_SPO2, BLE_CPMS_ANNOTATION_ITEM_ACTIVITY_TYPE, BLE_CPMS_ANNOTATION_ITEM_DAILY_CALORIES, BLE_CPMS_ANNOTATION_ITEM_DAILY_DISTANCE, BLE_CPMS_ANNOTATION_ITEM_DAILY_ELEVATION_GAIN, BLE_CPMS_ANNOTATION_ITEM_DAILY_FLOORS, BLE_CPMS_ANNOTATION_ITEM_DAILY_STEPS, BLE_PAMS_ANNOTATION_ITEM_ABSOLUTE_ELEVATION, BLE_PAMS_ANNOTATION_ITEM_AVERAGE_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_AVERAGE_SPEED, BLE_PAMS_ANNOTATION_ITEM_BYTE, BLE_PAMS_ANNOTATION_ITEM_CALORIES_TOTAL, BLE_PAMS_ANNOTATION_ITEM_DISTANCE_TOTAL, BLE_PAMS_ANNOTATION_ITEM_FLAGS_16, BLE_PAMS_ANNOTATION_ITEM_FLAGS_24, BLE_PAMS_ANNOTATION_ITEM_FLAGS_32, BLE_PAMS_ANNOTATION_ITEM_FLAGS_8, BLE_PAMS_ANNOTATION_ITEM_FLOORS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_FOUR_BYTES, BLE_PAMS_ANNOTATION_ITEM_HEADER, BLE_PAMS_ANNOTATION_ITEM_HEART_RATE, BLE_PAMS_ANNOTATION_ITEM_MAXIMUM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_MAXIMUM_SPEED, BLE_PAMS_ANNOTATION_ITEM_MINIMUM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_MINIMUM_SPEED, BLE_PAMS_ANNOTATION_ITEM_MOTION_CADENCE, BLE_PAMS_ANNOTATION_ITEM_NEGATIVE_ELEVATION_GAIN, BLE_PAMS_ANNOTATION_ITEM_POSITIVE_ELEVATION_GAIN, BLE_PAMS_ANNOTATION_ITEM_RUNNING_STEPS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_SPEED, BLE_PAMS_ANNOTATION_ITEM_STEPS_TOTAL, BLE_PAMS_ANNOTATION_ITEM_THREE_BYTES, BLE_PAMS_ANNOTATION_ITEM_TWO_BYTES, BLE_PAMS_ANNOTATION_ITEM_VO2_MAX, BLE_PSMS_ANNOTATION_ITEM_HEART_RATE, BLE_PSMS_ANNOTATION_ITEM_IBI, BLE_PSMS_ANNOTATION_ITEM_PPG_GREEN, BLE_PSMS_ANNOTATION_ITEM_PPG_IR, BLE_PSMS_ANNOTATION_ITEM_PPG_RED, BLE_PSMS_ANNOTATION_ITEM_SKIN_TEMPERATURE, type BaseDeviceConfig, type BleDeviceMetaLabel, BoolCondition, CPMSHealthServicesActivityDetectionAnnotation, CPMSHealthServicesPassiveDataAnnotation, CommunicationTypeSystem, type ComparisonOperator, type ConditionOperatorType, type ConditionQuestionType, type ConditionSorting, type ConditionType, Conjunction, type Consent, ConsentCondition, ConsentNameSystem, type ConsentPath, type ConsentTimes, ConsentVersionSystem, type ContentBlock, type Converter, type CryptoModule, CustomExtensionDate, CustomExtensionStudyName, CustomQuestionSystem, type DEVICE_ANNOTATION, type DEVICE_ANNOTATION_DATA_FORMAT, type DEVICE_ANNOTATION_DATA_TYPE, DEVICE_ANNOTATION_HEARTRATE, type DEVICE_ANNOTATION_ITEM, DEVICE_ANNOTATION_ITEM_ACCELERATION, DEVICE_ANNOTATION_ITEM_ANGULAR_SPEED, DEVICE_ANNOTATION_ITEM_BEACON_ID, DEVICE_ANNOTATION_ITEM_DISTANCE, DEVICE_ANNOTATION_ITEM_EGVS, DEVICE_ANNOTATION_ITEM_HEARTRATE, DEVICE_ANNOTATION_ITEM_MAGNETIC_FIELD, DEVICE_ANNOTATION_ITEM_REMOTE_DISTANCE, DEVICE_ANNOTATION_ITEM_RSSI, DEVICE_ANNOTATION_ITEM_UNIX_TIMESTAMP, DEVICE_ANNOTATION_TIMESTAMP_NOTE, DEVICE_ANNOTATION_TIMESTAMP_SIZE, DEVICE_ANNOTATION_TIMESTAMP_UNIT, DEVICE_D4L_COMPANION_ANNOTATION_ITEM_DATA_TYPES_FLAG, DEVICE_D4L_COMPANION_ANNOTATION_ITEM_TIMESTAMP, DEVICE_DISPLAY_LABEL_CODING, type DEVICE_KEY, type DEVICE_KEY_API, type DEVICE_KEY_BLE, type DEVICE_KEY_INTERNAL, type DEVICE_KEY_SDK, DEVICE_KEY_TO_NAME, DEVICE_LABEL_CODING, type DEVICE_MOVELLA_PAYLOAD_MODES, DEVICE_OUTPUT_RATE_CODING, DEVICE_SENSOR_DELAY_CODING, type DEVICE_SIGNAL_TYPE, type DateBlurringFunction, DateCondition, DecimalCondition, type DeviceConfig, type DeviceName, Disjunction, type Display, type DisplayContent, type DisplayContentPath, type DisplayPath, type DisplayType, type DonationRecord, DonationSDK, type DonorIdentity, ERROR_CODES, ExistsCondition, type ExtendedProgramDevicesDataType, FITBIT_ANNOTATION_ITEM_BREATHING_RATE, FITBIT_ANNOTATION_ITEM_CALORIES, FITBIT_ANNOTATION_ITEM_HEART_RATE, FITBIT_ANNOTATION_ITEM_HEART_RATE_VARIABILITY, FITBIT_ANNOTATION_ITEM_SKIN_TEMPERATURE, FITBIT_ANNOTATION_ITEM_SLEEP_LEVEL, FITBIT_ANNOTATION_ITEM_SLEEP_LEVEL_DURATION, FITBIT_ANNOTATION_ITEM_SPO2, FITBIT_ANNOTATION_ITEM_STEPS, FITBIT_BREATHING_RATE_ANNOTATION, FITBIT_CALORIES_ANNOTATION, FITBIT_HEART_RATE_ANNOTATION, FITBIT_HEART_RATE_VARIABILITY_ANNOTATION, FITBIT_SIGNAL_TYPE_ANNOTATIONS, FITBIT_SKIN_TEMPERATURE_ANNOTATION, FITBIT_SLEEP_ANNOTATION, FITBIT_SLEEP_LEVEL_MAP, FITBIT_SPO2_ANNOTATION, FITBIT_STEPS_ANNOTATION, type FitbitSleepLevelTypes, type FrequencyType, type Guard, IMUAnnotation, type InternalDeviceConfig, InternalSensorAnnotationTypes, KeyHandler, MaxValueExtension, MeasurementTypeSystem, type Message, type MessagePath, type MessageRecipient, MinLengthExtension, MinValueExtension, type MultiAnswers, ObservationTypeSystem, Offset, PAMSCardioVascularActivityAnnotation, PAMSGeneralActivityInstantaneousAnnotation, PAMSGeneralActivitySummaryAnnotation, PAMSStepCounterActivitySummaryAnnotation, PSMSHeartRateAnnotation, PSMSPPGGreenAnnotation, PSMSPPGIRAnnotation, PSMSPPGRedAnnotation, PSMSSkinTemperatureAnnotation, type PreviewTimeSeriesItem, type Program, type ProgramAnonymization, type ProgramClientTarget, type ProgramConsentStep, type ProgramContact, type ProgramContent, type ProgramContentPath, type ProgramDevice, type ProgramDeviceType, type ProgramDevicesDataType, type ProgramDevicesLabel, type ProgramDisplayStep, type ProgramDonation, type ProgramEligibilityStep, type ProgramFeatured, type ProgramRoutineStep, type ProgramSensorStep, type ProgramStep, type ProgramStepBase, type ProgramStepType, type ProgramSurveyStep, type ProgramTag, type ProgramTokenStep, type ProgramType, QItemControlDefinition, type QuestionInputType, type QuestionnaireResponse, type QuestionnaireScore, RECORDING_MODEL_CURRENT_VERSION, RECORDING_SIGNAL_MODEL_CURRENT_VERSION, type RecordState, type Recording, type RecordingSignal, type RecordingSignalItem, type RecordingSignalPreview, type RecordingSignalWithId, type RecordingTag, type RecursiveKeyOf, RelativeMaxValueExtension, RelativeMinValueExtension, type ReminderFrequencyType, type ReponseValue, type ResearchSubject, type ResearchSubjectProgress, type ResearchSubjectProgressState, type ResponseMinimal, type RestorationSize, type Routine, RoutineCondition, type RoutineContent, type RoutineContentPath, type RoutineContentStep, RoutineIsPassiveExtension, type RoutineTimes, type SDKDeviceConfig, type SDKInterface, SIGNAL_DURATION_CODING, type ScoreThreshold, type SeenDisplay, type SeenMessage, SensorIdentifierSystem, SensorSettingsSystem, SensorTypeSystem, SignalIDSystem, type SkippedStep, SliderMaxLabelExtension, SliderMinLabelExtension, SliderStepSizeExtension, type StepCondition, type StringTemplater, StudyNameSystem, type Survey, SurveyCondition, type SurveyContent, type SurveyContentPath, type SurveyScoring, type Tag, type TagEffectiveType, type TaskFrequency, type TaskReminder, type Threshold, TokenNamingSystem, type TranslatedString, ULID_REGEX, ULIDtoUUID, UUID_REGEX, UUIDtoULID, WORDLIST_LANGUAGES, WearOS3AnnotationMap, WebConverter, type WordListLanguage, YearCondition, binaryStringToUint8Array, capitalizeFirstLetter, extractWordsFromRecoveryPhrase, generateFHIRConsent, generateFHIRQuestionnaireScore, generateFHIRRecordingBundle, generateFHIRResearchSubject, generateFHIRResponse, generateFHIRSeenDisplay, generateFHIRSeenMessage, generateFHIRTag, generateQuestionGuard, generateStepGuard, generateUrn, get, getLanguageOfPassPhrase, getMovellaAnnotation, getText, isScoreEligible, isYearString, newStepDateCondtion, stringToDate, stringToYear, toDeviceConfig, toQuestionnaireResponseItem, uint8ArrayToBinaryString, utf8ToUint8Array, wordlists };
|