You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
674 B
23 lines
674 B
import {schema} from "../schemata/SchemaData";
|
|
|
|
export enum Suicidality {
|
|
NONE = "None",
|
|
PASSIVE = "Passive",
|
|
INTRUSIVE = "Intrusive",
|
|
ACTIVE = "Active",
|
|
RESIGNED = "Resigned",
|
|
PLANNING = "Planning",
|
|
PLANNED = "Planned",
|
|
DANGER = "Danger",
|
|
}
|
|
export const SUICIDALITIES: Suicidality[] = [Suicidality.NONE, Suicidality.PASSIVE, Suicidality.INTRUSIVE, Suicidality.ACTIVE, Suicidality.RESIGNED, Suicidality.PLANNING, Suicidality.PLANNED, Suicidality.DANGER]
|
|
|
|
export type SuicidalityJTD = typeof SuicidalityJTD
|
|
export const SuicidalityJTD = schema({
|
|
schema: {
|
|
enum: SUICIDALITIES
|
|
},
|
|
key: "suicidality",
|
|
references: [],
|
|
})
|
|
|
|
|