# PatientOS archetype to form demo (of sorts)

**URL:** https://discourse.openehr.org/t/patientos-archetype-to-form-demo-of-sorts/14770
**Category:** Technical (archive)
**Created:** [27 June 2008 05:08 UTC](https://discourse.openehr.org/t/patientos-archetype-to-form-demo-of-sorts/14770 "2008-06-27T05:08:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Greg\_Caulton](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/g/f14d63/32.png) [@Greg\_Caulton](https://discourse.openehr.org/u/Greg_Caulton)
#### Post date: [27 June 2008 05:08 UTC](https://discourse.openehr.org/t/patientos-archetype-to-form-demo-of-sorts/14770/1 "2008-06-27T05:08:25Z")

</div>

Thanks to the java reference implementation I have a demo of importing  
archetypes to auto generate forms which have the references to the  
archetype. Here is the video example of doing blood pressure:

[http://www.patientos.org/software/video\_files/openehr/patientos\_openehr.htm](http://www.patientos.org/software/video_files/openehr/patientos_openehr.htm)

If you are curious as to how the other forms came out you can view the  
demo (one at a time) here:

[http://www.patientos.org/demo.htm](http://www.patientos.org/demo.htm)

username/password demo/demo - double click a patient, forms tab and  
press new form.

It is running via a java applet which has a number of warnings to  
start. You do need privs on your machine - no sure what the min  
version of java is.

One can build new forms using selected controls from the existing  
forms. Later I will make the archetype based forms templates, not  
actual forms you can select.

One thing I noticed in the conversion that I don't have any way of  
distinguishing between a line of text and multiline text in the  
archetype (I would generate an appropriate pane in the latter case).  
Perhaps not a big deal.

All work in progress of course!.

Greg

---

<div class="post-metadata">

### Author: ![Hugh\_Leslie1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@Hugh\_Leslie1](https://discourse.openehr.org/u/Hugh_Leslie1)
#### Post date: [27 June 2008 06:22 UTC](https://discourse.openehr.org/t/patientos-archetype-to-form-demo-of-sorts/14770/2 "2008-06-27T06:22:12Z")

</div>

Hi Greg

This looks interesting - we would use templates for defining the use case before building the form - that means that you can get a form that doesn’t have everything from the archetype as in most cases, its not relevant. I would think that most clinicians would look at the screen full of data and have a fit - especially as this is only one vital sign… ie in probably 95% of cases you are only recording a point in time value and only systolic and diastolic ie 120/80

regards Hugh

Greg Caulton wrote:

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [27 June 2008 07:18 UTC](https://discourse.openehr.org/t/patientos-archetype-to-form-demo-of-sorts/14770/3 "2008-06-27T07:18:31Z")

</div>

Hi Greg!

The demo looks great, keep the good work =)

/Rong
