← ClaudeAtlas

template-authoringlisted

This skill should be used when the user asks to "create a template", "design a template", "constrain archetypes into a template", "review a template", or "work with OET/OPT files". Covers creating openEHR templates, constraining archetypes, reviewing designs, and OET/OPT authoring. Use `/ckm-search` to find existing CKM templates and `/openehr-explain` to explain one; this skill is for authoring and constraining new OET designs.
Cadasto/openehr-assistant-plugin · ★ 3 · Data & Documents · score 79
Install: claude install-skill Cadasto/openehr-assistant-plugin
# Template Authoring ## Conflict Resolution When guides conflict, apply this priority (highest first): 1. Rules and syntax specifications 2. Idioms and structural constraints 3. Principles 4. Convenience ## Step 1: Load Guides (MANDATORY) Before any template work, load the authoritative guides: ``` guide_get("templates/principles") guide_get("templates/rules") ``` Load additional guides as needed: - `guide_get("templates/oet-syntax")` — OET authoring syntax - `guide_get("templates/oet-idioms-cheatsheet")` — common OET patterns ## Step 2: Research Before Creating Search for existing templates first: ``` ckm_template_search("<use-case>") ``` If creating a new template, search for archetypes to include: ``` ckm_archetype_search("<concept>") ``` ## Step 3: Use-Case Specificity Templates target particular clinical workflows. Define the use-case clearly: - What clinical scenario does this template serve? (e.g., discharge summary, vital signs form, medication reconciliation) - What data points are required vs optional? - Who will use it? (clinician, nurse, admin) ## Step 4: Archetype Aggregation ### Selecting Archetypes - Choose archetypes that precisely fit the use-case - Minimize archetype count — each should serve a clear purpose - Prefer well-established CKM archetypes over custom ones ### COMPOSITION Structure Templates are rooted in a COMPOSITION archetype. Nest entry archetypes (OBSERVATION, EVALUATION, INSTRUCTION, ACTION) and CLUSTER archetypes within it. U