<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://example.org/fhir/StructureDefinition/BloodGlucoseSelfMeasurement" />
  <name value="BloodGlucoseSelfMeasurement" />
  <status value="draft" />
  <date value="2024-02-01T13:42:08.8714488+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.extension:lastMealExtension">
      <path value="Observation.extension" />
      <sliceName value="lastMealExtension" />
      <type>
        <code value="Extension" />
        <profile value="https://example.org/fhir/StructureDefinition/LastMealExtension" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.code.coding:LOINC">
      <path value="Observation.code.coding" />
      <sliceName value="LOINC" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:LOINC.system">
      <path value="Observation.code.coding.system" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="Observation.code.coding:LOINC.code">
      <path value="Observation.code.coding.code" />
      <fixedCode value="15074-8" />
    </element>
    <element id="Observation.code.coding:LOINC.display">
      <path value="Observation.code.coding.display" />
      <fixedString value="Glucose [Moles/volume] in Blood" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <min value="1" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.value[x].value">
      <path value="Observation.value[x].value" />
      <min value="1" />
    </element>
    <element id="Observation.value[x].unit">
      <path value="Observation.value[x].unit" />
      <min value="1" />
      <fixedString value="mmol/l" />
    </element>
  </differential>
</StructureDefinition>