[{"data":1,"prerenderedAt":546},["ShallowReactive",2],{"page-\u002Futils\u002Fapi\u002Ffunctions\u002FgetConditionDeadlineStates":3,"navigation":159},{"collection":4,"page":5},"docs_en",{"id":6,"title":7,"body":8,"description":149,"extension":150,"meta":151,"navigation":153,"path":154,"rawbody":155,"seo":156,"stem":157,"__hash__":158},"docs_en\u002Futils\u002Fapi\u002Ffunctions\u002FgetConditionDeadlineStates.md","getConditionDeadlineStates",{"type":9,"value":10,"toc":137},"minimark",[11,46,83,88,91,96,98,103,105,110,113,125,129],[12,13,14],"blockquote",{},[15,16,17,20,21,25,26,25,29,25,32,35,36,43],"p",{},[18,19,7],"strong",{},"(",[22,23,24],"code",{},"well",", ",[22,27,28],{},"permit",[22,30,31],{},"condition",[22,33,34],{},"options?","): ",[37,38,40],"a",{"href":39},"\u002Futils\u002Fapi\u002Ftype-aliases\u002FConditionDeadlineState",[22,41,42],{},"ConditionDeadlineState",[44,45],"span",{},[15,47,48,49,52,53,56,57,60,61,64,65,68,69,72,73,76,77,79,80,82],{},"Derives the status of each deadline of a condition, on ",[22,50,51],{},"today",":\n",[22,54,55],{},"fulfilled"," (or ",[22,58,59],{},"fulfilled_late"," when the fulfillment's local date is after\nthe deadline) when one of its ",[22,62,63],{},"fulfillments"," has that ",[22,66,67],{},"due_date","; otherwise\n",[22,70,71],{},"upcoming"," until the deadline and ",[22,74,75],{},"overdue"," after it. For an undated\ncondition, a fulfillment without ",[22,78,67],{}," yields a single ",[22,81,55],{},"\nentry.",[84,85,87],"h2",{"id":86},"parameters","Parameters",[89,90,24],"h3",{"id":24},[15,92,93],{},[22,94,95],{},"Well",[89,97,28],{"id":28},[15,99,100],{},[22,101,102],{},"Permit",[89,104,31],{"id":31},[15,106,107],{},[22,108,109],{},"PermitCondition",[89,111,34],{"id":112},"options",[15,114,115,121,122],{},[37,116,118],{"href":117},"\u002Futils\u002Fapi\u002Ftype-aliases\u002FConditionDeadlineOptions",[22,119,120],{},"ConditionDeadlineOptions"," = ",[22,123,124],{},"{}",[84,126,128],{"id":127},"returns","Returns",[15,130,131,135],{},[37,132,133],{"href":39},[22,134,42],{},[44,136],{},{"title":138,"searchDepth":139,"depth":139,"links":140},"",2,[141,148],{"id":86,"depth":139,"text":87,"children":142},[143,145,146,147],{"id":24,"depth":144,"text":24},3,{"id":28,"depth":144,"text":28},{"id":31,"depth":144,"text":31},{"id":112,"depth":144,"text":34},{"id":127,"depth":139,"text":128},"Derives the status of each deadline of a condition, on today: fulfilled (or fulfilledlate when the fulfillment's local date is after the deadline) when one of its fulfillments has that duedate; otherwise upcoming until the deadline and overdue after it. For an undated condition, a fulfillment withou","md",{"generated":152},true,false,"\u002Futils\u002Fapi\u002Ffunctions\u002FgetConditionDeadlineStates","---\npath: \"\u002Futils\u002Fapi\u002Ffunctions\u002FgetConditionDeadlineStates\"\ntitle: getConditionDeadlineStates\ndescription: \"Derives the status of each deadline of a condition, on today: fulfilled (or fulfilledlate when the fulfillment's local date is after the deadline) when one of its fulfillments has that duedate; otherwise upcoming until the deadline and overdue after it. For an undated condition, a fulfillment withou\"\ngenerated: true\nnavigation: false\n---\n\n> **getConditionDeadlineStates**(`well`, `permit`, `condition`, `options?`): [`ConditionDeadlineState`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FConditionDeadlineState)[]\n\nDerives the status of each deadline of a condition, on `today`:\n`fulfilled` (or `fulfilled_late` when the fulfillment's local date is after\nthe deadline) when one of its `fulfillments` has that `due_date`; otherwise\n`upcoming` until the deadline and `overdue` after it. For an undated\ncondition, a fulfillment without `due_date` yields a single `fulfilled`\nentry.\n\n## Parameters\n\n### well\n\n`Well`\n\n### permit\n\n`Permit`\n\n### condition\n\n`PermitCondition`\n\n### options?\n\n[`ConditionDeadlineOptions`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FConditionDeadlineOptions) = `{}`\n\n## Returns\n\n[`ConditionDeadlineState`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FConditionDeadlineState)[]\n",{"title":7,"description":149},"utils\u002Fapi\u002Ffunctions\u002FgetConditionDeadlineStates","94jLP2JHD-hQTbtYS90fBLH1XtfyfFMX77UmorObIMc",{"docs_en":160,"spec":477,"changelogs":527},[161,181,200,255,365,419],{"title":162,"path":163,"stem":164,"children":165},"Ai","\u002Fai","ai",[166,169,173,177],{"title":167,"path":163,"stem":168},"Introduction","ai\u002Findex",{"title":170,"path":171,"stem":172},"Converting reports with an assistant","\u002Fai\u002Fconversion-skill","ai\u002Fconversion-skill",{"title":174,"path":175,"stem":176},"llms.txt and Markdown pages","\u002Fai\u002Fllms","ai\u002Fllms",{"title":178,"path":179,"stem":180},"MCP server","\u002Fai\u002Fmcp","ai\u002Fmcp",{"title":182,"path":183,"stem":184,"children":185},"Contributing","\u002Fcontributing","contributing",[186,188,192,196],{"title":167,"path":183,"stem":187},"contributing\u002Findex",{"title":189,"path":190,"stem":191},"Writing docs","\u002Fcontributing\u002Fwriting-docs","contributing\u002F1.writing-docs",{"title":193,"path":194,"stem":195},"Update rules","\u002Fcontributing\u002Fupdate-rules","contributing\u002F2.update-rules",{"title":197,"path":198,"stem":199},"Content components","\u002Fcontributing\u002Fcomponents","contributing\u002Fcomponents",{"title":201,"path":202,"stem":203,"children":204},"Core","\u002Fcore","core",[205,207,220,249],{"title":167,"path":202,"stem":206},"core\u002Findex",{"title":208,"path":209,"stem":210,"children":211,"page":153},"Getting Started","\u002Fcore\u002Fgetting-started","core\u002F1.getting-started",[212,216],{"title":213,"path":214,"stem":215},"Installation","\u002Fcore\u002Fgetting-started\u002Finstallation","core\u002F1.getting-started\u002F1.installation",{"title":217,"path":218,"stem":219},"First use","\u002Fcore\u002Fgetting-started\u002Ffirst-use","core\u002F1.getting-started\u002F2.first-use",{"title":221,"path":222,"stem":223,"children":224,"page":153},"Guides","\u002Fcore\u002Fguides","core\u002F2.guides",[225,229,233,237,241,245],{"title":226,"path":227,"stem":228},"Parsing and validating","\u002Fcore\u002Fguides\u002Fparsing-and-validating","core\u002F2.guides\u002F1.parsing-and-validating",{"title":230,"path":231,"stem":232},"Serializing and sharing","\u002Fcore\u002Fguides\u002Fserializing-and-sharing","core\u002F2.guides\u002F2.serializing-and-sharing",{"title":234,"path":235,"stem":236},"Unit conversion","\u002Fcore\u002Fguides\u002Funit-conversion","core\u002F2.guides\u002F3.unit-conversion",{"title":238,"path":239,"stem":240},"Vocabularies and textures","\u002Fcore\u002Fguides\u002Fvocabularies-and-textures","core\u002F2.guides\u002F4.vocabularies-and-textures",{"title":242,"path":243,"stem":244},"Water quality vocabulary","\u002Fcore\u002Fguides\u002Fwater-quality-vocabulary","core\u002F2.guides\u002F5.water-quality-vocabulary",{"title":246,"path":247,"stem":248},"Versions and time zones","\u002Fcore\u002Fguides\u002Fversions-and-time-zones","core\u002F2.guides\u002F6.versions-and-time-zones",{"title":250,"path":251,"stem":252,"children":253},"API reference","\u002Fcore\u002Fapi","core\u002Fapi\u002Findex",[254],{"title":250,"path":251,"stem":252},{"title":256,"path":257,"stem":258,"children":259},"Format","\u002Fformat","format",[260,262,282,311,335,355,361],{"title":167,"path":257,"stem":261},"format\u002Findex",{"title":208,"path":263,"stem":264,"children":265,"page":153},"\u002Fformat\u002Fgetting-started","format\u002F1.getting-started",[266,270,274,278],{"title":267,"path":268,"stem":269},"What is .well?","\u002Fformat\u002Fgetting-started\u002Fwhat-is-well","format\u002F1.getting-started\u002F1.what-is-well",{"title":271,"path":272,"stem":273},"For geologists","\u002Fformat\u002Fgetting-started\u002Ffor-geologists","format\u002F1.getting-started\u002F2.for-geologists",{"title":275,"path":276,"stem":277},"For developers","\u002Fformat\u002Fgetting-started\u002Ffor-developers","format\u002F1.getting-started\u002F3.for-developers",{"title":279,"path":280,"stem":281},"Your first .well file","\u002Fformat\u002Fgetting-started\u002Ffirst-well-file","format\u002F1.getting-started\u002F4.first-well-file",{"title":283,"path":284,"stem":285,"children":286,"page":153},"Concepts","\u002Fformat\u002Fconcepts","format\u002F2.concepts",[287,291,295,299,303,307],{"title":288,"path":289,"stem":290},"Depths and intervals","\u002Fformat\u002Fconcepts\u002Fdepths-and-intervals","format\u002F2.concepts\u002F1.depths-and-intervals",{"title":292,"path":293,"stem":294},"Units and precision","\u002Fformat\u002Fconcepts\u002Funits-and-precision","format\u002F2.concepts\u002F2.units-and-precision",{"title":296,"path":297,"stem":298},"Vocabularies","\u002Fformat\u002Fconcepts\u002Fvocabularies","format\u002F2.concepts\u002F3.vocabularies",{"title":300,"path":301,"stem":302},"Profiles","\u002Fformat\u002Fconcepts\u002Fprofiles","format\u002F2.concepts\u002F4.profiles",{"title":304,"path":305,"stem":306},"Versions and deprecation","\u002Fformat\u002Fconcepts\u002Fversions-and-deprecation","format\u002F2.concepts\u002F5.versions-and-deprecation",{"title":308,"path":309,"stem":310},"Extensibility","\u002Fformat\u002Fconcepts\u002Fextensibility","format\u002F2.concepts\u002F6.extensibility",{"title":221,"path":312,"stem":313,"children":314,"page":153},"\u002Fformat\u002Fguides","format\u002F3.guides",[315,319,323,327,331],{"title":316,"path":317,"stem":318},"Writing a .well by hand","\u002Fformat\u002Fguides\u002Fwriting-by-hand","format\u002F3.guides\u002F1.writing-by-hand",{"title":320,"path":321,"stem":322},"Converting a report","\u002Fformat\u002Fguides\u002Fconverting-a-report","format\u002F3.guides\u002F2.converting-a-report",{"title":324,"path":325,"stem":326},"Validating","\u002Fformat\u002Fguides\u002Fvalidating","format\u002F3.guides\u002F3.validating",{"title":328,"path":329,"stem":330},"Extending for your own needs","\u002Fformat\u002Fguides\u002Fextending","format\u002F3.guides\u002F4.extending",{"title":332,"path":333,"stem":334},"Building an editor or database on .well","\u002Fformat\u002Fguides\u002Fbuilding-on-well","format\u002F3.guides\u002F5.building-on-well",{"title":336,"path":337,"stem":338,"children":339},"Overview","\u002Fformat\u002Freference","format\u002F4.reference\u002Findex",[340,341,345,349],{"title":336,"path":337,"stem":338},{"title":342,"path":343,"stem":344},"JSON Schema","\u002Fformat\u002Freference\u002Fjson-schema","format\u002F4.reference\u002F1.json-schema",{"title":346,"path":347,"stem":348},"Example wells","\u002Fformat\u002Freference\u002Fexamples","format\u002F4.reference\u002F2.examples",{"title":350,"path":351,"stem":352,"children":353},"Object reference","\u002Fformat\u002Freference\u002Fobjects","format\u002Freference\u002Fobjects\u002Findex",[354],{"title":350,"path":351,"stem":352},{"title":356,"path":357,"stem":358,"children":359},"About the spec","\u002Fformat\u002Fspec","format\u002F5.spec\u002Findex",[360],{"title":356,"path":357,"stem":358},{"title":362,"path":363,"stem":364},"Changelog","\u002Fformat\u002Fchangelog","format\u002F6.changelog",{"title":366,"path":367,"stem":368,"children":369},"Render","\u002Frender","render",[370,372,382,414],{"title":167,"path":367,"stem":371},"render\u002Findex",{"title":208,"path":373,"stem":374,"children":375,"page":153},"\u002Frender\u002Fgetting-started","render\u002F1.getting-started",[376,379],{"title":213,"path":377,"stem":378},"\u002Frender\u002Fgetting-started\u002Finstallation","render\u002F1.getting-started\u002F1.installation",{"title":217,"path":380,"stem":381},"\u002Frender\u002Fgetting-started\u002Ffirst-use","render\u002F1.getting-started\u002F2.first-use",{"title":221,"path":383,"stem":384,"children":385,"page":153},"\u002Frender\u002Fguides","render\u002F2.guides",[386,390,394,398,402,406,410],{"title":387,"path":388,"stem":389},"Panels and layout","\u002Frender\u002Fguides\u002Fpanels-and-layout","render\u002F2.guides\u002F1.panels-and-layout",{"title":391,"path":392,"stem":393},"Layers and labels","\u002Frender\u002Fguides\u002Flayers-and-labels","render\u002F2.guides\u002F2.layers-and-labels",{"title":395,"path":396,"stem":397},"Theming","\u002Frender\u002Fguides\u002Ftheming","render\u002F2.guides\u002F3.theming",{"title":399,"path":400,"stem":401},"Locale and units","\u002Frender\u002Fguides\u002Flocale-and-units","render\u002F2.guides\u002F4.locale-and-units",{"title":403,"path":404,"stem":405},"Legends","\u002Frender\u002Fguides\u002Flegends","render\u002F2.guides\u002F5.legends",{"title":407,"path":408,"stem":409},"Zoom, pan and highlights","\u002Frender\u002Fguides\u002Finteraction","render\u002F2.guides\u002F6.interaction",{"title":411,"path":412,"stem":413},"Using it in a framework","\u002Frender\u002Fguides\u002Fframeworks","render\u002F2.guides\u002F7.frameworks",{"title":250,"path":415,"stem":416,"children":417},"\u002Frender\u002Fapi","render\u002Fapi\u002Findex",[418],{"title":250,"path":415,"stem":416},{"title":420,"path":421,"stem":422,"children":423},"Utils","\u002Futils","utils",[424,426,436,472],{"title":167,"path":421,"stem":425},"utils\u002Findex",{"title":208,"path":427,"stem":428,"children":429,"page":153},"\u002Futils\u002Fgetting-started","utils\u002F1.getting-started",[430,433],{"title":213,"path":431,"stem":432},"\u002Futils\u002Fgetting-started\u002Finstallation","utils\u002F1.getting-started\u002F1.installation",{"title":217,"path":434,"stem":435},"\u002Futils\u002Fgetting-started\u002Ffirst-use","utils\u002F1.getting-started\u002F2.first-use",{"title":221,"path":437,"stem":438,"children":439,"page":153},"\u002Futils\u002Fguides","utils\u002F2.guides",[440,444,448,452,456,460,464,468],{"title":441,"path":442,"stem":443},"Geometry and volumes","\u002Futils\u002Fguides\u002Fgeometry-and-volumes","utils\u002F2.guides\u002F1.geometry-and-volumes",{"title":445,"path":446,"stem":447},"Water levels and pumping tests","\u002Futils\u002Fguides\u002Fpumping-tests","utils\u002F2.guides\u002F2.pumping-tests",{"title":449,"path":450,"stem":451},"Permits","\u002Futils\u002Fguides\u002Fpermits","utils\u002F2.guides\u002F3.permits",{"title":453,"path":454,"stem":455},"Operation and production","\u002Futils\u002Fguides\u002Foperation","utils\u002F2.guides\u002F4.operation",{"title":457,"path":458,"stem":459},"Water quality","\u002Futils\u002Fguides\u002Fwater-quality","utils\u002F2.guides\u002F5.water-quality",{"title":461,"path":462,"stem":463},"Logger import","\u002Futils\u002Fguides\u002Flogger-import","utils\u002F2.guides\u002F6.logger-import",{"title":465,"path":466,"stem":467},"SIAGAS import","\u002Futils\u002Fguides\u002Fsiagas-import","utils\u002F2.guides\u002F7.siagas-import",{"title":469,"path":470,"stem":471},"Formatting","\u002Futils\u002Fguides\u002Fformatting","utils\u002F2.guides\u002F8.formatting",{"title":250,"path":473,"stem":474,"children":475},"\u002Futils\u002Fapi","utils\u002Fapi\u002Findex",[476],{"title":250,"path":473,"stem":474},[478],{"title":256,"path":257,"stem":258,"children":479,"page":153},[480],{"title":481,"path":357,"stem":482,"children":483,"page":153},"Spec","format\u002Fspec",[484,493,502],{"title":485,"path":486,"stem":487,"children":488,"page":153},"Reference","\u002Fformat\u002Fspec\u002Freference","format\u002Fspec\u002Freference",[489],{"title":490,"path":491,"stem":492},"FGDC Texture Patterns Reference","\u002Fformat\u002Fspec\u002Freference\u002Ffgdc-textures","format\u002Fspec\u002Freference\u002Ffgdc-textures",{"title":494,"path":495,"stem":496,"children":497,"page":153},"V1","\u002Fformat\u002Fspec\u002Fv1","format\u002Fspec\u002Fv1",[498],{"title":499,"path":500,"stem":501},".well File Format Specification","\u002Fformat\u002Fspec\u002Fv1\u002Fwell-format","format\u002Fspec\u002Fv1\u002Fwell-format",{"title":503,"path":504,"stem":505,"children":506,"page":153},"V2","\u002Fformat\u002Fspec\u002Fv2","format\u002Fspec\u002Fv2",[507,511,515,519,523],{"title":508,"path":509,"stem":510},".well File Format Specification — Version 2.4: Format Reference","\u002Fformat\u002Fspec\u002Fv2\u002Fformat-reference","format\u002Fspec\u002Fv2\u002Fformat-reference",{"title":512,"path":513,"stem":514},".well File Format Specification — Version 2.4: Interoperability","\u002Fformat\u002Fspec\u002Fv2\u002Finteroperability","format\u002Fspec\u002Fv2\u002Finteroperability",{"title":516,"path":517,"stem":518},".well File Format Specification — Version 2.4: Object Schemas","\u002Fformat\u002Fspec\u002Fv2\u002Fobject-schemas","format\u002Fspec\u002Fv2\u002Fobject-schemas",{"title":520,"path":521,"stem":522},".well File Format Specification — Version 2.4: Overview","\u002Fformat\u002Fspec\u002Fv2\u002Foverview","format\u002Fspec\u002Fv2\u002Foverview",{"title":524,"path":525,"stem":526},".well File Format Specification — Version 2.4: Water Quality","\u002Fformat\u002Fspec\u002Fv2\u002Fwater-quality","format\u002Fspec\u002Fv2\u002Fwater-quality",[528,534,540],{"title":201,"path":202,"stem":203,"children":529,"page":153},[530],{"title":531,"path":532,"stem":533},"@welldot\u002Fcore","\u002Fcore\u002Fchangelog","core\u002FCHANGELOG",{"title":366,"path":367,"stem":368,"children":535,"page":153},[536],{"title":537,"path":538,"stem":539},"@welldot\u002Frender","\u002Frender\u002Fchangelog","render\u002FCHANGELOG",{"title":420,"path":421,"stem":422,"children":541,"page":153},[542],{"title":543,"path":544,"stem":545},"@welldot\u002Futils","\u002Futils\u002Fchangelog","utils\u002FCHANGELOG",1793050499942]