SelfBook Issues

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SelfBook Issues

m45guo
Hi,

I am having this issues with selfbook project. It could not allow me to select any doctor.
This is the pic that I have.

I think it some kind default setting in demobooking.xml but I could not find it.
Can anyone help me with that?
Btw, How does the oscar schedule template work? Can anyone help me with that?


regards,
Michael G
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SelfBook Issues

Earl Wertheimer
You need to create a schedule for the physicians in Oscar.
That will indicate which slots are available.
You can test it within Oscar by using the [S] link to Search for an available appointment slot.

Once that is working, you need to modify the booking.xml file
/var/lib/tomcat7/yoursite_webapps/ROOT/WEB-INF/classes/yoursite/booking.xml

The provider codes need to be listed in the WhatIsYourDoctorName line:
<algorithm  questionNo="6" subQuestionNo="9" nextQuestionNo="" displayText="WhatIsYourDoctorName" providersNo="" answerType="listprov" apptType="FUFD" apptDesc="FUFDD" validation=" 45 187 12 "></algorithm>

Then you need a section for each provider, with the rules
<allowedProvider providerNo="187" role="PROVIDER" name="Dr. First Last">
     <allowed_appointment id="1" appointment_codes="J,K,L" duration="15" sex="A" ></allowed_appointment>
     <filter>org.oscarehr.oscar_selfbook_component.booking.filters.ExistingAppointmentFilter</filter>
     <filter>org.oscarehr.oscar_selfbook_component.booking.filters.MultiUnitFilter</filter>
     <filter buffer="30">org.oscarehr.oscar_selfbook_component.booking.filters.FutureApptFilter</filter>
     <filter daysbuffer="2"  codes="J">org.oscarehr.oscar_selfbook_component.booking.filters.OpenAccessFilter</filter>
     <filter daysbuffer="7"  codes="K">org.oscarehr.oscar_selfbook_component.booking.filters.OpenAccessFilter</filter>
     <filter daysbuffer="90" codes="L">org.oscarehr.oscar_selfbook_component.booking.filters.OpenAccessFilter</filter>
     <filter maxdaysahead="90">org.oscarehr.oscar_selfbook_component.booking.filters.MaxDayAheadFilter</filter>
</allowedProvider>


On Wed, Jul 19, 2017 at 3:25 PM, m45guo <[hidden email]> wrote:
Hi,

I am having this issues with selfbook project. It could not allow me to
select any doctor.
This is the pic that I have.
<http://oscarmcmaster.16.x6.nabble.com/file/n5009868/Screen_Shot_2017-07-19_at_3.png>
I think it some kind default setting in demobooking.xml but I could not find
it.
Can anyone help me with that?
Btw, How does the oscar schedule template work? Can anyone help me with
that?


regards,
Michael G



--
View this message in context: http://oscarmcmaster.16.x6.nabble.com/SelfBook-Issues-tp5009868.html
Sent from the oscarmcmaster-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SelfBook Issues

m45guo
Hi,

Thanks for replying me. I got most of our doctors on the list. There is one doctor. I added her in to demobooking.xml. It shows that her name is "walk-in". I give her an alias and add it into the question.  I do not know why.

Also, it never shows up available appointments. I added a new user as "selfbook" into our system. I log in with selfbook and it can search for other slots. But it never shows empty slots on the "online booking" page.

Please help!!



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SelfBook Issues

m45guo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SelfBook Issues

Earl Wertheimer
In the Oscar appointment screen, there is a column to the right of the time. 
It is the Appointment type. eg. 1 for 15 min, 2 for 30 min, etc.
On the Schedule screen, they are 'Template Codes'.
You need to set those up and then list them in the selfbook  booking.xml file.

That's how the self-book knows what slots are available.
So, the '2' and 'Y' codes have to be specified in booking.xml

Inline image 1

On Thu, Jul 20, 2017 at 10:41 AM, m45guo <[hidden email]> wrote:
<http://oscarmcmaster.16.x6.nabble.com/file/n5009875/Screen_Shot_2017-07-20_at_10.png>



--
View this message in context: http://oscarmcmaster.16.x6.nabble.com/SelfBook-Issues-tp5009868p5009875.html
Sent from the oscarmcmaster-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oscarmcmaster-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel
Loading...