You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
donor_transplant_date: str|None=Field(None, description="Date of renal transplant")
25
+
donor_transplant_date: str|None=Field(
26
+
None,
27
+
description="Exact date of renal transplant; use YYYY-MM-DD format in your response. Only highlight date mentions with an explicit day, month, and year (e.g. 2020-01-15). All other date mentions, or an absence of a date mention, should be indicated with None.",
28
+
)
27
29
28
30
29
31
classDonorType(StrEnum):
@@ -51,9 +53,11 @@ class DonorRelationshipMention(SpanAugmentedMention):
51
53
52
54
53
55
classDonorHlaMatchQuality(StrEnum):
54
-
WELL="Well matched (0-1 mismatches)"
55
-
MODERATE="Moderately matched (2-4 mismatches)"
56
-
POOR="Poorly matched (5-6 mismatches)"
56
+
WELL="Well matched (0-1 mismatches) OR recipient explicitly documented as not sensitized"
57
+
MODERATE= (
58
+
"Moderately matched (2-4 mismatches) OR recipient explicitly documented as sensitized"
59
+
)
60
+
POOR="Poorly matched (5-6 mismatches) OR recipient explicitly documented as highly sensitized"
57
61
NOT_MENTIONED="HLA match quality not mentioned"
58
62
59
63
@@ -354,7 +358,7 @@ class DeceasedMention(SpanAugmentedMention):
354
358
deceased_date: str|None=Field(
355
359
None,
356
360
description=(
357
-
"If the patient is deceased, include the date the patient became deceased. "
361
+
"If the patient is deceased, include the date the patient became deceased. Use YYYY-MM-DD format if possible. "
358
362
"Use None if there is no date recorded or if the patient is not observed as deceased."
359
363
),
360
364
)
@@ -365,7 +369,7 @@ class DeceasedMention(SpanAugmentedMention):
0 commit comments