On Sat, 27 Dec 2003, David Forslund wrote:

> How do I use OIO forms in a non-OIO application?

Dave,
  You can't. If an application uses OIO forms, then it is an "OIO
application". :-)

> In other words, I don't want to have to run Zope to use and manage
> forms, and I don't want to rely on having to get to a remote OIO server
> to get a form, since I might be blocked by my firewall (as in the case
> of the entire VA).

Try LiveOIO, the Knoppix-based boot disk that runs and installs OIO.

> What is the platform and language independent description of an OIO
> form?

<form>
  <item>
    <name>
    <description>
    <item_number>
    <prompt>
    <itemtype>
  </item>

  <itemtype>
    <name>
    <description>
    <action>
    <choice>
    <code>
  </itemtype>
</form>

> Couldn't that be an OpenEHR archetype or an XML schema, or an HL7 CDA?

Yes, that's the idea.

> In this case OIO might be used only has a way to "author" an archetype,

OIO can be a web-based tool for authoring OpenEHR archetypes / OIO forms
and also render/collect data via these archetypes(+templates) and forms.

> although there needs to be a place which maintains the official
> structure of a form, such as HL7 or some other body.

Maybe - or end-users can simply upload forms into the OIO Library to be
index and shared.

> Can you send me an example OIO form that I could simply use in my JSP web
> application?


<form>
  <item>
    <name>Gender</name>
    <description>self-reported gender</description>
    <item_number>10</item_number>
    <prompt>Gender?</prompt>
    <itemtype>genders</itemtype>
  </item>

  <itemtype>
    <name>genders</name>
    <description>phenotype gender</description>
    <action>pickone</action>
    <choice>female,male,unknown</choice>
    <code>2,1,0</code>
  </itemtype>
</form>

Best regards,

Andrew
---
Andrew P. Ho, M.D.
OIO: Open Infrastructure for Outcomes
www.TxOutcome.Org

Reply via email to