1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417 |
- ---
- table: _subjects
- maps: subject_table
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: subjectID
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: name
- dtype: str
- maps: name
- hide: yes
- - name: phone
- dtype: str(10)
- maps: phone
- like: "[0-9]{10}"
- hide: yes
- - name: gender
- dtype: str(6)
- maps: gender
- case: lower
- like: "(male|female)"
- - name: date_of_birth
- dtype: date
- maps: subjectID
- like: "^\\d{4}-\\d{2}-\\d{2}$"
- replace:
- value: subjectID
- to: DOB
- file: ""
- - name: city
- dtype: str
- maps: city
- case: lower
- like: "[a-z A-Z]+"
- hide: yes
- - name: update_timestamp
- dtype: datetime
- maps: date
- ---
- table: _assessments
- maps: mainassessment_table
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: subjectID
- like: "D[0-9]{4}"
- refs: "_subjects.subject"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: appointment_date
- dtype: datetime
- maps: deep_date
- - name: update_timestamp
- dtype: datetime
- maps: Tdate
- ---
- table: _clinical_global_impression
- maps: cgitable
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: severity_of_illness
- dtype: integer
- maps: ans1
- between: [0,7]
- - name: global_improvement
- dtype: integer
- maps: ans2
- between: [0,7]
- - name: efficacy_index
- dtype: integer
- maps: ans3
- between: [0,15]
- - name: score
- dtype: integer
- maps: Stotal
- between: [0,29]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _hindi_mental_state_examination
- maps: hindi__mental__state__examinationtable
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: time_of_day
- dtype: boolean
- maps: ans1
- - name: day_of_week
- dtype: boolean
- maps: ans2
- - name: date_of_month
- dtype: boolean
- maps: ans3
- - name: month_of_year
- dtype: boolean
- maps: ans4
- - name: season_of_year
- dtype: boolean
- maps: ans5
- - name: village_post_office
- dtype: boolean
- maps: ans6
- - name: village_district
- dtype: boolean
- maps: ans7
- - name: village_name
- dtype: boolean
- maps: ans8
- - name: area_number
- dtype: boolean
- maps: ans9
- - name: place_name
- dtype: boolean
- maps: ans10
- - name: object_registration
- dtype: integer
- maps: ans11
- betweeen: [0,3]
- - name: world_backwards
- dtype: integer
- maps: ans12
- betweeen: [0,5]
- - name: object_recall
- dtype: integer
- maps: ans13_14_15
- betweeen: [0,5]
- - name: name_watch
- dtype: boolean
- maps: ans17
- - name: name_pen
- dtype: boolean
- maps: ans18
- - name: repeat_phrase
- dtype: boolean
- maps: ans19
- - name: follow_command
- dtype: boolean
- maps: ans20
- - name: three_step_task
- dtype: integer
- maps: ans21
- betweeen: [0,3]
- - name: score
- dtype: integer
- maps: total
- - name: attempted
- dtype: integer
- maps: attended_ques
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _adult_adhd_self_report_scale
- maps: adult_adhd_self_report_scaletable
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: trouble_wrapping_final_details
- dtype: str(10)
- maps: ans1
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_in_organization
- dtype: str(10)
- maps: ans2
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: problem_remembering_appointments
- dtype: str(10)
- maps: ans1
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: avoid_challenging_tasks
- dtype: str(10)
- maps: ans4
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: fidget_while_seated
- dtype: str(10)
- maps: ans5
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: overly_active
- dtype: str(10)
- maps: ans6
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: careless_mistakes_on_boring_tasks
- dtype: str(10)
- maps: ans7
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_focusing_on_boring_tasks
- dtype: str(10)
- maps: ans8
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_focusing_on_people_speaking
- dtype: str(10)
- maps: ans9
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_finding_things
- dtype: str(10)
- maps: ans10
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: easily_distracted_by_noise
- dtype: str(10)
- maps: ans11
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_remaining_seated
- dtype: str(10)
- maps: ans12
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: feel_restless
- dtype: str(10)
- maps: ans13
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_unwinding_in_seclusion
- dtype: str(10)
- maps: ans14
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: talkative_in_social_situations
- dtype: str(10)
- maps: ans15
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: finish_sentences_for_others
- dtype: str(10)
- maps: ans16
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: difficulty_waiting_for_turn
- dtype: str(10)
- maps: ans17
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: integererrupt_others_when_busy
- dtype: str(10)
- maps: ans18
- in: [Never, Rarely, Sometimes, Often, Very Often]
- - name: age_during_first_occurence_of_problem
- dtype: integer
- maps: problm
- like: "[0-9]+"
- between: [1,100]
- - name: symptoms_not_consistent_with_adhd
- dtype: integer
- maps: A_White
- between: [0,6]
- - name: additional_cues_not_consistent_with_adhd
- dtype: integer
- maps: B_White
- between: [0,12]
- - name: symptoms_highly_consistent_with_adhd
- dtype: integer
- maps: A_Dark
- between: [0,6]
- - name: additional_cues_consistent_with_adhd
- dtype: integer
- maps: B_Dark
- between: [0,12]
- - name: not_consistent_with_adhd_score
- dtype: integer
- maps: AB_White
- between: [0,18]
- - name: consistent_with_adhd_score
- dtype: integer
- maps: AB_Dark
- between: [0,18]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _modified_kuppuswamy_socioeconomic_scale
- maps: modified_kuppuswamy_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: education_level
- dtype: integer
- maps: education
- between: [1,7]
- - name: occupation_level
- dtype: integer
- maps: occupation
- between: [1,10]
- - name: income_level
- dtype: integer
- maps: Income
- between: [1,12]
- - name: score
- dtype: integer
- maps: stotal
- between: [1,29]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _work_and_social_adjustment_scale
- maps: workandsocial_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: unrelated_retirement
- dtype: boolean
- maps: retired
- - name: work_ability_impaired
- dtype: integer
- maps: be
- between: [0,8]
- - name: home_management_impaired
- dtype: integer
- maps: bec
- between: [0,8]
- - name: social_activities_impaired
- dtype: integer
- maps: beca
- between: [0,8]
- - name: private_activities_impaired
- dtype: integer
- maps: becau
- between: [0,8]
- - name: relationships_impaired
- dtype: integer
- maps: becaus
- between: [0,8]
- - name: score
- dtype: integer
- maps: total
- between: [0,40]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _global_assessment_of_functioning
- maps: globalassessmentoffunctioningscale_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: score
- dtype: integer
- maps: Persistent
- like: "[0-9]{1,3}"
- betweeen: [0,100]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _adverse_childhood_experiences
- maps: adversechildhoodexperiencesinternational_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: age
- dtype: integer
- maps: How
- like: "[0-9]{1,3}"
- between: [1,100]
- - name: ethnic_background
- dtype: str
- maps: Whatis
- case: lower
- - name: level_of_education
- dtype: str
- maps: Whatisthe
- like: "(No formal schooling|Less than primary school|Primary school completed|Secondary\/High school completed|College\/University completed|Post graduate degree|Refused)"
- - name: work_status
- dtype: str
- maps: Whichof
- like: "(Government employee|Non-government employee|Self-employed|Non-paid|Student|Homemaker|Retired|Unemployed but able to work|Unemployed as unable to work|Refused)"
- replace:
- - value: "Unemploed (able to work)"
- to: "Unemployed but able to work"
- - value: "Unemployed (unable to work"
- to: "Unemployed as unable to work"
- - name: civic_status
- dtype: str
- maps: Whatisyour
- like: "(Married|Living as couple|Divorced or separated|Single|Widowed|Other|Refused)"
- replace:
- - value: "Married (Go to Q.M2)"
- to: "Married"
- - value: "Widowed (Go to Q.M2)"
- to: "Widowed"
- - name: been_married
- dtype: boolean
- maps: Have
- replace:
- - value: "No (Go to Q.M5)"
- to: "No"
- - name: age_of_marriage
- dtype: integer
- maps: Atwhat
- like: "[0-9]{1,2}"
- between: [1,99]
- - name: freedom_of_choice_to_marry
- dtype: str
- maps: Atthetime
- like: "(Yes|No|Not sure|Refused)"
- replace:
- - value: "Yes (Go to Q.M5)"
- to: "Yes"
- - value: "Don't know / Not sure"
- to: "Not sure"
- - name: consent_for_marriage
- dtype: str
- maps: Atthetimeof
- like: "(Yes|No|Refused)"
- - name: age_during_first_baby
- dtype: str
- maps: Ifyouare
- like: "(1[5-9]|[2-6][0-9]|Not Applicable|Refused)"
- - name: parents_understood_problems
- dtype: str
- maps: Didyour
- like: "(Always|Most of the time|Sometimes|Rarely|Never|Refused)"
- - name: parents_knew_hobbies
- dtype: str
- maps: Didyourparents
- like: "(Always|Most of the time|Sometimes|Rarely|Never|Refused)"
- - name: parents_starved_subject
- dtype: str
- maps: Howoften
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: neglect_due_to_drugs
- dtype: str
- maps: Wereyour
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: parents_deprived_education
- dtype: str
- maps: Howoftendidyour
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: drug_addict_in_household
- dtype: str
- maps: Didyoulivewith
- like: "(Yes|No|Refused)"
- - name: mentally_disturbed_in_household
- dtype: str
- maps: Didyoulivewitha
- like: "(Yes|No|Refused)"
- - name: prisoner_in_household
- dtype: str
- maps: Didyoulivewithahousehold
- like: "(Yes|No|Refused)"
- - name: parents_separated
- dtype: str
- maps: Wereyourparentseve
- like: "(Yes|No|Not Applicable|Refused)"
- - name: parent_died
- dtype: str
- maps: Didyourmother
- like: "(Yes|No|Not sure|Refused)"
- replace:
- - value: "Don't know / Not sure"
- to: "Not sure"
- - name: verbal_abuse_in_household
- dtype: str
- maps: Didyouseeor
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: mild_physical_abuse_in_household
- dtype: str
- maps: Didyouseeorhear
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: severe_physical_abuse_in_household
- dtype: str
- maps: Didyouseeorhearaparent
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: verbal_abuse_on_subject
- dtype: str
- maps: Didaparentguardian
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: abandon_threat_on_subject
- dtype: str
- maps: Didaparentguardianor
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: mild_physical_abuse_on_subject
- dtype: str
- maps: Didaparentguardianorotherhouseholdmember
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: severe_physical_abuse_on_subject
- dtype: str
- maps: Didaparentguardianorotherhouseholdmemberhit
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: sexual_harassment_on_subject
- dtype: str
- maps: Didsomeonetouch
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: subject_forced_into_sexual_activities
- dtype: str
- maps: Didsomeonemake
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: forced_sexual_attempt_on_subject
- dtype: str
- maps: Didsomeoneattemptoral
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: forced_sex_with_subject
- dtype: str
- maps: Didsomeoneactuallyhaveoralanal
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: subject_bullied
- dtype: str
- maps: Howoftenwereyou
- like: "(Many times|A few times|Once|Never|Refused)"
- replace:
- - value: "Never (Go to Q.V3)"
- to: "Never"
- - name: bullied_method_or_cause
- dtype: str
- maps: Howwereyoubulliedmost
- like: "(I was hit, kicked, pushed, shoved around, or locked indoors|I was made fun of because of my race, nationality or colour|I was made fun of because of my religion|I was made fun of with sexual jokes, comments, or gestures|I was left out of activities on purpose or completely ignored|I was made fun of because of how my body or face looked|I was bullied in some other way|Refused)"
- - name: subject_involved_in_fight
- dtype: str
- maps: Howoftenwereyouin
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: witnessed_physical_violence
- dtype: str
- maps: Didyouseeor1
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: witnessed_murder
- dtype: str
- maps: Didyouseeorhear1
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: witnessed_murder_threat
- dtype: str
- maps: Didyouseeorhearsomeonebeing
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: forced_migration
- dtype: str
- maps: Wereyouforced
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: home_destroyed_in_violence
- dtype: str
- maps: Didyouexperience
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: physical_abuse_by_police
- dtype: str
- maps: Wereyoubeaten
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: relative_murdered_or_beaten_by_police
- dtype: str
- maps: Wasafamily
- like: "(Many times|A few times|Once|Never|Refused)"
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _adult_temperament
- maps: adulttemperamentquestionnaire_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: frightened_easily
- dtype: integer
- maps: Ibecome
- between: [0,7]
- - name: late_for_appointments
- dtype: integer
- maps: Iam
- between: [0,7]
- - name: happiness_due_to_mild_events
- dtype: integer
- maps: Sometimes
- between: [0,7]
- - name: irritated_by_loud_noises
- dtype: integer
- maps: Ifindloud
- between: [0,7]
- - name: hard_to_alternate_between_tasks
- dtype: integer
- maps: Its
- between: [0,7]
- - name: not_annoyed_with_slow_lines
- dtype: integer
- maps: Irarelybecome
- between: [0,7]
- - name: not_enjoy_loud_music_with_laser
- dtype: integer
- maps: Iwould
- between: [0,7]
- - name: not_follow_plans
- dtype: integer
- maps: Ioften
- between: [0,7]
- - name: departure_of_relatives_not_saddening
- dtype: integer
- maps: Irarelyfeel
- between: [0,7]
- - name: attention_not_captured_by_minor_visuals
- dtype: integer
- maps: Barely
- between: [0,7]
- - name: sit_still_even_when_energized
- dtype: integer
- maps: Even
- between: [0,7]
- - name: uneasiness_at_high_places
- dtype: integer
- maps: Looking
- between: [0,7]
- - name: subtle_tone_aswareness_in_music
- dtype: integer
- maps: when_1
- between: [0,7]
- - name: dislike_socalizing_job
- dtype: integer
- maps: Iwouldnot
- between: [0,7]
- - name: keep_performing_task_even_if_dont_want
- dtype: integer
- maps: Ican
- between: [0,7]
- - name: unable_to_enjoy_joyful_activities
- dtype: integer
- maps: Isometimes
- between: [0,7]
- - name: annoyance_when_item_not_in_store
- dtype: integer
- maps: Ifind
- between: [0,7]
- - name: notice_emotional_aspects_in_pictures
- dtype: integer
- maps: Itend
- between: [0,7]
- - name: like_to_talk_a_lot
- dtype: integer
- maps: Iusually
- between: [0,7]
- - name: not_sad_watching_sad_movie
- dtype: integer
- maps: Iseldombecome
- between: [0,7]
- - name: aware_of_bird_sounds_in_vicinity
- dtype: integer
- maps: Im
- between: [0,7]
- - name: uneasy_in_small_places
- dtype: integer
- maps: WhenIam
- between: [0,7]
- - name: listen_to_music_at_high_volume
- dtype: integer
- maps: Whenlistening
- between: [0,7]
- - name: understand_things_intuitively
- dtype: integer
- maps: Isometimesseem
- between: [0,7]
- - name: sad_due_to_minor_events
- dtype: integer
- maps: Sometimesminor
- between: [0,7]
- - name: easy_hold_laugh_when_appropriate
- dtype: integer
- maps: Itis
- between: [0,7]
- - name: work_difficult_task_when_not_feel_like_trying
- dtype: integer
- maps: Icanmake
- between: [0,7]
- - name: frequently_experience_brief_intense_happiness
- dtype: integer
- maps: Irarelyever
- between: [0,7]
- - name: easily_distracted_when_trying_to_focus
- dtype: integer
- maps: WhenIamtrying
- between: [0,7]
- - name: enjoy_playing_fast_noisy_game
- dtype: integer
- maps: Iwouldprobably
- between: [0,7]
- - name: become_agitated_while_waiting
- dtype: integer
- maps: Whenever
- between: [0,7]
- - name: bothered_by_bright_light
- dtype: integer
- maps: Imoften
- between: [0,7]
- - name: not_notice_people_eye_color
- dtype: integer
- maps: Irarely
- between: [0,7]
- - name: not_sad_on_hearing_sad_event
- dtype: integer
- maps: Iseldom
- between: [0,7]
- - name: focus_back_when_interrupted
- dtype: integer
- maps: Wheninterrupted
- between: [0,7]
- - name: scratchy_sounds_irritating
- dtype: integer
- maps: Ifindcertain
- between: [0,7]
- - name: like_many_people_conversations
- dtype: integer
- maps: Ilike
- between: [0,7]
- - name: patient_person
- dtype: integer
- maps: Iamusually
- between: [0,7]
- - name: see_visual_images_when_eyes_closed
- dtype: integer
- maps: WhenIamresting
- between: [0,7]
- - name: difficult_to_focus_when_distressed
- dtype: integer
- maps: Itisveryhard
- between: [0,7]
- - name: mind_has_diverse_thoughts_sometimes
- dtype: integer
- maps: Sometimesmymind
- between: [0,7]
- - name: bothered_by_bright_colors
- dtype: integer
- maps: Very
- between: [0,7]
- - name: resist_talking_out_of_turn
- dtype: integer
- maps: Icaneasily
- between: [0,7]
- - name: not_enjoy_wild_carnival_ride
- dtype: integer
- maps: Iwouldprobablynot
- between: [0,7]
- - name: sad_for_more_than_an_hour
- dtype: integer
- maps: Isometimesfeel
- between: [0,7]
- - name: rarely_enjoy_socializing
- dtype: integer
- maps: Irarelyenjoy
- between: [0,7]
- - name: get_right_to_work_on_things
- dtype: integer
- maps: IfI
- between: [0,7]
- - name: easily_frustrated
- dtype: integer
- maps: Itdoesnttake
- between: [0,7]
- - name: easily_made_happy
- dtype: integer
- maps: Itdoesnttakemuch
- between: [0,7]
- - name: hard_focusing_due_to_upcoming_event
- dtype: integer
- maps: WhenIamhappy
- between: [0,7]
- - name: panic_for_no_reason
- dtype: integer
- maps: SometimesIfeel
- between: [0,7]
- - name: notice_mild_odours
- dtype: integer
- maps: Ioftennotice
- between: [0,7]
- - name: trouble_resisting_cravings
- dtype: integer
- maps: Ioftenhave
- between: [0,7]
- - name: bothered_by_flashing_lights
- dtype: integer
- maps: Colorful
- between: [0,7]
- - name: finish_things_before_due_date
- dtype: integer
- maps: Iusuallyfinishdoing
- between: [0,7]
- - name: often_feel_sad
- dtype: integer
- maps: Ioftenfeelsad
- between: [0,7]
- - name: aware_of_color_affecting_mood
- dtype: integer
- maps: Iamoftenaware
- between: [0,7]
- - name: remain_calm_when_things_not_smooth
- dtype: integer
- maps: Iusuallyremain
- between: [0,7]
- - name: loud_music_unpleasant
- dtype: integer
- maps: Loud
- between: [0,7]
- - name: jump_right_in_when_excited
- dtype: integer
- maps: WhenImexcitedabout
- between: [0,7]
- - name: scared_by_loud_noises
- dtype: integer
- maps: Loudnoises
- between: [0,7]
- - name: have_vivid_dreams
- dtype: integer
- maps: Isometimesdream
- between: [0,7]
- - name: hard_resisting_attractive_items
- dtype: integer
- maps: WhenIsee
- between: [0,7]
- - name: enjoy_laser_show
- dtype: integer
- maps: Iwouldenjoywatching
- between: [0,7]
- - name: sad_on_hearing_sad_event
- dtype: integer
- maps: WhenIhear
- between: [0,7]
- - name: do_not_notice_setting_in_movie
- dtype: integer
- maps: WhenIwatchamovie
- between: [0,7]
- - name: spend_free_time_with_people
- dtype: integer
- maps: Iusuallyliketospend
- between: [0,7]
- - name: not_frightened_by_people_suddenly
- dtype: integer
- maps: Itdoesnot
- between: [0,7]
- - name: aware_of_weather_affecting_mood
- dtype: integer
- maps: Iamoftenconsciously
- between: [0,7]
- - name: takes_lot_make_me_happy
- dtype: integer
- maps: Ittakesalot
- between: [0,7]
- - name: rarely_aware_of_texture
- dtype: integer
- maps: Iamrarelyaware
- between: [0,7]
- - name: avoid_dealing_with_unexpected_situations
- dtype: integer
- maps: WhenIamafraidofhow
- between: [0,7]
- - name: enjoy_talk_without_thinking
- dtype: integer
- maps: Iespecially
- between: [0,7]
- - name: creative_ideas_without_effort
- dtype: integer
- maps: Withoutapplying
- between: [0,7]
- - name: not_concerned_about_failing
- dtype: integer
- maps: WhenItry
- between: [0,7]
- - name: easily_inhibit_fun_but_inappropriate_acts
- dtype: integer
- maps: Itiseasy
- between: [0,7]
- - name: not_enjoy_yelling
- dtype: integer
- maps: Iwouldnotenjoy
- between: [0,7]
- - name: score
- dtype: integer
- maps: total_score
- between: [0,539]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _mini_ipip_scale
- maps: theminiipipscale_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: life_of_party
- dtype: boolean
- maps: e1
- - name: sympathize_with_others
- dtype: boolean
- maps: a1
- - name: complete_chores_immediately
- dtype: boolean
- maps: c1
- - name: frequent_mood_swings
- dtype: boolean
- maps: n1
- - name: vivid_imagination
- dtype: boolean
- maps: i1
- - name: talk_less
- dtype: boolean
- maps: e2
- - name: not_interested_in_others_problems
- dtype: boolean
- maps: a2
- - name: forget_to_put_things_back
- dtype: boolean
- maps: c2
- - name: mostly_relaxed
- dtype: boolean
- maps: n2
- - name: not_interested_in_abstract_ideas
- dtype: boolean
- maps: i2
- - name: talk_to_different_people
- dtype: boolean
- maps: e3
- - name: feel_others_emotions
- dtype: boolean
- maps: a3
- - name: like_order
- dtype: boolean
- maps: c3
- - name: easily_upset
- dtype: boolean
- maps: n3
- - name: difficulty_understanding_abstract_ideas
- dtype: boolean
- maps: i3
- - name: keep_in_background
- dtype: boolean
- maps: e4
- - name: not_interested_in_others
- dtype: boolean
- maps: a4
- - name: mess_up_things
- dtype: boolean
- maps: c4
- - name: seldom_feel_blue
- dtype: boolean
- maps: n4
- - name: not_good_imagination
- dtype: boolean
- maps: i4
- - name: extraversion_score
- dtype: integer
- maps: total_e
- between: [0,4]
- - name: agreeableness_score
- dtype: integer
- maps: total_a
- between: [0,4]
- - name: conscientiousness_score
- dtype: integer
- maps: total_c
- between: [0,4]
- - name: neuroticism_score
- dtype: integer
- maps: total_n
- between: [0,4]
- - name: imagination_score
- dtype: integer
- maps: total_i
- between: [0,4]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _hamilton_anxiety_rating
- maps: hamiltonanxietyratingscale_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: anxiety
- dtype: integer
- maps: Anxiousmood
- between: [0,4]
- - name: tension
- dtype: integer
- maps: Tension
- between: [0,4]
- - name: fears
- dtype: integer
- maps: Fears
- between: [0,4]
- - name: insomnia
- dtype: integer
- maps: Insomnia
- between: [0,4]
- - name: intellectuality
- dtype: integer
- maps: Intellectual
- between: [0,4]
- - name: depressed_mood
- dtype: integer
- maps: Depressed
- between: [0,4]
- - name: somatic_muscular
- dtype: integer
- maps: Somatic
- between: [0,4]
- - name: somatic_sensory
- dtype: integer
- maps: Somaticsensory
- between: [0,4]
- - name: cardiovascular_symptoms
- dtype: integer
- maps: Cardiovascular
- between: [0,4]
- - name: respiratory_symptoms
- dtype: integer
- maps: Respiratory
- between: [0,4]
- - name: gastrointestinal_symptoms
- dtype: integer
- maps: Gastrointestinal
- between: [0,4]
- - name: genitourinary_symptoms
- dtype: integer
- maps: Genitourinary
- between: [0,4]
- - name: autonomic_symptoms
- dtype: integer
- maps: Autonomic
- between: [0,4]
- - name: behavior
- dtype: integer
- maps: Behavior
- between: [0,4]
- - name: score
- dtype: integer
- maps: total
- betweeen: [0,56]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _hamilton_depression_rating
- maps: hamiltonratingscalefordepression_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: depression
- dtype: integer
- maps: Depressed
- between: [0,4]
- - name: guilty_feeling
- dtype: integer
- maps: Feelings
- between: [0,4]
- - name: suicidal_feeling
- dtype: integer
- maps: Suicide
- between: [0,4]
- - name: early_insomnia
- dtype: integer
- maps: Insomnia
- between: [0,2]
- - name: middle_insomnia
- dtype: integer
- maps: InsomniaMiddle
- between: [0,2]
- - name: late_insomnia
- dtype: integer
- maps: InsomniaLate
- between: [0,2]
- - name: work_and_activities
- dtype: integer
- maps: Work
- between: [0,4]
- - name: retardation
- dtype: integer
- maps: Retardation
- between: [0,4]
- - name: agitation
- dtype: integer
- maps: Agitation
- between: [0,2]
- - name: psychic_anxiety
- dtype: integer
- maps: Anxiety
- between: [0,4]
- - name: somatic_anxiety
- dtype: integer
- maps: AnxietySomatic
- between: [0,4]
- - name: gastrointestinal_symptoms
- dtype: integer
- maps: Somatic
- between: [0,2]
- - name: general_somatic_symptoms
- dtype: integer
- maps: SomaticSymptoms
- between: [0,2]
- - name: genital_symptoms
- dtype: integer
- maps: Genita
- between: [0,2]
- - name: hypochondriasis
- dtype: integer
- maps: Hypochondriasis
- between: [0,4]
- - name: loss_of_weight_by_history
- dtype: integer
- maps: Loss_a
- between: [0,2]
- - name: loss_of_weight_by_weekly
- dtype: integer
- maps: Loss_b
- between: [0,2]
- - name: insight
- dtype: integer
- maps: Insight
- between: [0,2]
- - name: score
- dtype: integer
- maps: total
- between: [0,52]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _negative_symptoms_assessment
- maps: sans_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: facial_expression_unchanged
- dtype: integer
- maps: Unchanged
- between: [0,5]
- - name: decreased_spontaneous_movements
- dtype: integer
- maps: Decreased
- between: [0,5]
- - name: expressive_gestures_paucity
- dtype: integer
- maps: Paucity
- between: [0,5]
- - name: poor_eye_contact
- dtype: integer
- maps: Poor
- between: [0,5]
- - name: affective_nonresponsiveness
- dtype: integer
- maps: Affective
- between: [0,5]
- - name: inappropriate_effect
- dtype: integer
- maps: Inappropriate
- between: [0,5]
- - name: vocal_inflections_absence
- dtype: integer
- maps: Lack
- between: [0,5]
- - name: affective_flattening_global_response
- dtype: integer
- maps: Global1
- between: [0,5]
- - name: poverty_of_speech
- dtype: integer
- maps: Poverty
- between: [0,5]
- - name: speech_content_poverty
- dtype: integer
- maps: Povertyof
- between: [0,5]
- - name: thoughts_interrupted
- dtype: integer
- maps: Blocking
- between: [0,5]
- - name: response_latency_increase
- dtype: integer
- maps: Increased
- between: [0,5]
- - name: alogia_global_rating
- dtype: integer
- maps: GlobalRating
- between: [0,5]
- - name: grooming_rating
- dtype: integer
- maps: Grooming
- between: [0,5]
- - name: work_impersistence
- dtype: integer
- maps: Impersistence
- between: [0,5]
- - name: physical_anergia
- dtype: integer
- maps: Physical
- between: [0,5]
- - name: avolition_apathy_global_rating
- dtype: integer
- maps: GlobalRatingof
- between: [0,5]
- - name: recreational_interests
- dtype: integer
- maps: Recreational
- between: [0,5]
- - name: sexual_activity
- dtype: integer
- maps: Sexual
- between: [0,5]
- - name: closeness_feel_ability
- dtype: integer
- maps: Ability
- between: [0,5]
- - name: relationship_with_friends
- dtype: integer
- maps: Relationships
- between: [0,5]
- - name: anhedonia_asociality_global_rating
- dtype: integer
- maps: GlobalRatingofAnhedonia
- between: [0,5]
- - name: social_inattentiveness
- dtype: integer
- maps: Social1
- between: [0,5]
- - name: mental_status_testing_inattentiveness
- dtype: integer
- maps: Inattentiveness
- between: [0,5]
- - name: attention_global_rating
- dtype: integer
- maps: GlobalRatingofAttention
- between: [0,5]
- - name: affective_score
- dtype: integer
- maps: affective_total
- between: [0,40]
- - name: alogia_score
- dtype: integer
- maps: alogia_total
- between: [0,25]
- - name: avolition_score
- dtype: integer
- maps: avolition_total
- between: [0,20]
- - name: anhedonia_score
- dtype: integer
- maps: anhedonia_total
- between: [0,25]
- - name: attention_score
- dtype: integer
- maps: attention_total
- between: [0,15]
- - name: score
- dtype: integer
- maps: total
- between: [0,125]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _positive_symptoms_assessment
- maps: saps_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: auditory_hallucinations
- dtype: integer
- maps: Auditory
- between: [0,5]
- - name: voices_commenting
- dtype: integer
- maps: Voices
- between: [0,5]
- - name: voices_conversing
- dtype: integer
- maps: VoicesConversing
- between: [0,5]
- - name: somatic_hallucinations
- dtype: integer
- maps: Somaticor
- between: [0,5]
- - name: olfactory_hallucinations
- dtype: integer
- maps: Olfactory
- between: [0,5]
- - name: visual_hallucinations
- dtype: integer
- maps: Visual
- between: [0,5]
- - name: hallucinations_global_rating
- dtype: integer
- maps: GlobalRatingofHallucinations
- between: [0,5]
- - name: persecutary_delusions
- dtype: integer
- maps: Persecutory
- between: [0,5]
- - name: delusions_of_jealousy
- dtype: integer
- maps: Delusions
- between: [0,5]
- - name: delusions_of_guilt
- dtype: integer
- maps: Delusionsof
- between: [0,5]
- - name: grandiose_delusions
- dtype: integer
- maps: Grandiose
- between: [0,5]
- - name: religious_delusions
- dtype: integer
- maps: Religious
- between: [0,5]
- - name: somatic_delusions
- dtype: integer
- maps: Somatic
- between: [0,5]
- - name: delusions_of_reference
- dtype: integer
- maps: DelusionsofReference
- between: [0,5]
- - name: delusions_of_being_controlled
- dtype: integer
- maps: DelusionsofBeing
- between: [0,5]
- - name: delusion_of_mind_reading
- dtype: integer
- maps: DelusionsofMind
- between: [0,5]
- - name: thought_broadcasting
- dtype: integer
- maps: Thought
- between: [0,5]
- - name: thought_insertion
- dtype: integer
- maps: ThoughtInsertion
- between: [0,5]
- - name: thought_withdrawal
- dtype: integer
- maps: ThoughtWithdrawal
- between: [0,5]
- - name: delusion_global_rating
- dtype: integer
- maps: GlobalRatingofDelusions
- between: [0,5]
- - name: clothing_and_appearance
- dtype: integer
- maps: Clothing
- between: [0,5]
- - name: social_behavior
- dtype: integer
- maps: Social
- between: [0,5]
- - name: aggressive_behavior
- dtype: integer
- maps: Aggressive
- between: [0,5]
- - name: repeptitive_behavior
- dtype: integer
- maps: Repetitiveor
- between: [0,5]
- - name: bizarre_behavior_global_rating
- dtype: integer
- maps: GlobalRatingofBizarre
- between: [0,5]
- - name: derailment
- dtype: integer
- maps: Derailment
- between: [0,5]
- - name: tangentiality
- dtype: integer
- maps: Tangentiality
- between: [0,5]
- - name: incoherance
- dtype: integer
- maps: Incoherence
- between: [0,5]
- - name: illogicality
- dtype: integer
- maps: Illogicality
- between: [0,5]
- - name: circumstantiality
- dtype: integer
- maps: Circumstantiality
- between: [0,5]
- - name: pressure_of_speech
- dtype: integer
- maps: Pressure
- between: [0,5]
- - name: distractable_speech
- dtype: integer
- maps: Distractible
- between: [0,5]
- - name: clanging
- dtype: integer
- maps: Changing
- between: [0,5]
- - name: positive_formal_thought_disorder_global_rating
- dtype: integer
- maps: Global
- between: [0,5]
- - name: hallucinations_rating
- dtype: integer
- maps: hallucinations_total
- betweeen: [0,30]
- - name: delusions_rating
- dtype: integer
- maps: delusions_total
- betweeen: [0,30]
- - name: bizzarre_rating
- dtype: integer
- maps: bizzarre_total
- betweeen: [0,20]
- - name: positive_rating
- dtype: integer
- maps: positive_total
- betweeen: [0,40]
- - name: score
- dtype: integer
- maps: total
- betweeen: [0,120]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _young_mania_rating_scale
- maps: young_mania_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: elevated_mood
- dtype: integer
- maps: Elevated
- between: [0,4]
- - name: increased_motor_activity
- dtype: integer
- maps: Increased
- between: [0,4]
- - name: sexual_interest
- dtype: integer
- maps: Sexual
- between: [0,4]
- - name: sleep
- dtype: integer
- maps: Sleep
- between: [0,4]
- - name: irritability
- dtype: integer
- maps: Irritability
- like: "[02468]"
- between: [0,8]
- - name: speech
- dtype: integer
- maps: Speech1
- like: "[02468]"
- between: [0,8]
- - name: language_disorder
- dtype: integer
- maps: Language
- between: [0,4]
- - name: thought_content
- dtype: integer
- maps: Thought
- like: "[02468]"
- between: [0,8]
- - name: disruptive_behavior
- dtype: integer
- maps: Disruptive
- like: "[02468]"
- between: [0,8]
- - name: appearance
- dtype: integer
- maps: Appearance
- between: [0,4]
- - name: insight
- dtype: integer
- maps: Insight
- between: [0,4]
- - name: score
- dtype: integer
- maps: total
- between: [0,60]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _severity_of_alcohol_dependence
- maps: sadq_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: month_of_heavy_drinking
- dtype: str
- maps: month_year
- extract: "(\\w+) - \\d+"
- like: "(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)"
- case: lower
- - name: year_of_heavy_drinking
- dtype: integer
- maps: month_year
- extract: "\\w+ - (\\d+)"
- between: [2000, 2050]
- - name: next_day_wake_up_feeling_sweaty
- dtype: integer
- maps: ans1
- between: [0,3]
- - name: next_day_shaking_hands_in_morning
- dtype: integer
- maps: ans2
- between: [0,3]
- - name: next_day_body_shakes_violently_in_morning
- dtype: integer
- maps: ans3
- between: [0,3]
- - name: next_day_drenched_in_sweat_in_morning
- dtype: integer
- maps: ans4
- between: [0,3]
- - name: next_day_dread_waking_up
- dtype: integer
- maps: ans5
- between: [0,3]
- - name: next_day_frightened_of_meeting_people
- dtype: integer
- maps: ans6
- between: [0,3]
- - name: next_day_felt_at_edge_of_despair
- dtype: integer
- maps: ans7
- between: [0,3]
- - name: next_day_felt_frightened_in_morning
- dtype: integer
- maps: ans8
- between: [0,3]
- - name: next_day_like_drinking_again_in_morning
- dtype: integer
- maps: ans9
- between: [0,3]
- - name: next_day_gulp_first_few_drinks
- dtype: integer
- maps: ans10
- between: [0,3]
- - name: next_day_drank_alcohol_to_rid_shakes
- dtype: integer
- maps: ans11
- between: [0,3]
- - name: next_day_strong_craving_for_drink_in_morning
- dtype: integer
- maps: ans12
- between: [0,3]
- - name: drank_more_than_quarter_per_day
- dtype: integer
- maps: ans13
- between: [0,3]
- - name: drank_more_than_half_per_day
- dtype: integer
- maps: ans14
- between: [0,3]
- - name: drank_more_than_one_per_day
- dtype: integer
- maps: ans15
- between: [0,3]
- - name: drank_more_than_two_per_day
- dtype: integer
- maps: ans16
- between: [0,3]
- - name: relapse_drinking_morning_sweating
- dtype: integer
- maps: ans17
- between: [0,3]
- - name: relapse_drinking_hands_shaking
- dtype: integer
- maps: ans18
- between: [0,3]
- - name: relapse_drinking_body_shaking
- dtype: integer
- maps: ans19
- between: [0,3]
- - name: relapse_drinking_alcohol_craving
- dtype: integer
- maps: ans20
- between: [0,3]
- - name: physical_withdrawal_score
- dtype: integer
- maps: score_1_4
- like: ^[0-1]?\d$
- between: [0,12]
- - name: affective_withdrawal_score
- dtype: integer
- maps: score_5_8
- between: [0,12]
- - name: withdrawal_relief_drinking_score
- dtype: integer
- maps: score_9_12
- between: [0,12]
- - name: alcohol_consumption_score
- dtype: integer
- maps: score_13_16
- between: [0,12]
- - name: rapidity_of_reinstatement_score
- dtype: integer
- maps: score_17_20
- between: [0,12]
- - name: score
- dtype: integer
- maps: total
- between: [0,60]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _yale_brown_obsessive_compulsive_scale
- maps: ocdybocschecklistandseverityassessments_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: time_spent_on_obsessive_thoughts
- dtype: integer
- maps: How
- between: [0,4]
- - name: interference_by_obsessive_thoughts
- dtype: integer
- maps: Howmuch
- between: [0,4]
- - name: distress_caused_by_obsessive_thoughts
- dtype: integer
- maps: Howmuchdistress
- between: [0,4]
- - name: resistance_against_obsessions
- dtype: integer
- maps: Howmuchofan
- between: [0,4]
- - name: control_over_obsessive_thoughts
- dtype: integer
- maps: Howmuchcontrol
- between: [0,4]
- - name: time_spent_performing_compulsive_behaviors
- dtype: integer
- maps: Howmuchtime
- between: [0,4]
- - name: interference_by_compulsive_behaviors
- dtype: integer
- maps: Howmuchdo
- between: [0,4]
- - name: distress_caused_by_compulsive_behaviors
- dtype: integer
- maps: Howwould
- between: [0,4]
- - name: effort_to_resist_compulsive_behaviors
- dtype: integer
- maps: Howmuchof
- between: [0,4]
- - name: control_over_compulsive_behaviors
- dtype: integer
- maps: Howstrong
- between: [0,4]
- - name: insight_rating
- dtype: integer
- maps: insight_score
- between: [0,4]
- - name: avoidance_rating
- dtype: integer
- maps: avoidance_score
- between: [0,4]
- - name: obsession_score
- dtype: integer
- maps: obsessive_total
- between: [0,25]
- - name: compulsion_score
- dtype: integer
- maps: compulsive_total
- between: [0,25]
- - name: score
- dtype: integer
- maps: ybocs_total
- between: [0,50]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _yale_brown_obsessive_compulsive_symptoms
- maps: ocdybocschecklistandseverityassessments_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: fear_of_self_harm
- dtype: integer
- maps: etFear
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_harming_others
- dtype: integer
- maps: etFearmight
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: violent_images
- dtype: integer
- maps: etViolent
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_blurting_insults
- dtype: integer
- maps: etFearof
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_doing_embarrassing_things
- dtype: integer
- maps: etFearofdoing
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_acting_on_impulses
- dtype: integer
- maps: etFearwillact
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_stealing
- dtype: integer
- maps: etFearwill
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_will_harm_other_if_careless
- dtype: integer
- maps: etFearwillharm
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_responsibility_for_terrible
- dtype: integer
- maps: etFearwillbe
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: disgust_with_bodily_secretions
- dtype: integer
- maps: etConcern
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concern_with_germs
- dtype: integer
- maps: etConcerned
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concern_with_environmental_contaminants
- dtype: integer
- maps: etExcessive
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concern_with_household_items
- dtype: integer
- maps: etExcessiveconcern
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: bothered_by_sticky_residues
- dtype: integer
- maps: etExcessivebothered
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concerned_will_get_ill
- dtype: integer
- maps: etConcernedwill
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concerned_will_spread_germs
- dtype: integer
- maps: etConcernedwillget
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: not_concerned_with_contamination_consequences
- dtype: integer
- maps: etNoconcern
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: other_contamination_obsessions
- dtype: integer
- maps: etOther1
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: doubt_performing_activities
- dtype: integer
- maps: etAfter
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: unacceptable_sexual_thoughts
- dtype: integer
- maps: etPersonally
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: sexual_thoughts_of_children
- dtype: integer
- maps: etContents
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: sexual_thoughts_of_homosexuality
- dtype: integer
- maps: etContentinvolves
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: aggressive_sexual_behaviors
- dtype: integer
- maps: etSexualbehavior
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: other_sexual_obsessions
- dtype: integer
- maps: etOthers2
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: collect_useless_items
- dtype: integer
- maps: etCollect
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concerned_with_losing_items
- dtype: integer
- maps: etConcernedwithlosing
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concerned_with_blasphemy
- dtype: integer
- maps: etConcernedwith
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: excess_concern_with_morality
- dtype: integer
- maps: etExcess
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: bothered_by_order
- dtype: integer
- maps: etBothered
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: symmetry_while_grooming
- dtype: integer
- maps: etExactness
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: magical_thinking
- dtype: integer
- maps: etAccompanied
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: no_magical_thinking
- dtype: integer
- maps: etNot
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: need_to_remember
- dtype: integer
- maps: etNeed
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_saying_things
- dtype: integer
- maps: etFearofsaying
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_not_saying_right_things
- dtype: integer
- maps: etFearofnotsaying
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: fear_of_losing_things
- dtype: integer
- maps: etFearoflosing
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: superstitious_fear
- dtype: integer
- maps: etSuperstitious
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: intrusive_meaningless_thoughts
- dtype: integer
- maps: etIntrusive
- between: [1,3]
- replace:
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: other_miscellaneous_obsessions
- dtype: integer
- maps: etOthers4
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: concern_with_illness
- dtype: integer
- maps: etConcernwithillness
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: excessive_concern_with_body
- dtype: integer
- maps: etExcessiveconcernwithbody
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: other_somatic_obsessions
- dtype: integer
- maps: etOthers
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: ritualized_hand_washing
- dtype: integer
- maps: etExcessiveor
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: ritualized_grooming
- dtype: integer
- maps: etExcessiveorritualized
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: cleaning_household_items
- dtype: integer
- maps: etCleaningof
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: preventing_contaminant_contact
- dtype: integer
- maps: etOthermeasures
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: avoiding_contaminant_contact
- dtype: integer
- maps: etAvoidance
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checking_for_harm
- dtype: integer
- maps: etCheckingthat
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checkings_locks
- dtype: integer
- maps: etCheckinglocks
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checking_for_mistakes
- dtype: integer
- maps: etCheckingthatdid
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checking_for_terrible_things
- dtype: integer
- maps: etCheckingthatnothing
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checking_tied_to_somatic
- dtype: integer
- maps: etCheckingtied
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: checking_personal_appearance
- dtype: integer
- maps: etCheckingforpersonal
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: rereading
- dtype: integer
- maps: etRereading
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: repeating_questions
- dtype: integer
- maps: etRepeatingsame
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: repeat_routine_activities
- dtype: integer
- maps: etNeedto
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: crossing_rituals
- dtype: integer
- maps: etRituals
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: inspecting_household_trash
- dtype: integer
- maps: etInspecting
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: line_up_clothes
- dtype: integer
- maps: etLines
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: need_for_symmetry
- dtype: integer
- maps: etNeedfor
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: activity_incomplete_till_right
- dtype: integer
- maps: etCant
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: accumulating_useless_objects
- dtype: integer
- maps: etInspectinghousehold
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: mental_rituals
- dtype: integer
- maps: etMental
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: pathological_slowness
- dtype: integer
- maps: etPathologicalslowness
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: compulsion_by_proxy
- dtype: integer
- maps: etCompulsion
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: need_to_touch
- dtype: integer
- maps: etNeedtotouch
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: excessive_list_making
- dtype: integer
- maps: etExcessivelist
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: need_to_tell
- dtype: integer
- maps: etNeedtotell
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: measures_to_prevent
- dtype: integer
- maps: etMeasures
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: ritualized_eating_behaviors
- dtype: integer
- maps: etRitualized
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: trichotillomania
- dtype: integer
- maps: etTrichotillomania
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: superstitions
- dtype: integer
- maps: etSuperstitions
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: repeated_reassurance_required
- dtype: integer
- maps: etAsking
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: self_damaging_behavior
- dtype: integer
- maps: etSelf
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: blinking_rituals
- dtype: integer
- maps: etRitualsinvolved
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: other_miscellaneous_compulsions
- dtype: integer
- maps: etOthers5
- between: [1,3]
- replace:
- - value: "Current"
- to: "1"
- - value: "Current,"
- to: "1"
- - value: ",Past"
- to: "2"
- - value: "Past"
- to: "2"
- - value: "Current,Past"
- to: "3"
- - name: aggressive_obsessions_are_principal
- dtype: boolean
- maps: etC
- - name: contamination_obsessions_are_principal
- dtype: boolean
- maps: etA
- - name: pathological_doubts_are_principal
- dtype: boolean
- maps: etG
- - name: sexual_obsessions_are_principal
- dtype: boolean
- maps: etD
- - name: saving_obsessions_are_principal
- dtype: boolean
- maps: etF
- - name: religious_obsessions_are_principal
- dtype: boolean
- maps: etE
- - name: symmetry_obsessions_are_principal
- dtype: boolean
- maps: etH
- - name: miscellaneous_obsessions_are_principal
- dtype: boolean
- maps: etI
- - name: somatic_obsessions_are_principal
- dtype: boolean
- maps: etB
- - name: cleaning_compulsions_are_principal
- dtype: boolean
- maps: etA1
- - name: checking_compulsions_are_principal
- dtype: boolean
- maps: etB1
- - name: repeating_rituals_are_principal
- dtype: boolean
- maps: etC1
- - name: counting_compulsions_are_principal
- dtype: boolean
- maps: etD1
- - name: arranging_compulsions_are_principal
- dtype: boolean
- maps: etE1
- - name: hoarding_compulsions_are_principal
- dtype: boolean
- maps: etF1
- - name: miscellaneous_compulsions_are_principal
- dtype: boolean
- maps: etG1
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _mental_status_assessment
- maps: mseotd_assessmenttable
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: description
- dtype: str(1000)
- maps: mseotd
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _physical_examination
- maps: physicalexamination_table1
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: weight
- dtype: float
- maps: etWeight_
- between: [20,150]
- - name: standing_height
- dtype: float
- maps: etStandingHeight1_
- betweeen: [50,300]
- - name: sitting_height
- dtype: float
- maps: etSittingHeight1_
- between: [45,270]
- - name: height_ratio
- dtype: float
- maps: HeightRatio
- between: [0,1]
- - name: head_circumference
- dtype: float
- maps: etHead1_
- between: [35,70]
- - name: anemia
- dtype: boolean
- maps: Anemia_
- - name: pedal_edema
- dtype: boolean
- maps: Pedal_
- - name: cyanosis
- dtype: boolean
- maps: Cyanosis_
- - name: clubbing
- dtype: boolean
- maps: Clubbing_
- - name: iceterus
- dtype: boolean
- maps: Icterus_
- - name: lymphadenopathy
- dtype: boolean
- maps: Lymphadenopathy_
- - name: pulse_rate
- dtype: integer
- maps: etPulse_
- between: [0,200]
- - name: systolic_blood_pressure_while_seated
- dtype: integer
- maps: etBloodPressureSitting1_
- between: [60,200]
- - name: diastolic_blood_pressure_while_seated
- dtype: integer
- maps: etBloodPressureSitting2_
- between: [50,100]
- - name: systolic_blood_pressure_while_standing
- dtype: integer
- maps: etBloodPressureStanding1_
- between: [70,200]
- - name: diastolic_blood_pressure_while_standing
- dtype: integer
- maps: etBloodPressureStanding2_
- between: [50,120]
- - name: pupil_bilateral_size
- dtype: str
- maps: Equal_
- like: "(equal|unequal)"
- case: lower
- - name: pupil_reflexes
- dtype: str
- maps: Reactive_
- like: "(reactive|sluggish)"
- case: lower
- - name: electric_hair
- dtype: integer
- maps: Hair_
- like: "[012]"
- - name: hair_whorls
- dtype: integer
- maps: Hair2_
- like: "[01]"
- - name: head_circumference
- dtype: integer
- maps: Hair3_
- like: "[012]"
- - name: epicanthus
- dtype: integer
- maps: Epicanthus_
- like: "[012]"
- - name: hypertelorism
- dtype: integer
- maps: Epicanthus2_
- like: "[012]"
- - name: lowset_ears
- dtype: integer
- maps: Lowset_
- like: "[012]"
- - name: adherent_ear_lobes
- dtype: integer
- maps: Adherent_
- like: "[01]"
- - name: lower_edge_of_ears_extend
- dtype: integer
- maps: LowerEdge_
- like: "[01]"
- - name: malformed_ears
- dtype: integer
- maps: Malformed_
- like: "[01]"
- - name: asymmetrical_ears
- dtype: integer
- maps: Asymmetrical_
- like: "[01]"
- - name: soft_and_pliable_ears
- dtype: integer
- maps: Softandpliable_
- like: "[01]"
- - name: oral_cavity_palate
- dtype: integer
- maps: Palate_
- like: "[012]"
- - name: furrowed_tongue
- dtype: integer
- maps: Tongue_
- like: "[012]"
- - name: tongue_with_smooth_rough_spots
- dtype: integer
- maps: Tongue2_
- like: "[01]"
- - name: curved_fifth_finger
- dtype: integer
- maps: Curved_
- like: "[01]"
- - name: transverse_palmar_crease
- dtype: integer
- maps: Transverse
- like: "[01]"
- - name: third_toe
- dtype: integer
- maps: Third
- like: "[012]"
- - name: syndactylia
- dtype: integer
- maps: Syndactylia
- like: "[01]"
- - name: gap_between_first_second_toe
- dtype: integer
- maps: Gap
- like: "[01]"
- - name: waldrop_scale_comments
- dtype: str
- maps: etComments_
- - name: respiratory_system
- dtype: str
- maps: ChRespiratory_
- like: "WNL"
- - name: cardiovascular_system
- dtype: str
- maps: ChCardiovascular_
- like: "WNL"
- - name: abdominal_system
- dtype: str
- maps: ChAbdomen_
- like: "WNL"
- - name: respiratory_system_comment
- dtype: str
- maps: etRespiratory_
- - name: cardiovascular_system_comment
- dtype: str
- maps: etCardiovascular_
- - name: abdominal_system_comment
- dtype: str
- maps: etPerAbdomen_
- - name: hepatocellular_failure
- dtype: str
- maps: Hepatocellular
- like: "(present|absent)"
- case: lower
- - name: cranial_nerves
- dtype: str
- maps: Cranial
- like: "(normal|abnormal)"
- case: lower
- - name: cranial_nerves_comment
- dtype: str
- maps: etCranial_
- - name: power_in_limbs
- dtype: str
- maps: Power
- like: "(equal|unequal)"
- case: lower
- - name: tone_in_limbs
- dtype: str
- maps: Tone
- like: "(normal|abnormal)"
- case: lower
- - name: tone_condition
- dtype: str
- maps: Abnormal
- like: "(hypertonic|hypotonic)"
- case: lower
- - name: tone_condition_comment
- dtype: str
- maps: etAbnormal_
- - name: deep_tendon_reflexes
- dtype: str
- maps: DeepTendon
- like: "(normal|brisk|absent|others)"
- case: lower
- - name: deep_tendon_reflexes_comment
- dtype: str
- maps: etDeepTendon_
- - name: peripheral_neuropathy
- dtype: str
- maps: Peripheral
- like: "(present|absent)"
- case: lower
- - name: rombergs_sign
- dtype: str
- maps: Rombergs
- like: "(positive|negative)"
- case: lower
- - name: cerebellar_coordination
- dtype: str
- maps: Celebellar
- like: "(intact|lost)"
- case: lower
- - name: cerebellar_coordination_comment
- dtype: str
- maps: etCelebellar_
- - name: gait
- dtype: str
- maps: Gait
- like: "(normal|broad based|antalgic|others)"
- case: lower
- - name: gait_comment
- dtype: str
- maps: etGait_
- - name: plantars
- dtype: str
- maps: Plantars
- like: (normal|abnormal)
- case: lower
- - name: primitive_reflexes
- dtype: str
- maps: Primitive
- like: "(absent|present)"
- case: lower
- - name: primitive_reflexes_comment
- dtype: str
- maps: etPrimitive_
- - name: within_normal
- dtype: boolean
- maps: Remarks
- - name: remarks
- dtype: str
- maps: etCoOrdination_
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _post_traumatic_stress_disorder
- maps: posttraumaticstressdisorder_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: experienced_traumatic_event
- dtype: boolean
- maps: ans1
- - name: responded_to_event_with_fear
- dtype: boolean
- maps: ans2
- - name: reexperienced_event
- dtype: boolean
- maps: ans3
- - name: avoided_thinking_about_event
- dtype: boolean
- maps: ans4
- - name: avoided_activities_that_remind
- dtype: boolean
- maps: ans5
- - name: trouble_recalling
- dtype: boolean
- maps: ans6
- - name: become_less_interested_in_hobbies
- dtype: boolean
- maps: ans7
- - name: felt_detached
- dtype: boolean
- maps: ans8
- - name: feelings_are_numbed
- dtype: boolean
- maps: ans9
- - name: felt_life_shortened
- dtype: boolean
- maps: ans10
- - name: difficulty_sleeping
- dtype: boolean
- maps: ans12
- - name: irritable
- dtype: boolean
- maps: ans13
- - name: difficulty_concentrating
- dtype: boolean
- maps: ans14
- - name: nervous
- dtype: boolean
- maps: ans15
- - name: easily_startled
- dtype: boolean
- maps: ans16
- - name: problems_interfered_with_work
- dtype: boolean
- maps: ans18
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _socialphobia
- maps: socialphobia_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: fear_of_humiliation
- dtype: boolean
- maps: G1
- - name: unreasonable_fear
- dtype: boolean
- maps: G2
- - name: avoid_social_situations_due_to_fear
- dtype: boolean
- maps: G3
- - name: disrupts_work
- dtype: boolean
- maps: G4
- - name: current
- dtype: boolean
- maps: ans3
- - name: type
- dtype: str
- maps: Generalized
- like: "(generalized|non-generalized)"
- case: lower
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _suicidality
- maps: suicidality_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: suffered_accident
- dtype: boolean
- maps: ans1
- - name: planned_to_hurt_self_in_accident
- dtype: boolean
- maps: ans2
- - name: intended_to_die_in_accident
- dtype: boolean
- maps: ans3
- - name: wish_you_were_dead
- dtype: boolean
- maps: ans4
- - name: want_to_harm_self
- dtype: boolean
- maps: ans5
- - name: think_about_suicide
- dtype: boolean
- maps: ans6
- - name: suicidal_thoughts_frequency
- dtype: str
- maps: ans14
- like: "(occasionally|often|very often)"
- case: lower
- - name: suicidal_thoughts_intensity
- dtype: str
- maps: ans15
- like: "(mild|moderate|severe)"
- case: lower
- - name: control_these_impulses
- dtype: boolean
- maps: ans7
- - name: have_suicide_plan
- dtype: boolean
- maps: ans8
- - name: prepared_for_attempt
- dtype: boolean
- maps: ans9
- - name: deliberately_injured_without_planning_death
- dtype: boolean
- maps: ans10
- - name: attempt_possible
- dtype: boolean
- maps: ans11
- - name: expected_outcome
- dtype: str
- maps: AttemptSuicideT
- like: "(survival|death)"
- replace:
- - value: "Hoped to be rescued / survive"
- to: "survival"
- - value: "Expected / intended to die"
- to: "death"
- - name: attempted_suicide_before
- dtype: boolean
- maps: ans12
- - name: at_risk
- dtype: boolean
- maps: ans13
- - name: score
- dtype: integer
- maps: sumtotal
- between: [0,50]
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _panic_disorder
- maps: panicdisorder_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: had_spells_of_anxiousness
- dtype: boolean
- maps: ans1
- - name: spells_peaked_within_ten_minutes
- dtype: boolean
- maps: ans2
- - name: unpredictable
- dtype: boolean
- maps: ans3
- - name: significant_change_due_to_attack
- dtype: boolean
- maps: ans4
- - name: pounding_heart
- dtype: boolean
- maps: ans5
- - name: sweating_hand
- dtype: boolean
- maps: ans6
- - name: trembling
- dtype: boolean
- maps: ans7
- - name: shortness_of_breath
- dtype: boolean
- maps: ans8
- - name: choking_sensation
- dtype: boolean
- maps: ans9
- - name: chest_pain
- dtype: boolean
- maps: ans10
- - name: nausea
- dtype: boolean
- maps: ans11
- - name: felt_faint
- dtype: boolean
- maps: ans12
- - name: felt_strange
- dtype: boolean
- maps: ans13
- - name: lost_control
- dtype: boolean
- maps: ans14
- - name: feared_death
- dtype: boolean
- maps: ans15
- - name: numbness
- dtype: boolean
- maps: ans16
- - name: chills
- dtype: boolean
- maps: ans17
- - name: current
- dtype: boolean
- maps: ans20
- replace:
- - value: "Yes (PANIC DISORDER CURRENT)"
- to: "Yes"
- - name: lifetime
- dtype: boolean
- maps: ans18
- replace:
- - value: "Yes (PANIC DISORDER LIFETIME)"
- to: "Yes"
- - name: lifetime_limited_symptoms
- dtype: boolean
- maps: ans19
- replace:
- - value: "Yes (LIMITED SYMPTOM ATTACKS LIFETIME)"
- to: "Yes"
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _obsessive_compulsive_disorder
- maps: obsessive_compulsivedisorder_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: bothered_by_recurrent_thoughts
- dtype: boolean
- maps: ans1
- - name: thoughts_keep_coming_back
- dtype: boolean
- maps: ans2
- - name: obsessions_product_of_own_mind
- dtype: boolean
- maps: ans3
- replace:
- - value: "Yes(obsessions)"
- to: "Yes"
- - name: did_something_repeatedly
- dtype: boolean
- maps: ans4
- replace:
- - value: "Yes (compulsions)"
- to: "Yes"
- - name: thoughts_were_unreasonable
- dtype: boolean
- maps: ans6
- - name: current
- dtype: boolean
- maps: ans7
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _agoraphobia
- maps: agoraphobia_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: fear_of_places_that_cause_attack
- dtype: boolean
- maps: ans1
- - name: avoidance_due_to_fear
- dtype: boolean
- maps: ans2
- - name: panic_disorder_without_agoraphobia
- dtype: boolean
- maps: ans3
- - name: panic_disorder_with_agoraphobia
- dtype: boolean
- maps: ans4
- - name: agoraphobia_without_panic_disorder_history
- dtype: boolean
- maps: ans5
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _alchohol_dependence
- maps: alcoholabuseanddependence_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: history_of_alcohol_dependence
- dtype: boolean
- maps: ans1
- - name: need_more_drink_to_get_same_effect
- dtype: boolean
- maps: ans2
- - name: cutting_down_led_to_shakes
- dtype: boolean
- maps: ans3
- - name: drank_more_than_you_planned
- dtype: boolean
- maps: ans4
- - name: failed_attempt_to_stop
- dtype: boolean
- maps: ans5
- - name: spent_substantial_time_drinking
- dtype: boolean
- maps: ans6
- - name: spent_less_time_working
- dtype: boolean
- maps: ans7
- - name: drinking_despite_knowing_health_problems
- dtype: boolean
- maps: ans8
- - name: current
- dtype: boolean
- maps: ans9
- replace:
- - value: "Yes*"
- to: "Yes"
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _alchohol_abuse
- maps: alcoholabuseanddependence_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: intoxication_caused_problems
- dtype: boolean
- maps: ans10
- - name: intoxicated_while_physically_at_risk
- dtype: boolean
- maps: ans11
- - name: legal_problems_due_to_drinking
- dtype: boolean
- maps: ans12
- - name: drinking_despite_problems_with_family
- dtype: boolean
- maps: ans13
- - name: current
- dtype: boolean
- maps: ans14
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _anorexia_nervosa
- maps: anorexianervosa_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: height
- dtype: float
- maps: heightInCm
- between: [10, 300]
- - name: lowest_weight_in_past_quarter
- dtype: float
- maps: weightInKg
- between: [10, 200]
- - name: weight_below_threshold
- dtype: boolean
- maps: ans1
- - name: tried_not_to_gain_weight
- dtype: boolean
- maps: ans2
- - name: feared_getting_fat
- dtype: boolean
- maps: ans3
- - name: consider_yourself_fat
- dtype: boolean
- maps: ans4
- - name: body_shape_influenced_self_esteem
- dtype: boolean
- maps: ans5
- - name: think_current_weight_is_excessive
- dtype: boolean
- maps: ans6
- - name: current
- dtype: boolean
- maps: ans9
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _anitisocial_personality_disorder
- maps: antisocialpersonalitydisorder_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: ran_away_from_home_or_school_when_young
- dtype: boolean
- maps: ans1
- - name: repeatedly_con_or_steal_when_young
- dtype: boolean
- maps: ans2
- - name: start_fights_or_bully_when_young
- dtype: boolean
- maps: ans3
- - name: deliberately_destroy_things_when_young
- dtype: boolean
- maps: ans4
- - name: deliberately_hurt_animals_when_young
- dtype: boolean
- maps: ans5
- - name: forced_sex_with_others_when_young
- dtype: boolean
- maps: ans6
- - name: behaved_irresponsibly_when_adult
- dtype: boolean
- maps: ans8
- - name: done_illegal_things_when_adult
- dtype: boolean
- maps: ans9
- - name: repeated_physical_fights_when_adult
- dtype: boolean
- maps: ans10
- - name: lied_often_when_adult
- dtype: boolean
- maps: ans11
- - name: exposed_others_to_danger_when_adult
- dtype: boolean
- maps: ans12
- - name: felt_no_guilt_when_adult
- dtype: boolean
- maps: ans13
- - name: lifetime
- dtype: boolean
- maps: ans14
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _bulimia_nervosa
- maps: bulimianervosa_table
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: eating_binges
- dtype: boolean
- maps: ans1
- - name: eating_binges_often
- dtype: boolean
- maps: ans2
- - name: eating_out_of_control
- dtype: boolean
- maps: ans3
- - name: steps_to_prevent_weight_gain
- dtype: boolean
- maps: ans4
- - name: body_shape_influences_self_esteem
- dtype: boolean
- maps: ans5
- - name: anorexia_symptoms
- dtype: boolean
- maps: ans6
- - name: underweight_triggers_binges
- dtype: boolean
- maps: ans7
- - name: threshold_weight
- dtype: float
- maps: usedDrug
- between: [10, 150]
- - name: bulimia
- dtype: boolean
- maps: ans8
- - name: binge_eating_type
- dtype: boolean
- maps: ans9
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- ---
- table: _recent_life_events
- maps: "cambridge_bereavement_table"
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
- attach:
- - name: timing
- primary: yes
- dtype: str
- - name: event
- primary: yes
- dtype: str
- - name: occurence
- dtype: integer
- - name: independence
- dtype: integer
- - name: impact
- dtype: integer
- detach:
- - name: recent-death_of_close_friend-occurence
- dtype: integer
- maps: m_recent_1
- - name: recent-death_of_close_family-occurence
- dtype: integer
- maps: m_recent_2
- - name: recent-death_of_child-occurence
- dtype: integer
- maps: m_recent_3
- - name: recent-death_of_spouse-occurence
- dtype: integer
- maps: m_recent_4
- - name: recent-lost_item_of_personal_value-occurence
- dtype: integer
- maps: m_recent_5
- - name: recent-death_of_close_friend-independence
- dtype: integer
- maps: i_recent_1
- - name: recent-death_of_close_family-independence
- dtype: integer
- maps: i_recent_2
- - name: recent-death_of_child-independence
- dtype: integer
- maps: i_recent_3
- - name: recent-death_of_spouse-independence
- dtype: integer
- maps: i_recent_4
- - name: recent-lost_item_of_personal_value-independence
- dtype: integer
- maps: i_recent_5
- - name: recent-death_of_close_friend-impact
- dtype: integer
- maps: n_recent_1
- - name: recent-death_of_close_family-impact
- dtype: integer
- maps: n_recent_2
- - name: recent-death_of_child-impact
- dtype: integer
- maps: n_recent_3
- - name: recent-death_of_spouse-impact
- dtype: integer
- maps: n_recent_4
- - name: recent-lost_item_of_personal_value-impact
- dtype: integer
- maps: n_recent_5
- - name: onset-death_of_close_friend-occurence
- dtype: integer
- maps: m_onset_1
- - name: onset-death_of_close_family-occurence
- dtype: integer
- maps: m_onset_2
- - name: onset-death_of_child-occurence
- dtype: integer
- maps: m_onset_3
- - name: onset-death_of_spouse-occurence
- dtype: integer
- maps: m_onset_4
- - name: onset-lost_item_of_personal_value-occurence
- dtype: integer
- maps: m_onset_5
- - name: onset-death_of_close_friend-independence
- dtype: integer
- maps: i_onset_1
- - name: onset-death_of_close_family-independence
- dtype: integer
- maps: i_onset_2
- - name: onset-death_of_child-independence
- dtype: integer
- maps: i_onset_3
- - name: onset-death_of_spouse-independence
- dtype: integer
- maps: i_onset_4
- - name: onset-lost_item_of_personal_value-independence
- dtype: integer
- maps: i_onset_5
- - name: onset-death_of_close_friend-impact
- dtype: integer
- maps: n_onset_1
- - name: onset-death_of_close_family-impact
- dtype: integer
- maps: n_onset_2
- - name: onset-death_of_child-impact
- dtype: integer
- maps: n_onset_3
- - name: onset-death_of_spouse-impact
- dtype: integer
- maps: n_onset_4
- - name: onset-lost_item_of_personal_value-impact
- dtype: integer
- maps: n_onset_5
- reshape:
- - add:
- name: category
- value: bereavement
- - melt:
- id_vars: [id, subject, session, category, update_timestamp]
- - split:
- name: variable
- pat: "-"
- rename: [timing, event, variable]
- - pivot:
- columns: variable
- values: value
- index: [subject, session, timing, event]
- ---
- table: _presenting_disorders
- maps: hopi_master
- refs:
- - cols: [subject, session]
- links: [_assessments.subject, _assessments.session]
- cols:
- - name: id
- dtype: integer
- maps: id
- - name: subject
- primary: yes
- dtype: str(6)
- maps: assessmentId
- extract: "[0-9]{3}([0-9]{6})"
- like: "D[0-9]{4}"
- replace:
- value: subjectID
- to: D_number
- file: ""
- - name: session
- primary: yes
- dtype: str(3)
- maps: assessmentId
- extract: "([0-9]{3})[0-9]{6}"
- like: "[0-9]{3}"
- - name: addiction
- dtype: boolean
- maps: Addiction
- - name: bipolar
- dtype: boolean
- maps: Bipolar
- - name: dementia
- dtype: boolean
- maps: Dementia
- - name: ocd
- dtype: boolean
- maps: ocd
- - name: schizophrenia
- dtype: boolean
- maps: Schizophrenia
- - name: update_timestamp
- dtype: datetime
- maps: date_of_last_update
|