<?xml version="1.0" encoding="UTF-8"?>
<archetype xmlns="http://schemas.openehr.org/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <original_language>
    <terminology_id>
      <value>ISO_639-1</value>
    </terminology_id>
    <code_string>en</code_string>
  </original_language>
  <is_controlled>false</is_controlled>
  <description>
    <original_author id="date">2026-02-04</original_author>
    <original_author id="name">Karsten Ovretveit</original_author>
    <original_author id="organisation">Helse Vest IKT</original_author>
    <original_author id="email">karsten.ovretveit@helse-vest-ikt.no</original_author>
    <other_contributors>Vebjørn Arntzen, Oslo universitetssykehus HF, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Silje Ljosland Bakke, Helse Vest IKT AS, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>SB Bhattacharyya, Bhattacharyyas Clinical Records Research &amp; Informatics LLP, India</other_contributors>
    <other_contributors>Gunn Elin Blakkisrud, DIPS ASA, Norway</other_contributors>
    <other_contributors>Kåre Flø, DIPS ASA, Norway</other_contributors>
    <other_contributors>Ciprian Gerstenberger, HN IKT, Norway  (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Heather Grain, Llewelyn Grain Informatics, Australia</other_contributors>
    <other_contributors>Marte Vassli Gullesen, HNIKT, Norway</other_contributors>
    <other_contributors>Atle Hansen, Universitetssykehuset Nord-Norge, Norway</other_contributors>
    <other_contributors>Grete Hovde Bøe, Sykehuspartner HF, Norway</other_contributors>
    <other_contributors>Elin Kristiansen, Sykehuspartner HF, Norway</other_contributors>
    <other_contributors>Kanika Kuwelker, Helse Vest IKT, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Eli Larsen, UNN, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Liv Laugen, Oslo universitetssykehus, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Heather Leslie, Atomica Informatics, Australia (openEHR Editor)</other_contributors>
    <other_contributors>Ruth Lochan, Akademiska Sjukhuset Uppsala, Sweden</other_contributors>
    <other_contributors>Hanne Marte Bårholm, Helse Vest IKT, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Ian McNicoll, freshEHR Clinical Informatics, United Kingdom</other_contributors>
    <other_contributors>Martin Milde, Helse Vest IKT, Norway</other_contributors>
    <other_contributors>Olha Nikolaieva, University Hospital Basel, Switzerland</other_contributors>
    <other_contributors>Mikael Nyström, Cambio Healthcare Systems AB, Sweden</other_contributors>
    <other_contributors>Ruben Rognmo, Helse Nord IKT, Norway</other_contributors>
    <other_contributors>Terje Sagmyr, Helse Vest IKT, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Lena Schell-Majoor, University of Oldenburg, Germany</other_contributors>
    <other_contributors>Nyree Taylor, CSIRO, Australia</other_contributors>
    <other_contributors>John Tore Valand, Helse Vest IKT, Norway (openEHR Norway redaktør)</other_contributors>
    <other_contributors>Lin Zhang, Freelancer, China</other_contributors>
    <other_contributors>Karsten Øvretveit, Helse Vest IKT, Norway (openEHR Norway redaktør)</other_contributors>
    <lifecycle_state>published</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.</other_details>
    <other_details id="custodian_organisation">openEHR Foundation</other_details>
    <other_details id="references">Citizenship, Draft archetype [Internet]. openEHR Foundation, openEHR Clinical Knowledge Manager [cited: 2026-09-16]. Available from: https://ckm.openehr.org/ckm/archetypes/1013.1.8225</other_details>
    <other_details id="original_namespace">org.openehr</other_details>
    <other_details id="original_publisher">openEHR Foundation</other_details>
    <other_details id="custodian_namespace">org.openehr</other_details>
    <other_details id="MD5-CAM-1.0.1">A14901A61DBB9E01653BBCD0B68C7839</other_details>
    <other_details id="build_uid">bbf627b0-5968-448b-a136-59baddbcd155</other_details>
    <other_details id="revision">1.0.0</other_details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>nb</code_string>
      </language>
      <purpose>For å registrere personens juridiske statsborgerskapsstatus ved å identifisere staten(e) personen er statsborger i. Arketypen kan også brukes for å dokumentere at personen er statsløs eller at personens statsborgerskap ikke kan fastslås.</purpose>
      <keywords>statsborgerskap, statsborger, nasjonalitet, nasjon, statsløs, juridisk status, land, stat</keywords>
      <use>Brukes for å registrere personens juridiske statsborgerskapsstatus ved å identifisere staten(e) personen er statsborger i. Arketypen kan også brukes for å dokumentere at personen er statsløs eller at personens statsborgerskap ikke kan fastslås.</use>
      <misuse>Brukes ikke for å registrere fødeland, etnisitet, kulturell identitet, immigrasjonsstatus, oppholdstillatelse eller språk. Dette kan registreres i andre arketyper, for eksempel EVALUATION.birth_details, EVALUATION.ethnicity og CLUSTER.language.</misuse>
      <copyright>© openEHR Foundation</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>To record the individual’s legal citizenship status, identify the state(s) of which the individual is a citizen, or document that the individual is stateless or that their citizenship cannot be determined.</purpose>
      <keywords>citizen, nationality, nation, stateless, national, country, state</keywords>
      <use>Use to record the individual’s legal citizenship status, identify the state(s) of which the individual is a citizen, or document that the individual is stateless or that their citizenship cannot be determined. Stateless indicates absence of any current citizenship. Historical citizenships may still be documented. Citizenship can be included in data submissions to national health registries and public health reporting systems, where citizenship status may affect cohort definitions, statistics, billing, legal rights, or reporting obligations.</use>
      <misuse>Not to be used to record country of birth, this can be recorded in EVALUATION.birth_details.&#xD;
&#xD;
Not to be used to record self-identified cultural or national identity, this can be recorded in EVALUATION.ethnicity.&#xD;
&#xD;
Not to be used to record language, this can be recorded in CLUSTER.language.&#xD;
&#xD;
Not to be used to record immigration status, residence permits, long-term visas, or language. The need for specific archetypes for these purposes is acknowledged but had not yet been developed at the time of the publication of this archetype.</misuse>
      <copyright />
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>nb</code_string>
    </language>
  </translations>
  <uid>
    <value>c09efc60-c059-4b46-9e31-6517e9c6109b</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-ADMIN_ENTRY.citizenship.v1</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>ADMIN_ENTRY</rm_type_name>
    <occurrences>
      <lower_included>true</lower_included>
      <upper_included>true</upper_included>
      <lower_unbounded>false</lower_unbounded>
      <upper_unbounded>false</upper_unbounded>
      <lower>1</lower>
      <upper>1</upper>
    </occurrences>
    <node_id>at0000</node_id>
    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
      <rm_attribute_name>data</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ITEM_TREE</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0001</node_id>
        <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
          <rm_attribute_name>items</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0017</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_CODED_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>defining_code</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>1</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_CODE_PHRASE">
                    <rm_type_name>CODE_PHRASE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <terminology_id>
                      <value>local</value>
                    </terminology_id>
                    <code_list>at0018</code_list>
                    <code_list>at0019</code_list>
                    <code_list>at0020</code_list>
                  </children>
                </attributes>
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0016</node_id>
            <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
              <rm_attribute_name>items</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0030</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0006</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_CODED_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>defining_code</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>1</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_CODE_PHRASE">
                        <rm_type_name>CODE_PHRASE</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <terminology_id>
                          <value>local</value>
                        </terminology_id>
                        <code_list>at0008</code_list>
                        <code_list>at0009</code_list>
                      </children>
                    </attributes>
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0007</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_CODED_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>defining_code</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>1</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_CODE_PHRASE">
                        <rm_type_name>CODE_PHRASE</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <terminology_id>
                          <value>local</value>
                        </terminology_id>
                        <code_list>at0010</code_list>
                        <code_list>at0011</code_list>
                        <code_list>at0012</code_list>
                      </children>
                    </attributes>
                  </children>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="ARCHETYPE_SLOT">
                <rm_type_name>CLUSTER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>0</lower>
                </occurrences>
                <node_id>at0028</node_id>
                <includes>
                  <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.media_file(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.knowledge_base_reference(-[a-zA-Z0-9_]+)*\.v1/}</string_expression>
                  <expression xsi:type="EXPR_BINARY_OPERATOR">
                    <type>Boolean</type>
                    <operator>2007</operator>
                    <precedence_overridden>false</precedence_overridden>
                    <left_operand xsi:type="EXPR_LEAF">
                      <type>String</type>
                      <item xsi:type="xsd:string">archetype_id/value</item>
                      <reference_type>attribute</reference_type>
                    </left_operand>
                    <right_operand xsi:type="EXPR_LEAF">
                      <type>C_STRING</type>
                      <item xsi:type="C_STRING">
                        <pattern>openEHR-EHR-CLUSTER\.media_file(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.knowledge_base_reference(-[a-zA-Z0-9_]+)*\.v1</pattern>
                      </item>
                      <reference_type>constraint</reference_type>
                    </right_operand>
                  </expression>
                </includes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0004</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_DATE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0005</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_DATE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0014</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <cardinality>
                <is_ordered>false</is_ordered>
                <is_unique>false</is_unique>
                <interval>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>1</lower>
                </interval>
              </cardinality>
            </attributes>
          </children>
          <children xsi:type="ARCHETYPE_SLOT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0022</node_id>
            <includes>
              <string_expression>archetype_id/value matches {/.*/}</string_expression>
              <expression xsi:type="EXPR_BINARY_OPERATOR">
                <type>Boolean</type>
                <operator>2007</operator>
                <precedence_overridden>false</precedence_overridden>
                <left_operand xsi:type="EXPR_LEAF">
                  <type>String</type>
                  <item xsi:type="xsd:string">archetype_id/value</item>
                  <reference_type>attribute</reference_type>
                </left_operand>
                <right_operand xsi:type="EXPR_LEAF">
                  <type>C_STRING</type>
                  <item xsi:type="C_STRING">
                    <pattern>.*</pattern>
                  </item>
                  <reference_type>constraint</reference_type>
                </right_operand>
              </expression>
            </includes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0023</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_DATE_TIME</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0029</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <cardinality>
            <is_ordered>false</is_ordered>
            <is_unique>false</is_unique>
            <interval>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </interval>
          </cardinality>
        </attributes>
      </children>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Citizenship</items>
        <items id="description">A record of the individual’s legal citizenship status, identifying the state or states of which the individual is a citizen.</items>
        <items id="comment">While "citizenship" and "nationality" can differ in some legal contexts, they are often used interchangeably in practice. In this archetype, the term "citizenship" is used.</items>
      </items>
      <items code="at0001">
        <items id="text">Item tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">Valid from</items>
        <items id="description">When the citizenship started.</items>
      </items>
      <items code="at0005">
        <items id="text">Valid to</items>
        <items id="description">When the citizenship ended.</items>
      </items>
      <items code="at0006">
        <items id="text">Current?</items>
        <items id="description">The status of the citizenship.</items>
      </items>
      <items code="at0007">
        <items id="text">Information source</items>
        <items id="description">The source of information of the citizenship.</items>
        <items id="comment">Use free text to describe other sources of information of the citizenship.</items>
      </items>
      <items code="at0008">
        <items id="text">Current</items>
        <items id="description">Current citizenship.</items>
      </items>
      <items code="at0009">
        <items id="text">Previous</items>
        <items id="description">Previous citizenship.</items>
      </items>
      <items code="at0010">
        <items id="text">Self-reported</items>
        <items id="description">Information provided directly by the individual.</items>
      </items>
      <items code="at0011">
        <items id="text">Document-based</items>
        <items id="description">For example passport or other official documents.</items>
      </items>
      <items code="at0012">
        <items id="text">Registry-based</items>
        <items id="description">For example a national population register.</items>
      </items>
      <items code="at0014">
        <items id="text">Comment</items>
        <items id="description">Additional narrative about the specific citizenship, not captured in other fields.</items>
      </items>
      <items code="at0016">
        <items id="text">Specific citizenship</items>
        <items id="description">Details about a specific current or former citizenship held by the individual.</items>
        <items id="comment">Multiple citizenships can be recorded by repeating this cluster.</items>
      </items>
      <items code="at0017">
        <items id="text">Status</items>
        <items id="description">The status of the individual's citizenship.</items>
      </items>
      <items code="at0018">
        <items id="text">Citizen</items>
        <items id="description">The individual is legally recognized as a citizen by at least one state.</items>
      </items>
      <items code="at0019">
        <items id="text">Stateless</items>
        <items id="description">The individual is not legally recognized as a citizen by any state.</items>
      </items>
      <items code="at0020">
        <items id="text">Unknown</items>
        <items id="description">The individual’s citizenship is unknown.</items>
      </items>
      <items code="at0022">
        <items id="text">Additional details</items>
        <items id="description">Additional structured details about citizenship status.</items>
      </items>
      <items code="at0023">
        <items id="text">Last updated</items>
        <items id="description">The date the citizenship details were last updated.</items>
      </items>
      <items code="at0028">
        <items id="text">Information source details</items>
        <items id="description">Additional structured details about the source of the specific citizenship.</items>
      </items>
      <items code="at0029">
        <items id="text">Overall comment</items>
        <items id="description">Additional narrative about citizenship, not captured in other fields.</items>
      </items>
      <items code="at0030">
        <items id="text">Country</items>
        <items id="description">The country of the citizenship.</items>
        <items id="comment">Coding with an external terminology is preferred, where possible, for example ISO 3166-1 alpha-2.</items>
      </items>
    </term_definitions>
    <term_definitions language="nb">
      <items code="at0000">
        <items id="text">Statsborgerskap</items>
        <items id="description">En registrering av personens juridiske statsborgerskap, som identifiserer hvilken stat eller hvilke stater personen er statsborger i.</items>
      </items>
      <items code="at0001">
        <items id="text">Item tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">Gyldig fra</items>
        <items id="description">Starten på statsborgerskap.</items>
      </items>
      <items code="at0005">
        <items id="text">Gyldig til</items>
        <items id="description">Slutten på statsborgerskap.</items>
      </items>
      <items code="at0006">
        <items id="text">Nåværende?</items>
        <items id="description">Tidsstatus for registrert statsborgerskap.</items>
      </items>
      <items code="at0007">
        <items id="text">Informasjonskilde</items>
        <items id="description">Opplysningskilde for statsborgerskap.</items>
        <items id="comment">Bruk fritekst til å beskrive andre opplysningskilder for statsborgerskap.</items>
      </items>
      <items code="at0008">
        <items id="text">Nåværende</items>
        <items id="description">Nåværende statsborger.</items>
      </items>
      <items code="at0009">
        <items id="text">Tidligere</items>
        <items id="description">Tidligere statsborger.</items>
      </items>
      <items code="at0010">
        <items id="text">Selvrapportert</items>
        <items id="description">Informasjon oppgitt direkte av personen.</items>
      </items>
      <items code="at0011">
        <items id="text">Dokumentbasert</items>
        <items id="description">For eksempel pass eller andre offisielle dokumenter.</items>
      </items>
      <items code="at0012">
        <items id="text">Registerbasert</items>
        <items id="description">For eksempel et nasjonalt folkeregister.</items>
      </items>
      <items code="at0014">
        <items id="text">Kommentar</items>
        <items id="description">Ytterligere fritekst om det spesifikke statsborgerskapet som ikke er registrert i andre felt.</items>
      </items>
      <items code="at0016">
        <items id="text">Spesifikt statsborgerskap</items>
        <items id="description">Detaljer om nåværende og/eller tidligere statsborgerskap som personen har hatt.</items>
      </items>
      <items code="at0017">
        <items id="text">Status</items>
        <items id="description">Juridisk statsborgerskapsstatus.</items>
      </items>
      <items code="at0018">
        <items id="text">Statsborger</items>
        <items id="description">Personen er juridisk anerkjent som statsborger av minst én stat.</items>
      </items>
      <items code="at0019">
        <items id="text">Statsløs</items>
        <items id="description">Personen er ikke anerkjent som statsborger av noen stat.</items>
      </items>
      <items code="at0020">
        <items id="text">Ukjent</items>
        <items id="description">Personens statsborgerskap er ukjent.</items>
      </items>
      <items code="at0022">
        <items id="text">Ytterligere detaljer</items>
        <items id="description">Ytterligere detaljer om statsborgerskapsstatus.</items>
      </items>
      <items code="at0023">
        <items id="text">Sist oppdatert</items>
        <items id="description">Datoen statsborgerskap sist ble oppdatert.</items>
      </items>
      <items code="at0028">
        <items id="text">Detaljer om informasjonskilde</items>
        <items id="description">Ytterligere detaljer om kilde til det spesifikke statsborgerskapet.</items>
      </items>
      <items code="at0029">
        <items id="text">Generell kommentar</items>
        <items id="description">Ytterligere fritekst om statsborgerskap som ikke er registrert i andre felt.</items>
      </items>
      <items code="at0030">
        <items id="text">Land</items>
        <items id="description">Landet for statsborgerskap.</items>
        <items id="comment">Koding med en ekstern terminologi bør brukes der det er mulig, for eksempel ISO 3166-1 alpha-2.</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
