<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Observation-random-glucose-my-core" />
  <url value="http://fhir.hie.moh.gov.my/StructureDefinition/Observation-random-glucose-my-core" />
  <version value="1.0.0" />
  <name value="ObservationRandomGlucoseMyCore" />
  <title value="ObservationRandomGlucose (MY Core)" />
  <status value="active" />
  <date value="2024-02-12T04:04:09.5621857+00:00" />
  <description value="This profile is derived from the base FHIR [Observation](https://www.hl7.org/fhir/Observation.html) resource." />
  <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.code">
      <path value="Observation.code" />
      <short value="Fasting glucose measurement" />
      <definition value="Fasting glucose measurement" />
      <binding>
        <strength value="example" />
        <description value="Random glucose measurement" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/observation-glucose-my-core" />
      </binding>
    </element>
    <element id="Observation.code.coding.code">
      <path value="Observation.code.coding.code" />
      <short value="Random blood glucose" />
      <definition value="Random blood glucose" />
      <fixedCode value="271061004" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="preferred" />
        <description value="Glucose level outside range" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/glucose-level-my-core" />
      </binding>
    </element>
  </differential>
</StructureDefinition>