List all notification subscriptions
Return type
[Notificationquery notificationSubscriptions {
notificationSubscriptions {
type
id
endpoint
}
}
{ "data": [ { "type": "HTTPS", "id": "Example String", "endpoint": "Example String" } ] }
Find doctors by searching for searchString across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL, or by finding doctors with fields matching the fields specified in match
Arguments
Value to search for across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL
Input fields to compare against doctor fields to determine a match
Used to get the next page of search results
Return type
Doctorquery doctors(
$searchString: String
$match: DoctorMatchInput
$cursor: String
) {
doctors(
searchString: $searchString
match: $match
cursor: $cursor
) {
nodes {
id
doctorName
practiceName
address
city
state
zipCode
}
pageInfo {
endCursor
hasNextPage
}
totalCount
}
}
{ "searchString": "Example String", "match": { "doctorName": "Example String", "practiceName": "Example String", "phoneNumber": "Example String", "faxNumber": "Example String", "email": "Example String", "address": "Example String", "address2": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String", "url": "Example String" }, "cursor": "Example String" }
{ "data": { "nodes": [ { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }
List all mapped products and their possible parameter values
Arguments
Filters list for products that come after the specified cursor
Limits list to only those products extracted from the prescription file
Return type
ContactNodes for this page
Details to enable pagination
Total item count for this query or subquery
query products($after: String, $prescription: PrescriptionInput) {
products(after: $after, prescription: $prescription) {
nodes {
productId
manufacturer
brand
sphere
diameter
baseCurve
axis
cylinder
addition
dominance
color
}
pageInfo {
endCursor
hasNextPage
}
totalCount
}
}
{ "after": "Example String", "prescription": { "fileId": "Example String" } }
{ "data": { "nodes": [ { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ] } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }
Get a product and its possible parameter values
Arguments
The product ID of the product to retrieve
Return type
ContactID that uniquely maps to a manufacturer, brand, and model combination
Manufacturer name
Brand name
Possible sphere values
Possible diameter values
Possible baseCurve values
Possible axis values
Possible cylinder values
Possible addition values
Possible dominance values
Possible color values
query product($productId: String!) {
product(productId: $productId) {
productId
manufacturer
brand
sphere
diameter
baseCurve
axis
cylinder
addition
dominance
color
}
}
{ "productId": "Example String" }
{ "data": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ] } }
Use contactsVerificationJob.
Get a contact prescription verification request by its requestId
Arguments
Return type
ContactUnique ID for this request
Current request status
Prescription expiration date if it is available
Comments entered by Doctor and/or Visibly
Last date and time this request was updated
query contactPrescriptionVerificationRequest($requestId: String) {
contactPrescriptionVerificationRequest(requestId: $requestId) {
id
status
expirationDate
comments
updatedAt
}
}
{ "requestId": "Example String" }
{ "data": { "id": "Example String", "status": "NEW", "expirationDate": "Example String", "comments": "Example String", "updatedAt": "Example String" } }
Get a contact prescription verification job by its jobId
Arguments
Return type
ContactUnique ID for this job
Current job status
Current job reason, if applicable
Notes entered by Doctor and/or Visibly
Prescription issue date, if available
Prescription expiration date, if available
Prescriptions pertinent to the ordered products (inclusive of changes required)
List of tags used to correlate this workflow with other systems
Last date and time this job was updated
query contactPrescriptionVerificationJob($jobId: String) {
contactPrescriptionVerificationJob(jobId: $jobId) {
jobId
status
reason
notes
issueDate
expirationDate
prescriptions {
__typename
# ...ContactPrescriptionFragment
}
tags {
__typename
# ...TagFragment
}
updatedAt
}
}
{ "jobId": "Example String" }
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "notes": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "prescriptions": [ { "__typename": "ContactPrescription" } ], "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" } }
Get a contacts products suggestion job by its jobId
Arguments
Return type
ContactsUnique ID for this job
Current job status
Current job reason, if applicable
Notes entered by Doctor and/or Visibly
Contacts details
List of tags used to correlate this workflow with other systems
Last date and time this job was updated
query contactsSuggestionJob($jobId: String) {
contactsSuggestionJob(jobId: $jobId) {
jobId
status
reason
notes
contacts {
__typename
# ...ContactsFragment
}
tags {
__typename
# ...TagFragment
}
updatedAt
}
}
{ "jobId": "Example String" }
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "notes": "Example String", "contacts": { "__typename": "Contacts" }, "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" } }
Get a contacts prescription verification job by its jobId
Arguments
Return type
ContactsUnique ID for this job
Current job status
Current job reason, if applicable
Notes entered by Doctor and/or Visibly
Contacts details
List of tags used to correlate this workflow with other systems
Last date and time this job was updated
query contactsVerificationJob($jobId: String) {
contactsVerificationJob(jobId: $jobId) {
jobId
status
reason
notes
contacts {
__typename
# ...ContactsFragment
}
tags {
__typename
# ...TagFragment
}
updatedAt
}
}
{ "jobId": "Example String" }
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "notes": "Example String", "contacts": { "__typename": "Contacts" }, "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" } }
Get prescription renewal information by workflowId
Arguments
Return type
PrescriptionWorkflow ID associated with this prescription renewal
Current status
Current reason, if applicable
Prescription issue date, if available
Prescription expiration date, if available
Prescriptions pertinent to the ordered products (inclusive of changes required)
List of tags used to correlate this renewal with other systems
Last date and time this renewal was updated
query prescriptionRenewal($workflowId: String) {
prescriptionRenewal(workflowId: $workflowId) {
workflowId
status
reason
issueDate
expirationDate
prescriptions {
__typename
# ...ContactPrescriptionFragment
}
tags {
__typename
# ...TagFragment
}
updatedAt
}
}
{ "workflowId": "Example String" }
{ "data": { "workflowId": "Example String", "status": "Example String", "reason": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "prescriptions": [ { "__typename": "ContactPrescription" } ], "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" } }