2017-02-23 Developers Forum
- Tanya Khokhar
- Burke Mamlin
- Jamie Thomas
Owned by Tanya Khokhar
How to Join
Click here to expand...
Agenda
- Quickly review previous meeting minutes (5 min)
- AMPATH Update
- Review next meeting agenda
Minutes
Attendees
- Burke
- JJ and AMPATH Dev team
- Karl
- Daniel
- Willa
- Hesicong
Topic
- AMPATH Update
Notes
AMPATH Team has been upgrading their Point of Care application from Angular 1.x to Angular 2.x, primarily for performance purposes. Most users are using tablets and an Angular 1.x application was facing performance problems. This was undertaken just as Angular 2.0 was officially released in October 2016.
The AMPATH POC application is now more modular. For example, the Angular Form Entry module is much easier for others to consume and it performs better.
- Github repository: https://github.com/AMPATH/ng2-amrs
- Application is more modular compared to previos version written using angular 1.x.
- Angular Formentry module Github repository: https://github.com/AMPATH/ng2-opemmrs-formentry
Demo
- Users select a location
- Default page is patient search
- Selecting a patient takes user to dashboard
- Vitals
- Demographics
- Contacts
- Identifiers
- Relationships
- Workflows are designed around visits
- Forms are geared toward tablets
- Support swiping gestures
- Native controls for dropdowns
- Forms are 7-10x faster to load
Switching to Angular 2.x
- Hard decision, but feel like it was a good decision
- TypeScript has been a good thing (easier to debug)
- Performance is far better
- Most sites are using Angular 1.x version and team will incrementally switch sites to the Angular 2.x version of the application.
- Challenges
- Setting up the project is a bit of work, but after that it's easy
Now using orders API for tests. Plan to do the same for pharmacy orders.
They plan to share a demo of their application with the community in the near future.
Questions
- Did you try react?
- Considered it briefly, but AMPATH is familiar with Angular
- Consider investigating redux for state management
- What are the challenges with TypeScript?
- See above
Transcripts
- Audio recording of the call: Listen online or download (available after the meeting)