← ClaudeAtlas

demographic-modelinglisted

This skill should be used when the user asks to "design a demographic model", "model a person/organisation/role", "design party relationships", "plan identity structures", or "work with demographic archetypes". Covers designing openEHR demographic models using the PARTY hierarchy, roles, capabilities, relationships, and identity patterns. For clinical EHR archetypes (OBSERVATION/EVALUATION/etc.) use `archetype-authoring`; this skill owns the demographic PARTY model.
Cadasto/openehr-assistant-plugin · ★ 3 · AI & Automation · score 79
Install: claude install-skill Cadasto/openehr-assistant-plugin
# Demographic Modeling > The RM detail in the steps below is a working summary. The `specs/rm-demographic` guide loaded in Step 1 is authoritative — if they disagree, follow the guide (or confirm against `type_specification_get`). ## Conflict Resolution When guides conflict, apply this priority (highest first): 1. Rules and structural constraints 2. Privacy and separation principles 3. Anti-patterns 4. Principles and examples 5. Convenience ## Step 1: Load Guides (MANDATORY) Before any demographic modeling work, load the authoritative guides: ``` guide_get("specs/rm-demographic") guide_get("archetypes/principles") ``` Load additional guides as needed: - `guide_get("specs/rm-ehr")` — for EHR/demographic separation context and cross-referencing patterns ## Step 2: Clarify Use Case Before designing, gather requirements: - **Entity types**: Which PARTY subtypes are needed — PERSON, ORGANISATION, GROUP, AGENT? - **Roles**: What roles do parties play? What capabilities and time validity apply? - **Relationships**: What relationships exist between parties? What is the directionality? - **Deployment context**: Is this a standalone demographic service, a PMI wrapper, or embedded within an EHR system? - **Privacy requirements**: What level of PARTY_SELF identification is appropriate for the deployment? ## Step 3: Research Before Creating Before designing new demographic archetypes, ALWAYS search CKM first: ``` ckm_archetype_search("person") ckm_archetype_search("organisati