<?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">2018-05-29</original_author>
    <original_author id="name">Heather Leslie</original_author>
    <original_author id="organisation">Atomica Informatics</original_author>
    <original_author id="email">heather.leslie@atomicainformatics.com</original_author>
    <other_contributors>Amund Aakerholt, Helse Stavanger, KORFOR, Norway</other_contributors>
    <other_contributors>Morten Aas, Diakonhjemmet Sykehus, Norway</other_contributors>
    <other_contributors>Marit Alice Venheim, Helse Vest IKT, Norway</other_contributors>
    <other_contributors>Tomas Alme, DIPS ASA, Norway</other_contributors>
    <other_contributors>Erling Are Hole, Helse Bergen, Norway</other_contributors>
    <other_contributors>Stein Arne Rimehaug, Sunnaas sykehus, Norway</other_contributors>
    <other_contributors>Vebjørn Arntzen, Oslo University Hospital, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Koray Atalag, University of Auckland, New Zealand</other_contributors>
    <other_contributors>Silje Ljosland Bakke, Nasjonal IKT HF, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Marcus Baw, openGPSoC / BawMedical Ltd, United Kingdom</other_contributors>
    <other_contributors>Ivar Berge, Oslo Universitetssykehus, Norway</other_contributors>
    <other_contributors>Bjørn Christensen, Helse Bergen HF, Norway</other_contributors>
    <other_contributors>Angela Crovetti, CDC/NIOSH, United States</other_contributors>
    <other_contributors>Lisbeth Dahlhaug, Helse Midt - Norge IT, Norway</other_contributors>
    <other_contributors>Jayne Donaldson, University of Stirling, United Kingdom</other_contributors>
    <other_contributors>Bjørg Eli Hollund, helse-bergen, Norway</other_contributors>
    <other_contributors>Stig Erik Hegrestad, Helse Førde, Norway</other_contributors>
    <other_contributors>Samuel Frade, Marand, Portugal</other_contributors>
    <other_contributors>Hildegard Franke, freshEHR Clinical Informatics Ltd., United Kingdom</other_contributors>
    <other_contributors>Sergio Freire, State University of Rio de Janeiro, Brazil</other_contributors>
    <other_contributors>Mikkel Gaup Grønmo, FSE, Helse Nord, Norway (Nasjonal IKT redaktør)</other_contributors>
    <other_contributors>Carrick Gillespie, Omniq AB, Sweden</other_contributors>
    <other_contributors>Heather Grain, Llewelyn Grain Informatics, Australia</other_contributors>
    <other_contributors>Anne Gunn Haugland, Helse Bergen HF, Norway</other_contributors>
    <other_contributors>Sam Heard, Ocean Informatics, Australia</other_contributors>
    <other_contributors>Kristian Heldal, Telemark Hospital Trust, Norway</other_contributors>
    <other_contributors>Jørn Henrik Vold, Helse Bergen, Avdeling for rusmedisin, Norway</other_contributors>
    <other_contributors>Anca Heyd, DIPS ASA, Norway</other_contributors>
    <other_contributors>Teresa Highway, Alberta Health Services, Canada</other_contributors>
    <other_contributors>Annette Hole Sjøborg, DIPS ASA, Norway</other_contributors>
    <other_contributors>Evelyn Hovenga, EJSH Consulting, Australia</other_contributors>
    <other_contributors>Susanna Jönsson, Landstinget i Värmland, Sweden</other_contributors>
    <other_contributors>Lars Morgan Karlsen, DIPS ASA, Norway</other_contributors>
    <other_contributors>Tone Klund, DIPS AS, Norway</other_contributors>
    <other_contributors>Nils Kolstrup, Skansen Legekontor og Nasjonalt Senter for samhandling og telemedisin, Norway</other_contributors>
    <other_contributors>Harmony Kosola, Alberta Health Services, Canada</other_contributors>
    <other_contributors>Ron Krawec, Alberta Health Services, Canada</other_contributors>
    <other_contributors>Ronald Krawec, Alberta Health Services, Canada</other_contributors>
    <other_contributors>Anita Lagos, Haraldsplass Diakonale Sykehus, Norway</other_contributors>
    <other_contributors>Heather Leslie, Atomica Informatics, Australia (openEHR Editor)</other_contributors>
    <other_contributors>Pedro Leuschner, Centro Hospitalar do Porto, Portugal</other_contributors>
    <other_contributors>Hallvard Lærum, Direktoratet for e-helse, Norway</other_contributors>
    <other_contributors>Anne M Gromsrud, DIPS AS, Norway</other_contributors>
    <other_contributors>Siv Marie Lien, DIPS ASA, Norway</other_contributors>
    <other_contributors>Hildegard McNicoll, freshEHR Clinical Informatics Ltd., United Kingdom</other_contributors>
    <other_contributors>Ian McNicoll, freshEHR Clinical Informatics, United Kingdom</other_contributors>
    <other_contributors>John Meredith, NHS Wales Informatics Service, United Kingdom</other_contributors>
    <other_contributors>Erik Nissen, Cambio Healthcare Systems AB, Sweden</other_contributors>
    <other_contributors>Bjørn Næss, DIPS ASA, Norway</other_contributors>
    <other_contributors>Andrej Orel, Marand d.o.o., Slovenia</other_contributors>
    <other_contributors>Anne Pauline Anderssen, Helse Nord RHF, Norway</other_contributors>
    <other_contributors>Martin Paulson, Sykehuset i Vestfold, Norway</other_contributors>
    <other_contributors>Georg Reinhardt, Helse Fonna, Norway</other_contributors>
    <other_contributors>Tanja Riise, Nasjonal IKT HF, Norway</other_contributors>
    <other_contributors>Jussara Rotzsch, Hospital Alemão Oswaldo Cruz, Brazil</other_contributors>
    <other_contributors>Ragnhild Sandvold, Vestre Viken HF, Norway</other_contributors>
    <other_contributors>Line Silsand, Universitetssykehuset i Nord-Norge, Norway</other_contributors>
    <other_contributors>Ingrid Skard, Edproof, Norway</other_contributors>
    <other_contributors>Niclas Skyttberg, Karolinska Institutet, Sweden</other_contributors>
    <other_contributors>Andreas Sundstrom, Capio S:t Gorans Hospital, Sweden</other_contributors>
    <other_contributors>Nyree Taylor, Ocean Informatics, Australia</other_contributors>
    <other_contributors>Tesfay Teame, Folkehelseinstittutet, Norway</other_contributors>
    <other_contributors>Susanne Trønnes, Norway</other_contributors>
    <other_contributors>Jon Tysdahl, Furst medlab AS, Norway</other_contributors>
    <other_contributors>John Tore Valand, Helse Bergen, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Ingrid Vange, Helse Bergen, Norway</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">Housing, Rejected archetype [Internet]. openEHR Foundation, openEHR Clinical Knowledge Manager [cited: 2018-05-30]. Available from: http://www.openehr.org/ckm/#showArchetype_1013.1.1667.&#xD;
&#xD;
National Health Data Dictionary [Internet]. Canberra, Australia: Australian Institute of Health and Welfare (AIHW); 2012 [cited 2018 May 30].  Version 16 Cat. no.&#xD;
HWI 119. Available from: https://www.aihw.gov.au/getmedia/a90ff140-8abf-4e30-8861-da2ebf368d35/14306.pdf</other_details>
    <other_details id="current_contact">Heather Leslie, Atomica Informatics&lt;heather.leslie@atomicainformatics.com&gt;</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">B6E9BF318530E942C142329A2B110F6C</other_details>
    <other_details id="build_uid">242693e3-e7ca-402c-a973-101cb27743da</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 detaljer om et individs bolig eller boform i en spesifisert tidsperiode.</purpose>
      <keywords>bolig</keywords>
      <keywords>aldersbolig</keywords>
      <keywords>hjem</keywords>
      <keywords>hjemmesituasjon</keywords>
      <keywords>sykehjem</keywords>
      <keywords>omsorgsbolig</keywords>
      <keywords>midlertidig</keywords>
      <keywords>institusjon</keywords>
      <keywords>leilighet</keywords>
      <keywords>hospits</keywords>
      <keywords>uten fast bopel</keywords>
      <keywords>bopel</keywords>
      <keywords>UFB</keywords>
      <keywords>enebolig</keywords>
      <keywords>oppholdssted</keywords>
      <keywords>bokollektiv</keywords>
      <keywords>hybel</keywords>
      <keywords>hospice</keywords>
      <keywords>aldershjem</keywords>
      <keywords>bosted</keywords>
      <keywords>adresse</keywords>
      <keywords>hytte</keywords>
      <keywords>fritidsbolig</keywords>
      <keywords>tilrettelagt</keywords>
      <keywords>bofellesskap</keywords>
      <keywords>støtte</keywords>
      <keywords>botrening</keywords>
      <keywords>leieforhold</keywords>
      <keywords>småbruk</keywords>
      <keywords>gård</keywords>
      <use>Brukes for å registrere detaljer om et individs bolig eller boform i en spesifisert tidsperiode.&#xD;
&#xD;
Arketypen omfatter alle former for bolig og/eller boform. For eksempel: alle leide eller eide boliger over tid, veksling mellom to boliger i en spesifisert tidsperiode, gjennomreisende som nomader som flytter gjennom sesongen, omreisende eller hjemløse. &#xD;
&#xD;
Et individ kan ha flere aktive boliger samtidig. Hver bolig/boform eller adresse registreres i egne instanser av denne arketypen, for eksempel dersom et individ flytter fra ett hus til et annet eller til en leilighet, eller flytter den samme bobilen/campingvognen fra en adresse til en annen.&#xD;
&#xD;
Flere instanser av denne arketypen registrert over tid vil gi en oversikt over tidligere og nåværende bolig og/eller boform.&#xD;
&#xD;
En aktiv eller nåværende bolig/boform kan bli utledet fra "Dato for oppstart" hvis det ikke er registrert noe i "Dato for opphør".&#xD;
&#xD;
Hvis detaljer om en bolig/boform endrer seg vesentlig, som ved endring av adresse eller besittelsesrett, registreres dette i egne instanser av denne arketypen.&#xD;
&#xD;
Arketypen er laget for å benyttes i SLOTet "Bolig" i arketypen EVALUATION.housing_summary (Boligsammendrag), men kan også brukes innen andre ENTRY- eller CLUSTER-arketyper der det er klinisk relevant.&#xD;
&#xD;
Det kan være tilsynelatende eller reell overlapp mellom dataelementene i denne arketypen og opplysninger om bolig/adresse i demografisk informasjon i kliniske systemer. Dataelementene i denne arketypen er laget spesifikt for å støtte kliniske formål.</use>
      <misuse>Brukes ikke for å registrere informasjon om en den fysiske bygningen der individet bor. Bruk arketypen CLUSTER.dwelling for dette formålet.&#xD;
&#xD;
Brukes ikke for å registrere informasjon om individets boforhold. Bruk arketypen CLUSTER.household for dette formålet.&#xD;
&#xD;
Brukes ikke for å registrere hvem et individ bor med. Bruk arketypen EVALUATION.social_network for dette formålet.&#xD;
&#xD;
Brukes ikke for å registrere midlertidige endringer eller episoder innen en enkelt bolig eller boform, som å være på en kort ferie.&#xD;
&#xD;
Brukes ikke for å beskrive helserisikoer eller eksponering for farlige substanser i boligen eller boformen. Til dette brukes henholdsvis arketypene EVALUATION.health_risk eller EVALUATION.exposure.&#xD;
&#xD;
Brukes ikke for å registrere informasjon om bolig/boform for et individ på en bestemt dato (for eksempel 16. juni 2014) eller i løpet av en relativ tidsperiode, som for eksempel "siste 30 dager". Bruk en egnet OBSERVATION-arketype for dette formålet.</misuse>
      <copyright>© 2010 NEHTA, openEHR Foundation, Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>To record details about a single home or other residential setting of an individual during a specified period of time.</purpose>
      <keywords>housing</keywords>
      <keywords>accommodation</keywords>
      <keywords>residential care</keywords>
      <keywords>home</keywords>
      <keywords>house</keywords>
      <keywords>apartment</keywords>
      <keywords>homeless</keywords>
      <keywords>rent</keywords>
      <keywords>owner</keywords>
      <keywords>shared</keywords>
      <keywords>temporary</keywords>
      <keywords>institution</keywords>
      <keywords>flat</keywords>
      <keywords>condo</keywords>
      <keywords>condominium</keywords>
      <keywords>hospice</keywords>
      <use>Use to record details about a single home or other residential setting of an individual during a specified period of time.&#xD;
&#xD;
The scope of this archetype is inclusive of all residential settings occupied by an individual. For example: all rented homes over time; alternating between two homes during a specified period of time; transience, such as nomadic herders moving between seasonal pastures; itinerant travellers; or homeless.&#xD;
&#xD;
An individual may require more than one active housing record at a time. Each new residential setting or address should be recorded in a separate instance of this archetype. For example if an individual is moving from a house to another house or apartment, or moving the same mobile home from one address to another.&#xD;
&#xD;
Multiple instances of this archetype captured over time will result in the aggregation of a history of past and present housing situations.&#xD;
&#xD;
An active, or current housing situation may be implied from a 'Date commenced' but no 'Date ceased'. &#xD;
&#xD;
If the housing situation changes significantly, such as a change of address or type of tenure, then this should also be recorded as a separate instance of this archetype.&#xD;
&#xD;
This archetype has been specifically designed to be used in the 'Housing record' SLOT within the EVALUATION.housing_summary archetype, but can also be used within any other ENTRY or CLUSTER archetypes, where clinically appropriate.&#xD;
&#xD;
There may be some apparent or real overlap between the data elements in this archetype and housing/address details that may be stored as demographic details in clinical or administrative systems. These data elements have been designed specifically to support clinical purposes.</use>
      <misuse>Not to be used to record information about a physical building where an individual lives. Use CLUSTER.dwelling for this purpose.&#xD;
&#xD;
Not to be used to record information about the living arrangements for an individual. Use CLUSTER.household for this purpose.&#xD;
&#xD;
Not to be used to record who an individual lives with. Use EVALUATION.social_network for this purpose.&#xD;
&#xD;
Not to be used to record temporary changes or episodes within a single housing record, such as being on holiday.&#xD;
&#xD;
Not to be used for detailed descriptions of health risks or exposure to hazardous substances in the home or residential setting. Use the archetypes EVALUATION.health_risk or EVALUATION.exposure for this purpose.&#xD;
&#xD;
Not to be used to record information about the housing situation of an individual at a specific point in time (for example, on June 16, 2014) or during a relative interval of time (for example 'in the past 30 days'. Use an appropriate OBSERVATION archetype for this purpose.</misuse>
      <copyright>© Australian Digital Health Agency, openEHR Foundation, Nasjonal IKT HF</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>nb</code_string>
    </language>
    <author id="name">Silje Ljosland Bakke, John Tore Valand and Vebjørn Arntzen</author>
    <author id="organisation">Nasjonal IKT HF, Helse Bergen HF, Oslo University Hospital HF</author>
    <author id="email">silje.ljosland.bakke@nasjonalikt.no / john.tore.valand@helse-bergen.no / varntzen@ous-hf.no</author>
  </translations>
  <uid>
    <value>0685619e-070a-4cf7-8b85-c6b6aec243be</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-CLUSTER.housing_record.v1</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>CLUSTER</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_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>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_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>at0016</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>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_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>at0001</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>at0013</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="ARCHETYPE_SLOT">
        <rm_type_name>CLUSTER</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>
        <includes>
          <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.address(-[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\.address(-[a-zA-Z0-9_]+)*\.v1</pattern>
              </item>
              <reference_type>constraint</reference_type>
            </right_operand>
          </expression>
        </includes>
      </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>at0018</node_id>
        <includes>
          <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.living_arrangement(-[a-zA-Z0-9_]+)*\.v0|openEHR-EHR-CLUSTER\.dwelling(-[a-zA-Z0-9_]+)*\.v0/}</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\.living_arrangement(-[a-zA-Z0-9_]+)*\.v0|openEHR-EHR-CLUSTER\.dwelling(-[a-zA-Z0-9_]+)*\.v0</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>at0008</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>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>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Housing record</items>
        <items id="description">Details about a single home or other residential setting of an individual during a specified period of time.</items>
      </items>
      <items code="at0001">
        <items id="text">Residential setting</items>
        <items id="description">The category that describes the place where an individual lives.</items>
        <items id="comment">Coding of the residential setting with a terminology is preferred, where possible. The value sets for this data element are likely to vary between jurisdictions - it is anticipated that they will usually be set within a use-case specific template. For example: 'private residence'; supported accommodation facility'; 'residential aged care facility'; 'short term crisis accommodation facility; or 'public place/temporary shelter'.</items>
      </items>
      <items code="at0004">
        <items id="text">Address details</items>
        <items id="description">The address of the residential setting.</items>
      </items>
      <items code="at0005">
        <items id="text">Name/label</items>
        <items id="description">A name or label associated with this home or residential setting, to allow it to be distinguished from other housing records.</items>
        <items id="comment">For example: 'Holiday house'; &lt;name of institution&gt;; 'First home'; or 'Homeless'.</items>
      </items>
      <items code="at0007">
        <items id="text">Date commenced</items>
        <items id="description">The date when an individual commenced living in the home or residential setting.</items>
      </items>
      <items code="at0008">
        <items id="text">Date ceased</items>
        <items id="description">The date when an individual ceased living in the home or residential setting.</items>
      </items>
      <items code="at0013">
        <items id="text">Tenure</items>
        <items id="description">The legal right of the individual to occupy the home or residential setting.</items>
        <items id="comment">Coding of tenure with a terminology is preferred, where possible. The value sets for this data element are likely to vary between jurisdictions - it is anticipated that they will usually be set within a use-case specific template. For example: 'owner with a mortgage'; 'renter'; or 'no tenure'.</items>
      </items>
      <items code="at0014">
        <items id="text">Comment</items>
        <items id="description">Additional narrative about the home or residential setting not captured in other fields.</items>
      </items>
      <items code="at0016">
        <items id="text">Description</items>
        <items id="description">Narrative description about the home or residential setting.</items>
      </items>
      <items code="at0018">
        <items id="text">Additional details</items>
        <items id="description">Further details about the home or residential setting.</items>
        <items id="comment">For example: details about the structure of a dwelling, including stairs, elevator, electricity or cellar; or the people who reside in the same place such as members of family and the number of children living in the apartment.</items>
      </items>
    </term_definitions>
    <term_definitions language="nb">
      <items code="at0000">
        <items id="text">Bolig</items>
        <items id="description">Detaljer om et individs bolig eller boform i en spesifisert tidsperiode.</items>
      </items>
      <items code="at0001">
        <items id="text">Boform</items>
        <items id="description">Kategori som beskriver stedet individet bor.</items>
        <items id="comment">Koding av boform med en terminologi er foretrukket om mulig. Verdisettet vil sannsynligvis variere mellom myndighetsområder, det forventes at det vil defineres i en bruksspesifikk templat. For eksempel: "Egen bolig", "Institusjon", "Hospits", "Fengsel", "Hybelhus".</items>
      </items>
      <items code="at0004">
        <items id="text">Adressedetaljer</items>
        <items id="description">Adressen til boligen.</items>
      </items>
      <items code="at0005">
        <items id="text">Navn/merkelapp</items>
        <items id="description">Et navn eller merkelapp (label) på denne boligen eller boformen, slik at den kan atskilles fra andre registrerte boliger.</items>
        <items id="comment">For eksempel: "Feriehus", "Primærbolig", "Uten fast bopæl" eller navnet på institusjonen individet bor på.</items>
      </items>
      <items code="at0007">
        <items id="text">Dato for oppstart</items>
        <items id="description">Datoen da individet begynte å bo i boligen eller boformen.</items>
      </items>
      <items code="at0008">
        <items id="text">Dato for opphør</items>
        <items id="description">Datoen da individet sluttet å bo i boligen eller det ble endring i boformen.</items>
      </items>
      <items code="at0013">
        <items id="text">Råderett</items>
        <items id="description">Den juridiske rettigheten individet har for å bo på stedet.</items>
        <items id="comment">Koding av råderett med en terminologi er foretrukket om mulig. Verdisettet vil sannsynligvis variere mellom myndighetsområder, det forventes at det vil defineres i en bruksspesifikk templat. For eksempel: "Selveier", "Leietaker", "Fast plass".</items>
      </items>
      <items code="at0014">
        <items id="text">Kommentar</items>
        <items id="description">Ytterligere fritekst om bolig eller boformen som ikke er fanget opp i andre felt.</items>
      </items>
      <items code="at0016">
        <items id="text">Beskrivelse</items>
        <items id="description">Fritekstbeskrivelse av boligen eller boformen.</items>
      </items>
      <items code="at0018">
        <items id="text">Ytterligere detaljer</items>
        <items id="description">Ytterligere detaljer om boligen eller boformen.</items>
        <items id="comment">For eksempel: Detaljer om boligkonstruksjon (trapper, heis, elektrisitet eller fuktig kjeller), eller folkene som bor på samme sted (som familie og antall barn i boligen).</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
