admissionServer/enums.go

74 lines
1.7 KiB
Go
Raw Normal View History

package main
type patientStates string
type sex int
type surgeryField int
type academicDegree int
type specialization int
type jobPosition int
type operationTypes int
const (
critical patientStates = "KRYTYCZNY" //KRYTYCZNY
stable patientStates = "STABILNY" //Stabilny
endangered patientStates = "ZAGROŻONY" // ZAGROZONY
none patientStates = "NULL" //NULL
)
const (
k sex = 0
m sex = 1
)
const (
ogolna surgeryField = 0
klatkiPiersiowej surgeryField = 1
sercowoNaczyniowa surgeryField = 2
ukladuNerwowego surgeryField = 3
urologia surgeryField = 4
szczekowoTwarzowa surgeryField = 5
urazowa surgeryField = 6
inne surgeryField = 7
)
const (
lekMed academicDegree = 0
lekRez academicDegree = 1
lekSpec academicDegree = 2
dr academicDegree = 3
drHab academicDegree = 4
prof academicDegree = 5
)
const (
chirOgolna specialization = 0
chirKlatkiPiers specialization = 1
chirSercowoNaczyn specialization = 2
chirUkNerwowego specialization = 3
chirUrologiczna specialization = 4
chirSzczekTwarz specialization = 5
chirUrazowa specialization = 6
)
const (
generalPracticioner jobPosition = 0
mainDoctor jobPosition = 1
viceManager jobPosition = 2
manager jobPosition = 3
hospitalHead jobPosition = 4
)
const (
szycie operationTypes = 0
resekcja operationTypes = 1
amputacja operationTypes = 2
drenaz operationTypes = 3
nastawienieZlaman operationTypes = 4
operacjaKlatkiPiers operationTypes = 5
operacjaSerca operationTypes = 6
operacjaUkNerwow operationTypes = 7
przeszczep operationTypes = 8
inneOperacje operationTypes = 9
)