UNPKG

dcbia-surveys

Version:

A form to fill in order to collect information about TMJ.

1 lines 6.55 kB
var dcbiaSurvey=angular.module("dcbia-surveys",[]);dcbiaSurvey.paths={root:"node_modules/dcbia-surveys/src"},angular.module("dcbia-surveys").directive("clinicalMarkers",["$rootScope","$location",function(a,b){function c(a){(!a.formData||a.formData&&"clinicalMarkers"!==a.formData.formId)&&(a.formData={},a.formData.formId="clinicalMarkers",a.formData.date=new Date)}return{restrict:"E",link:c,scope:{formData:"=",editFields:"="},templateUrl:"node_modules/clinical-markers/clinicalMarkers.template.html"}}]),angular.module("dcbia-surveys").directive("diagnosticTemporoMandibular",["$rootScope","$location","$anchorScroll",function(a,b,c){function d(a){(!a.formData||a.formData&&"diagnosticTemporoMandibular"!==a.formData.formId)&&(a.formData={},a.formData.formId="diagnosticTemporoMandibular",a.formData.date=new Date),a.goToScroll=function(a){b.hash(a),c()}}return{restrict:"E",link:d,scope:{formData:"=",editFields:"="},templateUrl:"node_modules/diagnostic-temporo-mandibular/diagnosticTemporoMandibular.template.html"}}]);var dcbiaSurvey=angular.module("dcbia-surveys");dcbiaSurvey.directive("tmjSurvey",["$rootScope","$location","$anchorScroll","clusterauth",function(a,b,c,d){function e(a){(!a.formData||a.formData&&"TMJSurvey"!==a.formData.formId)&&(a.formData={},a.formData.formId="TMJSurvey",a.formData.date=new Date,a.formData.biteUncomfortable=0,a.formData.duringDayGrindTeethClenchJaw=0,a.formData.excursionsMidlineDeviationSide=0,a.formData.facialPainAverageIntensity=0,a.formData.facialPainChangeRecreationalSocialFamilyActivities=0,a.formData.facialPainChangedAbilityToWork=0,a.formData.facialPainIntensity=0,a.formData.facialPainInterferedDailyActivities=0,a.formData.facialPainPersistentRecurrentOneTime=0,a.formData.facialPainRate=0,a.formData.generalHealth=0,a.formData.generalOralHealth=0,a.formData.goneToHealthProfessional=0,a.formData.grindTeethClenchWhileSleeping=0,a.formData.jawAcheOrStiffMorning=0,a.formData.jawClickChewing=0,a.formData.jawGratingGrinding=0,a.formData.jawLockCatch=0,a.formData.jawLockLimitationToEat=0,a.formData.jointSoundClosingLeft=0,a.formData.jointSoundClosingRight=0,a.formData.jointSoundExcursionsLeftSoundExcursionLeft=0,a.formData.jointSoundExcursionsLeftSoundExcursionProtrusion=0,a.formData.jointSoundExcursionsLeftSoundExcursionRight=0,a.formData.jointSoundExcursionsRightSoundExcursionLeft=0,a.formData.jointSoundExcursionsRightSoundExcursionProtrusion=0,a.formData.jointSoundExcursionsRightSoundExcursionRight=0,a.formData.jointSoundOpeningLeft=0,a.formData.jointSoundOpeningRight=0,a.formData.knowAnyoneInFamilyWithDiseases=0,a.formData.lastMonthDistressed=0,a.formData.lastMonthDistressedAwakeningEarlyMorning=0,a.formData.lastMonthDistressedBeingCaughtTrapped=0,a.formData.lastMonthDistressedBlamingYourself=0,a.formData.lastMonthDistressedCryingEasily=0,a.formData.lastMonthDistressedEverythingIsEffort=0,a.formData.lastMonthDistressedFaintnessDizziness=0,a.formData.lastMonthDistressedFeelingBlue=0,a.formData.lastMonthDistressedFeelingGuilt=0,a.formData.lastMonthDistressedFeelingHopeless=0,a.formData.lastMonthDistressedFeelingLonely=0,a.formData.lastMonthDistressedFeelingNoInterest=0,a.formData.lastMonthDistressedFeelingWeak=0,a.formData.lastMonthDistressedFeelingWorthlessness=0,a.formData.lastMonthDistressedHeadaches=0,a.formData.lastMonthDistressedHeavyFeelingsArmsLegs=0,a.formData.lastMonthDistressedHotColdSpells=0,a.formData.lastMonthDistressedLossSexualInterest=0,a.formData.lastMonthDistressedLowEnergy=0,a.formData.lastMonthDistressedLumpInThroat=0,a.formData.lastMonthDistressedMuscleSoreness=0,a.formData.lastMonthDistressedNauseaUpsetStomach=0,a.formData.lastMonthDistressedNumbnessOrTingling=0,a.formData.lastMonthDistressedOvereating=0,a.formData.lastMonthDistressedPainHeartChest=0,a.formData.lastMonthDistressedPainsLowerBack=0,a.formData.lastMonthDistressedPoorAppetite=0,a.formData.lastMonthDistressedSleepThatIsRestless=0,a.formData.lastMonthDistressedThoughsOfEndingLife=0,a.formData.lastMonthDistressedThoughtsOFDeathDying=0,a.formData.lastMonthDistressedTroubleFallingAsleep=0,a.formData.lastMonthDistressedTroubleGettingYourBreath=0,a.formData.lastMonthDistressedWorryTooMuchAboutThings=0,a.formData.lastSixMonthsProblemsWithHeadachesMigraines=0,a.formData.noisesOrRingingEars=0,a.formData.openingPattern=0,a.formData.painBeforeInjury=0,a.formData.painFaceJawTemple=0,a.formData.painLeft=0,a.formData.painLocation=0,a.formData.painRight=0,a.formData.palpationExtraoralMuscleMasseterLeft=0,a.formData.palpationExtraoralMuscleMasseterRight=0,a.formData.palpationExtraoralMuscleRemporalisLeft=0,a.formData.palpationExtraoralMuscleTemporalisRight=0,a.formData.palpationIntraoralMuscleLateralPterygoidLeft=0,a.formData.palpationIntraoralMuscleLateralPterygoidRight=0,a.formData.palpationIntraoralMuscleTendonTemporalisLeft=0,a.formData.palpationIntraoralMuscleTendonTemporalisRight=0,a.formData.palpationJointLateralPoleLeft=0,a.formData.palpationJointLateralPoleRight=0,a.formData.persistentPainAtLeastOneYear=0,a.formData.recentInjuryJawFace=0,a.formData.swollenJointsCloseToEars=0,a.formData.systemicArthriticDisease=0,a.formData.takingCareOfHealthOverall=0,a.formData.takingCareOfOralHealth=0,a.formData.beginPainYears=0,a.formData.beginPainMonths=0,a.formData.daysKeptFromUsualActivities=0,a.formData.problemOrPreventChewing=0,a.formData.problemOrPreventDrinking=0,a.formData.problemOrPreventExercising=0,a.formData.problemOrPreventEatingHardFoods=0,a.formData.problemOrPreventEatingSoftFoods=0,a.formData.problemOrPreventSmilingLaughing=0,a.formData.problemOrPreventSexualActivity=0,a.formData.problemOrPreventCleaningTeethOrFace=0,a.formData.problemOrPreventYawning=0,a.formData.problemOrPreventSwallowing=0,a.formData.problemOrPreventTalking=0,a.formData.problemOrPreventHavingUsualFaceAppearance=0,a.formData.openingPatternComments=0,a.formData.verticalRangeUnassistedWOPain=0,a.formData.verticalRangeUnassistedMax=0,a.formData.verticalRangeAssistedMax=0,a.formData.verticalRangeIncisalOverlap=0,a.formData.jointSoundOpeningRightMeasurment=0,a.formData.jointSoundOpeningLeftMeasurement=0,a.formData.jointSoundClosingRightMeasurment=0,a.formData.jointSoundClosingLeftMeasurement=0,a.formData.excursionsRightLateral=0,a.formData.excursionsLeftLateral=0,a.formData.excursionsProtrusion=0,a.formData.excursionsMidlineDeviation=0,d.getUser().then(function(b){a.formData.owner=b.email})),a.goToScroll=function(a){b.hash(a),c()}}return{restrict:"E",link:e,scope:{formData:"=",editFields:"="},templateUrl:dcbiaSurvey.paths.root+"/TMJSurvey.template.html"}}]);