Archetype Designer Guide for UCL Standards & Interoperability Course
- 1 Getting Started
- 2 Create and populate a new repository
- 3 Open an existing repository
- 4 Create a new template
- 5 Add metadata descriptions
- 5.1 Select the Description tab
- 5.1.1 Header subtab
- 5.1.2 Attribution subtab
- 5.1 Select the Description tab
- 6 Adding clinical content
- 7 Refining content
- 7.1 Refining each archetype
- 7.2 Viewing/navigating data elements in each archetype
- 7.3 Refining each data element
- 7.4 Refining per data type
- 7.4.1 Free text
- 7.4.2 Coded text
- 7.4.3 Quantity
- 7.4.4 Proportion
- 7.4.5 Count
- 7.4.6 DateTime
- 7.4.7 Ordinal
- 7.4.8 Boolean
- 7.4.9 Choice
- 7.4.10 Any - unspecified data type
- 7.4.11 Duration
- 7.4.12 Hide removed items
- 8 Open an existing template
Getting Started
These instructions will give an overview of using the Better Archetype Designer, archetype/template tool, adapted from the generic Template Building guidance .
Archetype Designer is an online web-browser based product that will work on most browsers. Google Chrome or Mozilla Firefox are recommended and some versions of Internet Explorer may not work correctly.
Locate the online ADL Designer at https://tools.openehr.org/designer
Create an account using one of the social media accounts e.g Google, Microsoft or or GitHub
then login
Create and populate a new repository
Create a new repository
To create a new repository, click on the ‘New Repository’ button.
Choose Local Folder for 'Repository type', name your repository and click on the ‘Create’ button.
You will need to add archetypes and templates to the repository.
Import archetypes and templates from another repository
Although you can start to create your own archetypes and templates from scratch, it is much more common to import a set of existing archetypes and templates to re-use or adapt.
We suggest that you Import a pre-built set that has been developed for this course.
These are held on the Apperta Clinical Knowledge Manager (CKM) tool. This is a tool used to discuss, curate and publish archetypes and templates pertinent to the UK. It makes use of a number of models drawn from the openEHR International CKM, a number of which are used in the pre-built set which you are about to import
Click here and you will be taken to
Press the ‘Export Resources (Zip)’ button and download the zip file onto a folder on your machine.
Choose the ‘Import’ option at the top of the Archetype Designer screen and you will get this dialog which allows you to select the zip file that you downloaded from CKM , or drag and drop onto the grey dropspace.
Ensure that ‘Import concepts with warning’ is unticked and ‘Overwrite existing’ is ticked.
Now press ‘Upload’ or ‘Upload all’. The zip file will now be uploaded and imported.
Make sure you wait until the Status Icon appears - it should be a Green tick.
One the Status icon has appeared you can press ‘Close’.
You should now see the repository populated with a number of archetypes and templates.
At a later stage you may create more than one repository if you wish e.g. one for experimentation, one for F2F training, one for coursework.
Click on the ‘Repositories’ option at the top of the screen. This will list all of the repositories within your account. Unless you have done further work, you should only see the repository you have just created.
Open an existing repository
Now click on on your new repository name to open it.
The ADL Designer will open to display a list of the archetypes and templates contained in the selected repository.
Create a new template
Click on the 'New' button and select the 'Template' option.
In this manual we will start the template using the default COMPOSITION archetype as the basis for this template, however a template can be created using any type of archetype.
Select the Encounter COMPOSITION as the container archetype for the template.
Type the name of the template in the ‘Template Id field'. In this example, we intend to represent the clinical content in a hypothetical Admission note.
Click on the Create button to create the template, displayed below.
Create the template
Template name
The name of the active template is always displayed in the top blue tab.
In addition, the name of the template is also displayed at the top of the tree form – in this case 'Admission note' with the italicised annotation of NAME (from 'Encounter'), indicating that the Encounter archetype has been renamed for the purpose of creating a new Admission note template.
Note: A star next to the template name indicates that the template has changes that need to be saved. When you save a template, it will ask you to provide versioning information - you can just accept whatever suggestion is given.
The 'Definition' tab is the default view for every new template.
At this point the template comprises only the Encounter archetype as the container for future clinical content.
Add metadata descriptions
Select the Description tab
Click on the 'Description' tab to be able to add optional details about the template.
There are two subtabs - Header and Attribution.
Template Id – this can be edited
Lifecycle – select from a dropdown list. This is usually managed automatically within a CKM environment, but may be useful if using within a local governance environment.
Keywords – these can assist in searching for a specific template within a CKM environment
Purpose – the reason for creation of data set
Use – information about how the data set is intended to be use
Misuse – information about circumstances in which the data set should not be used, potentially including information about alternative templates that might be used as a valid alternative
Copyright – this will usually be managed automatically within a CKM environment
Other details – which are usually set within a CKM environment
License
Custodian organisation
Original namespace
Original publisher
Custodian namespace
This is me being picky. It should be saVe instead of saMe.