Earlier in the wiki we talked about the interaction between instances of the Information, Concept and Guideline Models. An example of each, in turn could be the EN 13606 Reference Model or the HL7 RIM; SNOMED-CT and GLIF. We think GELLO acts as an interface between the Guideline and Concept models as well as between the Guideline and Information models. Medical Objects uses GELLO R 2 to:
Examples of the latter are to be discussed in this section and include:
Example GELLO code will be offered.
Open CEN-Apple.v1.xml with the Template Editor from Archetype_examples.zip
Click on ENTRY or one of the ELEMENTS. On the RHS note the tags with 'No Gello' as attributes. What we are going to do is add some GELLO v.1 to this archetype. Let's add some more elements to enable this. Left then right click on ENTRY and add two new ELEMENTS to the bottom of the Definition tree. Name them 'Number' and 'Total Cost". Make their data types mtIntegerRange and mtQuantity as before. Make the units for 'Total Cost' to be '$' and the number of decimal places to be 2. If you don't know how to do this or don't remember, go back to Simple worked example. Click on 'Number' and move it up the tree to between 'Cost' and 'Weight' by clicking on the Move up button . Position 'Total cost' likewise between 'Weight' and 'Variety notes'.
Click on the following links for worked examples based on the apple archetype: