| Locate archetype repository The ADL workbench will process archetypes found in a "reference repository" directory and an optional "work repository" directory. Typically the reference repository will be the 'dev' directory in the openEHR Subversion knowledge repository. You only need to specify a work repository if you are developing archetypes yourself; its location may well be in another part of the openEHR Subversion repository, or another version-controlled area used with colleagues. If both are specified, the archetypes will be merged into a single tree in the ADL Workbench, under a common folder structure, and showing specialisation relationships. To make merging work properly, the directory structure of a work repository should follow that used in the openEHR Subversion knowledge repository. For both reference and work repositories, the repository location is specified in the Repository setting dialog, from the Repository menu, as shown in the screen shot. The directory just above the directories you want to see should be chosen. In the example here, the "dev/adl" directory in a local copy of the openEHR Subversion knowledge repository (http://svn.openehr.org/knowledge) is being chosen for the reference repository, and a directory "dev-nl-tno/adl" as the work repository. |
![]() Repository setting |
| Merged Archetype Repositories If a work repository has been specified along with the reference repository, the appearance of the two groups of archetypes will be as shown in the example. Note that archetypes from the work repository that are specialisations of those in the reference repository will be dislayed that way in the tree merge. |
![]() Merged archetype repositories |