Skip to main content

BloodSugarAndInsulinValue

The value of the provided benefit for BenefitVariant.BLOOD_SUGAR_AND_INSULIN.

Carries both halves of a bundled catalogue position as a single benefit value, so that the bundled service stays one completion, one rejection and one billing record. Either half may be absent, but not both.

type BloodSugarAndInsulinValue {
bloodSugar: BloodSugarValue
insulin: InsulinValue
notAdministeredNote: String
notAdministeredReason: InsulinNotAdministeredReason
timeOfDay: LocalDateTime!
valueType: BenefitVariant!
}

Fields

BloodSugarAndInsulinValue.bloodSugar ● BloodSugarValue object

The measured blood sugar. Absent when no measurement was taken, which is permitted because the client may have measured themselves before the injection.

BloodSugarAndInsulinValue.insulin ● InsulinValue object

The administered insulin. Absent when no dose was recorded at all; then notAdministeredReason explains why.

BloodSugarAndInsulinValue.notAdministeredNote ● String scalar

Free-text explanation. Set when notAdministeredReason is OTHER.

BloodSugarAndInsulinValue.notAdministeredReason ● InsulinNotAdministeredReason enum

Why no insulin was administered. Set when insulin is absent or carries noInsulinNeeded.

BloodSugarAndInsulinValue.timeOfDay ● LocalDateTime! non-null scalar

The time of day of the bundled service. The blood sugar time when a measurement exists, otherwise the insulin time.

BloodSugarAndInsulinValue.valueType ● BenefitVariant! non-null enum

The variant of the benefit of the work item Used only for validation - Always BenefitVariant.BLOOD_SUGAR_AND_INSULIN.

Implemented By

BenefitValue union