I'm trying to build an HTML form that will save data to a database that isn't the standard Centricity database. Basically, I want to capture something like an episode, which is impossible to do efficeintly with MEL and OBS terms.
Here's where I'm stuck: I have a form built that, when running in Internet Explorer can both save data to and return data from a database. But when I load that same HTML form into Centricity, the buttons don't do anything. My popups don't display, nothing.
I was working under the assumption (hope?) that HTML would behave the same in Centricity as it does outside of Centricity, but it's looking like that's not the case. Any ideas?
Thanks!
Are you using web services? What technology are you using to build your form? Are you using mdObject (from https://www.npmjs.com/package/@mdobject/mdobject)? Is this Angular application?
Sorry it's been so long since I first posted. I'm back and working on this project again. Here's where I am:
I followed your tutorial on the mdObject website, but I am stuck. On the latest video, the one about using Angular and mdObject, when I build the project (about 15:50 on the video), I get the following error in Powershell:
Error: src/app/app.component.html:345:28 - error TS2339: Property 'patient' does not exist on type 'MdObject'.
345 First Name {{ mdObject.patient.firstName }}
Any idea why these mdObject properties aren't appearing?
@vrdlc It's hard for me to see if you missed something without seeing your code. Could you share it over GitHub (or add me to your repository. My GitHub user name: aaltotsky).
There is an working demo at open source repository:
https://github.com/mdObject/GECentricity/tree/V2.0/mdObjectAngularDemo
Did you instantiate the mdObject?
this.mdObject = new MdObject(window, document);