@rinse-dental/open-dental 2.4.3 → 2.4.4
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.
|
@@ -17,7 +17,7 @@ function appointmentToVisit(apt) {
|
|
|
17
17
|
}
|
|
18
18
|
const duration = (apt.Pattern?.length || 0) * 5;
|
|
19
19
|
const location = 'NF6YVFAXyRVXGi5nItqV';
|
|
20
|
-
const display_ProvNum = apt.IsHygiene ? apt.ProvHyg : apt.ProvNum;
|
|
20
|
+
const display_ProvNum = apt.IsHygiene == 'true' ? apt.ProvHyg : apt.ProvNum;
|
|
21
21
|
return {
|
|
22
22
|
docRef: `/patients/${apt.PatNum}/patientVisits/${apt.AptNum}`,
|
|
23
23
|
...apt,
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export function appointmentToVisit(apt: Appointment): Visit {
|
|
|
15
15
|
|
|
16
16
|
const duration = (apt.Pattern?.length || 0) * 5;
|
|
17
17
|
const location = 'NF6YVFAXyRVXGi5nItqV';
|
|
18
|
-
const display_ProvNum = apt.IsHygiene ? apt.ProvHyg : apt.ProvNum;
|
|
18
|
+
const display_ProvNum = apt.IsHygiene == 'true' ? apt.ProvHyg : apt.ProvNum;
|
|
19
19
|
|
|
20
20
|
return {
|
|
21
21
|
docRef: `/patients/${apt.PatNum}/patientVisits/${apt.AptNum}`,
|