A medical office is trying to automate a workflow. For every appointment that they have there should be a corresponding paper form called a "Superbill".
The "superbill" should have patients demographics (Name , address, age etc) and insurance/financial info like balances and such.
Context - currently most of the data is stored in a hosted terminal based application so the ONLY way I can get data out is to export a report with the required data into a tab delimited text file
The balance of the data (appointment data) is in a CSV.
My approach. -.
1) create an excel workbook with a power query to clean up and structure the data for import into the common data service.
2) Created a set of custom entities as follows:
- Patient (12 of the 20 columns)
- Providers
- Referrers
- Appointments
- Superbills
3) Import data into the CDS
4) when a new record is created in appointments table a flow would fire and copy the data (with all relationships respected and thusly pulled in) to a SharePoint list which I have already configured
It seems there is only one type of relationship (Lookup) which seems to only pull in the foreign key and not the entire rows data and there is no way to tell it what you need precisely . I’ve attempted to create a powerapp as a trouble shooting method to see what data is actually linked and it seems the issue is the relationships as I can confirm only the foreign key is visible. Is there a way to perform a query to access the other columns in the table? How can the above be accomplished ? do I need a sql or access database in the mix?