<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IntraocularPressure" />
  <url value="http://openehr.org/StructureDefinition/IntraocularPressure" />
  <version value="0.1.0" />
  <name value="IntraocularPressure" />
  <title value="Intraocular pressure" />
  <status value="active" />
  <description value="[openEHR-EHR-COMPOSITION.encounter.v1] Interaction, contact or care event between a subject of care and healthcare provider(s).)" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://openehr.org/StructureDefinition/IntraocularPressure" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="IntraocularPressure">
      <path value="IntraocularPressure" />
      <short value="Intraocular pressure" />
      <definition value="[openEHR-EHR-COMPOSITION.encounter.v1] Interaction, contact or care event between a subject of care and healthcare provider(s).)" />
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult">
      <path value="IntraocularPressure.IntraocularPressureTestResult" />
      <short value="Intraocular pressure test result" />
      <definition value="[openEHR-EHR-OBSERVATION.intraocular_pressure.v0] The local measurement of intraocular pressure, most commonly using a tonometry device.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.time">
      <path value="IntraocularPressure.IntraocularPressureTestResult.time" />
      <short value="time" />
      <definition value="[RM] `OBSERVATION.EVENT.time` - Time of this Observation event. If the width is non-zero, it is the time point of the trailing edge of the event.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.eyeExamined">
      <path value="IntraocularPressure.IntraocularPressureTestResult.eyeExamined" />
      <short value="Eye examined" />
      <definition value="[at0057] Identification of the eye under examination.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressureEyeExamined" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.pressure">
      <path value="IntraocularPressure.IntraocularPressureTestResult.pressure" />
      <short value="Pressure" />
      <definition value="[at0042  | mm[Hg]] Measured intraocular pressure, using the method described in the 'Method' element. )" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.correctedPressure">
      <path value="IntraocularPressure.IntraocularPressureTestResult.correctedPressure" />
      <short value="Corrected pressure" />
      <definition value="[at0081  | mm[Hg]] Corrected value for intraocular pressure.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.waveformScore">
      <path value="IntraocularPressure.IntraocularPressureTestResult.waveformScore" />
      <short value="Waveform Score" />
      <definition value="[at0094  | ] Waveform Score produced by the Ocular Response Analyser device.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.semiquantitativeEstimation">
      <path value="IntraocularPressure.IntraocularPressureTestResult.semiquantitativeEstimation" />
      <short value="Semiquantitative Estimation" />
      <definition value="[at0083] Semi-quantitative description of the hardness of the eye. Typically performed by palpation with the examiners fingers. )" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressureSemiquantitativeEstimation" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.clinicalInterpretation">
      <path value="IntraocularPressure.IntraocularPressureTestResult.clinicalInterpretation" />
      <short value="Clinical interpretation" />
      <definition value="[at0061] Single word, phrase or brief description that represents the clinical meaning and significance of the physical examination findings.)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.comment">
      <path value="IntraocularPressure.IntraocularPressureTestResult.comment" />
      <short value="Comment" />
      <definition value="[at0063] Additional narrative about the measurement, not captured in other fields.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.method">
      <path value="IntraocularPressure.IntraocularPressureTestResult.method" />
      <short value="Method" />
      <definition value="[at0046] Type of tonometery used to measure intraocular pressure.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressureMethod" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.correctionType">
      <path value="IntraocularPressure.IntraocularPressureTestResult.correctionType" />
      <short value="Correction Type" />
      <definition value="[at0082] The method used to produce the corrected pressure value. )" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressureCorrectionType" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.confoundingFactors">
      <path value="IntraocularPressure.IntraocularPressureTestResult.confoundingFactors" />
      <short value="Confounding factors" />
      <definition value="[at0074] Description of any incidental factors related to the state of the subject which may affect clinical interpretation of the measurement.)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="preferred" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressureConfoundingFactors" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.prismGraduationMarkOn43DegOffsetMark">
      <path value="IntraocularPressure.IntraocularPressureTestResult.prismGraduationMarkOn43DegOffsetMark" />
      <short value="Prism graduation mark on 43° offset mark" />
      <definition value="[at0107  | deg] The value of the degree of the graduation mark on the Goldmann prism probe that was aligned with 43° offset mark, usually a visible by a red line or the letter A.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.prismGraduationMarkOnHorizontalMeridian">
      <path value="IntraocularPressure.IntraocularPressureTestResult.prismGraduationMarkOnHorizontalMeridian" />
      <short value="Prism graduation mark on horizontal meridian" />
      <definition value="[at0108  | deg] The value of the degree of the graduation mark on the Goldmann prism probe that was aligned with the horizontal meridian mark of the probe holder at the time of measurement. )" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.position">
      <path value="IntraocularPressure.IntraocularPressureTestResult.position" />
      <short value="Position" />
      <definition value="[at0109] The position of the individual at the time of measurement.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressurePosition" />
      </binding>
    </element>
    <element id="IntraocularPressure.IntraocularPressureTestResult.pupilState">
      <path value="IntraocularPressure.IntraocularPressureTestResult.pupilState" />
      <short value="Pupil state" />
      <definition value="[at0117] )" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/IntraocularPressurePupilState" />
      </binding>
    </element>
  </differential>
</StructureDefinition>