<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Affectedbodysurfacearea-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-affectedbodysurfacearea-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-OBSERVATION.affected_body_surface_area.v0" />
  </identifier>
  <version value="0" />
  <name value="Affectedbodysurfacearea" />
  <title value="Affected body surface area" />
  <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="Estimation of the proportion of body surface area affected by a skin injury or disease." />
  <purpose value="To record details about the estimated proportion of body surface area affected by a skin injury or disease." />
  <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="Affected_body_surface_area">
      <path value="Affected_body_surface_area" />
      <short value="Affected body surface area" />
      <definition value="Estimation of the proportion of body surface area affected by a skin injury or disease." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.protocol">
      <path value="Affected_body_surface_area.protocol" />
      <short value="Item tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.protocol" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.protocol.Extension">
      <path value="Affected_body_surface_area.protocol.Extension" />
      <short value="Extension" />
      <definition value="Additional information required to extend the model with local content or to align with other reference models or formalisms." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Affected_body_surface_area.protocol.Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History">
      <path value="Affected_body_surface_area.History" />
      <short value="History" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event">
      <path value="Affected_body_surface_area.History.Any_event" />
      <short value="Any event" />
      <definition value="Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data">
      <path value="Affected_body_surface_area.History.Any_event.data" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Condition_name">
      <path value="Affected_body_surface_area.History.Any_event.data.Condition_name" />
      <short value="Condition name" />
      <definition value="The name of the injury or disease affected the skin." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Condition_name" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Condition_name.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Condition_name.value" />
      <short value="Condition name" />
      <definition value="The name of the injury or disease affected the skin." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Condition_name.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="Affected_body_surface_area.History.Any_event.data.Description">
      <path value="Affected_body_surface_area.History.Any_event.data.Description" />
      <short value="Description" />
      <definition value="Narrative description about the affected body surface area assessment." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Description" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Description.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Description.value" />
      <short value="Description" />
      <definition value="Narrative description about the affected body surface area assessment." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.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="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected" />
      <short value="Total body surface area (TBSA) affected" />
      <definition value="The total sum of affected surface area across all body sites." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected.value" />
      <short value="Total body surface area (TBSA) affected" />
      <definition value="The total sum of affected surface area across all body sites." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_(TBSA)_affected.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site" />
      <short value="Per body site" />
      <definition value="Details about body surface area affected at each body site." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name" />
      <short value="Body site name" />
      <definition value="The name of the body site assessed." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name.value" />
      <short value="Body site name" />
      <definition value="The name of the body site assessed." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Body_site_name.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="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area" />
      <short value="Site surface area" />
      <definition value="The estimated percentage of total body surface area apportioned for the entire identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area.value" />
      <short value="Site surface area" />
      <definition value="The estimated percentage of total body surface area apportioned for the entire identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Site_surface_area.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area" />
      <short value="Affected site surface area" />
      <definition value="The estimated extent of total body surface area affected at the identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area.value" />
      <short value="Affected site surface area" />
      <definition value="The estimated extent of total body surface area affected at the identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Affected_site_surface_area.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity" />
      <short value="Per severity" />
      <definition value="Details about each severity of findings at the identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity" />
      <short value="Severity" />
      <definition value="The degree of severity of the condition at the identified site." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity.value" />
      <short value="Severity" />
      <definition value="The degree of severity of the condition at the identified site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Severity.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="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area" />
      <short value="Affected site surface area" />
      <definition value="The estimated extent of total body surface area affected by the degree of identified severity, at the identified body site." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area.value" />
      <short value="Affected site surface area" />
      <definition value="The estimated extent of total body surface area affected by the degree of identified severity, at the identified body site." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Per_body_site.Per_severity.Affected_site_surface_area.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity" />
      <short value="Total body surface area per severity" />
      <definition value="Details about the total sum of surface area affected per severity, across all body sites." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity" />
      <short value="Severity" />
      <definition value="The degree of severity of the condition." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity.value" />
      <short value="Severity" />
      <definition value="The degree of severity of the condition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Severity.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="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected" />
      <short value="Total body surface area affected" />
      <definition value="The total sum of body surface area affected by the degree of the identified severity, across all body sites." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected.value" />
      <short value="Total body surface area affected" />
      <definition value="The total sum of body surface area affected by the degree of the identified severity, across all body sites." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Total_body_surface_area_per_severity.Total_body_surface_area_affected.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Additional_detail">
      <path value="Affected_body_surface_area.History.Any_event.data.Additional_detail" />
      <short value="Additional detail" />
      <definition value="Additional details about the estimation of affected body surface area." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Additional_detail" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Image_representation">
      <path value="Affected_body_surface_area.History.Any_event.data.Image_representation" />
      <short value="Image representation" />
      <definition value="Digital image, video or diagram representing the affected body surface area findings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Image_representation" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Comment">
      <path value="Affected_body_surface_area.History.Any_event.data.Comment" />
      <short value="Comment" />
      <definition value="Additional narrative about the estimation of affected body surface area, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Affected_body_surface_area.History.Any_event.data.Comment.value">
      <path value="Affected_body_surface_area.History.Any_event.data.Comment.value" />
      <short value="Comment" />
      <definition value="Additional narrative about the estimation of affected body surface area, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Affected_body_surface_area.History.Any_event.data.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>