-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat 1147 interoception #1190
Feat 1147 interoception #1190
Conversation
@@ -415,6 +488,7 @@ class IntraperitonealInjection(Injection): | |||
"""Description of an intraperitoneal injection procedure""" | |||
|
|||
procedure_type: Literal["Intraperitoneal injection"] = "Intraperitoneal injection" | |||
procedure_time: Optional[AwareDatetimeWithDefault] = Field(default=None, title="Collection time") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title is wrong
procedure_type: Literal["Catheter implant"] = "Catheter implant" | ||
protocol_id: Optional[str] = Field(default=None, title="Protocol ID", description="DOI for protocols.io") | ||
iacuc_protocol: str = Field(..., title="IACUC protocol") | ||
start_date: date = Field(..., title="Start date") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be procedure_time
instead of start_date
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only have date resolution on implants - especially when they are done offsite
class BloodCollection(AindModel): | ||
"""Description of a single blood collection""" | ||
|
||
collection_time: AwareDatetimeWithDefault = Field(..., title="Collection time") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
procedure_time
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a sub-procedure. It could just be time
if you prefer
closes #1147