<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-6103004106779405083</id><updated>2009-10-09T05:20:26.259+01:00</updated><title type='text'>Ime Asangansi</title><subtitle type='html'>...dropping some lines</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-1250417843728097547</id><published>2008-04-21T12:39:00.005+01:00</published><updated>2008-04-21T15:46:05.154+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><title type='text'>Getting a fuller picture</title><content type='html'>I have been discussing the codes that produce the image you see below.&lt;br /&gt;There seems to be a 'cloud' (of misunderstanding) around these things called archetypes.&lt;br /&gt;But it is actually simpler that people think.&lt;br /&gt;&lt;br /&gt;Simply put, all what we have been discussing, the blood pressure archetype, lets you have the form (or subform or formlet or whatever you like to call it) that you can see below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XV-tXgtkLtU/SAyGmnqGmnI/AAAAAAAAABc/apwNFhi2NAI/s1600-h/blood_pressure_archetype_screenshot.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 237px; height: 431px;" src="http://3.bp.blogspot.com/_XV-tXgtkLtU/SAyGmnqGmnI/AAAAAAAAABc/apwNFhi2NAI/s400/blood_pressure_archetype_screenshot.bmp" alt="" id="BLOGGER_PHOTO_ID_5191672468490066546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now, I wont go into the argument of what is more important - whether the templates that it can generate (ie the product) or the codes that generate it (the codes).&lt;br /&gt;Most other issues concerning arhcetypes/templates revolve around the sections we discussed in previous blogs.&lt;br /&gt;&lt;br /&gt;Now, imagine, we have thousands of these clinical models, 'certified' by domain experts and tested by many implementations. That explains the interest in archetypes. However, these days I am beginning to ask my self: 'where is the hl7 equivalent of this?'. Thats probably for another day...&lt;br /&gt;&lt;br /&gt;Recently, the NHS Trust work on archetypes has really excited me. As you may know, the NHS Trust UK (and NHS Scotland) has made available their archetypes repository for free use.&lt;br /&gt;&lt;br /&gt;Visit the NHS work &lt;a href="http://www.ehr.chime.ucl.ac.uk/display/nhsmodels/Home"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;What you might not know is that they have made their xforms engine based on chiba, xmlprocess, also available at the OHT.&lt;br /&gt;&lt;a href="https://www.projects.openhealthtools.org/servlets/ProjectList"&gt;See it here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My goal in the coming weeks will be to learn more about Adam Flinton's work, Xmlprocess, and about how archetypes and templates work in his tool.&lt;br /&gt;I think that his work will not only redefine the way we look at operational archetypes and templates, but will stimulate other efforts at using xml archetypes/templates.&lt;br /&gt;&lt;br /&gt;Also, since I am generally getting (sorry.. have gotten) inclined to Xforms, I might need to align my work with the new Xforms wave in the OpenMRS community...&lt;br /&gt;Lets keep at the good work...&lt;br /&gt;I'm outta here&lt;br /&gt;...tomorrow is another day...&lt;br /&gt;&lt;br /&gt;ciao...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-1250417843728097547?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/1250417843728097547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=1250417843728097547' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/1250417843728097547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/1250417843728097547'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/04/getting-fuller-picture.html' title='Getting a fuller picture'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XV-tXgtkLtU/SAyGmnqGmnI/AAAAAAAAABc/apwNFhi2NAI/s72-c/blood_pressure_archetype_screenshot.bmp' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-8057150861019198964</id><published>2008-04-12T18:10:00.010+01:00</published><updated>2008-04-12T18:45:18.089+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sceenshots'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><category scheme='http://www.blogger.com/atom/ns#' term='Ontology'/><category scheme='http://www.blogger.com/atom/ns#' term='Concepts'/><title type='text'>The blood pressure archetype with screenshots</title><content type='html'>Hmmm...&lt;br /&gt;&lt;br /&gt;I was just trying out bloggers email-to-blog feature in my last post with the images put in the right place... but it looks like its really messy if you have pictures within the document...&lt;br /&gt;wont advise you to try it ... except you are a tester...&lt;br /&gt;&lt;br /&gt;I have now put in the pics here...&lt;br /&gt;I just hope they make sense...&lt;br /&gt;&lt;br /&gt; &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt; line-height: 115%;"&gt;The Anatomy of the Blood Pressure Archetype 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Whew! &lt;/p&gt;  &lt;p class="MsoNormal"&gt;I need to close up this discussion of the blood pressure archetype to proceed onto how to pass this into OpenMRS.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This is the second part of a discussion of this exemplary archetype.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;To reiterate, the sections of this archetype include the following nodes:&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;archetype_id, adl_version, concept, original_language, definition, translations&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;description and ontolology.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Please observe that the root node is ‘&lt;b style=""&gt;archetype’ &lt;/b&gt;and &lt;b style=""&gt;it has three important attributes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:392.25pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.jpg" title="blood_pressure_xml_picture"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XV-tXgtkLtU/SADu-TOr1tI/AAAAAAAAAAo/mJlfwAb2q-4/s1600-h/blood_pressure_xml_picture.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_XV-tXgtkLtU/SADu-TOr1tI/AAAAAAAAAAo/mJlfwAb2q-4/s400/blood_pressure_xml_picture.jpg" alt="" id="BLOGGER_PHOTO_ID_5188409524811978450" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This archetype was made in the pre-ADL-version2 days and doesn’t have the &lt;/p&gt;  &lt;p class="MsoNormal"&gt;ADL2-mandatory node, revision_history.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I would like to say that all I am stating here follow the ADL2 specification, and there is no originality, so to speak... all kudos go to the OpenEHR spec guys!&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Lets say something about the 8 main sections:&lt;/p&gt;  &lt;p class="MsoNormal"&gt;1. &lt;span style=""&gt; &lt;/span&gt;the &lt;b style=""&gt;adl_version section&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This is the version of the archetype definition language (adl) used in authoring the archetype. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="'width:379.5pt;height:72.75pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image003.jpg" title="concept"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s1600-h/concept.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s400/concept.JPG" alt="" id="BLOGGER_PHOTO_ID_5188409722380474082" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;It has a value of v1 in the blood pressure archetype (as can be seen in the screenshot above), v1 representing version one.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;adl is the formal language used in authoring 'raw' archetypes (remember?)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;2. &lt;b style=""&gt;concept&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;is the central concept this archetype represents...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;at0000&lt;/b&gt; is its value in the blood pressure archetype. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" style="'width:379.5pt;height:72.75pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image003.jpg" title="concept"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s1600-h/concept.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s400/concept.JPG" alt="" id="BLOGGER_PHOTO_ID_5188409722380474082" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Thus, at0000 represents the archetype's central concept.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;"at", the prefix for the value, short for "archetype term".&lt;/p&gt;  &lt;p class="MsoNormal"&gt;All archetype terms can be found in the ontology section.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;A peep into the ontology section of the archetype tells me that at0000 corresponds to blood pressure.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Well, I didn’t even have to spy there, because at0000 always represents the whole archetype, which in this case is blood pressure. Each archetype is defined by a concept.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Come to think of it, what’s it with the blood pressure? I think since &lt;a href="http://www.britannica.com/eb/topic-565875/article-9069644"&gt;&lt;span style="color: red;"&gt;Laennec&lt;/span&gt;&lt;/a&gt; invented the steths, clinical practice has really changed. And its a crucial vital sign... something the management guys would call a KPI (Key performance indicator)...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Oops... I'm here to talk about archetypes...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;3.&lt;b style=""&gt; ontology&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This would probably be better understood if it were called 'terminology' because it doesn’t necessarily store the rich semantic stuff you find in popular ontologies.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you are from OWL or Protégé or RDF, etc, you'll probably not find your description logics here.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;To see the relationship between archetypes and OWL, see &lt;a href="http://www.srdc.metu.edu.tr/webpage/publications/2005/MappingArchetypestoOWLTechnical.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;The ontology mainly holds the terminology listing within, in different languages. It also contains descriptions (and translations) of terms in child nodes named &lt;b style=""&gt;items&lt;/b&gt;.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Have a look at a screenshot below (sorry for the blur):&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1028" type="#_x0000_t75" style="'width:411.75pt;height:358.5pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image004.jpg" title="ontology"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XV-tXgtkLtU/SADwFjOr1xI/AAAAAAAAABE/8P62xkL-m20/s1600-h/ontology.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 260px;" src="http://4.bp.blogspot.com/_XV-tXgtkLtU/SADwFjOr1xI/AAAAAAAAABE/8P62xkL-m20/s400/ontology.JPG" alt="" id="BLOGGER_PHOTO_ID_5188410748877657874" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;It also contains mappings (if available) to external terminologies. These are contained in the child node, term_bindings.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;My thinking is that a collection of all the archetypes would comprise a whole large terminology that can be used to drive a system. Running a vocabulary is, however, not a goal of the OpenEHR foundation.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;4. &lt;b style=""&gt;original_language&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This is as-it-reads; the original language in which the archetype was designed... It includes children that specify the ISO code for the language as well as the ISO code_string. These were &lt;b style=""&gt;ISO_639-1&lt;/b&gt; and &lt;b style=""&gt;en&lt;/b&gt;, the last time I checked...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1029" type="#_x0000_t75" style="'width:421.5pt;height:102pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image006.jpg" title="original language"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XV-tXgtkLtU/SADwSDOr1yI/AAAAAAAAABM/xUAwEhtMOWQ/s1600-h/original+language.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_XV-tXgtkLtU/SADwSDOr1yI/AAAAAAAAABM/xUAwEhtMOWQ/s400/original+language.JPG" alt="" id="BLOGGER_PHOTO_ID_5188410963626022690" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;5. &lt;b style=""&gt;translations&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Of course, this relates to translations from the original language.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The OpenEHR is built for the global Babel of languages - the motivation for metadata to handle language translations. Child elements here have values that include the ISO code_string (de for German), the ISO code and the translator's name and affiliations, including any accreditation.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Archetypes need to be translated completely – and mostly this involves the ontology and description sections, because these sections carry metadata that might need to be displayed in form templates.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1030" type="#_x0000_t75" style="'width:469.5pt;height:138pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image008.jpg" title="translation"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADwdzOr1zI/AAAAAAAAABU/IKCrqQaXU_k/s1600-h/translation.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADwdzOr1zI/AAAAAAAAABU/IKCrqQaXU_k/s400/translation.JPG" alt="" id="BLOGGER_PHOTO_ID_5188411165489485618" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The screenshot above shows the translation section of the blood pressure archetype.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;6. &lt;b style=""&gt;archetype_id&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This is a unique identifier for an archetype and corresponds to openEHR-EHR-OBSERVATION.blood_pressure.v1 (as you can see below)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1031" type="#_x0000_t75" style="'width:379.5pt;height:72.75pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image003.jpg" title="concept"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s1600-h/concept.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_XV-tXgtkLtU/SADvJzOr1uI/AAAAAAAAAAw/MkdzvLtv5bM/s400/concept.JPG" alt="" id="BLOGGER_PHOTO_ID_5188409722380474082" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This identifier gives clues as to which type the archetype is (e.g. an observation archetype). It also mentions its central concept (blood pressure) and its version (v1).&lt;/p&gt;  &lt;p class="MsoNormal"&gt;7. &lt;b style=""&gt;description&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This contains metadata about the author such as name, email, organization and the archetype was created. It also contains information on the current state of the archetype (draft, in this case).&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1032" type="#_x0000_t75" style="'width:471pt;height:429pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\IMEASA~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image010.jpg" title="description"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XV-tXgtkLtU/SADvXTOr1vI/AAAAAAAAAA4/oXlImSCQG2c/s1600-h/description.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_XV-tXgtkLtU/SADvXTOr1vI/AAAAAAAAAA4/oXlImSCQG2c/s400/description.JPG" alt="" id="BLOGGER_PHOTO_ID_5188409954308708082" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;It also discusses the main purpose of the archetype, as well as its use, misuse and keywords that are important. The &lt;b style=""&gt;details&lt;/b&gt; subsection contains succinct domain information. And this contributes to the richness of archetypes and one of its central motivations - which is modeling domain knowledge.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This knowledge also can exist in multiple translations (as you can see in German here)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The blood pressure archetype was originally constructed in English but has a German translation. The purpose is "to record the systemic blood pressure of a person. The measurement records the systolic and the diastolic pressure by some means suitable for the result to be seen as a surrogate for the general and systemic blood pressure"&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;8. &lt;b style=""&gt;definition&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;To quote the ADL2 document, the definition section contains the main formal definition of the archetype" It is based on a special form of ADL called constraint ADL.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;It is used to define constraints on data. Keywords that can help understand the definition section include: matches, ~matches, is_in, ~is_in, occurrences, existence, cardinality, ordered, unordered, unique, infinity, use_node, allow_archetype, include, exclude. These allow constraints that are related to the underlying information model… or lets&lt;span style=""&gt;  &lt;/span&gt;say database.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Here the archetype “links” to the EHR (electronic health record) space and can specify or “call” on another archetype or specify a lookup column, etc. More details of this can be found in the ADL document &lt;a href="http://en.wikipedia.org/wiki/Openehr"&gt;&lt;span style="color: red;"&gt;here &lt;/span&gt;&lt;/a&gt;or &lt;a href="http://www.openehr.org/clinicalmodels/archetypes.html"&gt;here&lt;/a&gt;. And you might need some reading on the &lt;b style=""&gt;OCL&lt;/b&gt;.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;In summary, this is a terribly ‘rough’ but ‘practical’ summary of better and more formal documents in the OpenEHR space. Please have a look at &lt;a href="http://openehr.org"&gt;www.openehr.org&lt;/a&gt;&lt;span style="color: red;"&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-8057150861019198964?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/8057150861019198964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=8057150861019198964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/8057150861019198964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/8057150861019198964'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/04/blood-pressure-archetype-with.html' title='The blood pressure archetype with screenshots'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XV-tXgtkLtU/SADu-TOr1tI/AAAAAAAAAAo/mJlfwAb2q-4/s72-c/blood_pressure_xml_picture.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-3485114194877984197</id><published>2008-04-12T17:59:00.001+01:00</published><updated>2008-04-12T17:59:37.619+01:00</updated><title type='text'>The Anatomy of the Blood Pressure Archetype</title><content type='html'>&lt;span xmlns=''&gt;&lt;p&gt;Whew! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I need to close up this discussion of the blood pressure archetype to proceed onto how to pass this into OpenMRS.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is the second part of a discussion of this exemplary archetype.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To reiterate, the sections of this archetype include the following nodes:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;archetype_id, adl_version, concept, original_language, definition, translations&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;description and ontolology.&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Please observe that the root node is '&lt;strong&gt;archetype' &lt;/strong&gt;and &lt;strong&gt;it has three important attributes.&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This archetype was made in the pre-ADL-version2 days and doesn't have the &lt;br /&gt;&lt;/p&gt;&lt;p&gt;ADL2-mandatory node, revision_history.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I would like to say that all I am stating here follow the ADL2 specification, and there is no originality, so to speak... all kudos go to the OpenEHR spec guys!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Lets say something about the 8 main sections:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1.  the &lt;strong&gt;adl_version section&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This is the version of the archetype definition language (adl) used in authoring the archetype. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;It has a value of v1 in the blood pressure archetype (as can be seen in the screenshot above), v1 representing version one.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;adl is the formal language used in authoring 'raw' archetypes (remember?)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;2. &lt;strong&gt;concept&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;is the central concept this archetype represents...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;at0000&lt;/strong&gt; is its value in the blood pressure archetype. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;Thus, at0000 represents the archetype's central concept.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;"at", the prefix for the value, short for "archetype term".&lt;br /&gt;&lt;/p&gt;&lt;p&gt;All archetype terms can be found in the ontology section.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A peep into the ontology section of the archetype tells me that at0000 corresponds to blood pressure.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Well, I didn't even have to spy there, because at0000 always represents the whole archetype, which in this case is blood pressure. Each archetype is defined by a concept.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Come to think of it, what's it with the blood pressure? I think since &lt;span style='color:red'&gt;Laennec&lt;/span&gt; invented the steths, clinical practice has really changed. And its a crucial vital sign... something the management guys would call a KPI (Key performance indicator)...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Oops... I'm here to talk about archetypes...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3.&lt;strong&gt; ontology&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This would probably be better understood if it were called 'terminology' because it doesn't necessarily store the rich semantic stuff you find in popular ontologies.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you are from OWL or Protégé or RDF, etc, you'll probably not find your description logics here.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The ontology mainly holds the terminology listing within, in different languages. It also contains descriptions (and translations) of terms in child nodes named &lt;strong&gt;items&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Have a look at a screenshot below:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;It also contains mappings (if available) to external terminologies. These are contained in the child node, term_bindings.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My thinking is that a collection of all the archetypes would comprise a whole large terminology that can be used to drive a system. Running a vocabulary is, however, not a goal of the OpenEHR foundation.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;4. &lt;strong&gt;original_language&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This is as-it-reads; the original language in which the archetype was designed... It includes children that specify the ISO code for the language as well as the ISO code_string. These were &lt;strong&gt;ISO_639-1&lt;/strong&gt; and &lt;strong&gt;en&lt;/strong&gt;, the last time I checked...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;5. &lt;strong&gt;translations&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;Of course, this relates to translations from the original language.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The OpenEHR is built for the global Babel of languages - the motivation for metadata to handle language translations. Child elements here have values that include the ISO code_string (de for German), the ISO code and the translator's name and affiliations, including any accreditation.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Archetypes need to be translated completely – and mostly this involves the ontology and description sections, because these sections carry metadata that might need to be displayed in form templates.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;The screenshot above shows the translation section of the blood pressure archetype.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. &lt;strong&gt;archetype_id&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This is a unique identifier for an archetype and corresponds to openEHR-EHR-OBSERVATION.blood_pressure.v1 (as you can see below)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This identifier gives clues as to which type the archetype is (e.g. an observation archetype). It also mentions its central concept (blood pressure) and its version (v1).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. &lt;strong&gt;description&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;This contains metadata about the author such as name, email, organization and the archetype was created. It also contains information on the current state of the archetype (draft, in this case).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;It also discusses the main purpose of the archetype, as well as its use, misuse and keywords that are important. The &lt;strong&gt;details&lt;/strong&gt; subsection contains succinct domain information. And this contributes to the richness of archetypes and one of its central motivations - which is modeling domain knowledge.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This knowledge also can exist in multiple translations (as you can see in German here)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The blood pressure archetype was originally constructed in English but has a German translation. The purpose is "to record the systemic blood pressure of a person. The measurement records the systolic and the diastolic pressure by some means suitable for the result to be seen as a surrogate for the general and systemic blood pressure"&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;8. &lt;strong&gt;definition&lt;/strong&gt;&lt;br /&gt;			&lt;/p&gt;&lt;p&gt;To quote the ADL2 document, the definition section contains the main formal definition of the archetype" It is based on a special form of ADL called constraint ADL.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It is used to define constraints on data. Keywords that can help understand the definition section include: matches, ~matches, is_in, ~is_in, occurrences, existence, cardinality, ordered, unordered, unique, infinity, use_node, allow_archetype, include, exclude. These allow constraints that are related to the underlying information model… or lets  say database.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here the archetype "links" to the EHR (electronic health record) space and can specify or "call" on another archetype or specify a lookup column, etc. More details of this can be found in the ADL document &lt;span style='color:red'&gt;here&lt;/span&gt;. And you might need some reading on the &lt;strong&gt;OCL&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;In summary, this is a terribly 'rough' but 'practical' summary of better and more formal documents in the OpenEHR space. Please have a look at them &lt;a href='http://www.openehr.org'&gt;www.openehr.org&lt;/a&gt;. Or can u google?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-3485114194877984197?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/3485114194877984197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=3485114194877984197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/3485114194877984197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/3485114194877984197'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/04/anatomy-of-blood-pressure-archetype.html' title='The Anatomy of the Blood Pressure Archetype'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-5683041609504779769</id><published>2008-04-02T11:49:00.004+01:00</published><updated>2008-04-02T15:17:10.224+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><category scheme='http://www.blogger.com/atom/ns#' term='Subforms'/><category scheme='http://www.blogger.com/atom/ns#' term='Formlets'/><title type='text'>Archetypes? Subforms?</title><content type='html'>Its been a while here...&lt;br /&gt;&lt;br /&gt;Since my last post, I've survived a hard disk crash, travelled about 4000km of road and learnt some cool horse riding stuff... and met many many nice guys in the process...&lt;br /&gt;ok... also did (try to?) write something for this year's Athens International System Dynamics Conference...&lt;br /&gt;&lt;br /&gt;Emm... doesnt mean I havent been thinking of archetypes.&lt;br /&gt;I must say that I am really excited about the open Xforms trend on the OpenMRS dev. And I am beginning to think that I should carry my 'kaya' (kaya is the Hausa word for load) from the InfoPath side of things to the open Xforms side of things.&lt;br /&gt;And there is something cool on &lt;a href="http://internet-apps.blogspot.com/2006/08/using-subforms-in-xforms.html"&gt;Mark Birbeck's blog&lt;/a&gt;. And I have copied some stuff from there (below).&lt;br /&gt;&lt;br /&gt;Emmm...&lt;br /&gt;&lt;br /&gt;"The subforms technique we used on the current project is to extend the XForms &lt;a href="http://www.w3.org/TR/xforms/slice10.html#action-load"&gt;load&lt;/a&gt; action to include:&lt;br /&gt;a target attribute to indicate where to place the sub-form;&lt;br /&gt;an additional value in the show attribute of embed.&lt;br /&gt;To show how it works, here is an example of how we place a sub-form into a case when the user toggles that case:&lt;br /&gt;&lt;br /&gt;&lt;xf:load show="embed" resource="subforms/sf-work-list.xml" event="xforms-select" observer="case-work-list-choose" target="div-work-list-choose"&gt;&lt;br /&gt;&lt;br /&gt;We use the term sub-form to describe the document that is loaded because it may have more than just controls; it may include its own models, submissions, bind statements, and so on.&lt;br /&gt;Using XLinkThe extensions to load are of course non-standard, and this is still very experimental. But it is worth saying that there is logic behind the way we've done this.&lt;br /&gt;&lt;br /&gt;For a start, XForms really should support a target attribute on the load action anyway, which would allow new documents to be loaded into frames or other locations.But also, the show attribute in XForms is actually modelled on the &lt;a href="http://www.w3.org/TR/xlink/#link-behaviors"&gt;XLink show attribute&lt;/a&gt;, and the currently supported values--replace and new--come from that...as does embed. In other words, all we're suggesting here is that XForms supports a little bit more of &lt;a href="http://www.w3.org/TR/xlink/"&gt;XLink&lt;/a&gt;.As it happens, our first version of this functionality achieved it using raw XLink, but the problem is that XLink says nothing about when to load the sub-form. Once we started looking at attaching event listeners, we quickly came to the conclusion that load was much more appropriate, particularly because it already made use of XLink.&lt;br /&gt;&lt;br /&gt;Conclusion&lt;br /&gt;However we do this in the future, and whatever mark-up is used, XForms definitely provides the hooks for a flexible way to build complex forms on the fly. Defining the loading of sub-forms using declarative mark-up makes it intuitive for authors to use this feature, and makes the management of the components much easier."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How is this relevant?&lt;br /&gt;I am thinking... archetypes, as in the OpenEHR specs, are not used directly to drive systems. They are used as 'subforms' or 'form parts' or 'formlets' which make up a template.&lt;br /&gt;Of course there are cases where a form (or template) consists of just one archetype.&lt;br /&gt;&lt;br /&gt;So, whats the advantage of deriving subforms from archetypes and not just creating from the scratch...&lt;br /&gt;I just mentioned it, from the scratch. Implementers do not really want to do things from the scratch. They want to learn from others.&lt;br /&gt;&lt;br /&gt;Another advantage is that if you can select the finite number of archetypes (of course its never finite cos medical requirements are inherently dynamic... but lets just use it for now, there is something called versioning)...you can have the finite number of concepts from the ontology section of the archetype...&lt;br /&gt;So, how do you do that?&lt;br /&gt;Not done that yet... but there's something called xpath that can point to those locations...&lt;br /&gt;&lt;/xf:load&gt;&lt;?xml:namespace prefix = xf /&gt;&lt;xf:load show="embed" resource="subforms/sf-work-list.xml" event="xforms-select" observer="case-work-list-choose" target="div-work-list-choose"&gt;&lt;/xf:load&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-5683041609504779769?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/5683041609504779769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=5683041609504779769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/5683041609504779769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/5683041609504779769'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/04/archetypes-subforms.html' title='Archetypes? Subforms?'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-6888237826919494723</id><published>2008-03-15T09:17:00.000+01:00</published><updated>2008-03-15T10:01:38.770+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><category scheme='http://www.blogger.com/atom/ns#' term='Concepts'/><title type='text'>The Anatomy of the Blood Pressure Archetype</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Hi there!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Lets hit the road...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Firstly, I will add two elements to the previous list, then list the non-optional components of archetypes, and then proceed to discuss each node.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2 additional elements&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;The two additions are: &lt;span style="font-weight: bold;"&gt;is_controlled&lt;/span&gt;, whose value is boolean (true or false);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;and &lt;span style="font-weight: bold;"&gt;parent_archetype_id &lt;/span&gt;, whose value is the archetype from which the &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;archetype in consideration was derived.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Non-optional components&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;All archetypes must have the following portions, as a minimum:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;archetype_id, adl_version, concept, original language, definition, ontology and revision_history.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;As stated in the ADL2 document, the order is not significant.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;We will now proceed to discuss each node:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1. &lt;span style="font-weight: bold;"&gt;adl_version&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;which has a value of &lt;span style="font-weight: bold;"&gt;v1&lt;/span&gt; in the blood pressure archetype&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;v1 representing version one.&lt;br /&gt;adl is the language used in authoring 'raw' archetypes (remember?)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2.  &lt;span style="font-weight: bold;"&gt;concept &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;concept&gt;&lt;/concept&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;concept style="font-weight: bold;"&gt;at0000&lt;/concept&gt; is its value in the blood pressure archetype&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;at0000 represents the archetype's  central concept, which is blood pressure.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Each archetype is defined by a concept. &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;All concepts used in an archetype are stored in the ontology section.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;More of this ontology and concepts stuff in my next post&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;I guess it will be possible to dehydrate these concepts onto concept proposals in OpenMRS...&lt;br /&gt;or kind of mass load concepts from here...&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;just initial thoughts...&lt;br /&gt;&lt;br /&gt;I have been trying to upload this long bloodpressure.xml archetype here without success. I think blogspot has turned off uplaods for security reasons...&lt;br /&gt;would need to sort this out soon...&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-6888237826919494723?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/6888237826919494723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=6888237826919494723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/6888237826919494723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/6888237826919494723'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/03/anatomy-of-blood-pressure-archetype.html' title='The Anatomy of the Blood Pressure Archetype'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-896170450936721675</id><published>2008-03-02T14:40:00.000+01:00</published><updated>2008-03-02T15:20:46.324+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><title type='text'>Anatomy of an archetype</title><content type='html'>&lt;p class="MsoNormal"&gt;An archetype is a well-structured (formal) model of clinical content. Archetypes are designed to be used as a basis for structuring data eg building forms and building queries (xpath-like).&lt;/p&gt;  &lt;p class="MsoNormal"&gt;They are written in a language called the archetype definition language (ADL). ADL archetypes can be converted to xml.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Parts of an archetype&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;An archetype consists of the following sections (though some sections are not mandatory):&lt;/p&gt;  &lt;p class="MsoNormal"&gt;(Please see diagram within ADL2 document &lt;a href="http://www.openehr.org/releases/1.0.1/architecture/am/adl2.pdf"&gt;here&lt;/a&gt;)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;archetype_id&lt;/p&gt;  &lt;p class="MsoNormal"&gt;adl_version&lt;/p&gt;  &lt;p class="MsoNormal"&gt;concept&lt;/p&gt;  &lt;p class="MsoNormal"&gt;original_language&lt;/p&gt;  &lt;p class="MsoNormal"&gt;translations&lt;/p&gt;  &lt;p class="MsoNormal"&gt;description&lt;/p&gt;  &lt;p class="MsoNormal"&gt;declaration&lt;/p&gt;  &lt;p class="MsoNormal"&gt;definition&lt;/p&gt;  &lt;p class="MsoNormal"&gt;invariant&lt;/p&gt;  &lt;p class="MsoNormal"&gt;ontology&lt;/p&gt;  &lt;p class="MsoNormal"&gt;revision_history&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;Lets start dissecting the blood pressure archetype xml&lt;/p&gt;See below:&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XV-tXgtkLtU/R8q0VEJDbKI/AAAAAAAAAAY/gGg8S0Vc41M/s1600-h/blood_pressure_xml_picture.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_XV-tXgtkLtU/R8q0VEJDbKI/AAAAAAAAAAY/gGg8S0Vc41M/s400/blood_pressure_xml_picture.jpg" alt="" id="BLOGGER_PHOTO_ID_5173145395970403490" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-896170450936721675?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/896170450936721675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=896170450936721675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/896170450936721675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/896170450936721675'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/03/archetype-is-well-structured-formal.html' title='Anatomy of an archetype'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XV-tXgtkLtU/R8q0VEJDbKI/AAAAAAAAAAY/gGg8S0Vc41M/s72-c/blood_pressure_xml_picture.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6103004106779405083.post-2307771522908318748</id><published>2008-02-23T16:01:00.000+01:00</published><updated>2008-02-23T16:27:54.889+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenEHR'/><category scheme='http://www.blogger.com/atom/ns#' term='Clinical'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenMRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Archetypes'/><title type='text'>OpenMRS Archetypes Project</title><content type='html'>Hi there.&lt;br /&gt; &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;I’ll like to introduce the ‘Introduction of Archetypes’ to OpenMRS project. You might find this project mentioned elsewhere as the archetypes integration project, Archetypes module project, OpenEHR-OpenMRS integration or … (&lt;kindly insert="" yours=""&gt;).&lt;/kindly&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;The OpenMRS development project is a truly open open-source project – that means your ideas are not only welcome but also count in its continuous evolution.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;I’ll begin by building (and getting) an understanding of what this archetypes project entails.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Please find few details of this on the wiki at &lt;a href="http://openmrs.org/wiki/Archetypes_Module"&gt;http://openmrs.org/wiki/Archetypes_Module&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a href="http://openmrs.org/wiki/Archetypes_Module"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;My initial thoughts…&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;I’m working on giving the OpenMRS the ability to consume some tasty hamburgers called archetypes. For now, it survives on nice plenty chips called concepts and fields. Archetypes have concepts embedded in them.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;There are different categories of archetypes (or hamburgers to continue the analogy) according to size and function – ENTRY, SECTION, CLUSTER, COMPOSITION. Compositions contain sections; sections contain entries (in a sort of hierarchy as you find in CMS like Joomla where you have sections, categories and items). Thus the ENTRY category contains the basic reusable units. ENTRY types include OBSERVATION, INSTRUCTION, ACTION, EVALUATION and ADMIN_ENTRY. Their functions can be guessed from their names and they roughly correspond to OBSERVATION, ORDER,&lt;span style=""&gt;  &lt;/span&gt;DEMOGRAPHICS (very roughly…because that leaves INSTRUCTION and EVALUATION as part of OBSERVATION )&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;I think I will concentrate on OBSERVATION.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Please read more at&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a href="http://www.openehr.org/clinicalmodels/archetypes.html"&gt;http://www.openehr.org/clinicalmodels/archetypes.html&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a href="http://oceaninformatics.biz/archetypes/MindMap/ArchetypeMap.html"&gt;http://oceaninformatics.biz/archetypes/MindMap/ArchetypeMap.html&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=""&gt;&lt;a href="http://svn.openehr.org/specification/TRUNK/publishing/openEHR/introducing_openEHR.pdf"&gt;http://svn.openehr.org/specification/TRUNK/publishing/openEHR/introducing_openEHR.pdf&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;If you are new to openMRS, please see &lt;a href="http://openmrs.org/wiki/OpenMRS"&gt;http://openmrs.org/wiki/OpenMRS&lt;/a&gt;. This project aims to make creating forms very easy – as easy as combining archetypes or reusing templates (from both an openEHR and Xforms point of view.)&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;Important database tables to look at:&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Form,&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Form field,&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Field,&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Concept&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Learn more about the db at &lt;a href="http://openmrs.org/wiki/OpenMRS_data_model"&gt;http://openmrs.org/wiki/OpenMRS_data_model&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Would really appreciate your comments here…&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6103004106779405083-2307771522908318748?l=asangansi.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asangansi.blogspot.com/feeds/2307771522908318748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6103004106779405083&amp;postID=2307771522908318748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/2307771522908318748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6103004106779405083/posts/default/2307771522908318748'/><link rel='alternate' type='text/html' href='http://asangansi.blogspot.com/2008/02/openmrs-archetypes-project.html' title='OpenMRS Archetypes Project'/><author><name>Ime</name><uri>http://www.blogger.com/profile/16029664319923009881</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03559635903160608391'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>