<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Inspectionofsputum-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-inspectionofsputum-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-CLUSTER.inspection_body_fluid-sputum.v0" />
  </identifier>
  <version value="0" />
  <name value="Inspectionofsputum" />
  <title value="Inspection of sputum" />
  <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="Findings observed during the macroscopic inspection of sputum." />
  <purpose value="To record the findings observed during the macroscopic inspection (including odour) of sputum." />
  <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="Inspection_of_sputum">
      <path value="Inspection_of_sputum" />
      <short value="Inspection of sputum" />
      <definition value="Findings observed during the macroscopic inspection of sputum." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Inspection_of_sputum.Fluid_name">
      <path value="Inspection_of_sputum.Fluid_name" />
      <short value="Fluid name" />
      <definition value="The name of the body fluid being examined." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Fluid_name" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Fluid_name.value">
      <path value="Inspection_of_sputum.Fluid_name.value" />
      <short value="Fluid name" />
      <definition value="The name of the body fluid being examined." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Fluid_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="Inspection_of_sputum.Description">
      <path value="Inspection_of_sputum.Description" />
      <short value="Description" />
      <definition value="Narrative description about the fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Description" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Description.value">
      <path value="Inspection_of_sputum.Description.value" />
      <short value="Description" />
      <definition value="Narrative description about the fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.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="Inspection_of_sputum.Appearance">
      <path value="Inspection_of_sputum.Appearance" />
      <short value="Appearance" />
      <definition value="The appearance of the sputum." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Appearance" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Appearance.value">
      <path value="Inspection_of_sputum.Appearance.value" />
      <short value="Appearance" />
      <definition value="The appearance of the sputum." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Appearance.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="Inspection_of_sputum.Consistency">
      <path value="Inspection_of_sputum.Consistency" />
      <short value="Consistency" />
      <definition value="The viscosity of the sputum." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Consistency" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Consistency.value">
      <path value="Inspection_of_sputum.Consistency.value" />
      <short value="Consistency" />
      <definition value="The viscosity of the sputum." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Consistency.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="Inspection_of_sputum.Colour">
      <path value="Inspection_of_sputum.Colour" />
      <short value="Colour" />
      <definition value="The colour of the body fluid." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Inspection_of_sputum.Colour" />
        <min value="0" />
        <max value="*" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Colour.value">
      <path value="Inspection_of_sputum.Colour.value" />
      <short value="Colour" />
      <definition value="The colour of the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Colour.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="Inspection_of_sputum.Odour">
      <path value="Inspection_of_sputum.Odour" />
      <short value="Odour" />
      <definition value="The smell of the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Odour" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Odour.value">
      <path value="Inspection_of_sputum.Odour.value" />
      <short value="Odour" />
      <definition value="The smell of the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Odour.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="Inspection_of_sputum.Blood">
      <path value="Inspection_of_sputum.Blood" />
      <short value="Blood" />
      <definition value="The qualitative amount of blood observed in the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Blood" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Blood.value">
      <path value="Inspection_of_sputum.Blood.value" />
      <short value="Blood" />
      <definition value="The qualitative amount of blood observed in the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Blood.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="Inspection_of_sputum.Blood_clots">
      <path value="Inspection_of_sputum.Blood_clots" />
      <short value="Blood clots" />
      <definition value="Blood clots are observed within or associated with the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Blood_clots" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Blood_clots.value">
      <path value="Inspection_of_sputum.Blood_clots.value" />
      <short value="Blood clots" />
      <definition value="Blood clots are observed within or associated with the body fluid." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Blood_clots.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="Inspection_of_sputum.Specific_findings">
      <path value="Inspection_of_sputum.Specific_findings" />
      <short value="Specific findings" />
      <definition value="Additional structured details about the body fluid." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Inspection_of_sputum.Specific_findings" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Inspection_of_sputum.Multimedia_representation">
      <path value="Inspection_of_sputum.Multimedia_representation" />
      <short value="Multimedia representation" />
      <definition value="Digital image, video or diagram representing the inspection findings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Inspection_of_sputum.Multimedia_representation" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Inspection_of_sputum.Clinical_interpretation">
      <path value="Inspection_of_sputum.Clinical_interpretation" />
      <short value="Clinical interpretation" />
      <definition value="Single word, phrase or brief description that represents the clinical meaning and significance of the examination findings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Inspection_of_sputum.Clinical_interpretation" />
        <min value="0" />
        <max value="*" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Clinical_interpretation.value">
      <path value="Inspection_of_sputum.Clinical_interpretation.value" />
      <short value="Clinical interpretation" />
      <definition value="Single word, phrase or brief description that represents the clinical meaning and significance of the examination findings." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Clinical_interpretation.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="Inspection_of_sputum.Comment">
      <path value="Inspection_of_sputum.Comment" />
      <short value="Comment" />
      <definition value="Additional narrative about the inspection findings, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Inspection_of_sputum.Comment.value">
      <path value="Inspection_of_sputum.Comment.value" />
      <short value="Comment" />
      <definition value="Additional narrative about the inspection findings, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Inspection_of_sputum.Comment.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="Inspection_of_sputum.Examination_not_done">
      <path value="Inspection_of_sputum.Examination_not_done" />
      <short value="Examination not done" />
      <definition value="Details to explicitly record that this examination was not performed." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Inspection_of_sputum.Examination_not_done" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
  </snapshot>
</StructureDefinition>