@healthcloudai/hc-sdk 3.4.0 → 3.5.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/dist/index.d.ts CHANGED
@@ -902,6 +902,8 @@ interface ListDiagnosticsResponse$2 {
902
902
  interface Gs1LookupQuery {
903
903
  /** Required — GS1 barcode string */
904
904
  gs1: string;
905
+ /** Optional — encounter to associate the resulting pending test with */
906
+ encounter_id?: string;
905
907
  }
906
908
  interface Gs1LookupResult {
907
909
  gs1_parsed?: Record<string, unknown>;
@@ -918,6 +920,8 @@ interface ScanUploadUrlRequest {
918
920
  filename?: string;
919
921
  /** Optional — MIME type, default "image/jpeg" */
920
922
  content_type?: string;
923
+ /** Optional — encounter to associate the pending test with */
924
+ encounter_id?: string;
921
925
  }
922
926
  interface ScanUploadUrlResponse {
923
927
  test_id?: string;
@@ -34724,12 +34728,24 @@ interface CreateRapidTestRequest {
34724
34728
  * @memberof CreateRapidTestRequest
34725
34729
  */
34726
34730
  administered_date?: string;
34731
+ /**
34732
+ * Athena encounter id to mirror this result onto directly, optional. Overrides the encounter_id -> FHIR Encounter lookup when the caller already knows it.
34733
+ * @type {string}
34734
+ * @memberof CreateRapidTestRequest
34735
+ */
34736
+ athena_encounter_id?: string;
34727
34737
  /**
34728
34738
  * CLIA-waived device make/model, optional.
34729
34739
  * @type {string}
34730
34740
  * @memberof CreateRapidTestRequest
34731
34741
  */
34732
34742
  device_name?: string;
34743
+ /**
34744
+ * FHIR Encounter id this test is associated with, optional. When the tenant has Athena and the patient is linked, this is used to resolve athena_encounter_id (from the Encounter's Athena extension) for the best-effort Athena mirror. Required for the Athena mirror to run unless athena_encounter_id is supplied directly.
34745
+ * @type {string}
34746
+ * @memberof CreateRapidTestRequest
34747
+ */
34748
+ encounter_id?: string;
34733
34749
  /**
34734
34750
  * Test kit lot number, optional.
34735
34751
  * @type {string}
@@ -34772,6 +34788,12 @@ interface CreateRapidTestRequest {
34772
34788
  * @memberof CreateRapidTestRequest
34773
34789
  */
34774
34790
  result?: RapidTestResult;
34791
+ /**
34792
+ * SAFE CDX S3 object key of the captured test-strip image (from diagnostics.getScanUploadUrl), optional. When present and the Athena mirror runs, the image is attached to the Athena lab result document; when absent, the Athena mirror still runs but without an image attachment.
34793
+ * @type {string}
34794
+ * @memberof CreateRapidTestRequest
34795
+ */
34796
+ scan_storage_key?: string;
34775
34797
  /**
34776
34798
  * Type of specimen the test was run on. Defaults to nasopharyngeal_swab if omitted.
34777
34799
  * @type {SpecimenType}
@@ -34817,6 +34839,12 @@ interface GetScanUploadUrlRequest {
34817
34839
  * @memberof GetScanUploadUrlRequest
34818
34840
  */
34819
34841
  content_type?: string;
34842
+ /**
34843
+ * FHIR Encounter id this scan is associated with, optional. Stored on the pending Observation so the async SAFE CDX result ingestion can mirror the finished result to Athena (when the tenant/patient are Athena-linked) once CVML processing completes.
34844
+ * @type {string}
34845
+ * @memberof GetScanUploadUrlRequest
34846
+ */
34847
+ encounter_id?: string | null;
34820
34848
  /**
34821
34849
  * Filename of the uploaded scan. Defaults to scan.jpg.
34822
34850
  * @type {string}
@@ -41429,6 +41457,198 @@ declare function ConnectResponseFromJSONTyped$a(json: any, ignoreDiscriminator:
41429
41457
  declare function ConnectResponseToJSON$a(json: any): ConnectResponse$a;
41430
41458
  declare function ConnectResponseToJSONTyped$a(value?: ConnectResponse$a | null, ignoreDiscriminator?: boolean): any;
41431
41459
 
41460
+ /**
41461
+ * HC Diagnostics API
41462
+ * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
41463
+ *
41464
+ * The version of the OpenAPI document: 1.0.0
41465
+ *
41466
+ *
41467
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
41468
+ * https://openapi-generator.tech
41469
+ * Do not edit the class manually.
41470
+ */
41471
+ /**
41472
+ *
41473
+ * @export
41474
+ */
41475
+ declare const ObservationStatus: {
41476
+ readonly registered: "registered";
41477
+ readonly preliminary: "preliminary";
41478
+ readonly final: "final";
41479
+ readonly amended: "amended";
41480
+ readonly corrected: "corrected";
41481
+ readonly cancelled: "cancelled";
41482
+ readonly entered_in_error: "entered-in-error";
41483
+ };
41484
+ type ObservationStatus = typeof ObservationStatus[keyof typeof ObservationStatus];
41485
+ declare function instanceOfObservationStatus(value: any): boolean;
41486
+ declare function ObservationStatusFromJSON(json: any): ObservationStatus;
41487
+ declare function ObservationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObservationStatus;
41488
+ declare function ObservationStatusToJSON(value?: ObservationStatus | null): any;
41489
+ declare function ObservationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ObservationStatus;
41490
+
41491
+ /**
41492
+ * HC Diagnostics API
41493
+ * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
41494
+ *
41495
+ * The version of the OpenAPI document: 1.0.0
41496
+ *
41497
+ *
41498
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
41499
+ * https://openapi-generator.tech
41500
+ * Do not edit the class manually.
41501
+ */
41502
+
41503
+ /**
41504
+ * Response for POST /patients/{patient_id}/diagnostics/rapid-tests.
41505
+ * Extends RapidTest with the best-effort Athena mirror outcome.
41506
+ * @export
41507
+ * @interface CreateRapidTestResponse
41508
+ */
41509
+ interface CreateRapidTestResponse {
41510
+ /**
41511
+ * Reason the Athena mirror failed, only present when athena_status is 'failed'.
41512
+ * @type {string}
41513
+ * @memberof CreateRapidTestResponse
41514
+ */
41515
+ athena_error?: string | null;
41516
+ /**
41517
+ * The Athena lab order id the result document ties to, only present when athena_status is 'linked'.
41518
+ * @type {string}
41519
+ * @memberof CreateRapidTestResponse
41520
+ */
41521
+ athena_order_id?: string | null;
41522
+ /**
41523
+ * Outcome of mirroring this result to Athena. `linked` means the diagnosis + lab order + lab result document (with image, when scan_storage_key was supplied) were created in Athena. `skipped_no_athena` means the tenant is not Athena-integrated; `skipped_unlinked` means the patient has no athena_patient_id; `skipped_no_encounter` means neither encounter_id nor athena_encounter_id was supplied; `skipped_no_athena_encounter` means the given FHIR Encounter has no linked Athena encounter id. Absent entirely when the request supplied neither encounter_id nor athena_encounter_id.
41524
+ * @type {CreateRapidTestResponseAthenaStatusEnum}
41525
+ * @memberof CreateRapidTestResponse
41526
+ */
41527
+ athena_status?: CreateRapidTestResponseAthenaStatusEnum | null;
41528
+ /**
41529
+ * Name of the person who collected the specimen, optional.
41530
+ * @type {string}
41531
+ * @memberof CreateRapidTestResponse
41532
+ */
41533
+ collected_by?: string | null;
41534
+ /**
41535
+ * FHIR resource IDs this observation is derived from, e.g. ['Media/{id}'] for the captured test-kit image. Per FHIR R4 Observation.derivedFrom.
41536
+ * @type {Array<string>}
41537
+ * @memberof CreateRapidTestResponse
41538
+ */
41539
+ derived_from?: Array<string> | null;
41540
+ /**
41541
+ * CLIA-waived device make/model
41542
+ * @type {string}
41543
+ * @memberof CreateRapidTestResponse
41544
+ */
41545
+ device_name?: string | null;
41546
+ /**
41547
+ * FHIR Encounter ID this test is associated with, optional.
41548
+ * @type {string}
41549
+ * @memberof CreateRapidTestResponse
41550
+ */
41551
+ encounter_id?: string | null;
41552
+ /**
41553
+ * FHIR Observation resource ID; set once the record has been persisted.
41554
+ * @type {string}
41555
+ * @memberof CreateRapidTestResponse
41556
+ */
41557
+ fhir_id?: string | null;
41558
+ /**
41559
+ * Test kit lot number, optional.
41560
+ * @type {string}
41561
+ * @memberof CreateRapidTestResponse
41562
+ */
41563
+ lot_number?: string | null;
41564
+ /**
41565
+ * Free-text notes, optional.
41566
+ * @type {string}
41567
+ * @memberof CreateRapidTestResponse
41568
+ */
41569
+ notes?: string | null;
41570
+ /**
41571
+ * Name of the person who performed the test, optional.
41572
+ * @type {string}
41573
+ * @memberof CreateRapidTestResponse
41574
+ */
41575
+ performed_by?: string | null;
41576
+ /**
41577
+ * ISO 8601 date the test was performed, when time-of-day is not tracked.
41578
+ * @type {Date}
41579
+ * @memberof CreateRapidTestResponse
41580
+ */
41581
+ performed_date?: Date | null;
41582
+ /**
41583
+ * ISO 8601 datetime the test was performed, optional.
41584
+ * @type {Date}
41585
+ * @memberof CreateRapidTestResponse
41586
+ */
41587
+ performed_datetime?: Date | null;
41588
+ /**
41589
+ * Unit of measure for quantitative_value, optional.
41590
+ * @type {string}
41591
+ * @memberof CreateRapidTestResponse
41592
+ */
41593
+ quantitative_unit?: string | null;
41594
+ /**
41595
+ * Numeric result value, for tests that report a quantitative reading. Requires quantitative_unit.
41596
+ * @type {number}
41597
+ * @memberof CreateRapidTestResponse
41598
+ */
41599
+ quantitative_value?: number | null;
41600
+ /**
41601
+ * The qualitative result, when available.
41602
+ * @type {RapidTestResult}
41603
+ * @memberof CreateRapidTestResponse
41604
+ */
41605
+ result?: RapidTestResult | null;
41606
+ /**
41607
+ * Type of specimen the test was run on.
41608
+ * @type {SpecimenType}
41609
+ * @memberof CreateRapidTestResponse
41610
+ */
41611
+ specimen_type?: SpecimenType;
41612
+ /**
41613
+ * Observation lifecycle status.
41614
+ * @type {ObservationStatus}
41615
+ * @memberof CreateRapidTestResponse
41616
+ */
41617
+ status?: ObservationStatus;
41618
+ /**
41619
+ * Internal identifier generated at construction time; the FHIR resource id (fhir_id) is the one used elsewhere as {test_id}.
41620
+ * @type {string}
41621
+ * @memberof CreateRapidTestResponse
41622
+ */
41623
+ test_id?: string;
41624
+ /**
41625
+ * Which rapid test kit was used, e.g. covid19, influenza_a, pregnancy.
41626
+ * @type {RapidTestType}
41627
+ * @memberof CreateRapidTestResponse
41628
+ */
41629
+ type: RapidTestType;
41630
+ }
41631
+ /**
41632
+ * @export
41633
+ */
41634
+ declare const CreateRapidTestResponseAthenaStatusEnum: {
41635
+ readonly linked: "linked";
41636
+ readonly skipped_no_athena: "skipped_no_athena";
41637
+ readonly skipped_unlinked: "skipped_unlinked";
41638
+ readonly skipped_no_encounter: "skipped_no_encounter";
41639
+ readonly skipped_no_athena_encounter: "skipped_no_athena_encounter";
41640
+ readonly failed: "failed";
41641
+ };
41642
+ type CreateRapidTestResponseAthenaStatusEnum = typeof CreateRapidTestResponseAthenaStatusEnum[keyof typeof CreateRapidTestResponseAthenaStatusEnum];
41643
+ /**
41644
+ * Check if a given object implements the CreateRapidTestResponse interface.
41645
+ */
41646
+ declare function instanceOfCreateRapidTestResponse(value: object): value is CreateRapidTestResponse;
41647
+ declare function CreateRapidTestResponseFromJSON(json: any): CreateRapidTestResponse;
41648
+ declare function CreateRapidTestResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRapidTestResponse;
41649
+ declare function CreateRapidTestResponseToJSON(json: any): CreateRapidTestResponse;
41650
+ declare function CreateRapidTestResponseToJSONTyped(value?: CreateRapidTestResponse | null, ignoreDiscriminator?: boolean): any;
41651
+
41432
41652
  /**
41433
41653
  * HC Diagnostics API
41434
41654
  * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
@@ -41855,37 +42075,6 @@ declare function ReferenceRangeFromJSONTyped(json: any, ignoreDiscriminator: boo
41855
42075
  declare function ReferenceRangeToJSON(json: any): ReferenceRange;
41856
42076
  declare function ReferenceRangeToJSONTyped(value?: ReferenceRange | null, ignoreDiscriminator?: boolean): any;
41857
42077
 
41858
- /**
41859
- * HC Diagnostics API
41860
- * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
41861
- *
41862
- * The version of the OpenAPI document: 1.0.0
41863
- *
41864
- *
41865
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
41866
- * https://openapi-generator.tech
41867
- * Do not edit the class manually.
41868
- */
41869
- /**
41870
- *
41871
- * @export
41872
- */
41873
- declare const ObservationStatus: {
41874
- readonly registered: "registered";
41875
- readonly preliminary: "preliminary";
41876
- readonly final: "final";
41877
- readonly amended: "amended";
41878
- readonly corrected: "corrected";
41879
- readonly cancelled: "cancelled";
41880
- readonly entered_in_error: "entered-in-error";
41881
- };
41882
- type ObservationStatus = typeof ObservationStatus[keyof typeof ObservationStatus];
41883
- declare function instanceOfObservationStatus(value: any): boolean;
41884
- declare function ObservationStatusFromJSON(json: any): ObservationStatus;
41885
- declare function ObservationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObservationStatus;
41886
- declare function ObservationStatusToJSON(value?: ObservationStatus | null): any;
41887
- declare function ObservationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ObservationStatus;
41888
-
41889
42078
  /**
41890
42079
  * HC Diagnostics API
41891
42080
  * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
@@ -42063,131 +42252,6 @@ declare function PoolTypeFromJSONTyped$8(json: any, ignoreDiscriminator: boolean
42063
42252
  declare function PoolTypeToJSON$8(value?: PoolType$8 | null): any;
42064
42253
  declare function PoolTypeToJSONTyped$8(value: any, ignoreDiscriminator: boolean): PoolType$8;
42065
42254
 
42066
- /**
42067
- * HC Diagnostics API
42068
- * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
42069
- *
42070
- * The version of the OpenAPI document: 1.0.0
42071
- *
42072
- *
42073
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
42074
- * https://openapi-generator.tech
42075
- * Do not edit the class manually.
42076
- */
42077
-
42078
- /**
42079
- * A rapid point-of-care test result. Response for
42080
- * POST /patients/{patient_id}/diagnostics/rapid-tests.
42081
- * @export
42082
- * @interface RapidTest
42083
- */
42084
- interface RapidTest {
42085
- /**
42086
- * Name of the person who collected the specimen, optional.
42087
- * @type {string}
42088
- * @memberof RapidTest
42089
- */
42090
- collected_by?: string | null;
42091
- /**
42092
- * CLIA-waived device make/model
42093
- * @type {string}
42094
- * @memberof RapidTest
42095
- */
42096
- device_name?: string | null;
42097
- /**
42098
- * FHIR Encounter ID this test is associated with, optional.
42099
- * @type {string}
42100
- * @memberof RapidTest
42101
- */
42102
- encounter_id?: string | null;
42103
- /**
42104
- * FHIR Observation resource ID; set once the record has been persisted.
42105
- * @type {string}
42106
- * @memberof RapidTest
42107
- */
42108
- fhir_id?: string | null;
42109
- /**
42110
- * Test kit lot number, optional.
42111
- * @type {string}
42112
- * @memberof RapidTest
42113
- */
42114
- lot_number?: string | null;
42115
- /**
42116
- * Free-text notes, optional.
42117
- * @type {string}
42118
- * @memberof RapidTest
42119
- */
42120
- notes?: string | null;
42121
- /**
42122
- * Name of the person who performed the test, optional.
42123
- * @type {string}
42124
- * @memberof RapidTest
42125
- */
42126
- performed_by?: string | null;
42127
- /**
42128
- * ISO 8601 date the test was performed, when time-of-day is not tracked.
42129
- * @type {Date}
42130
- * @memberof RapidTest
42131
- */
42132
- performed_date?: Date | null;
42133
- /**
42134
- * ISO 8601 datetime the test was performed, optional.
42135
- * @type {Date}
42136
- * @memberof RapidTest
42137
- */
42138
- performed_datetime?: Date | null;
42139
- /**
42140
- * Unit of measure for quantitative_value, optional.
42141
- * @type {string}
42142
- * @memberof RapidTest
42143
- */
42144
- quantitative_unit?: string | null;
42145
- /**
42146
- * Numeric result value, for tests that report a quantitative reading. Requires quantitative_unit.
42147
- * @type {number}
42148
- * @memberof RapidTest
42149
- */
42150
- quantitative_value?: number | null;
42151
- /**
42152
- * The qualitative result, when available.
42153
- * @type {RapidTestResult}
42154
- * @memberof RapidTest
42155
- */
42156
- result?: RapidTestResult | null;
42157
- /**
42158
- * Type of specimen the test was run on.
42159
- * @type {SpecimenType}
42160
- * @memberof RapidTest
42161
- */
42162
- specimen_type?: SpecimenType;
42163
- /**
42164
- * Observation lifecycle status.
42165
- * @type {ObservationStatus}
42166
- * @memberof RapidTest
42167
- */
42168
- status?: ObservationStatus;
42169
- /**
42170
- * Internal identifier generated at construction time; the FHIR resource id (fhir_id) is the one used elsewhere as {test_id}.
42171
- * @type {string}
42172
- * @memberof RapidTest
42173
- */
42174
- test_id?: string;
42175
- /**
42176
- * Which rapid test kit was used, e.g. covid19, influenza_a, pregnancy.
42177
- * @type {RapidTestType}
42178
- * @memberof RapidTest
42179
- */
42180
- type: RapidTestType;
42181
- }
42182
- /**
42183
- * Check if a given object implements the RapidTest interface.
42184
- */
42185
- declare function instanceOfRapidTest(value: object): value is RapidTest;
42186
- declare function RapidTestFromJSON(json: any): RapidTest;
42187
- declare function RapidTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RapidTest;
42188
- declare function RapidTestToJSON(json: any): RapidTest;
42189
- declare function RapidTestToJSONTyped(value?: RapidTest | null, ignoreDiscriminator?: boolean): any;
42190
-
42191
42255
  /**
42192
42256
  * HC Diagnostics API
42193
42257
  * HealthCloud Diagnostics API — rapid point-of-care test results, lab observations, GS1 test-kit lookup, and scan-image upload for a patient. All operations require a Bearer JWT; a PATIENT-pool caller may only act on their own record.
@@ -42232,6 +42296,12 @@ declare const index$a_CreateRapidTestRequestFromJSON: typeof CreateRapidTestRequ
42232
42296
  declare const index$a_CreateRapidTestRequestFromJSONTyped: typeof CreateRapidTestRequestFromJSONTyped;
42233
42297
  declare const index$a_CreateRapidTestRequestToJSON: typeof CreateRapidTestRequestToJSON;
42234
42298
  declare const index$a_CreateRapidTestRequestToJSONTyped: typeof CreateRapidTestRequestToJSONTyped;
42299
+ type index$a_CreateRapidTestResponse = CreateRapidTestResponse;
42300
+ type index$a_CreateRapidTestResponseAthenaStatusEnum = CreateRapidTestResponseAthenaStatusEnum;
42301
+ declare const index$a_CreateRapidTestResponseFromJSON: typeof CreateRapidTestResponseFromJSON;
42302
+ declare const index$a_CreateRapidTestResponseFromJSONTyped: typeof CreateRapidTestResponseFromJSONTyped;
42303
+ declare const index$a_CreateRapidTestResponseToJSON: typeof CreateRapidTestResponseToJSON;
42304
+ declare const index$a_CreateRapidTestResponseToJSONTyped: typeof CreateRapidTestResponseToJSONTyped;
42235
42305
  type index$a_GS1LookupResponse = GS1LookupResponse;
42236
42306
  declare const index$a_GS1LookupResponseFromJSON: typeof GS1LookupResponseFromJSON;
42237
42307
  declare const index$a_GS1LookupResponseFromJSONTyped: typeof GS1LookupResponseFromJSONTyped;
@@ -42267,16 +42337,11 @@ declare const index$a_ObservationStatusFromJSON: typeof ObservationStatusFromJSO
42267
42337
  declare const index$a_ObservationStatusFromJSONTyped: typeof ObservationStatusFromJSONTyped;
42268
42338
  declare const index$a_ObservationStatusToJSON: typeof ObservationStatusToJSON;
42269
42339
  declare const index$a_ObservationStatusToJSONTyped: typeof ObservationStatusToJSONTyped;
42270
- type index$a_RapidTest = RapidTest;
42271
- declare const index$a_RapidTestFromJSON: typeof RapidTestFromJSON;
42272
- declare const index$a_RapidTestFromJSONTyped: typeof RapidTestFromJSONTyped;
42273
42340
  type index$a_RapidTestResult = RapidTestResult;
42274
42341
  declare const index$a_RapidTestResultFromJSON: typeof RapidTestResultFromJSON;
42275
42342
  declare const index$a_RapidTestResultFromJSONTyped: typeof RapidTestResultFromJSONTyped;
42276
42343
  declare const index$a_RapidTestResultToJSON: typeof RapidTestResultToJSON;
42277
42344
  declare const index$a_RapidTestResultToJSONTyped: typeof RapidTestResultToJSONTyped;
42278
- declare const index$a_RapidTestToJSON: typeof RapidTestToJSON;
42279
- declare const index$a_RapidTestToJSONTyped: typeof RapidTestToJSONTyped;
42280
42345
  type index$a_RapidTestType = RapidTestType;
42281
42346
  declare const index$a_RapidTestTypeFromJSON: typeof RapidTestTypeFromJSON;
42282
42347
  declare const index$a_RapidTestTypeFromJSONTyped: typeof RapidTestTypeFromJSONTyped;
@@ -42299,6 +42364,7 @@ declare const index$a_SpecimenTypeToJSON: typeof SpecimenTypeToJSON;
42299
42364
  declare const index$a_SpecimenTypeToJSONTyped: typeof SpecimenTypeToJSONTyped;
42300
42365
  declare const index$a_instanceOfCapturedTestImageResponse: typeof instanceOfCapturedTestImageResponse;
42301
42366
  declare const index$a_instanceOfCreateRapidTestRequest: typeof instanceOfCreateRapidTestRequest;
42367
+ declare const index$a_instanceOfCreateRapidTestResponse: typeof instanceOfCreateRapidTestResponse;
42302
42368
  declare const index$a_instanceOfGS1LookupResponse: typeof instanceOfGS1LookupResponse;
42303
42369
  declare const index$a_instanceOfGetScanUploadUrlRequest: typeof instanceOfGetScanUploadUrlRequest;
42304
42370
  declare const index$a_instanceOfGetTestResultResponse: typeof instanceOfGetTestResultResponse;
@@ -42306,14 +42372,13 @@ declare const index$a_instanceOfInterpretationCode: typeof instanceOfInterpretat
42306
42372
  declare const index$a_instanceOfLabObservation: typeof instanceOfLabObservation;
42307
42373
  declare const index$a_instanceOfListDiagnosticsResponse: typeof instanceOfListDiagnosticsResponse;
42308
42374
  declare const index$a_instanceOfObservationStatus: typeof instanceOfObservationStatus;
42309
- declare const index$a_instanceOfRapidTest: typeof instanceOfRapidTest;
42310
42375
  declare const index$a_instanceOfRapidTestResult: typeof instanceOfRapidTestResult;
42311
42376
  declare const index$a_instanceOfRapidTestType: typeof instanceOfRapidTestType;
42312
42377
  declare const index$a_instanceOfReferenceRange: typeof instanceOfReferenceRange;
42313
42378
  declare const index$a_instanceOfScanUploadResponse: typeof instanceOfScanUploadResponse;
42314
42379
  declare const index$a_instanceOfSpecimenType: typeof instanceOfSpecimenType;
42315
42380
  declare namespace index$a {
42316
- export { type index$a_CapturedTestImageResponse as CapturedTestImageResponse, index$a_CapturedTestImageResponseFromJSON as CapturedTestImageResponseFromJSON, index$a_CapturedTestImageResponseFromJSONTyped as CapturedTestImageResponseFromJSONTyped, index$a_CapturedTestImageResponseToJSON as CapturedTestImageResponseToJSON, index$a_CapturedTestImageResponseToJSONTyped as CapturedTestImageResponseToJSONTyped, type ConnectResponse$a as ConnectResponse, ConnectResponseFromJSON$a as ConnectResponseFromJSON, ConnectResponseFromJSONTyped$a as ConnectResponseFromJSONTyped, ConnectResponseToJSON$a as ConnectResponseToJSON, ConnectResponseToJSONTyped$a as ConnectResponseToJSONTyped, type index$a_CreateRapidTestRequest as CreateRapidTestRequest, index$a_CreateRapidTestRequestFromJSON as CreateRapidTestRequestFromJSON, index$a_CreateRapidTestRequestFromJSONTyped as CreateRapidTestRequestFromJSONTyped, index$a_CreateRapidTestRequestToJSON as CreateRapidTestRequestToJSON, index$a_CreateRapidTestRequestToJSONTyped as CreateRapidTestRequestToJSONTyped, type ErrorResponse$5 as ErrorResponse, ErrorResponseFromJSON$5 as ErrorResponseFromJSON, ErrorResponseFromJSONTyped$5 as ErrorResponseFromJSONTyped, ErrorResponseToJSON$5 as ErrorResponseToJSON, ErrorResponseToJSONTyped$5 as ErrorResponseToJSONTyped, type index$a_GS1LookupResponse as GS1LookupResponse, index$a_GS1LookupResponseFromJSON as GS1LookupResponseFromJSON, index$a_GS1LookupResponseFromJSONTyped as GS1LookupResponseFromJSONTyped, index$a_GS1LookupResponseToJSON as GS1LookupResponseToJSON, index$a_GS1LookupResponseToJSONTyped as GS1LookupResponseToJSONTyped, type GS1ParsedData$1 as GS1ParsedData, GS1ParsedDataFromJSON$1 as GS1ParsedDataFromJSON, GS1ParsedDataFromJSONTyped$1 as GS1ParsedDataFromJSONTyped, GS1ParsedDataToJSON$1 as GS1ParsedDataToJSON, GS1ParsedDataToJSONTyped$1 as GS1ParsedDataToJSONTyped, type index$a_GetScanUploadUrlRequest as GetScanUploadUrlRequest, index$a_GetScanUploadUrlRequestFromJSON as GetScanUploadUrlRequestFromJSON, index$a_GetScanUploadUrlRequestFromJSONTyped as GetScanUploadUrlRequestFromJSONTyped, index$a_GetScanUploadUrlRequestToJSON as GetScanUploadUrlRequestToJSON, index$a_GetScanUploadUrlRequestToJSONTyped as GetScanUploadUrlRequestToJSONTyped, type index$a_GetTestResultResponse as GetTestResultResponse, index$a_GetTestResultResponseFromJSON as GetTestResultResponseFromJSON, index$a_GetTestResultResponseFromJSONTyped as GetTestResultResponseFromJSONTyped, index$a_GetTestResultResponseToJSON as GetTestResultResponseToJSON, index$a_GetTestResultResponseToJSONTyped as GetTestResultResponseToJSONTyped, type HTTPValidationError$a as HTTPValidationError, HTTPValidationErrorFromJSON$a as HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped$a as HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON$a as HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped$a as HTTPValidationErrorToJSONTyped, type index$a_InterpretationCode as InterpretationCode, index$a_InterpretationCodeFromJSON as InterpretationCodeFromJSON, index$a_InterpretationCodeFromJSONTyped as InterpretationCodeFromJSONTyped, index$a_InterpretationCodeToJSON as InterpretationCodeToJSON, index$a_InterpretationCodeToJSONTyped as InterpretationCodeToJSONTyped, type index$a_LabObservation as LabObservation, index$a_LabObservationFromJSON as LabObservationFromJSON, index$a_LabObservationFromJSONTyped as LabObservationFromJSONTyped, index$a_LabObservationToJSON as LabObservationToJSON, index$a_LabObservationToJSONTyped as LabObservationToJSONTyped, type index$a_ListDiagnosticsResponse as ListDiagnosticsResponse, index$a_ListDiagnosticsResponseFromJSON as ListDiagnosticsResponseFromJSON, index$a_ListDiagnosticsResponseFromJSONTyped as ListDiagnosticsResponseFromJSONTyped, index$a_ListDiagnosticsResponseToJSON as ListDiagnosticsResponseToJSON, index$a_ListDiagnosticsResponseToJSONTyped as ListDiagnosticsResponseToJSONTyped, type index$a_ObservationStatus as ObservationStatus, index$a_ObservationStatusFromJSON as ObservationStatusFromJSON, index$a_ObservationStatusFromJSONTyped as ObservationStatusFromJSONTyped, index$a_ObservationStatusToJSON as ObservationStatusToJSON, index$a_ObservationStatusToJSONTyped as ObservationStatusToJSONTyped, PoolType$8 as PoolType, PoolTypeFromJSON$8 as PoolTypeFromJSON, PoolTypeFromJSONTyped$8 as PoolTypeFromJSONTyped, PoolTypeToJSON$8 as PoolTypeToJSON, PoolTypeToJSONTyped$8 as PoolTypeToJSONTyped, type index$a_RapidTest as RapidTest, index$a_RapidTestFromJSON as RapidTestFromJSON, index$a_RapidTestFromJSONTyped as RapidTestFromJSONTyped, type index$a_RapidTestResult as RapidTestResult, index$a_RapidTestResultFromJSON as RapidTestResultFromJSON, index$a_RapidTestResultFromJSONTyped as RapidTestResultFromJSONTyped, index$a_RapidTestResultToJSON as RapidTestResultToJSON, index$a_RapidTestResultToJSONTyped as RapidTestResultToJSONTyped, index$a_RapidTestToJSON as RapidTestToJSON, index$a_RapidTestToJSONTyped as RapidTestToJSONTyped, type index$a_RapidTestType as RapidTestType, index$a_RapidTestTypeFromJSON as RapidTestTypeFromJSON, index$a_RapidTestTypeFromJSONTyped as RapidTestTypeFromJSONTyped, index$a_RapidTestTypeToJSON as RapidTestTypeToJSON, index$a_RapidTestTypeToJSONTyped as RapidTestTypeToJSONTyped, type index$a_ReferenceRange as ReferenceRange, index$a_ReferenceRangeFromJSON as ReferenceRangeFromJSON, index$a_ReferenceRangeFromJSONTyped as ReferenceRangeFromJSONTyped, index$a_ReferenceRangeToJSON as ReferenceRangeToJSON, index$a_ReferenceRangeToJSONTyped as ReferenceRangeToJSONTyped, type ResponseValidationError$a as ResponseValidationError, ResponseValidationErrorFromJSON$a as ResponseValidationErrorFromJSON, ResponseValidationErrorFromJSONTyped$a as ResponseValidationErrorFromJSONTyped, ResponseValidationErrorToJSON$a as ResponseValidationErrorToJSON, ResponseValidationErrorToJSONTyped$a as ResponseValidationErrorToJSONTyped, type index$a_ScanUploadResponse as ScanUploadResponse, index$a_ScanUploadResponseFromJSON as ScanUploadResponseFromJSON, index$a_ScanUploadResponseFromJSONTyped as ScanUploadResponseFromJSONTyped, index$a_ScanUploadResponseToJSON as ScanUploadResponseToJSON, index$a_ScanUploadResponseToJSONTyped as ScanUploadResponseToJSONTyped, type index$a_SpecimenType as SpecimenType, index$a_SpecimenTypeFromJSON as SpecimenTypeFromJSON, index$a_SpecimenTypeFromJSONTyped as SpecimenTypeFromJSONTyped, index$a_SpecimenTypeToJSON as SpecimenTypeToJSON, index$a_SpecimenTypeToJSONTyped as SpecimenTypeToJSONTyped, type ValidationError$a as ValidationError, ValidationErrorFromJSON$a as ValidationErrorFromJSON, ValidationErrorFromJSONTyped$a as ValidationErrorFromJSONTyped, type ValidationErrorLocation$a as ValidationErrorLocation, ValidationErrorLocationFromJSON$a as ValidationErrorLocationFromJSON, ValidationErrorLocationFromJSONTyped$a as ValidationErrorLocationFromJSONTyped, ValidationErrorLocationToJSON$a as ValidationErrorLocationToJSON, ValidationErrorLocationToJSONTyped$a as ValidationErrorLocationToJSONTyped, ValidationErrorToJSON$a as ValidationErrorToJSON, ValidationErrorToJSONTyped$a as ValidationErrorToJSONTyped, index$a_instanceOfCapturedTestImageResponse as instanceOfCapturedTestImageResponse, instanceOfConnectResponse$a as instanceOfConnectResponse, index$a_instanceOfCreateRapidTestRequest as instanceOfCreateRapidTestRequest, instanceOfErrorResponse$5 as instanceOfErrorResponse, index$a_instanceOfGS1LookupResponse as instanceOfGS1LookupResponse, instanceOfGS1ParsedData$1 as instanceOfGS1ParsedData, index$a_instanceOfGetScanUploadUrlRequest as instanceOfGetScanUploadUrlRequest, index$a_instanceOfGetTestResultResponse as instanceOfGetTestResultResponse, instanceOfHTTPValidationError$a as instanceOfHTTPValidationError, index$a_instanceOfInterpretationCode as instanceOfInterpretationCode, index$a_instanceOfLabObservation as instanceOfLabObservation, index$a_instanceOfListDiagnosticsResponse as instanceOfListDiagnosticsResponse, index$a_instanceOfObservationStatus as instanceOfObservationStatus, instanceOfPoolType$8 as instanceOfPoolType, index$a_instanceOfRapidTest as instanceOfRapidTest, index$a_instanceOfRapidTestResult as instanceOfRapidTestResult, index$a_instanceOfRapidTestType as instanceOfRapidTestType, index$a_instanceOfReferenceRange as instanceOfReferenceRange, instanceOfResponseValidationError$a as instanceOfResponseValidationError, index$a_instanceOfScanUploadResponse as instanceOfScanUploadResponse, index$a_instanceOfSpecimenType as instanceOfSpecimenType, instanceOfValidationError$a as instanceOfValidationError, instanceOfValidationErrorLocation$a as instanceOfValidationErrorLocation };
42381
+ export { type index$a_CapturedTestImageResponse as CapturedTestImageResponse, index$a_CapturedTestImageResponseFromJSON as CapturedTestImageResponseFromJSON, index$a_CapturedTestImageResponseFromJSONTyped as CapturedTestImageResponseFromJSONTyped, index$a_CapturedTestImageResponseToJSON as CapturedTestImageResponseToJSON, index$a_CapturedTestImageResponseToJSONTyped as CapturedTestImageResponseToJSONTyped, type ConnectResponse$a as ConnectResponse, ConnectResponseFromJSON$a as ConnectResponseFromJSON, ConnectResponseFromJSONTyped$a as ConnectResponseFromJSONTyped, ConnectResponseToJSON$a as ConnectResponseToJSON, ConnectResponseToJSONTyped$a as ConnectResponseToJSONTyped, type index$a_CreateRapidTestRequest as CreateRapidTestRequest, index$a_CreateRapidTestRequestFromJSON as CreateRapidTestRequestFromJSON, index$a_CreateRapidTestRequestFromJSONTyped as CreateRapidTestRequestFromJSONTyped, index$a_CreateRapidTestRequestToJSON as CreateRapidTestRequestToJSON, index$a_CreateRapidTestRequestToJSONTyped as CreateRapidTestRequestToJSONTyped, type index$a_CreateRapidTestResponse as CreateRapidTestResponse, type index$a_CreateRapidTestResponseAthenaStatusEnum as CreateRapidTestResponseAthenaStatusEnum, index$a_CreateRapidTestResponseFromJSON as CreateRapidTestResponseFromJSON, index$a_CreateRapidTestResponseFromJSONTyped as CreateRapidTestResponseFromJSONTyped, index$a_CreateRapidTestResponseToJSON as CreateRapidTestResponseToJSON, index$a_CreateRapidTestResponseToJSONTyped as CreateRapidTestResponseToJSONTyped, type ErrorResponse$5 as ErrorResponse, ErrorResponseFromJSON$5 as ErrorResponseFromJSON, ErrorResponseFromJSONTyped$5 as ErrorResponseFromJSONTyped, ErrorResponseToJSON$5 as ErrorResponseToJSON, ErrorResponseToJSONTyped$5 as ErrorResponseToJSONTyped, type index$a_GS1LookupResponse as GS1LookupResponse, index$a_GS1LookupResponseFromJSON as GS1LookupResponseFromJSON, index$a_GS1LookupResponseFromJSONTyped as GS1LookupResponseFromJSONTyped, index$a_GS1LookupResponseToJSON as GS1LookupResponseToJSON, index$a_GS1LookupResponseToJSONTyped as GS1LookupResponseToJSONTyped, type GS1ParsedData$1 as GS1ParsedData, GS1ParsedDataFromJSON$1 as GS1ParsedDataFromJSON, GS1ParsedDataFromJSONTyped$1 as GS1ParsedDataFromJSONTyped, GS1ParsedDataToJSON$1 as GS1ParsedDataToJSON, GS1ParsedDataToJSONTyped$1 as GS1ParsedDataToJSONTyped, type index$a_GetScanUploadUrlRequest as GetScanUploadUrlRequest, index$a_GetScanUploadUrlRequestFromJSON as GetScanUploadUrlRequestFromJSON, index$a_GetScanUploadUrlRequestFromJSONTyped as GetScanUploadUrlRequestFromJSONTyped, index$a_GetScanUploadUrlRequestToJSON as GetScanUploadUrlRequestToJSON, index$a_GetScanUploadUrlRequestToJSONTyped as GetScanUploadUrlRequestToJSONTyped, type index$a_GetTestResultResponse as GetTestResultResponse, index$a_GetTestResultResponseFromJSON as GetTestResultResponseFromJSON, index$a_GetTestResultResponseFromJSONTyped as GetTestResultResponseFromJSONTyped, index$a_GetTestResultResponseToJSON as GetTestResultResponseToJSON, index$a_GetTestResultResponseToJSONTyped as GetTestResultResponseToJSONTyped, type HTTPValidationError$a as HTTPValidationError, HTTPValidationErrorFromJSON$a as HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped$a as HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON$a as HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped$a as HTTPValidationErrorToJSONTyped, type index$a_InterpretationCode as InterpretationCode, index$a_InterpretationCodeFromJSON as InterpretationCodeFromJSON, index$a_InterpretationCodeFromJSONTyped as InterpretationCodeFromJSONTyped, index$a_InterpretationCodeToJSON as InterpretationCodeToJSON, index$a_InterpretationCodeToJSONTyped as InterpretationCodeToJSONTyped, type index$a_LabObservation as LabObservation, index$a_LabObservationFromJSON as LabObservationFromJSON, index$a_LabObservationFromJSONTyped as LabObservationFromJSONTyped, index$a_LabObservationToJSON as LabObservationToJSON, index$a_LabObservationToJSONTyped as LabObservationToJSONTyped, type index$a_ListDiagnosticsResponse as ListDiagnosticsResponse, index$a_ListDiagnosticsResponseFromJSON as ListDiagnosticsResponseFromJSON, index$a_ListDiagnosticsResponseFromJSONTyped as ListDiagnosticsResponseFromJSONTyped, index$a_ListDiagnosticsResponseToJSON as ListDiagnosticsResponseToJSON, index$a_ListDiagnosticsResponseToJSONTyped as ListDiagnosticsResponseToJSONTyped, type index$a_ObservationStatus as ObservationStatus, index$a_ObservationStatusFromJSON as ObservationStatusFromJSON, index$a_ObservationStatusFromJSONTyped as ObservationStatusFromJSONTyped, index$a_ObservationStatusToJSON as ObservationStatusToJSON, index$a_ObservationStatusToJSONTyped as ObservationStatusToJSONTyped, PoolType$8 as PoolType, PoolTypeFromJSON$8 as PoolTypeFromJSON, PoolTypeFromJSONTyped$8 as PoolTypeFromJSONTyped, PoolTypeToJSON$8 as PoolTypeToJSON, PoolTypeToJSONTyped$8 as PoolTypeToJSONTyped, type index$a_RapidTestResult as RapidTestResult, index$a_RapidTestResultFromJSON as RapidTestResultFromJSON, index$a_RapidTestResultFromJSONTyped as RapidTestResultFromJSONTyped, index$a_RapidTestResultToJSON as RapidTestResultToJSON, index$a_RapidTestResultToJSONTyped as RapidTestResultToJSONTyped, type index$a_RapidTestType as RapidTestType, index$a_RapidTestTypeFromJSON as RapidTestTypeFromJSON, index$a_RapidTestTypeFromJSONTyped as RapidTestTypeFromJSONTyped, index$a_RapidTestTypeToJSON as RapidTestTypeToJSON, index$a_RapidTestTypeToJSONTyped as RapidTestTypeToJSONTyped, type index$a_ReferenceRange as ReferenceRange, index$a_ReferenceRangeFromJSON as ReferenceRangeFromJSON, index$a_ReferenceRangeFromJSONTyped as ReferenceRangeFromJSONTyped, index$a_ReferenceRangeToJSON as ReferenceRangeToJSON, index$a_ReferenceRangeToJSONTyped as ReferenceRangeToJSONTyped, type ResponseValidationError$a as ResponseValidationError, ResponseValidationErrorFromJSON$a as ResponseValidationErrorFromJSON, ResponseValidationErrorFromJSONTyped$a as ResponseValidationErrorFromJSONTyped, ResponseValidationErrorToJSON$a as ResponseValidationErrorToJSON, ResponseValidationErrorToJSONTyped$a as ResponseValidationErrorToJSONTyped, type index$a_ScanUploadResponse as ScanUploadResponse, index$a_ScanUploadResponseFromJSON as ScanUploadResponseFromJSON, index$a_ScanUploadResponseFromJSONTyped as ScanUploadResponseFromJSONTyped, index$a_ScanUploadResponseToJSON as ScanUploadResponseToJSON, index$a_ScanUploadResponseToJSONTyped as ScanUploadResponseToJSONTyped, type index$a_SpecimenType as SpecimenType, index$a_SpecimenTypeFromJSON as SpecimenTypeFromJSON, index$a_SpecimenTypeFromJSONTyped as SpecimenTypeFromJSONTyped, index$a_SpecimenTypeToJSON as SpecimenTypeToJSON, index$a_SpecimenTypeToJSONTyped as SpecimenTypeToJSONTyped, type ValidationError$a as ValidationError, ValidationErrorFromJSON$a as ValidationErrorFromJSON, ValidationErrorFromJSONTyped$a as ValidationErrorFromJSONTyped, type ValidationErrorLocation$a as ValidationErrorLocation, ValidationErrorLocationFromJSON$a as ValidationErrorLocationFromJSON, ValidationErrorLocationFromJSONTyped$a as ValidationErrorLocationFromJSONTyped, ValidationErrorLocationToJSON$a as ValidationErrorLocationToJSON, ValidationErrorLocationToJSONTyped$a as ValidationErrorLocationToJSONTyped, ValidationErrorToJSON$a as ValidationErrorToJSON, ValidationErrorToJSONTyped$a as ValidationErrorToJSONTyped, index$a_instanceOfCapturedTestImageResponse as instanceOfCapturedTestImageResponse, instanceOfConnectResponse$a as instanceOfConnectResponse, index$a_instanceOfCreateRapidTestRequest as instanceOfCreateRapidTestRequest, index$a_instanceOfCreateRapidTestResponse as instanceOfCreateRapidTestResponse, instanceOfErrorResponse$5 as instanceOfErrorResponse, index$a_instanceOfGS1LookupResponse as instanceOfGS1LookupResponse, instanceOfGS1ParsedData$1 as instanceOfGS1ParsedData, index$a_instanceOfGetScanUploadUrlRequest as instanceOfGetScanUploadUrlRequest, index$a_instanceOfGetTestResultResponse as instanceOfGetTestResultResponse, instanceOfHTTPValidationError$a as instanceOfHTTPValidationError, index$a_instanceOfInterpretationCode as instanceOfInterpretationCode, index$a_instanceOfLabObservation as instanceOfLabObservation, index$a_instanceOfListDiagnosticsResponse as instanceOfListDiagnosticsResponse, index$a_instanceOfObservationStatus as instanceOfObservationStatus, instanceOfPoolType$8 as instanceOfPoolType, index$a_instanceOfRapidTestResult as instanceOfRapidTestResult, index$a_instanceOfRapidTestType as instanceOfRapidTestType, index$a_instanceOfReferenceRange as instanceOfReferenceRange, instanceOfResponseValidationError$a as instanceOfResponseValidationError, index$a_instanceOfScanUploadResponse as instanceOfScanUploadResponse, index$a_instanceOfSpecimenType as instanceOfSpecimenType, instanceOfValidationError$a as instanceOfValidationError, instanceOfValidationErrorLocation$a as instanceOfValidationErrorLocation };
42317
42382
  }
42318
42383
 
42319
42384
  /**
package/dist/index.js CHANGED
@@ -424,7 +424,9 @@ function CreateRapidTestRequestToJSONTyped(value, ignoreDiscriminator = false) {
424
424
  }
425
425
  return {
426
426
  "administered_date": value["administered_date"],
427
+ "athena_encounter_id": value["athena_encounter_id"],
427
428
  "device_name": value["device_name"],
429
+ "encounter_id": value["encounter_id"],
428
430
  "lot_number": value["lot_number"],
429
431
  "notes": value["notes"],
430
432
  "performed_date": value["performed_date"] == null ? value["performed_date"] : value["performed_date"].toISOString().substring(0, 10),
@@ -432,6 +434,7 @@ function CreateRapidTestRequestToJSONTyped(value, ignoreDiscriminator = false) {
432
434
  "quantitative_unit": value["quantitative_unit"],
433
435
  "quantitative_value": value["quantitative_value"],
434
436
  "result": RapidTestResultToJSON(value["result"]),
437
+ "scan_storage_key": value["scan_storage_key"],
435
438
  "specimen_type": SpecimenTypeToJSON(value["specimen_type"]),
436
439
  "type": RapidTestTypeToJSON(value["type"])
437
440
  };
@@ -447,6 +450,7 @@ function GetScanUploadUrlRequestToJSONTyped(value, ignoreDiscriminator = false)
447
450
  }
448
451
  return {
449
452
  "content_type": value["content_type"],
453
+ "encounter_id": value["encounter_id"],
450
454
  "filename": value["filename"],
451
455
  "gtin": value["gtin"],
452
456
  "test_id": value["test_id"]
@@ -1,5 +1,5 @@
1
1
  {
2
- "docsDataContentDigest": "sha256:65253ce7594dae1592abe0d6882026acc16d9d091cb456e74174f0cd5cfdd2d9",
2
+ "docsDataContentDigest": "sha256:5d74f0b1a206538b96a03face38ec1eb1eec3b1a484efb0ddd6db17acec140d1",
3
3
  "generatedFiles": [
4
4
  "authentication.md",
5
5
  "clients/AmsClient.md",
@@ -438,7 +438,9 @@
438
438
  "models/ChatMessageRecord.md",
439
439
  "models/CheckEligibilityRequest.md",
440
440
  "models/CheckEncounterRequest.md",
441
+ "models/CheckEncounterResponse.md",
441
442
  "models/CheckInEncounterRequest.md",
443
+ "models/CheckInEncounterResponse.md",
442
444
  "models/CmsGetCountyFipsRequest.md",
443
445
  "models/CmsSearchHealthPlansRequest.md",
444
446
  "models/CmsSearchHealthPlansResponse.md",
@@ -495,6 +497,7 @@
495
497
  "models/CreateQuestionnaireResponseRequest.md",
496
498
  "models/CreateQuestionnaireResponseResponse.md",
497
499
  "models/CreateRapidTestRequest.md",
500
+ "models/CreateRapidTestResponse.md",
498
501
  "models/CreateSlotRequest.md",
499
502
  "models/CreateSummaryResponse.md",
500
503
  "models/CypherQueryResponse.md",
@@ -577,6 +580,7 @@
577
580
  "models/GetAgentAgentResponse.md",
578
581
  "models/GetAgentConfigurationAgentconfigurationResponse.md",
579
582
  "models/GetAgentPhotoResponse.md",
583
+ "models/GetAppointmentTelehealthLinkResponse.md",
580
584
  "models/GetCheckinCheckinResponse.md",
581
585
  "models/GetCurrentCareSessionCareSessionsCurrentResponse.md",
582
586
  "models/GetDiagnosticAnalyteResponse.md",
@@ -1420,7 +1424,6 @@
1420
1424
  "models/QuestionnaireResponse.md",
1421
1425
  "models/QuestionnaireResponseStatus.md",
1422
1426
  "models/Race.md",
1423
- "models/RapidTest.md",
1424
1427
  "models/RapidTestResult.md",
1425
1428
  "models/RapidTestType.md",
1426
1429
  "models/ReactionSeverity.md",
@@ -3058,7 +3061,7 @@
3058
3061
  "operations/vitals.recordVitals.md"
3059
3062
  ],
3060
3063
  "language": "nodejs",
3061
- "modelCount": 1988,
3064
+ "modelCount": 1991,
3062
3065
  "operationCount": 1013,
3063
3066
  "schemaVersion": 1
3064
3067
  }
@@ -16,6 +16,7 @@ Type: `object`
16
16
  | `payer_name` | `string` | Yes | | | | No | Display name of the insurance payer/carrier. |
17
17
  | `priority` | [`InsurancePriority`](./InsurancePriority.md) | No | | | | No | Coordination-of-benefits order. Defaults to `primary` when omitted. |
18
18
  | `relationship` | [`SubscriberRelationship`](./SubscriberRelationship.md) | No | | | | No | Patient's relationship to the subscriber. Defaults to `self` when omitted. |
19
+ | `state` | `string|null` | No | | | | Yes | Optional two-letter state hint used when matching the insurance plan with a vendor. |
19
20
 
20
21
  ## Example
21
22
 
@@ -0,0 +1,36 @@
1
+ # CheckEncounterResponse
2
+
3
+ Model ID: `CheckEncounterResponse`
4
+
5
+ Result of resolving a patient's current walk-in encounter.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `athena_appointment_id` | `string|null` | No | | | | Yes | |
14
+ | `athena_encounter_error` | `string|null` | No | | | | Yes | |
15
+ | `athena_encounter_id` | `string|null` | No | | | | Yes | |
16
+ | `athena_encounter_status` | `string` | Yes | | | | No | |
17
+ | `athena_insurance_error` | `string|null` | No | | | | Yes | |
18
+ | `athena_insurance_status` | `string|null` | No | | | | Yes | |
19
+ | `athena_patient_id` | `string|null` | No | | | | Yes | |
20
+ | `created` | `boolean` | Yes | | | | No | |
21
+ | `encounter` | [`patient.Encounter`](./patient.Encounter.md) | Yes | | | | No | |
22
+ | `notes_athena_sections` | `object|null` | No | | | | Yes | |
23
+ | `notes_fhir_error` | `string|null` | No | | | | Yes | |
24
+ | `notes_fhir_status` | `string|null` | No | | | | Yes | |
25
+ | `openloop_appointment_id` | `string|null` | No | | | | Yes | |
26
+ | `openloop_encounter_error` | `string|null` | No | | | | Yes | |
27
+ | `openloop_encounter_id` | `string|null` | No | | | | Yes | |
28
+ | `openloop_encounter_status` | `string` | Yes | | | | No | |
29
+ | `steadymd_consult_guid` | `string|null` | No | | | | Yes | |
30
+ | `steadymd_encounter_error` | `string|null` | No | | | | Yes | |
31
+ | `steadymd_encounter_status` | `string` | Yes | | | | No | |
32
+ | `steadymd_episode_guid` | `string|null` | No | | | | Yes | |
33
+
34
+ ## Example
35
+
36
+ None declared in canonical OpenAPI.