diff --git a/src/libs/Terra/Generated/Terra.Models.LabReportReferenceRange.g.cs b/src/libs/Terra/Generated/Terra.Models.LabReportReferenceRange.g.cs index 52cb900..63582df 100644 --- a/src/libs/Terra/Generated/Terra.Models.LabReportReferenceRange.g.cs +++ b/src/libs/Terra/Generated/Terra.Models.LabReportReferenceRange.g.cs @@ -21,11 +21,17 @@ public sealed partial class LabReportReferenceRange public double? Upper { get; set; } /// - /// + /// Coded range type (open enum: normal, low, high, borderline_low, borderline_high, critical_low, critical_high, abnormal, therapeutic, subtherapeutic, toxic). A lossy coding of `label`, judged from the report's wording and where the band sits among the result's ranges — a prediabetes band between the no-diabetes and diabetes bands is borderline_high. Omitted when nothing in the vocabulary fits. /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] public string? Type { get; set; } + /// + /// The range's classification exactly as the report printed it — "Optimal", "Moderate", "Consistent with increased risk for diabetes (prediabetes)". When a result carries several ranges they are bands, not one normal interval; this is the field that says what each band means. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + public string? Label { get; set; } + /// /// The patient dimensions a reference range is scoped by. /// @@ -43,7 +49,12 @@ public sealed partial class LabReportReferenceRange /// /// /// - /// + /// + /// Coded range type (open enum: normal, low, high, borderline_low, borderline_high, critical_low, critical_high, abnormal, therapeutic, subtherapeutic, toxic). A lossy coding of `label`, judged from the report's wording and where the band sits among the result's ranges — a prediabetes band between the no-diabetes and diabetes bands is borderline_high. Omitted when nothing in the vocabulary fits. + /// + /// + /// The range's classification exactly as the report printed it — "Optimal", "Moderate", "Consistent with increased risk for diabetes (prediabetes)". When a result carries several ranges they are bands, not one normal interval; this is the field that says what each band means. + /// /// /// The patient dimensions a reference range is scoped by. /// @@ -54,11 +65,13 @@ public LabReportReferenceRange( double? lower, double? upper, string? type, + string? label, global::Terra.LabReportRangeContext? context) { this.Lower = lower; this.Upper = upper; this.Type = type; + this.Label = label; this.Context = context; } diff --git a/src/libs/Terra/openapi.yaml b/src/libs/Terra/openapi.yaml index 63fced9..f5a28ad 100644 --- a/src/libs/Terra/openapi.yaml +++ b/src/libs/Terra/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: description: The Terra API (v2 surface, served at access.tryterra.co/api/v2). title: TerraAPI - version: 2026.09.08.1 + version: 2026.09.08.2 license: name: Apache-2.0 url: https://github.com/tryterra/openapi/blob/master/LICENSE @@ -3457,6 +3457,13 @@ components: type: number type: type: string + description: 'Coded range type (open enum: normal, low, high, borderline_low, borderline_high, critical_low, critical_high, abnormal, therapeutic, subtherapeutic, toxic). A lossy coding of `label`, + judged from the report''s wording and where the band sits among the result''s ranges — a prediabetes band between the no-diabetes and diabetes bands is borderline_high. Omitted when nothing + in the vocabulary fits.' + label: + type: string + description: The range's classification exactly as the report printed it — "Optimal", "Moderate", "Consistent with increased risk for diabetes (prediabetes)". When a result carries several ranges + they are bands, not one normal interval; this is the field that says what each band means. context: $ref: '#/components/schemas/LabReportRangeContext' description: One reference range. type describes the range, not a verdict on the result.