Skip to content

Commit

Permalink
add intracerebral injection type and batch type
Browse files Browse the repository at this point in the history
  • Loading branch information
david-roper committed Feb 19, 2025
1 parent 305e808 commit 61b9f11
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions lib/forms/CoBrALab-Mouse-Surgery-Form/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,23 @@ export default defineInstrument({

},

intracerebralInjectionType: createDependentField({
kind: "string",
variant: "select",
label: "Intracerebral injection type",
options: {
"PBS": "PBS",
"Ms-PFF": "Ms-PFF",
"Hu-PFF": "Hu-PFF"
}
}, (type) => type === 'Intracerebral injection'),

intracerebralInjectionBatchType: createDependentField({
kind: "string",
variant: "input",
label: "Intracerebral injection batch type"
}, (type) => type === 'Intracerebral injection'),

surgeryType: createDependentField({
kind: "string",
variant: "select",
Expand Down Expand Up @@ -411,6 +428,14 @@ export default defineInstrument({
kind: "const",
ref: "hydrationVolume"
},
intracerebralInjectionType: {
kind: "const",
ref: "intracerebralInjectionType"
},
intracerebralInjectionBatchType: {
kind: "const",
ref: "intracerebralInjectionBatchType"
},
stereotaxUsed: {
kind: "const",
ref: "stereotaxUsed"
Expand Down Expand Up @@ -485,6 +510,8 @@ export default defineInstrument({
anesthesiaRecoveryTime: z.number().min(0).int().optional(),
hydrationProvided: z.boolean().optional(),
hydrationVolume: z.number().min(0).optional(),
intracerebralInjectionType: z.enum(["PBS", "Ms-PFF","Hu-PFF"]).optional(),
intracerebralInjectionBatchType: z.string().optional(),
stereotaxUsed: z.boolean().optional(),
stereotaxId: z.string().optional(),
surgeryType: z.enum(["Ovariectomy", "Electrode implant", "Fiber optic implant"]).optional(),
Expand Down

0 comments on commit 61b9f11

Please sign in to comment.