Search found 42 matches

by graham_mueller
Sat Jan 04, 2025 9:17 am
Forum: API
Topic: Statement generation for patient
Replies: 9
Views: 17863

Re: Statement generation for patient

Hi all,

I'd like to tag a +1 on statement generation; I would like to, given a patient id, generate and send a statement like the statement window email button. The GET endpoints right now seem to offer only a "fetch existing" statements function, but we're looking for a way to automate sending.
by graham_mueller
Thu Dec 19, 2024 10:38 am
Forum: API
Topic: Request: [POST] Audit Trail
Replies: 10
Views: 20022

Re: Request: [POST] Audit Trail

Hello, just wanted to bump a need for some additional context again. We had a situation today where a procedure was booked via our application as a new patient, but for a two year old. We explicitly disallow child sign up right now, so there was concern at the clinic as to how this happened. Unfortu...
by graham_mueller
Mon Dec 02, 2024 6:57 pm
Forum: API
Topic: Method to Retrieve OD Version
Replies: 2
Views: 1610

Re: Method to Retrieve OD Version

Ah, it looks like there's a "preference" for this based on this thread. I'll use that for now, although including it in the status endpoint could still be useful.
by graham_mueller
Mon Dec 02, 2024 6:16 pm
Forum: API
Topic: Method to Retrieve OD Version
Replies: 2
Views: 1610

Method to Retrieve OD Version

Hello all, as mentioned in a previous thread , I've reached the point where some of my clients have migrated to version 24 while some remain on version 23, breaking my queries. Given there is no halfway step, I need to maintain two separate queries based on which version clients are running, but I d...
by graham_mueller
Thu Oct 31, 2024 5:18 pm
Forum: API
Topic: Are ProcedureLogs Archived?
Replies: 1
Views: 5178

Re: Are ProcedureLogs Archived?

Followed up with support; ProcedureLogs are not archived, but the clinics I'm working with didn't associate them with Appointments prior to 2019, so I have to tie up another way, likely just by date.
by graham_mueller
Mon Oct 28, 2024 7:51 am
Forum: API
Topic: Are ProcedureLogs Archived?
Replies: 1
Views: 5178

Are ProcedureLogs Archived?

This is sort of a follow on to this topic regarding billing . In another portion of our software, we're trying to do some patient balance work, which had been using ProcedureLog as the source for "ProcFee," but it appears that after ~5 years, this data no longer exists? A simplified version of my qu...
by graham_mueller
Tue Oct 15, 2024 11:14 am
Forum: API
Topic: Can't search for "Carole"
Replies: 5
Views: 9873

Re: Can't search for "Carole"

Heck, I can run that query with just the word CREATE, DROP, or SET and it works. It only fails with ROLE.
by graham_mueller
Tue Oct 15, 2024 11:06 am
Forum: API
Topic: Can't search for "Carole"
Replies: 5
Views: 9873

Re: Can't search for "Carole"

I understand the limitations of your query API, but if you're going to search for the text "role," could you at least make it "freestanding," prefixed by a non-word character or something sane to prevent this sort of failure? This behavior is different for (eg) SET, searching for a patient named Set...
by graham_mueller
Tue Oct 15, 2024 9:48 am
Forum: API
Topic: Can't search for "Carole"
Replies: 5
Views: 9873

Can't search for "Carole"

A weird, random thing we ran into today. A user searched for a patient named Carole... Query cannot contain "ROLE" I thought surely I must have made a mistake somewhere and that it wasn't that, but searching "Caole" (or something real, like John) works fine. This is from a call to the ShortQuery end...
by graham_mueller
Thu Aug 29, 2024 7:29 pm
Forum: API
Topic: Planned Procedure Status
Replies: 9
Views: 21371

Re: Planned Procedure Status

Unfortunately as you may have gathered from my trying to piece together tables above... no API for what I'm trying to do here, currently working via ShortQuery bandaids that will break on update. Would be happy to see a GET Appointments/Planned or etc, though. That and TreatPlans that provide the sa...
by graham_mueller
Thu Aug 29, 2024 9:58 am
Forum: API
Topic: Planned Procedure Status
Replies: 9
Views: 21371

Re: Planned Procedure Status

Ok, so to clarify, it isn't being deprecated in version 24.2, it's just going to be removed at that point. Not sure if you're in a position to ask this of the dev team, but it would be useful if the planned table could be maintained for an additional version when the new field is added so that I can...
by graham_mueller
Thu Aug 29, 2024 8:01 am
Forum: API
Topic: Planned Procedure Status
Replies: 9
Views: 21371

Re: Planned Procedure Status

Hi Justine, Could you confirm that my understanding of the NextAptNum link is correct? You can determine that a PlannedAppt is complete by looking for a Appointment that has a NextAptNum that's the AptNum in the PlannedApt table? If you're deprecating it in 24.2, I would expect that to mean it conti...
by graham_mueller
Wed Aug 28, 2024 8:14 pm
Forum: API
Topic: Planned Procedure Status
Replies: 9
Views: 21371

Re: Planned Procedure Status

If I'm understanding you (and the data I'm seeing), it appears that the appointments that are linked to the PlannedAppointments do not ever have a NextAptNum, but there are appointments that are linked to *those* appointments via the NextAptNum. So if PlannedAppointment has Appointment 1 linked to i...
by graham_mueller
Wed Aug 28, 2024 8:11 am
Forum: API
Topic: Planned Procedure Status
Replies: 9
Views: 21371

Planned Procedure Status

Hello, Trying to understand Planned Procedures now as well. I have a patient that has six items in the Planned Appointment view. Four of the six are "complete" in the OD UI. What is used to mark this? The PlannedAppt table has four columns, I initially expected that AptNum would be empty for incompl...
by graham_mueller
Tue Aug 27, 2024 5:36 pm
Forum: API
Topic: Billing Estimate Endpoints
Replies: 8
Views: 20357

Re: Billing Estimate Endpoints

You can see our DB Schema for the difference between ProcedureLog.ProcFee and ClaimProc.BaseEst. ProcedureLog.ProcFee: Procedure fee. ClaimProc.BaseEst: Always has a value. Used in TP, etc. The base estimate is the ((fee or allowedOverride)-Copay) x (percentage or percentOverride). Does not include...
by graham_mueller
Sun Aug 25, 2024 5:05 pm
Forum: API
Topic: Billing Estimate Endpoints
Replies: 8
Views: 20357

Re: Billing Estimate Endpoints

Procedure.ProcFee - Claimproc.InsEstTotalOverride or Claimproc.BaseEst for Primary Insurance - Claimproc.InsEstTotalOverride or Claimproc.BaseEst for Secondary Insurance - Claimproc.WriteOffEstOverride or Claimproc.WriteOffEst - Procedure.Discount + Procedure.TaxAmt = Patient Portion Comparing to w...
by graham_mueller
Sat Aug 24, 2024 10:11 am
Forum: API
Topic: Billing Estimate Endpoints
Replies: 8
Views: 20357

Re: Billing Estimate Endpoints

Ok, spend a bit more time this morning. From the API docs, it appears ProcTP is only for *saved* / inactive plans, which is why I can't see them for the patient I'm looking at. Is there a way for *active* plans to see the cost information from my screenshot? I've not been able to find an endpoint th...
by graham_mueller
Sat Aug 24, 2024 10:09 am
Forum: API
Topic: Request: [POST] Audit Trail
Replies: 10
Views: 20022

Re: Request: [POST] Audit Trail

Unfortunately the group that told me that the Break didn't log was apparently mistaken, I've tried now and see the same. I looked at the security log table now, and it is what I thought, just a message and a patient link more or less. Their initial complaint was the lack of detail in the messages. I...
by graham_mueller
Fri Aug 23, 2024 10:54 pm
Forum: API
Topic: Billing Estimate Endpoints
Replies: 8
Views: 20357

Re: Billing Estimate Endpoints

Hi Justine, What you've linked sounds like what I'm looking for, but the instance I'm looking at doesn't seem to align with that. I have a test patient that I've been using as an example, and in the Tx Plan tab of open dental, I can see both a series of groupings by priority, the individual procedur...
by graham_mueller
Wed Aug 21, 2024 4:40 pm
Forum: API
Topic: Billing Estimate Endpoints
Replies: 8
Views: 20357

Billing Estimate Endpoints

Hello, We're working on a feature to allow patient to schedule treatment based on what providers have entered in their transaction plan region. I'm not sure if this is displayed via plugin, seems like it's a built in feature - the treatment plan shows a base Fee amount, which is list price, as well ...
by graham_mueller
Wed Aug 21, 2024 4:34 pm
Forum: API
Topic: Request: [POST] Audit Trail
Replies: 10
Views: 20022

Re: Request: [POST] Audit Trail

Hi Justine, Back to ask about this again - as a third party, it would still be great for us to be able to write more detailed / specific audit entries to the audit trail. Haven't looked a bit more into what is being logged, it seems that what OD reports isn't super detailed in some cases and we'd pr...
by graham_mueller
Wed Aug 14, 2024 1:04 pm
Forum: API
Topic: Status URL
Replies: 4
Views: 8661

Re: Status URL

Great, thanks Justine. Things do seem to be resolved on our end as well.
by graham_mueller
Wed Aug 14, 2024 11:55 am
Forum: API
Topic: Status URL
Replies: 4
Views: 8661

Re: Status URL

Thanks for the update Justine. If possible while working on that status page, could a status endpoint be added so that we can check this sort of thing programmatically as well?
by graham_mueller
Wed Aug 14, 2024 11:43 am
Forum: API
Topic: Status URL
Replies: 4
Views: 8661

Status URL

Is there an endpoint we can hit to check the Open Dental API status? We're currently seeing a major slowdown seemingly across all of our clinics, and the hang up seems to be at the API layer, but I can't find anywhere to check status.
by graham_mueller
Fri Jun 28, 2024 7:55 am
Forum: API
Topic: Request: [POST] Audit Trail
Replies: 10
Views: 20022

Re: Request: [POST] Audit Trail

Hi Justine,

Could *some* sort of audit mechanism be exposed? It would be useful as a 3rd party to be able to say "here's a snapshot of an action we took" as well.
by graham_mueller
Thu Jun 27, 2024 7:30 pm
Forum: API
Topic: Request: [POST] Audit Trail
Replies: 10
Views: 20022

Request: [POST] Audit Trail

There currently exists an endpoint called SecurityLogs that I am able to read from. I would like to be able to write audit items to the system as well. Is this something that could be added?
by graham_mueller
Thu Jun 20, 2024 5:39 pm
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Re: Union query being treated as "not read-only"

Unfortunately after playing a bit more with my query, I've realized that I actually can't work around this for the query that I'm hoping to use, which is effectively as follows. ( select ... from commlog cl join patient p on cl.PatNum = p.PatNum where cl.Mode_ = 5 and cl.CommLogNum in (a set of ids)...
by graham_mueller
Thu Jun 20, 2024 4:28 pm
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Re: Union query being treated as "not read-only"

You are correct that this problem is perhaps not limited to union, and in fact running even a single (select 1) statement in the parentheses has the same behavior. I could retitle to "parenthetical query being treated as not read-only" if you'd prefer. There's evidently some difference between runni...
by graham_mueller
Thu Jun 20, 2024 2:00 pm
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Re: Union query being treated as "not read-only"

I don't really understand your reply; it looks like you got a different error based on a lack of permission? I'm attaching my query window, minus the actual rows since they're patient info. I'm running against an instance OD version 23.2.52.0 for this particular query.
by graham_mueller
Thu Jun 20, 2024 8:05 am
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Re: Union query being treated as "not read-only"

Whoops, sorry - thought I had posted to API. The error I see does not occur when I post in the query interface in the Open Dental client. Here's a more specific example you could test with. (select * from patient where PatNum = 1) union all (select * from patient where PatNum = 2) This returns the r...
by graham_mueller
Wed Jun 19, 2024 2:47 pm
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Re: Union query being treated as "not read-only"

A further example, the analyzer considers this a valid read-only statement.

Code: Select all

select foo from table
union all
(select bar from table)
limit 10
offset 0
by graham_mueller
Wed Jun 19, 2024 2:41 pm
Forum: API
Topic: Union query being treated as "not read-only"
Replies: 9
Views: 9830

Union query being treated as "not read-only"

I'm making a request to the ShortQuery endpoint that contains a union, which is surrounded by parentheses to add a limit at the end, ala (select foo from table) union all (select bar from table) limit 10 offset 0 The API returns the message "Query command must either be read-only or execute on a tem...
by graham_mueller
Mon Apr 01, 2024 5:39 pm
Forum: API
Topic: Missing [Delete] /Documents
Replies: 4
Views: 9490

Re: Missing [Delete] /Documents

With regard to "break," I just meant delete. Apparently this language is only used in the API for appointments, and perhaps has a different connotation than I realized. We're just looking for a mechanism to either replace an existing document with a new version, or delete an old document and then ad...
by graham_mueller
Sat Mar 30, 2024 10:56 am
Forum: API
Topic: Missing [Delete] /Documents
Replies: 4
Views: 9490

Missing [Delete] /Documents

It appears the documents api does not support updating, "breaking," or deleting documents. Am I missing an option for this? Could this be added otherwise? I'm also unable to do so via the ShortQuery API, I hadn't realized this was readonly.
by graham_mueller
Mon Mar 04, 2024 8:11 pm
Forum: API
Topic: ECONNRESET when attempting PUT ShortQuery with Offset
Replies: 4
Views: 4393

Re: ECONNRESET when attempting PUT ShortQuery with Offset

Since our backend is using Node.js, and our OD calls are made using Axios, I found this StackOverflow post that was able to solve the problem, so perhaps not an issue here at all.
by graham_mueller
Mon Mar 04, 2024 3:01 pm
Forum: API
Topic: ECONNRESET when attempting PUT ShortQuery with Offset
Replies: 4
Views: 4393

Re: ECONNRESET when attempting PUT ShortQuery with Offset

Hi Justine, These are "short" queries, I'm not getting a timeout - the API is resetting my connection. The appointment endpoint doesn't provide the data I need, or rather doesn't provide the filter controls I needed. We discussed this is another thread about Appointment Slots. The issue isn't the qu...
by graham_mueller
Mon Mar 04, 2024 2:16 pm
Forum: API
Topic: ECONNRESET when attempting PUT ShortQuery with Offset
Replies: 4
Views: 4393

ECONNRESET when attempting PUT ShortQuery with Offset

I started to try to loop through result sets today, because one query is getting a set of appointments with length > 100. When I make a second request with Offset=100, the OD API server seems to be killing my connection each time. I'm hitting [PUT] https://api.opendental.com/api/v1/queries/ShortQuer...
by graham_mueller
Tue Feb 20, 2024 5:58 pm
Forum: API
Topic: "Duration" of X and / setting
Replies: 3
Views: 3850

"Duration" of X and / setting

In the desktop client, you can specify whether the system displays in 5/10/15 minute intervals. Is this setting exposed via the API? I'm not sure what name to search, and I haven't been able to find something that seems appropriately named. ETA: Specifically, in the Open Dental desktop application, ...
by graham_mueller
Fri Jan 19, 2024 11:41 pm
Forum: API
Topic: Appointment Slots (proposal for API)
Replies: 9
Views: 10341

Re: Appointment Slots (proposal for API)

works almost identically to the standard appointment search found within Open Dental. Perhaps I was unclear with what I meant here, I expected this to be the case and it was not. I was not getting similar results; when I would search via the OD UI, I was presented with many more options for the sam...
by graham_mueller
Fri Jan 19, 2024 11:28 pm
Forum: API
Topic: Referrals API Update
Replies: 4
Views: 8928

Re: Referrals API Update

Which fields would you like to filter the results by? For my specific scenario, I would like to filter by the preferred field that doesn’t currently exist. The non human would make a possible alternative, but more generally on all the endpoints, having the ability to filter by any of the keys that ...
by graham_mueller
Fri Jan 19, 2024 11:31 am
Forum: API
Topic: Appointment Slots (proposal for API)
Replies: 9
Views: 10341

Re: Appointment Slots (proposal for API)

I'm interested in what the intended use of the Slots API is. My expectation is that it would provide me with *all* slots that fit a certain set of criteria (eg operatory + appt length in the simplest case), but it instead only appears to return one slot per day, and doesn't line up with what the sch...
by graham_mueller
Fri Jan 19, 2024 11:15 am
Forum: API
Topic: Referrals API Update
Replies: 4
Views: 8928

Referrals API Update

Hi all, New to the forums, going to bundle a couple things here under a primary question. Let me know if you prefer things broken up. The gist of my goal here is, I'm hoping to surface referral options to users as they book appointments. The clinic I'm working with has many referrals set up; I want ...