Login



Search

Please! Please! Please!

Facebook Twitter Digg Delicious Stumbleupon Google Bookmarks RSS Feed 

The Free Open Source EncounterPRO-OS EMR Clinical Groupware for Pediatrics and Primary Care Website

 

Under the Creative Commons Attribution 3.0 License

 

 

© 2010 The EncounterPRO Foundation

 

Please attribute The EncounterPRO Foundation as the creator of this work. Please indicate the title of the Work: The Free Open Source EncounterPRO-OS EMR Clinical Groupware for Pediatrics and Primary Care . Please include this URL for the Work: www.encounterPRO.org.

 

Additional Instruction

 

Thank you!

Welcome, Guest
Please Login or Register.    Lost Password?

Creating a context-free device importing component
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Creating a context-free device importing component
#33
Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
So I attempted to follow the instructions in the Developer Wiki, so I made a .NET class library that contains a class which extends Encounter.Pro.OS.Document, but how do I configure it in EncounterPro, and where do I find the button to try it out once it is configured.

My specific case right now is that I am trying to import vital signs from a blood pressure / thermometer machine.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jbettis
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#34
Re:Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
We moved this thread to the Configuration forum because the answer is a configuration issue. I'm working on the documentation to describe the process but in the mean time I just wanted to post a quick note so you know someone’s still thinking about this.

The short answer is that you create an External Source.

First you return the observations/results in a simple one level XML doc where each element is the observation and the element value is the result. I’ll post the spec for that and all possible return formats to the Assembla site later today.

Then you define an External Source in the database which references your component. I’m sorry there are no screens for this part yet so you need to do it in the database tables. The tables in question are called “c_External_Source…”.

Finally you need to map the observations/results returned from the component to local observations/results. There is a screen for this, but I’m not sure how you would get to it since we don’t have an External Source config screen yet. The table used is called c_XML_Code.

Once all that is done then after you enable the new External Source on a particular computer (configuration/Interfaces/Device Interfaces), then on that computer the Vitals screen will call your component every few seconds and post the results on the screen.

I know that’s not enough details but I’ll post more later.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
markcopenhaver
Fresh Boarder
Posts: 13
graph
User Offline Click here to see the profile of this user
Reply Quote
 
#35
Re:Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
I posted the document here describing how EncounterPRO-OS handles the XML returned from a component.

It turns out I was slightly mistaken about the format of the context-fre observations/results. See the document for more information.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
markcopenhaver
Fresh Boarder
Posts: 13
graph
User Offline Click here to see the profile of this user
Reply Quote
 
#36
Re:Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
Yeah, I have no idea what I am supposed to fill into those tables. How about an example?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jbettis
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#37
Re:Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
Working on it.

There are some exampled already in the c_External_Source_xxx tables. Look at the "Welch Allyn Vitals" entry because it's close to what you are doing, except that it's using the old COM component wrapper and you're using the .Net Document component class.

I'm making an example document component for a context-free device and I'll put detailed instructions in the wiki and/or the assembla site, similar to what I did for the Service component.

Thanks for your patience.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
markcopenhaver
Fresh Boarder
Posts: 13
graph
User Offline Click here to see the profile of this user
Reply Quote
 
#38
Re:Creating a context-free device importing component 6 Years, 8 Months ago Karma: 0
I posted an Access database here with an example of how you map the observations and results returned from the document component. The owner_id for the device is logged in the c_External_Source_Attribute table. Hope that helps. More later.

And please ignore the c_External_Observation_xxx tables. They look like mapping tables but they are obsolete and no longer used. All mappings in EncounterPRO-OS are performed with the c_XML_Code_xxx tables.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
markcopenhaver
Fresh Boarder
Posts: 13
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/27 17:57 By markcopenhaver.
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Joomla Templates by Joomlashack