@d4l/collect-lib 1.18.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 +8 -8
- package/dist/index.d.mts +162 -100
- package/dist/index.d.ts +162 -100
- package/dist/index.js +4346 -4254
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4351 -4259
- 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;
|
|
@@ -92,9 +92,9 @@ type DisplayContent = {
|
|
|
92
92
|
title: TranslatedString;
|
|
93
93
|
message: TranslatedString;
|
|
94
94
|
};
|
|
95
|
-
blocks?:
|
|
95
|
+
blocks?: ContentBlock[];
|
|
96
96
|
};
|
|
97
|
-
type
|
|
97
|
+
type ContentBlock = {
|
|
98
98
|
image?: string;
|
|
99
99
|
text: TranslatedString;
|
|
100
100
|
};
|
|
@@ -127,6 +127,35 @@ interface SeenDisplay {
|
|
|
127
127
|
}
|
|
128
128
|
type DisplayPath = RecursiveKeyOf<Display>;
|
|
129
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
|
+
|
|
130
159
|
interface QuestionnaireScore {
|
|
131
160
|
/**
|
|
132
161
|
* The actual survey name
|
|
@@ -680,6 +709,102 @@ declare const APPLE_HEALTH_SIGNAL_TYPE_ANNOTATIONS: {
|
|
|
680
709
|
[key in DEVICE_SIGNAL_TYPE]?: DEVICE_ANNOTATION;
|
|
681
710
|
};
|
|
682
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
|
+
|
|
683
808
|
interface CryptoModule {
|
|
684
809
|
deriveEncryptionKey(recoveryKey: Uint8Array, salt: string): Promise<Uint8Array>;
|
|
685
810
|
generateKey(size: number): Uint8Array;
|
|
@@ -805,6 +930,12 @@ type RestorationSize = {
|
|
|
805
930
|
bytes: number;
|
|
806
931
|
}[];
|
|
807
932
|
};
|
|
933
|
+
type ResponseMinimal = {
|
|
934
|
+
id: string;
|
|
935
|
+
resourceType: string;
|
|
936
|
+
version: number;
|
|
937
|
+
[key: string]: any;
|
|
938
|
+
};
|
|
808
939
|
interface SDKInterface {
|
|
809
940
|
/**
|
|
810
941
|
* Checks readiness state of donation service
|
|
@@ -821,7 +952,7 @@ interface SDKInterface {
|
|
|
821
952
|
/**
|
|
822
953
|
* Register a donor identity for a program
|
|
823
954
|
* @param recoveryKey The 16byte long recovery key (from the recovery phrase)
|
|
824
|
-
* @param
|
|
955
|
+
* @param program The program for which the registration should be done
|
|
825
956
|
* @param participationCode The optional participation code
|
|
826
957
|
* @returns The newly created donor identity
|
|
827
958
|
*/
|
|
@@ -832,7 +963,7 @@ interface SDKInterface {
|
|
|
832
963
|
/**
|
|
833
964
|
* Donate resources for a study
|
|
834
965
|
* @param donorIdentity The donor identity for the study
|
|
835
|
-
* @param
|
|
966
|
+
* @param program The program for which the resources should be donated
|
|
836
967
|
* @param records The list of resources that should be donated
|
|
837
968
|
* @returns True, if the donation was successful. Otherwise, false.
|
|
838
969
|
*/
|
|
@@ -867,6 +998,28 @@ interface SDKInterface {
|
|
|
867
998
|
* @returns True, if the revocation was successful. Otherwise, false.
|
|
868
999
|
*/
|
|
869
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[]>;
|
|
870
1023
|
}
|
|
871
1024
|
declare enum ERROR_CODES {
|
|
872
1025
|
COULD_NOT_SIGN = "could_not_sign",
|
|
@@ -959,6 +1112,9 @@ declare class DonationSDK implements SDKInterface {
|
|
|
959
1112
|
status: RecordState;
|
|
960
1113
|
}[]>;
|
|
961
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>;
|
|
962
1118
|
}
|
|
963
1119
|
|
|
964
1120
|
/**
|
|
@@ -1148,100 +1304,6 @@ declare const wordlists: {
|
|
|
1148
1304
|
de: string[];
|
|
1149
1305
|
};
|
|
1150
1306
|
|
|
1151
|
-
declare function generateFHIRConsent(id: string, consent: Consent, decision: fhir5.Consent['decision'], start: string, end?: string): fhir5.Consent;
|
|
1152
|
-
|
|
1153
|
-
declare const SliderMinLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-min";
|
|
1154
|
-
declare const SliderMaxLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-max";
|
|
1155
|
-
declare const SliderStepSizeExtension = "http://fhir.data4life.care/StructureDefinition/slider-step-size";
|
|
1156
|
-
declare const RelativeMinValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-min-value";
|
|
1157
|
-
declare const RelativeMaxValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-max-value";
|
|
1158
|
-
declare const CustomExtensionStudyName = "http://fhir.data4life.care/StructureDefinition/study-name";
|
|
1159
|
-
declare const CustomExtensionDate = "http://fhir.data4life.care/StructureDefinition/effective-date";
|
|
1160
|
-
declare const MaxValueExtension = "http://hl7.org/fhir/StructureDefinition/maxValue";
|
|
1161
|
-
declare const MinValueExtension = "http://hl7.org/fhir/StructureDefinition/minValue";
|
|
1162
|
-
declare const MinLengthExtension = "http://hl7.org/fhir/StructureDefinition/minLength";
|
|
1163
|
-
declare const QItemControlDefinition = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl";
|
|
1164
|
-
declare const RoutineIsPassiveExtension = "http://fhir.data4life.care/StructureDefinition/is-passive-recording";
|
|
1165
|
-
declare const SignalIDSystem = "http://fhir.data4life.care/r5/NamingSystem/app-signal-ids";
|
|
1166
|
-
declare const AppIDNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/app-db-ids";
|
|
1167
|
-
declare const SensorTypeSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-device-type";
|
|
1168
|
-
declare const SensorIdentifierSystem = "http://fhir.data4life.care/r5/NamingSystem/sensor-peripheral-id";
|
|
1169
|
-
declare const TokenNamingSystem = "http://fhir.data4life.care/r5/NamingSystem/participation-token";
|
|
1170
|
-
declare const ConsentNameSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-name";
|
|
1171
|
-
declare const ConsentVersionSystem = "http://fhir.data4life.care/r5/NamingSystem/consent-version";
|
|
1172
|
-
declare const ObservationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/observation-types";
|
|
1173
|
-
declare const MeasurementTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-measurement-types";
|
|
1174
|
-
declare const StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
|
|
1175
|
-
declare const SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
|
|
1176
|
-
declare const CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
|
|
1177
|
-
declare const CommunicationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/communication-types";
|
|
1178
|
-
declare const DEVICE_LABEL_CODING: {
|
|
1179
|
-
system: string;
|
|
1180
|
-
code: string;
|
|
1181
|
-
display: string;
|
|
1182
|
-
};
|
|
1183
|
-
declare const DEVICE_DISPLAY_LABEL_CODING: {
|
|
1184
|
-
system: string;
|
|
1185
|
-
code: string;
|
|
1186
|
-
display: string;
|
|
1187
|
-
};
|
|
1188
|
-
declare const DEVICE_OUTPUT_RATE_CODING: {
|
|
1189
|
-
system: string;
|
|
1190
|
-
code: string;
|
|
1191
|
-
display: string;
|
|
1192
|
-
};
|
|
1193
|
-
declare const DEVICE_SENSOR_DELAY_CODING: {
|
|
1194
|
-
system: string;
|
|
1195
|
-
code: string;
|
|
1196
|
-
display: string;
|
|
1197
|
-
};
|
|
1198
|
-
declare const SIGNAL_DURATION_CODING: {
|
|
1199
|
-
system: string;
|
|
1200
|
-
code: string;
|
|
1201
|
-
display: string;
|
|
1202
|
-
};
|
|
1203
|
-
declare const ANDROID_SENSORS_CONSTANT_NAMES: string[];
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* Replaces {{program-name}} and {{fhir-base-host}} templates in the given string
|
|
1207
|
-
*/
|
|
1208
|
-
type StringTemplater = (template: string) => string;
|
|
1209
|
-
declare function generateUrn(): string;
|
|
1210
|
-
declare function capitalizeFirstLetter(string: string): string;
|
|
1211
|
-
declare function getText<K>(content: any, path: K, lng: string): string;
|
|
1212
|
-
/**
|
|
1213
|
-
* Get a value at a certain path from an object
|
|
1214
|
-
* @param obj The object to get from
|
|
1215
|
-
* @param path The path to get e.g 'path.to.property'
|
|
1216
|
-
* @returns The value at the path or undefined
|
|
1217
|
-
*/
|
|
1218
|
-
declare function get(obj: Record<string, any>, path: string): string | undefined;
|
|
1219
|
-
|
|
1220
|
-
declare function generateFHIRQuestionnaireScore(id: string, data: QuestionnaireScore & {
|
|
1221
|
-
createdAt: string;
|
|
1222
|
-
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
1223
|
-
|
|
1224
|
-
declare function generateFHIRResponse(id: string, { programName, effectiveDate, language, questionnaire, createdAt, status, answers, }: QuestionnaireResponse): fhir5.QuestionnaireResponse;
|
|
1225
|
-
declare const toQuestionnaireResponseItem: (answer: {
|
|
1226
|
-
id: string;
|
|
1227
|
-
type: QuestionInputType;
|
|
1228
|
-
response: ReponseValue | ReponseValue[];
|
|
1229
|
-
text: string;
|
|
1230
|
-
}) => fhir5.QuestionnaireResponseItem;
|
|
1231
|
-
|
|
1232
|
-
type RecordingSignalWithId = RecordingSignal & {
|
|
1233
|
-
id: string;
|
|
1234
|
-
};
|
|
1235
|
-
declare function generateFHIRRecordingBundle(id: string, recording: Recording, signals: RecordingSignalWithId[], stringTemplater: StringTemplater): fhir5.Bundle;
|
|
1236
|
-
|
|
1237
|
-
declare const generateFHIRResearchSubject: (id: string, { programName, subject, progress }: ResearchSubject) => fhir_r5.ResearchSubject;
|
|
1238
|
-
|
|
1239
|
-
declare function generateFHIRSeenDisplay(id: string, seenDisplay: SeenDisplay): fhir5.Communication;
|
|
1240
|
-
|
|
1241
|
-
declare function generateFHIRTag(id: string, code: string, date: string, labels: {
|
|
1242
|
-
[key: string]: string;
|
|
1243
|
-
}, stringTemplater: StringTemplater): fhir5.Observation;
|
|
1244
|
-
|
|
1245
1307
|
type API = 'DEXCOM' | 'FITBIT';
|
|
1246
1308
|
type APIConfig = {
|
|
1247
1309
|
loginEndpoint: string;
|
|
@@ -1254,4 +1316,4 @@ declare const API_TARGET_MAP: {
|
|
|
1254
1316
|
};
|
|
1255
1317
|
};
|
|
1256
1318
|
|
|
1257
|
-
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 };
|