v1

latestOpenAPI 3.0.0Apache 2.02026-07-246175132.0 KB
Deltas

Submit Deltas Query

post/deltas

Request body

encounter_datestring

Encounter Date for the query used to get SureScripts data

encounter_typestring

Encounter Type for the query used to get SureScripts data

hintsstring[]

Postal codes hinting at the believed location of records.

particle_patient_idstring required

The particle patient id that corresponds to the patient that the query is meant to be run against.

purpose_of_usestring required

The purpose of use for which this request is being made.

specialtiesstring[]

The list of specialty searches requested for this patient

Example request

{
  "encounter_date": "2020-01-17",
  "encounter_type": "AMBULATORY",
  "hints": [
    "11111"
  ],
  "particle_patient_id": "ea2dc498-9a4c-4937-b6ce-75fdc49e4830",
  "purpose_of_use": "TREATMENT",
  "specialties": [
    "ONCOLOGY"
  ]
}

Response

OK

external_patient_idstring required

The external patient id of the patient.

hintsstring[]

Postal codes hinting at the believed location of records.

particle_patient_idstring required

The particle patient id that corresponds to the patient that the query is meant to be run against.

purpose_of_usestring required

The purpose of use for which this request is being made.

query_idstring required

The unique ID of the query that was initiated.

specialtiesstring[]

The list of specialty searches requested for this patient

Example response

{
  "external_patient_id": "123456",
  "hints": [
    "11111"
  ],
  "particle_patient_id": "ac82d365-97f9-4111-92fa-3a2b92744b12",
  "purpose_of_use": "TREATMENT",
  "query_id": "5f3ddefa-30b1-412d-a011-9386b48608cc",
  "specialties": [
    "ONCOLOGY"
  ]
}