<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Housingrecord-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-housingrecord-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-CLUSTER.housing_record.v1" />
  </identifier>
  <version value="0" />
  <name value="Housingrecord" />
  <title value="Housing record" />
  <status value="draft" />
  <date value="2024-06-18" />
  <publisher value="openEHR" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.veratech.es" />
    </telecom>
  </contact>
  <description value="Details about a single home or other residential setting of an individual during a specified period of time." />
  <purpose value="To record details about a single home or other residential setting of an individual during a specified period of time." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="openEHR" />
    <uri value="http://openehr.org" />
    <name value="openEHR Mapping" />
  </mapping>
  <mapping>
    <identity value="openEHR-natural" />
    <uri value="http://openehr.org" />
    <name value="openEHR natural path" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="StructureDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <snapshot>
    <element id="Housing_record">
      <path value="Housing_record" />
      <short value="Housing record" />
      <definition value="Details about a single home or other residential setting of an individual during a specified period of time." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Housing_record" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Name_label">
      <path value="Housing_record.Name_label" />
      <short value="Name/label" />
      <definition value="A name or label associated with this home or residential setting, to allow it to be distinguished from other housing records." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Name_label" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Name_label.value">
      <path value="Housing_record.Name_label.value" />
      <short value="Name/label" />
      <definition value="A name or label associated with this home or residential setting, to allow it to be distinguished from other housing records." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Name_label.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Description">
      <path value="Housing_record.Description" />
      <short value="Description" />
      <definition value="Narrative description about the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Description" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Description.value">
      <path value="Housing_record.Description.value" />
      <short value="Description" />
      <definition value="Narrative description about the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Description.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Date_commenced">
      <path value="Housing_record.Date_commenced" />
      <short value="Date commenced" />
      <definition value="The date when an individual commenced living in the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Date_commenced" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Date_commenced.value">
      <path value="Housing_record.Date_commenced.value" />
      <short value="Date commenced" />
      <definition value="The date when an individual commenced living in the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Date_commenced.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Residential_setting">
      <path value="Housing_record.Residential_setting" />
      <short value="Residential setting" />
      <definition value="The category that describes the place where an individual lives." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Residential_setting" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Residential_setting.value">
      <path value="Housing_record.Residential_setting.value" />
      <short value="Residential setting" />
      <definition value="The category that describes the place where an individual lives." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Residential_setting.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Tenure">
      <path value="Housing_record.Tenure" />
      <short value="Tenure" />
      <definition value="The legal right of the individual to occupy the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Tenure" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Tenure.value">
      <path value="Housing_record.Tenure.value" />
      <short value="Tenure" />
      <definition value="The legal right of the individual to occupy the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Tenure.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Address_details">
      <path value="Housing_record.Address_details" />
      <short value="Address details" />
      <definition value="The address of the residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Address_details" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Additional_details">
      <path value="Housing_record.Additional_details" />
      <short value="Additional details" />
      <definition value="Further details about the home or residential setting." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Housing_record.Additional_details" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Date_ceased">
      <path value="Housing_record.Date_ceased" />
      <short value="Date ceased" />
      <definition value="The date when an individual ceased living in the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Date_ceased" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Date_ceased.value">
      <path value="Housing_record.Date_ceased.value" />
      <short value="Date ceased" />
      <definition value="The date when an individual ceased living in the home or residential setting." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Date_ceased.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Housing_record.Comment">
      <path value="Housing_record.Comment" />
      <short value="Comment" />
      <definition value="Additional narrative about the home or residential setting not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Housing_record.Comment.value">
      <path value="Housing_record.Comment.value" />
      <short value="Comment" />
      <definition value="Additional narrative about the home or residential setting not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Housing_record.Comment.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
  </snapshot>
</StructureDefinition>