🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 133 (from laksa115)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
7 hours ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://www.nmhealth.org/about/mcpp/mcp/
Last Crawled2026-04-08 15:42:45 (7 hours ago)
First Indexed2025-07-18 20:45:57 (8 months ago)
HTTP Status Code200
Meta TitleMedical Cannabis
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
Medical Cannabis Program Welcome to the Medical Cannabis Program Application Process To begin the application process (new and renewal), visit your Medical Provider; they must be the one to start your application. As a reminder, the Department of Health does not charge any fees to enroll and participate in the Medical Cannabis Program or to register and use the Online Patient Portal. Step 1. Visit your medical provider. Only medical providers can start an application. Step 2. Go here and register/log-in for the Online Patient Portal. Step 3. Complete your application online; upload your New Mexico State ID or driver’s license; sign; and submit. If you need additional assistance, click here for full patient application instructions. Paso 1. Visite a su proveedor médico. Solamente los proveedores médicos pueden comenzar una aplicación. Paso 2. Vaya aquí y regístrese/inicie la sesión por Internet para el Portal del Paciente. Paso 3. Complete su solicitud; adjunte su ID del estado de NM o licencia de conducir; firme; y someta. Si necesita asistencia adicional, pulse aquí para instrucciones completas para el paciente. Online Patient Portal The Online Patient Portal offers qualified patients 24-hour access to check the status of their application, check their available units, review their sales history and access their electronic card. Applications submitted through the Online Patient Portal are typically processed within 5 business days. Upon approval of your application, you will have immediate access to your electronic card. Additional Resources:
Markdown
[Your Vaccination Records](https://vaxview.doh.nm.gov/) [Get Vaccinated](https://vaccine.doh.nm.gov/) [Measles Guidance](https://www.nmhealth.org/about/erd/ideb/mog/) [Sign up for E-news\!](https://visitor.r20.constantcontact.com/d.jsp?llr=z5art88ab&p=oi&m=z5art88ab&sit=b9ca5p4lb&f=0db0602e-4092-423f-b53e-9adb17358c10) [Reproductive Health](https://www.nmhealth.org/about/phd/phdo/arh/) [NMHealth Helpline](tel:18337968773) [988: 24/7 LIfeline](https://988nm.org/) - [Skip to main content](https://www.nmhealth.org/about/mcpp/mcp/#skip-to-main) - [NMHealth Helpline (1-833-796-8773)](tel:18337968773) - [Sign Up For E-News\!](https://visitor.r20.constantcontact.com/d.jsp?llr=z5art88ab&p=oi&m=z5art88ab&sit=b9ca5p4lb&f=0db0602e-4092-423f-b53e-9adb17358c10) - [988: 24/7 Lifeline](https://988nm.org/) [![NMDOH Logo](https://www.nmhealth.org/image/logo/NMDOH-Logo-White.png)](https://www.nmhealth.org/) [![NMDOH Logo](https://www.nmhealth.org/image/logo/NMDOH-Logo-Color.png)](https://www.nmhealth.org/) - [Menu](https://www.nmhealth.org/about/mcpp/mcp/) - [Search](https://www.nmhealth.org/search) - [Home](https://www.nmhealth.org/) - [Newsroom](https://www.nmhealth.org/news/) - [Publications](https://www.nmhealth.org/publication/) - [Health Data](https://www.nmhealth.org/data/) - [Contact](https://www.nmhealth.org/contact/) - [Help](https://www.nmhealth.org/help/) - [Get Vaccinated](https://vaccine.doh.nm.gov/) - [Your Vaccination Records](https://vaxview.doh.nm.gov/) - [COVID-19 Guidance](https://cv.nmhealth.org/wp-content/uploads/2025/09/COVID-19-VACCINE-GUIDANCE_09042025_finalv2.pdf) - [Reproductive Health](https://www.nmhealth.org/about/phd/phdo/arh/) [![NMDOH Logo](https://www.nmhealth.org/image/logo/NMDOH-Logo-Color.png)](https://www.nmhealth.org/) - [What We Do](https://www.nmhealth.org/about/mcpp/mcp/) [Public Health](https://www.nmhealth.org/about/phd/) - [Women, Infants and Children](https://www.nmhealth.org/about/phd/wic/) - [Immunization](https://www.nmhealth.org/about/phd/idb/imp/) - [Chronic Disease Prevention](https://www.nmhealth.org/about/phd/pchb/) - [Family Planning](https://www.nmhealth.org/about/phd/fhb/fpp/) - [Infectious Disease Prevention](https://www.nmhealth.org/about/phd/idb/) - [Abortion & Reproductive Health](https://www.nmhealth.org/about/phd/phdo/arh/) [View All](https://www.nmhealth.org/about/phd/) [Epidemiology and Response](https://www.nmhealth.org/about/erd/) - [Birth and Death Certificates](https://www.nmhealth.org/about/erd/bvrhs/vrp/) - [Health Data](https://www.nmhealth.org/data/) - [Infectious Disease Epidemiology](https://www.nmhealth.org/about/erd/ideb/) - [Data Modernization](https://www.nmhealth.org/about/erd/ideb/dm/) - [Injury Prevention](https://www.nmhealth.org/about/erd/ibeb/ipp/) - [EMS Licensing](https://www.nmhealth.org/about/erd/emsb/emsl/) [View All](https://www.nmhealth.org/about/erd/) [Scientific Laboratory](https://www.nmhealth.org/about/sld/) - [Infectious Disease Testing](https://www.nmhealth.org/about/sld/bib/) - [Drinking Water Testing](https://www.nmhealth.org/about/sld/bib/emb/) - [Impaired Driving Testing](https://www.nmhealth.org/about/sld/txb/bat/) - [Dairy Testing](https://www.nmhealth.org/about/sld/bib/emb/) - [Outbreak/Hazardous Materials Testing](https://www.nmhealth.org/about/sld/chb/ctar/) [View All](https://www.nmhealth.org/about/sld/) [Medical Cannabis](https://www.nmhealth.org/about/mcpp/mcp/) - [How to Apply](https://www.nmhealth.org/about/mcpp/mcp/pcg/) - [Qualifying Conditions](https://www.nmhealth.org/about/mcpp/mcp/hpp/) - [Patients & Caregivers](https://www.nmhealth.org/about/mcpp/mcp/pcg/) - [Dispensary Locations](https://www.nmhealth.org/publication/view/general/2101/) - [Important Notices](https://www.nmhealth.org/about/mcpp/mcp/) [View All](https://www.nmhealth.org/about/mcpp/mcp/) [Facilities](https://www.nmhealth.org/about/ofm/) - [Nursing Home Care](https://www.nmhealth.org/about/ofm/ltcf/) - [Treatment for Substance Misuse](https://www.nmhealth.org/about/ofm/ltcf/) - [Mental Health Treatment](https://www.nmhealth.org/about/ofm/ltcf/nmbhi/) - [Physical Rehabilitation](https://www.nmhealth.org/about/ofm/ltcf/nmrc/) - [Habilitation for Intellectual & Developmental Disabilities](https://www.nmhealth.org/about/ofm/cp/llcp/) [View All](https://www.nmhealth.org/about/ofm/) [Administrative Services](https://www.nmhealth.org/about/asd/) - [Strategic Planning](https://www.nmhealth.org/about/asd/opa/pip/sprm/) - [Health Equity](https://www.nmhealth.org/about/asd/ohe/) - [Job Opportunities](https://www.nmhealth.org/about/asd/hr/jobs/) - [Inspection of Public Records](https://www.nmhealth.org/about/asd/cmo/ipra/) [View All](https://www.nmhealth.org/about/asd/) **Are you having Trouble Finding the Page you are looking for?** Feel free to [contact](https://www.nmhealth.org/contact/) us or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. - [Your Health](https://www.nmhealth.org/about/mcpp/mcp/) [Women, Infants and Children](https://www.nmhealth.org/about/phd/fhb/wic/) - [What is WIC?](http://archive.nmwic.org/participants/participant-info.php#whatiswic) - [Do I Qualify?](http://archive.nmwic.org/participants/participant-info.php#doiqualify) - [WIC Clinic Locations](http://archive.nmwic.org/participants/locations.php) - [WIC Approved Foods](http://archive.nmwic.org/grocers/approved_grocer_list.php) - [Grocery Stores](http://archive.nmwic.org/participants/docs/WIC-VendorList-ByZip.pdf) - [Farmers' Market Nutrition](https://www.nmhealth.org/about/phd/wic/fmnp/) [Injury Prevention](https://www.nmhealth.org/about/erd/ibeb/ipp/) - [Mental Health](https://www.nmhealth.org/about/erd/ibeb/mhp/) - [Older Adult Falls](https://www.nmhealth.org/about/erd/ibeb/oafp/) - [Opioid Safety](https://www.nmhealth.org/about/erd/ibeb/pos/) - [Overdose Prevention](https://www.nmhealth.org/about/phd/idb/hrp/) - [Sexual Violence](https://www.nmhealth.org/about/erd/ibeb/svsp/) - [Substance Abuse](https://www.nmhealth.org/about/erd/ibeb/sap/) - [Suicide Prevention](https://www.nmhealth.org/about/phd/hsb/supp/) [Infectious Disease & Prevention](https://www.nmhealth.org/about/phd/idb/) - [HIV AIDS](https://www.nmhealth.org/about/phd/idb/hats/) - [Drug-Related Harm Reduction](https://www.nmhealth.org/about/phd/idb/hrp/) - [Immunization](https://www.nmhealth.org/about/phd/idb/imp/) - [Hepatitis](https://www.nmhealth.org/about/phd/idb/hip/) - [Sexually Transmitted Diseases](https://www.nmhealth.org/about/phd/idb/std/) - [Tuberculosis](https://www.nmhealth.org/about/phd/idb/tbpp/) - [Influenza and Pneumonia](https://www.nmhealth.org/about/phd/idb/imp/fluv/) - [Health-care Associated Infections](https://www.nmhealth.org/about/erd/ideb/hai/) - [Animal-Transmitted Disease](https://www.nmhealth.org/about/erd/ideb/zdp/) [Chronic Disease](https://www.nmhealth.org/about/phd/cdb/) - [Cancer](https://www.nmhealth.org/about/phd/pchb/ccp/) - [Diabetes](https://www.nmhealth.org/about/phd/pchb/dpcp/) - [Healthy Kids](https://www.nmhealth.org/about/phd/pchb/hknm/) - [Quit Tobacco](https://www.nmhealth.org/about/phd/pchb/tupac/) - [Community Health Workers](https://www.nmhealth.org/about/phd/pchb/ochw/) - [Dental and Oral Health](https://www.nmhealth.org/about/phd/pchb/ooh/) [Family Health](https://www.nmhealth.org/about/phd/fhb/) - [Maternal & Child Health](https://www.nmhealth.org/about/phd/fhb/mch/) - [Children's Medical Services](https://www.nmhealth.org/about/phd/fhb/cms/) - [Families FIRST](https://www.nmhealth.org/about/phd/fhb/ffp/) - [Family Planning](https://www.nmhealth.org/about/phd/fhb/fpp/) - [Abortion & Reproductive Health](https://www.nmhealth.org/about/phd/phdo/arh/) [Environmental Health](https://www.nmhealth.org/about/erd/eheb/) - [Air Quality](https://www.nmhealth.org/about/erd/eheb/aqp/) - [Asthma](https://www.nmhealth.org/about/erd/eheb/ap/) - [Healthy Homes](https://www.nmhealth.org/about/erd/eheb/hhp/) - [Occupational Health](https://www.nmhealth.org/about/erd/eheb/ohsp/) - [Water Quality](https://www.nmhealth.org/about/erd/eheb/wqp/) **Are you having Trouble Finding the Page you are looking for?** Feel free to [contact](https://www.nmhealth.org/contact/) us or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. - [Most Popular](https://www.nmhealth.org/about/mcpp/mcp/) [Forms](https://www.nmhealth.org/publication/form/) - [Birth Certificate Application](https://www.nmhealth.org/publication/view/form/607/) - [Death Certificate Application](https://www.nmhealth.org/publication/view/form/610/) - [Medical Cannabis Patient Application](https://www.nmhealth.org/publication/view/form/135/) - [Medical Cannabis Personal Production Application](https://www.nmhealth.org/publication/view/form/136/) - [Medical Cannabis Caregiver Application](https://www.nmhealth.org/publication/view/form/133/) - [Immunization Exemption Form](https://www.nmhealth.org/publication/view/form/454/) - [EMS License Renewal Application](https://www.nmhealth.org/publication/view/form/1876/) - [EMS Do Not Resucitate Order Form](https://www.nmhealth.org/publication/view/form/1917/) [Pages](https://www.nmhealth.org/search/topic/) - [Medical Cannabis](https://www.nmhealth.org/about/mcpp/mcp/) - [Birth Certificates](https://www.nmhealth.org/about/erd/bvrhs/vrp/birth/) - [Public Health Offices](https://www.nmhealth.org/location/public/) - [Emergency Medical Systems](https://www.nmhealth.org/about/erd/emsb/) - [Women, Infants and Children](https://www.nmhealth.org/about/phd/wic/) - [EMS Licensing](https://www.nmhealth.org/about/erd/emsb/emsl/) - [Death Certificates](https://www.nmhealth.org/about/erd/bvrhs/vrp/death/) - [Behavioral Health Institute](https://www.nmhealth.org/about/ofm/ltcf/nmbhi/) [Resources](https://www.nmhealth.org/resource/) - [Healthcare Compare](https://www.nmhealth.org/resource/view/1353/) - [Health Data](https://www.nmhealth.org/data/) - [Public Accreditation](https://www.nmhealth.org/about/asd/opa/pha/) - [Proposed Rule Changes](https://www.nmhealth.org/about/asd/cmo/rules/) - [Public Records Request](https://www.nmhealth.org/about/asd/cmo/ipra/) **External Resources** - [Restaurant and Food Inspection](https://www.nmhealth.org/resource/view/8/) - [Centennial Care](https://www.nmhealth.org/resource/view/9/) - [Health Insurance](https://www.nmhealth.org/resource/view/604/) - [Pull Together / CYFD](https://www.nmhealth.org/resource/view/983/) - [Aging & Disability Resource Center](https://www.nmhealth.org/resource/view/1392/) - [Office of the Governor](https://www.nmhealth.org/resource/view/1470/) - [New Mexico True](https://www.nmhealth.org/resource/view/1182/) **Are you having Trouble Finding the Page you are looking for?** Feel free to [contact](https://www.nmhealth.org/contact/) us or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. - [Locations](https://www.nmhealth.org/about/mcpp/mcp/) **Public Health Offices** Our public health clinics are some of the primary ways in which we support the health of all New Mexicans. Each location has its own hours of operation, and a unique set of services. [Public Health Offices](https://www.nmhealth.org/location/public/) **Administrative Offices** The New Mexico Department of Health operates several administrative offices around the state that oversee regional and statewide office operations. Hours of operation and contact information are provided below. [Administrative Offices](https://www.nmhealth.org/location/office/) [All Facilities](https://www.nmhealth.org/about/ofm/ltcf/) - [NM Behavioral Health Institute](https://www.nmhealth.org/about/ofm/ltcf/nmbhi/) - [Fort Bayard Medical Center](https://www.nmhealth.org/about/ofm/ltcf/fbmc/) - [New Mexico State Veterans' Home](https://www.nmhealth.org/about/ofm/ltcf/nmsvh/) - [NM Rehabilitation Center](https://www.nmhealth.org/about/ofm/ltcf/nmrc/) - [Sequoyah Adolescent Treatment Center](https://www.nmhealth.org/about/ofm/ltcf/satc/) - [Turquoise Lodge Hospital](https://www.nmhealth.org/about/ofm/ltcf/tlh/) - [Los Lunas Community Program](https://www.nmhealth.org/about/ofm/cp/llcp/) [Facilities by Treatment](https://www.nmhealth.org/about/ofm/ltcf/) - [Treatment and Long Term Care Facilities](https://www.nmhealth.org/location/facility/) - [Rehabilitation Center](https://www.nmhealth.org/about/ofm/ltcf/nmrc/) - [Chemical Dependency](https://www.nmhealth.org/about/ofm/ltcf/) - [Adolescent Residential Treatment Centers](https://www.nmhealth.org/about/ofm/ltcf/) - [Mental Health Treatment](https://www.nmhealth.org/about/ofm/ltcf/nmbhi/) **Are you having Trouble Finding the Page you are looking for?** Feel free to [contact](https://www.nmhealth.org/contact/) us or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. - [About NMHealth](https://www.nmhealth.org/about/mcpp/mcp/) [Divisions](https://www.nmhealth.org/about/) - [Epidemiology and Response](https://www.nmhealth.org/about/erd/) - [Facilities Management](https://www.nmhealth.org/about/ofm/) - [Medical Cannabis](https://www.nmhealth.org/about/mcpp/mcp/) - [Public Health](https://www.nmhealth.org/about/phd/) - [Scientific Laboratory](https://www.nmhealth.org/about/sld/) [Office of the Secretary](https://www.nmhealth.org/about/asd/ots/) - [Cabinet Secretary Blog](https://www.nmhealth.org/news/blog/) - [About NMDOH](https://www.nmhealth.org/about/) [Strategic Planning Roadmap](https://www.nmhealth.org/about/asd/opa/pip/sprm/) - [Strategic Plan](https://www.nmhealth.org/publication/view/plan/9389/) - [Performance Improvement Program](https://www.nmhealth.org/about/asd/opa/pip/) - [Accreditation](https://www.nmhealth.org/about/asd/opa/pha/) **General Information** - [Job Opportunities](https://www.nmhealth.org/about/asd/hr/jobs/) - [Request for Proposals](https://www.nmhealth.org/publication/rfp/) **Are you having Trouble Finding the Page you are looking for?** Feel free to [contact](https://www.nmhealth.org/contact/) us or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. - [A to Z](https://www.nmhealth.org/search/topic/) [Home](https://www.nmhealth.org/) [Divisions](https://www.nmhealth.org/about/) [Medical Cannabis and Psilocybin](https://www.nmhealth.org/about/mcpp/) Medical Cannabis [More Choices](https://www.nmhealth.org/about/mcpp/mcp/) ## Menu - [Medical Cannabis](https://www.nmhealth.org/about/mcpp/mcp/) - [Cannabis Learning Lounge](https://www.nmhealth.org/about/mcpp/mcp/cll/) - [Patients & Caregivers](https://www.nmhealth.org/about/mcpp/mcp/pcg/) - [Licensees (Dispensaries)](https://www.nmhealth.org/about/mcpp/mcp/pdb/) - [Healthcare Providers & Practitioners](https://www.nmhealth.org/about/mcpp/mcp/hpp/) - [Resources, Publications and Archives](https://www.nmhealth.org/about/mcpp/mcp/rpa/) - [Medical Cannabis Advisory Board](https://www.nmhealth.org/about/mcpp/mcp/mcab/) - [Public Health and Safety Advisory Committee](https://www.nmhealth.org/about/mcpp/mcp/mcphs/) - [Statutes, Rules and Regulations](https://www.nmhealth.org/about/mcpp/mcp/mcsrr/) *** ### Contact Information **Physical Address** [Center for Medical Cannabis and Psilocybin](https://www.nmhealth.org/location/view/207/) Harold Runnels Building 1190 s. St. Francis Drive, Santa Fe, NM 87505 505-827-2321 (Phone) **Mailing Address** Department of Health Medical Cannabis Program PO Box 26110 Santa Fe, NM, 87502-6110 **Email Address** medical.cannabis@doh.nm.gov *** ## Need Some Help? Are you having Trouble Finding the Page you are looking for? Feel free to [contact us](https://www.nmhealth.org/contact/) or use our [A to Z page](https://www.nmhealth.org/search/topic/) to find an alphabetical list of pages and services available on this site. # Medical Cannabis Program *** ## Welcome to the Medical Cannabis Program ### Application Process To begin the application process (new and renewal), visit your Medical Provider; they must be the one to start your application. As a reminder, the Department of Health does not charge any fees to enroll and participate in the Medical Cannabis Program or to register and use the Online Patient Portal. [![Image](https://www.nmhealth.org/thumb/pdf/guide/MCP-1-2-3-PatientInstructions-081623.pdf)](https://www.nmhealth.org/publication/view/guide/9225/) ## How to Apply - Step 1. Visit your medical provider. Only medical providers can start an application. - Step 2. Go [here](https://mcp-patient-tracking.nmhealth.org/) and register/log-in for the Online Patient Portal. - Step 3. Complete your application online; upload your New Mexico State ID or driver’s license; sign; and submit. If you need additional assistance, click [here](https://www.nmhealth.org/publication/view/guide/7943/) for full patient application instructions. [![Image](https://www.nmhealth.org/thumb/pdf/guide/MCP-1-2-3-PatientInstructions-ES.pdf)](https://www.nmhealth.org/publication/view/guide/9226/) ## Cómo aplicar - Paso 1. Visite a su proveedor médico. Solamente los proveedores médicos pueden comenzar una aplicación. - Paso 2. Vaya [aquí](https://www.nmhealth.org/publication/view/guide/7943/) y regístrese/inicie la sesión por Internet para el Portal del Paciente. - Paso 3. Complete su solicitud; adjunte su ID del estado de NM o licencia de conducir; firme; y someta. Si necesita asistencia adicional, pulse [aquí](https://www.nmhealth.org/publication/view/guide/7943/) para instrucciones completas para el paciente. ## Online Patient Portal The Online Patient Portal offers qualified patients 24-hour access to check the status of their application, check their available units, review their sales history and access their electronic card. Applications submitted through the Online Patient Portal are typically processed within 5 business days. Upon approval of your application, you will have immediate access to your electronic card. [Create an Account](https://mcp-patient-tracking.nmhealth.org/?action=registration) [Login To Your Account](https://mcp-patient-tracking.nmhealth.org/?action=login) *** ### Additional Resources: [![Cannabis Learning Lounge](https://www.nmhealth.org/image/about/mcp/svcs/cll/CannabisLearningLoungev2.jpg)](https://www.nmhealth.org/about/mcp/svcs/cll/) [![Request Presentation](https://www.nmhealth.org/image/about/mcp/svcs/cll/RequestPresentationWhite.jpg)](https://forms.office.com/Pages/ResponsePage.aspx?id=9GuqBDbUb0K_pAS3pw5g_-4j_DT__uZHm6SCuNsddb9UNjFFQklLTlhUU05HMzVKT1NCODhITzA5TS4u) *** ## Patients - [Login to my account](https://www.nmhealth.org/resource/view/1951/) - [Current Processing time](https://www.nmhealth.org/about/mcpp/mcp/pcg/) - For more information see [Patients & Caregivers](https://www.nmhealth.org/about/mcpp/mcp/pcg/) *** ## Announcements *** ![NMDOH Logo](https://www.nmhealth.org/image/logo/NMDOH-Logo-Color.png) **Quick Links** - [Home](https://www.nmhealth.org/) - [Newsroom](https://www.nmhealth.org/news/) - [Publications](https://www.nmhealth.org/publication/) - [Health Data](https://www.nmhealth.org/data/) - [Contact](https://www.nmhealth.org/contact/) - [Employment Opportunities](https://www.nmhealth.org/resource/view/67/) - [Help](https://www.nmhealth.org/help/) **Locations & Contact** - [Public Health Offices](https://www.nmhealth.org/location/public/) - [Administrative Offices](https://www.nmhealth.org/location/office/) - [Treatment and Long Term Care Facilities](https://www.nmhealth.org/location/facility/) - [Crisis Treatment](https://www.nmhealth.org/contact/crisis/) - [Emergency Hotlines](https://www.nmhealth.org/contact/emergency/) - [General Information](https://www.nmhealth.org/contact/general/) - [Report Concerns](https://www.nmhealth.org/contact/report/) - [Services and Programs](https://www.nmhealth.org/contact/service/) **Legal** - [Privacy](https://www.nmhealth.org/help/privacy/) - [Copyright](https://www.nmhealth.org/help/copyright/) - [Disclaimer](https://www.nmhealth.org/help/disclaimer/) - [Accessibility](https://www.nmhealth.org/help/accessibility/) - [Rule Changes](https://www.nmhealth.org/about/asd/cmo/rules/) - [Notice of Nondiscrimination](https://www.nmhealth.org/help/civilrights/) - [Inspection of Public Records](https://www.nmhealth.org/about/asd/cmo/ipra/) " + "" + "" + //ENG-1082 " " + badgecount + " \\"" + chatbtn\_tooltip\_text + "\\""; /\* " "; \*/ doc.getElementById("widgetlbtn").style.color = color; doc.getElementById("widgetlbtn").style.backgroundColor = msg.widgetcolor; doc.getElementById("widgetlbtn").style.display = 'block'; count = count != undefined ? count : 0; var chatbtn\_badge\_counter = IMILocalisation.getValue(msg.widget\_lang, "badge\_counter\_unread\_messages", "Livechat Button - {0} unread messages"); chatbtn\_badge\_counter = chatbtn\_badge\_counter.replace("{0}", count); doc.getElementById("spnwidgetlbtn").setAttribute("aria-label", chatbtn\_badge\_counter); doc.getElementById("widgetlbtn").addEventListener('click', function () { console.log("switchicon called"); //doc.getElementById("waitingroom").setAttribute("aria-label", IMILocalisation.getValue(\_widget\_settings.widget\_lang, "waitingroom-tooltip", "Out of office")); if (parent.IMIChatInit != undefined) { parent.IMIChatInit.chatswitchicon(); } else { IMIChatInit.chatswitchicon(); } }); doc.getElementById("widgetlbtn").addEventListener('keydown', function (e) { if (e.key === 'Tab' && !e.shiftKey) { e.preventDefault(); var widgetmainIframe = window.parent.document.getElementById("iframechatwindow"); if (document.getElementById("divchatmain").style.display == "block") { widgetmainIframe.contentWindow.postMessage({ action: 'widgetbuttonkeypress', }, "\*"); } this.blur(); } }); document.getElementById('imi-chatbutton').style.display = "block"; //console.log( doc.getElementById("widgetlbtn")); /\*\$('\[data-toggle=\\"tooltip\\"\]').tooltip();\*/ // doc.close(); /\* for test \*/ var launch\_livechat\_iframe\_title = IMILocalisation.getValue(\_IMIchat\_widget\_lang, "launch\_livechat\_iframe\_title", "Launch Livechat"); var livechat\_widget\_iframe\_title = IMILocalisation.getValue(\_IMIchat\_widget\_lang, "livechat\_widget\_iframe\_title", "Livechat widget"); var chat\_unread\_frame\_title = IMILocalisation.getValue(\_IMIchat\_widget\_lang, "chat\_unread\_iframe\_title", "Livechat message notifications"); document.getElementById('imi-chatbutton').setAttribute('title', launch\_livechat\_iframe\_title); document.getElementById('iframechatwindow').setAttribute('title', livechat\_widget\_iframe\_title); document.getElementById('chatunread-frame').setAttribute('title', chat\_unread\_frame\_title); var doc1 = document.getElementById('chatunread-frame').contentWindow.document; // doc1.open(); doc1.head.innerHTML = " " + " " + ""; //ENG-985 doc1.body.innerHTML = " "; // ""+ //"" + //""; //doc1.close(); doc1.getElementsByTagName('html')\[0\].classList.add('imichatmsgpreview'); doc1.getElementById("ancclearcards").addEventListener('click', function () { if (parent.IMIChatInit != undefined) { parent.IMIChatInit.clearmsgcards(); } else { IMIChatInit.clearmsgcards(); } }); doc1.getElementById("greetingancclearcards").addEventListener('click', function () { if (parent.IMIChatInit != undefined) { parent.IMIChatInit.cleargreetingmsgcards(); } else { IMIChatInit.cleargreetingmsgcards(); } }); document.getElementById('chatunread-frame').style.display = "block"; this.bindGreetingMessage(msg); IMIGeneral.storeLocal("style\_" + document.getElementById("divicw").getAttribute("data-bind") + "\_" + window.location.hostname, msg); document.getElementById('chatbutton').style.display = "block"; } else { document.getElementById("divicw").innerHTML = ''; } } catch (e1) { console.log("IMIChatInit.loadwidgetStyles error:", e1); } }, bindGreetingMessage: function (data) { if (sessionStorage.getItem("webex\_engage\_greetingmessage\_shown") != null && sessionStorage.getItem("webex\_engage\_greetingmessage\_shown") != undefined) { return; } if (data.greetingmessage == undefined \|\| data.greetingmessage == null \|\| data.greetingmessage == '') { return; } var node = document.createElement("div"); var node1 = document.createElement("div"); var textnode = document.createTextNode(IMIChatInit.extractContent(data.greetingmessage)); node.className = "msg"; node.style = "cursor:pointer;"; node.setAttribute("tabindex", "0"); //ENG-1065 and ENG-3621 for tabindex node1.className = "msgclear"; node.id = "msg\_greetingmessage"; // Create a text node node1.id = "msgclear\_greetingmessage"; node1.style = "clear:both;"; node1.addEventListener('click', function () { console.log("switchicon called"); if (parent.IMIChatInit != undefined) { parent.IMIChatInit.chatswitchicon(); } else { IMIChatInit.chatswitchicon(); } }); node.addEventListener('click', function () { console.log("switchicon called"); if (parent.IMIChatInit != undefined) { parent.IMIChatInit.chatswitchicon(); } else { IMIChatInit.chatswitchicon(); } }); node1.addEventListener('keydown', function (e) { if (e.which != 13) return; console.log("switchicon called via keydown"); e.stopPropagation(); e.preventDefault(); node1.click(); }); node.addEventListener('keydown', function (e) { if (e.which != 13) return; console.log("switchicon called via keydown"); e.stopPropagation(); e.preventDefault(); node.click(); }); var span = document.createElement("span"); span.innerHTML = '' + data.name + ':'; node.appendChild(span); node.appendChild(textnode); var referenceNode = document.getElementById('chatunread-frame').contentWindow.document.getElementById("greeting-msg-list"); // document.querySelector('\#some-element'); referenceNode.setAttribute("aria-label", "Chat message from"); referenceNode.appendChild(node); referenceNode.appendChild(node1); document.getElementsByClassName("main-unreadchat-cont")\[0\].style.height = "100%"; document.getElementById('chatunread-frame').contentWindow.document.getElementById("greetingancclearcards").style.display = "block"; sessionStorage.setItem("webex\_engage\_greetingmessage\_shown", 1) }, bindCookieConsentGreetingMessage: function (hue, saturation, lightness1, lightness2) { if (sessionStorage.getItem("webex\_engage\_greetingmessage\_shown") != null && sessionStorage.getItem("webex\_engage\_greetingmessage\_shown") != undefined) { return; } if (cookieConsentWidgetOptions.greetingMessage == undefined \|\| cookieConsentWidgetOptions.greetingMessage == null \|\| cookieConsentWidgetOptions.greetingMessage == '') { return; } var doc1 = document.getElementById('chatunread-frame').contentWindow.document; doc1.head.innerHTML = " " + " " + ""; doc1.body.innerHTML = " " + cookieConsentWidgetOptions.displayName + "" + cookieConsentWidgetOptions.greetingMessage + " "; doc1.getElementsByTagName('html')\[0\].classList.add('imichatmsgpreview'); document.getElementById('chatunread-frame').style.display = "block"; document.getElementsByClassName("main-unreadchat-cont")\[0\].style.height = "100%"; document.getElementById('chatunread-frame').contentWindow.document.getElementById("greetingancclearcards").style.display = "block"; sessionStorage.setItem("webex\_engage\_greetingmessage\_shown", 1); var node1 = doc1.getElementById('msgclear\_greetingmessage'); var node = doc1.getElementById('msg\_greetingmessage'); var referenceNode = doc1.getElementById('greeting-msg-list'); referenceNode.setAttribute("aria-label", "Chat message from"); node1.addEventListener('keydown', function (e) { if (e.which != 13) return; console.log("switchicon called via keydown"); e.stopPropagation(); e.preventDefault(); node1.click(); }); node.addEventListener('keydown', function (e) { if (e.which != 13) return; console.log("switchicon called via keydown"); e.stopPropagation(); e.preventDefault(); node.click(); }); }, loadCookieConsentWidgetStyles: function () { try { if (cookieConsentWidgetOptions != '' && cookieConsentWidgetOptions != undefined && cookieConsentWidgetOptions != null && cookieConsentWidgetOptions != 'null') { buttonType = cookieConsentWidgetOptions.buttonType; var color = "\#ffffff"; var lightness1 = 0; var lightness = 0; try { var widgcolor = cookieConsentWidgetOptions.widgetColor; r = parseInt(widgcolor.substr(1, 2), 16); g = parseInt(widgcolor.substr(3, 2), 16); b = parseInt(widgcolor.substr(5, 2), 16); hue = IMIGeneral.rgbToHsl(r, g, b)\[0\] \* 360; saturation = IMIGeneral.rgbToHsl(r, g, b)\[1\] \* 100; lightness = IMIGeneral.rgbToHsl(r, g, b)\[2\] \* 100; lightness1 = lightness + 10; lightness2 = 95; var lightness3 = 98; var lightness4 = lightness + 10; if (lightness \> 80) { color = "\#333333"; } } catch (e1) { console.log("IMIChatInit.loadCookieConsentWidgetStyles color parsing error:", e1); } var badgecount = " {1} "; badgecount = badgecount.replace("{0}", "style=\\"display:none;\\"").replace("{1}", ""); var \_IMIchat\_browser\_widget\_lang = ''; //\_IMIchat\_widget\_lang = cookieConsentWidgetOptions.widgetLang; if (cookieConsentWidgetOptions.widgetLang == undefined \|\| cookieConsentWidgetOptions.widgetLang == "" \|\| cookieConsentWidgetOptions.widgetLang == null) { cookieConsentWidgetOptions.widgetLang = IMIGeneral.getMappedLocale(); \_IMIchat\_browser\_widget\_lang = IMIGeneral.getMappedLocale(); } var chatbtn\_tooltip\_text = IMILocalisation.getValue(cookieConsentWidgetOptions.widgetLang, "chat\_button\_tooltip", "Live Chat"); var doc = document.getElementById('imi-chatbutton').contentWindow.document; doc.body.innerHTML = " " + " " + "" + "" + "" + " " + badgecount + " "; doc.getElementById("cookieconsentwidgetlbtn").style.color = color; doc.getElementById("cookieconsentwidgetlbtn").style.backgroundColor = cookieConsentWidgetOptions.widgetColor; doc.getElementById("cookieconsentwidgetlbtn").style.display = 'block'; doc.getElementById("cookieconsentwidgetlbtn").addEventListener('click', function () { if (parent.IMIChatInit != undefined) { parent.IMIChatInit.chatcookieconsentswitchicon(); } else { IMIChatInit.chatcookieconsentswitchicon(); } }); document.getElementById('imi-chatbutton').style.display = "block"; document.getElementById('chatunread-frame').style.display = "block"; doc.getElementById("cookieconsentwidgetlbtn").addEventListener('keydown', function (e) { if (e.key === 'Tab' && !e.shiftKey) { //debugger; e.preventDefault(); var widgetmainIframe = window.parent.document.getElementById("iframecookieconsentwindow"); if (document.getElementById("divchatmain").style.display == "block") { widgetmainIframe.contentWindow.postMessage({ action: 'cookieconsentbuttonkeypress', }, "\*"); this.blur(); } } }); this.bindCookieConsentGreetingMessage(hue, saturation, lightness1, lightness2); var launch\_livechat\_iframe\_title = IMILocalisation.getValue(\_IMIchat\_browser\_widget\_lang, "launch\_livechat\_iframe\_title", "Launch Livechat"); document.getElementById("imi-chatbutton").setAttribute('title', launch\_livechat\_iframe\_title); var livechat\_widget\_iframe\_title = IMILocalisation.getValue(\_IMIchat\_browser\_widget\_lang, "livechat\_widget\_iframe\_title", "Livechat widget"); document.getElementById("iframecookieconsentwindow").setAttribute('title', livechat\_widget\_iframe\_title); var chat\_unread\_frame\_title = IMILocalisation.getValue(\_IMIchat\_widget\_lang, "chat\_unread\_iframe\_title", "Livechat message notifications"); document.getElementById("chatunread-frame").setAttribute('title', chat\_unread\_frame\_title); document.getElementById('chatbutton').style.display = "block"; } else { document.getElementById("divicw").innerHTML = ''; } } catch (e1) { console.log("IMIChatInit.loadCookieConsentWidgetStyles error:", e1); } }, acceptCookies: function (element) { if (IMIChatInit.checklocalStorage()) { localStorage.setItem("webex\_engage\_cookieconsent\_accepted", 1); cookie\_consent\_accepted = 1; IMIChatInit.init(); } else { document.getElementById("divicw").innerHTML = " [\\n \\n \\n]() ![]()Error: Cookies Disabled We use cookies to enable best chat experience. Follow [these directions]() to re-enable cookies specific to your browser type or re-open this website in a cookie-enabled browser. "; console.log("Local storage not supported"); } }, chatswitchicon: function (type) { console.log("Chatswitchicon::" + type); try { var referenceNode = document.getElementById('chatunread-frame').contentWindow.document.getElementById("greeting-msg-list"); if (referenceNode != undefined && referenceNode != null) referenceNode.removeAttribute('aria-label'); /\*type=1-max and 0- min \*/ var isMobile = "0"; // if (window.innerWidth \> 768) { // document.getElementById('divchatmain').className = 'main-chat-cont'; // } else { // document.getElementById('divchatmain').className = 'main-chat-cont chatmobile'; // isMobile="1"; // } if ((navigator.userAgent.indexOf("Mobile")) != -1) { isMobile = "1"; } sessionStorage.setItem("webex\_engage\_data-bind", document.getElementById("divicw").getAttribute("data-bind")); sessionStorage.setItem("webex\_engage\_data-org", document.getElementById("divicw").getAttribute("data-org")); var iframe = document.getElementById('imi-chatbutton'); if (iframe == null \|\| iframe == undefined) return; var innerDoc = iframe.contentDocument \|\| iframe.contentWindow.document; //Open Widget if (document.getElementById("divchatmain").style.display === 'none' && (type == 1 \|\| type == 2 \|\| type == undefined)) { document.getElementById("divchatmain").style.display = "block"; IMIGeneral.checkmobile(); var widgetmain = document.getElementById("iframechatwindow");//ENG-1034 widgetmain.contentWindow.focus();//ENG-1034 widgetmain.contentWindow.postMessage({ action: 'widgetbuttonkeypress', }, "\*"); //if ((window.outerWidth -1 && document.getElementById("divchatmain").style.display == "block") { // if((document.documentElement.classList.value.split(/\\s+\|\\./).filter(word =\> word === 'imichatmobile-active').length==1) == false){ document.documentElement.classList.remove("imichatmobile-active"); document.documentElement.className = document.documentElement.className + " imichatmobile-active"; // } } else { document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); } document.getElementById('chatunread-frame').style.display = "none"; innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state1 " + buttonType + " close-btn"); // innerDoc.getElementById("widgetlbtn").setAttribute("aria-label", "Close web chat"); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded", "true"); document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "none"; document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText = ""; localStorage.setItem(fingerprint + "\_" + \_skey + "\_badgecount", 0); localStorage.setItem(fingerprint + "\_" + \_skey + "\_cardcount", 0); var clear\_badgecounter = IMILocalisation.getValue(\_IMIchat\_widget\_lang, "badge\_counter\_unread\_messages", "Livechat Button - {0} unread messages").replace("{0}",0); innerDoc.getElementById("spnwidgetlbtn").setAttribute("aria-label", clear\_badgecounter); IMIChatInit.clearmsgcards(); IMIChatInit.cleargreetingmsgcards(); // if (IMIGeneral.getBrowserName() == "safari") { // if (IMIGeneral.detectIOS()) { // document.body.classList.add('chatnoscroll'); // } // } if (type === undefined) { var destination = document.getElementById('iframechatwindow').contentWindow; msg = { "action": "showiframe", "host": window.location.hostname, "chatmobile": isMobile }; destination.postMessage(msg, domainUrl); document.getElementById("iframechatwindow").setAttribute("aria-hidden", "false"); } return; } //Close Widget if (document.getElementById("divchatmain").style.display === 'block' && (type == 0 \|\| type == 2 \|\| type == undefined)) { document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); //document.body.classList.remove('chatnoscroll'); document.getElementById("divchatmain").style.display = "none"; innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state " + buttonType); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded", "false"); innerDoc.getElementById("widgetlbtn").focus(); innerDoc.getElementById("cookieconsentwidgetlbtn").focus(); document.getElementById('chatunread-frame').style.display = "block"; localStorage.setItem(fingerprint + "\_" + \_skey + "\_cardcount", 0); document.getElementById("iframechatwindow").setAttribute("aria-hidden", "true"); return; } //var iframeEl = document.getElementById("iframechatwindow"); // Make sure you are sending a string, and to stringify JSON // iframeEl.contentWindow.postMessage("hello", '\*'); return; } catch (e) { console.log("IMIChatInit.chatswitchicon error:", e); } }, chatcookieconsentswitchicon: function (type) { try { var referenceNode = document.getElementById('chatunread-frame').contentWindow.document.getElementById("greeting-msg-list"); if (referenceNode != undefined && referenceNode != null) referenceNode.removeAttribute('aria-label'); var isMobile = "0"; if ((navigator.userAgent.indexOf("Mobile")) != -1) { isMobile = "1"; } var iframe = document.getElementById('imi-chatbutton'); if (iframe == null \|\| iframe == undefined) return; var innerDoc = iframe.contentDocument \|\| iframe.contentWindow.document; //Open Widget if (document.getElementById("divchatmain").style.display === 'none' && (type == 1 \|\| type == 2 \|\| type == undefined)) { document.getElementById("divchatmain").style.display = "block"; IMIGeneral.checkmobile(); var widgetcookieconsent = document.getElementById('iframecookieconsentwindow').contentWindow; widgetcookieconsent.postMessage({ action: 'cookieconsentbuttonkeypress', }, "\*"); var className = " " + document.documentElement.className + " "; //if ((window.outerWidth -1 && document.getElementById("divchatmain").style.display == "block") { // // if((document.documentElement.classList.value.split(/\\s+\|\\./).filter(word =\> word === 'imichatmobile-active').length==1) == false){ // document.documentElement.classList.remove("imichatmobile-active"); // document.documentElement.className = document.documentElement.className + " imichatmobile-active"; // // } //} else { // document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); //} document.getElementById('chatunread-frame').style.display = "none"; innerDoc.getElementById("cookieconsentwidgetlbtn").setAttribute("class", "open-btn state1 " + buttonType + " close-btn"); innerDoc.getElementById("cookieconsentwidgetlbtn").setAttribute("aria-expanded", "true"); document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "none"; document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText = ""; //IMIChatInit.clearmsgcards(); if (type === undefined) { var destination = document.getElementById('iframecookieconsentwindow').contentWindow; msg = { "action": "showiframe", "host": window.location.hostname, "chatmobile": isMobile }; destination.postMessage(msg, domainUrl); document.getElementById("iframecookieconsentwindow").setAttribute("aria-hidden", "false"); } IMIChatInit.cleargreetingmsgcards(); return; } //Close Widget if (document.getElementById("divchatmain").style.display === 'block' && (type == 0 \|\| type == 2 \|\| type == undefined)) { document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); document.getElementById("divchatmain").style.display = "none"; innerDoc.getElementById("cookieconsentwidgetlbtn").setAttribute("class", "open-btn state " + buttonType); innerDoc.getElementById("cookieconsentwidgetlbtn").setAttribute("aria-expanded", "false"); if (innerDoc.getElementById("cookieconsentwidgetlbtn")) { innerDoc.getElementById("cookieconsentwidgetlbtn").focus(); document.addEventListener('keydown', function (event) { if (event.key === "Tab") { event.preventDefault(); if (innerDoc.getElementById("ancclearcards")) { innerDoc.getElementById("ancclearcards").focus(); } else if (innerDoc.getElementById("greetingancclearcards")) { innerDoc.getElementById("greetingancclearcards").focus(); } } }); } document.getElementById('chatunread-frame').style.display = "block"; document.getElementById("iframecookieconsentwindow").setAttribute("aria-hidden", "true"); return; } return; } catch (e) { console.log("IMIChatInit.chatcookieconsentswitchicon error:", e); } }, clearmsgcards: function () { document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list").innerHTML = ""; document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display = "none"; //document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "none"; //document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText == ""; localStorage.setItem(fingerprint + "\_" + \_skey + "\_cardcount", 0); }, cleargreetingmsgcards: function () { document.getElementById('chatunread-frame').contentWindow.document.getElementById("greeting-msg-list").innerHTML = ""; document.getElementById('chatunread-frame').contentWindow.document.getElementById("greetingancclearcards").style.display = "none"; }, openchat: function (event) { document.getElementById('imichat-fullscreen-modal').className = 'imichat-fullscreen-modal'; document.getElementById('imichat-fullscreen-modal').removeAttribute('tabindex'); document.getElementById('imichat-fullscreen-modal').removeAttribute('aria-hidden'); var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive\_id: event.data.proactive\_id }, '\*'); if (parent.IMIChatInit != undefined) { parent.IMIChatInit.chatswitchicon(2); } else { IMIChatInit.chatswitchicon(2); } }, extractContent: function (s) { var span = document.createElement('span'); span.innerHTML = s; return span.textContent \|\| span.innerText; }, badgecount: function (event) { try { if (document.getElementById("divchatmain").style.display === 'none') { var count = document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText; if (count == 0 \|\| count == "") { count = 1; } else { count = parseInt(count) + 1; } var duplicate = 0; var innerDivs; var innerDivsCount = 0; var refChild; IMIChatInit.clearmsgcards(); var containerDiv = document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list"); if (count \> 1) { innerDivs = containerDiv.getElementsByClassName("msg"); if (innerDivs != undefined) { innerDivsCount = innerDivs.length; for (var i = 0; i 45) { if (event.data.badge\_type === undefined \|\| event.data.badge\_type === 2) { textnode.data = textnode.data.substr(0, 45) + "..."; } else { textnode.data = textnode.data; } } node.className = "msg"; node.style = "cursor:pointer;"; node.setAttribute("tabindex", "0"); //ENG-1065 and ENG-3621 for tabindex node1.className = "msgclear"; node.id = "msg\_" + event.data.msgtransid; // Create a text node node1.id = "msgclear\_" + event.data.msgtransid; node1.style = "clear:both;"; node.addEventListener("click", function () { window.parent.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive\_id: event.data.proactive\_id }, '\*'); }); node1.addEventListener("click", function () { window.parent.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive\_id: event.data.proactive\_id }, '\*'); }); if (event.data.msg\_from !== undefined && event.data.msg\_from !== "") { var span = document.createElement("span"); //var span span.innerHTML = '' + event.data.msg\_from + ':'; node.appendChild(span); } else if (event.data.msg\_from === undefined \|\| event.data.msg\_from == "") { var span = document.createElement("span"); //var span span.innerHTML = 'New Conversation:'; node.appendChild(span); } node.appendChild(textnode); var height = document.getElementsByClassName('main-unreadchat-cont')\[0\].style.height; if (height == "") { height = 70; } if (innerDivsCount == 0) { height = document.getElementsByClassName('main-unreadchat-cont')\[0\].style.height = "100%"; } /\* else if (innerDivsCount == 2) { height = document.getElementsByClassName('main-unreadchat-cont')\[0\].style.height = "150px"; } else if (innerDivsCount \> 2) {\*/ else { document.getElementsByClassName('main-unreadchat-cont')\[0\].style.height = parseInt(height) + 60 + "px"; } var referenceNode = document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list"); // document.querySelector('\#some-element'); if (innerDivsCount == 0) { referenceNode.appendChild(node); referenceNode.appendChild(node1); } else { referenceNode.insertBefore(node, refChild); referenceNode.insertBefore(node1, refChild); if ((window.innerHeight + 100) 0) { //to do for ENG-1082 get localisation for chat button tooltip with count //ENG-1055 document.getElementById('imi-chatbutton').contentWindow.document.getElementById("spnwidgetlbtn").setAttribute("aria-label", chatbtn\_badge\_counter); //ENG-1082 } else { document.getElementById('imi-chatbutton').contentWindow.document.getElementById("spnwidgetlbtn").setAttribute("aria-label", chatbtn\_badge\_counter); //ENG-1082 } } document.getElementById('chatunread-frame').style.display = (event.data.badge\_type === undefined \|\| (event.data.badge\_type === 2 \|\| event.data.badge\_type === 3)) ? "block" : "none"; document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display = (event.data.badge\_type === undefined \|\| (event.data.badge\_type === 2 \|\| event.data.badge\_type === 3)) ? "block" : "none"; } } catch (e) { console.log("IMIChatInit.badgecount error:", e); } }, message: function (event) { try { if (event.data.action != null) { if (event.data.action == 'openchat') { IMIChatInit.openchat(event); } if (event.data.action == 'badgecount') { IMIChatInit.badgecount(event); } if (event.data.action == 'chatswitchicon') { IMIChatInit.chatswitchicon(); //event } if (event.data.action == 'Cookiechatswitchicon') { IMIChatInit.chatcookieconsentswitchicon(); //event } if (event.data.action == 'imichat\_custom\_chat\_fields') { if (event.data.type == 'add') { if (\_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_init'\] !== undefined) { \_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_init'\](event.data.response); } } else if (event.data.type == 'update') { if (\_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_update'\] !== undefined) { \_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_update'\](event.data.response); } }//event } if (event.data.action == 'acceptCookies') { IMIChatInit.acceptCookies(); } if (event.data.action == 'widgettabkeypress') { var forkeyboard = document.getElementById('imi-chatbutton').contentWindow.document; forkeyboard.getElementById("widgetlbtn").focus(); } if (event.data.action == 'cookieconsenttabkeypress') { var forkeyboard = document.getElementById('imi-chatbutton').contentWindow.document; forkeyboard.getElementById("cookieconsentwidgetlbtn").focus(); } if (event.data.action == 'loadcookieconsentwidgetstyles') { IMIChatInit.loadCookieConsentWidgetStyles(); } if (event.data.action == 'loadstyles') { IMIChatInit.loadJQuery(\_wxengage\_domain\_name, function () { IMIChatInit.loadwidgetStyles(event.data.message); try { if (event.data.message != null) { if (\_IMIchat\_callback\_dic\['imichat-widget:ready'\] !== undefined) { \_IMIchat\_callback\_dic\['imichat-widget:ready'\](\_wxengage\_attr\_key); console.log("imichat-widget:ready fired"); } //eval('imichatWidgetLoaded();'); if (\_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_init'\] !== undefined) { \_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_init'\](); }// debugger; var widget\_data = JSON.parse(event.data.message); hdr\_bfp = widget\_data.hdr\_bfp; hdr\_xtoken = widget\_data.hdr\_xtoken; hdr\_tid = widget\_data.hdr\_tid; is\_abandonded = widget\_data.abandon\_chats } } catch (e) { console.log("IMIChatInit loadstyles callback error:", e); } IMIChatInit.LaunchProactiveMsgManager(\_wxengage\_domain\_name, function () { }); IMIChatInit.handleAbandonedChats(); if (cookie\_consent\_accepted == 1) { var cookiefocus = document.getElementById('imi-chatbutton').contentWindow.document; cookiefocus.getElementById("widgetlbtn").focus(); } }); } if (event.data.action == 'closemodelpopup') { document.getElementById('imichat-fullscreen-modal').className = 'imichat-fullscreen-modal'; document.getElementById('imichat-fullscreen-modal').setAttribute('tabindex', '-1'); document.getElementById('imichat-fullscreen-modal').setAttribute('aria-hidden', 'true'); } if (event.data.action == 'setsession') { sessionStorage.setItem(event.data.key, event.data.value); } if (event.data.action == 'setlocal') { localStorage.setItem(event.data.key, event.data.value); } if (event.data.action == 'browserstorage') { document.getElementById("divicw").innerHTML = " [\\n \\n \\n]() ![]()Error: Cookies Disabled We use cookies to enable best chat experience. Follow [these directions]() to re-enable cookies specific to your browser type or re-open this website in a cookie-enabled browser. "; console.log("Local storage not supported"); } if (event.data.action == 'clearallsessionkeys') { sessionStorage.clear(); } if (event.data.action == 'clearalllocalstoragekeys') { localStorage.clear(); } if (event.data.action == 'cookierejectreload') { IMIChatInit.removeStorageKeysWhenCookieRejected(); IMIChatInit.init(); } } } catch (e) { console.log("IMIChatInit.message error:", e); } }, resize: function () { try { var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'resize', width: window.outerWidth //window.innerWidth//screen.width // document.body.clientWidth }, "\*"); IMIGeneral.checkmobile(); } catch (e) { console.log("IMIChatInit.resize error:", e); } }, removeStorageKeysWhenCookieRejected: function () { sessionStorage.removeItem(\_wxengage\_attr\_key + "\_imichat-reload-check"); sessionStorage.removeItem("webex\_engage\_data-bind"); sessionStorage.removeItem("webex\_engage\_data-org"); sessionStorage.removeItem("webex\_engage\_greetingmessage\_shown") localStorage.removeItem(fingerprint + "\_" + \_skey + "\_badgecount"); localStorage.removeItem(fingerprint + "\_" + \_skey + "\_cardcount"); localStorage.removeItem("style\_" + document.getElementById("divicw").getAttribute("data-bind") + "\_" + window.location.hostname); localStorage.removeItem("webex\_engage\_customer\_first\_seen"); localStorage.removeItem("webex\_engage\_customer\_last\_seen"); localStorage.removeItem("webex\_engage\_customer\_last\_seen\_interval\_id"); localStorage.removeItem("webex\_engage\_executed\_proactive\_ids"); localStorage.removeItem("fingerprint"); localStorage.removeItem("webex\_engage\_repeat\_customer"); sessionStorage.removeItem("webex\_engage\_imichat\_hasinitconvexist"); localStorage.removeItem("webex\_engage\_cookieconsent\_accepted"); cookie\_consent\_accepted = 0; }, clearBrowserStorage: function () { try { IMIChatInit.removeStorageKeysWhenCookieRejected(); var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'clearbrowserstorage', width: window.outerWidth //window.innerWidth//screen.width // document.body.clientWidth }, "\*"); IMIChatInit.verifyCookieConsent(); console.log("browser storage cleared"); } catch (e) { console.log("IMIChatInit.clearBrowserStorage error:", e); } }, LaunchProactiveMsgManager: function (domainName, callback) { try { var widget\_styles = localStorage.getItem("style\_" + document.getElementById("divicw").getAttribute("data-bind") + "\_" + window.location.hostname); if (widget\_styles == null && !JSON.parse(widget\_styles).enable\_proactive) { callback(); return; } var body = document.getElementsByTagName('body')\[0\]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = IMIChatInit.domainName() + '/js/proactive-msg-manager.js'; body.appendChild(script); script.addEventListener('load', function (event) { console.log('proactive manager loaded;'); var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'proactive-manager-loaded', attrkey: document.getElementById("divicw").getAttribute("data-bind"), host: window.location.hostname }, "\*"); callback(); }); } catch (e) { console.log("IMIChatInit.LaunchProactiveMsgManager error:", e); } }, processAbandonedChats: function (type) { if (!imichatwidget.hasInitiatedChat()) { return; } if (is\_abandonded == false) { return; } var browser\_fingerprint = localStorage.getItem("fingerprint"); var url = IMIGeneral.profileUrl() + "livechats/" + \_wxengage\_attr\_key + "/customers/" + browser\_fingerprint + "/abandoned?host=" + window.document.URL; url = url + "\&type=" + type; var body = JSON.stringify({ "is\_reloaded": false, "is\_closechat": true }); var headers = { 'type': 'application/json', 'fpid': hdr\_bfp, 'Authorization': hdr\_xtoken }; var blob = new Blob(\[body\], headers); navigator.sendBeacon(url); }, handleAbandonedChats: function () { // Attach the event keypress to exclude the F5 refresh //jQuery(window).on('keydown', function (e) { window.addEventListener('keydown', function (e) { if (e.keyCode == 116) { \_IMIchat\_IsValidNavigation = true; } }); window.addEventListener("beforeunload", function (e) { sessionStorage.setItem(\_wxengage\_attr\_key + "\_imichat-reload-check", document.referrer); console.log(document.referrer); //sessionStorage.setItem("imi\_tabid", Math.random().toString(16).slice(2)); if (\_IMIchat\_IsValidNavigation !== undefined && !\_IMIchat\_IsValidNavigation) { IMIChatInit.processAbandonedChats("unload"); } }); if (window.performance.navigation.type == 1) { IMIChatInit.processAbandonedChats("load"); } }, loadJQuery: function (domainName, callback) { if (typeof (jQuery) !== 'undefined') { callback(); return; } var body = document.getElementsByTagName('body')\[0\]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = domainName + '/js/jquery.min.js'; body.appendChild(script); script.addEventListener('load', function (event) { callback(); }); return; }, on: function (func\_name, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } switch (func\_name) { case 'imichat-widget:ready': \_IMIchat\_callback\_dic\['imichat-widget:ready'\] = callback; break; } }, checklocalStorage: function () { var test = 'test'; try { localStorage.setItem(test, test); localStorage.removeItem(test); return true; } catch (e) { console.log("IMIChatInit.checklocalStorage error:", e); return false; } }, call\_previous\_chats: function () { try { var destination = document.getElementById('iframechatwindow').contentWindow; msg = { "action": "showiframe", "host": window.location.hostname, "chatmobile": ((navigator.userAgent.indexOf("Mobile")) != -1) ? "1" : "0" }; destination.postMessage(msg, domainUrl); } catch (e) { console.log("IMIChatInit.call\_previous\_chats error:", e); } }, check\_clear\_session\_chats: function () { if (document.referrer == sessionStorage.getItem(\_wxengage\_attr\_key + "\_imichat-reload-check")) { return false; } else if (sessionStorage.getItem(\_wxengage\_attr\_key + "\_imichat-reload-check") == undefined) { return true; } else { console.log("Hey, Thanks for visiting again"); return false; } }, verifyCookieConsent: function () { var isCookieConsent = typeof cookieConsentWidgetOptions === 'undefined' ? false : true; if (isCookieConsent != undefined && isCookieConsent != null && isCookieConsent && localStorage.getItem("webex\_engage\_cookieconsent\_accepted") != "1") { try { var body = document.getElementsByTagName('body')\[0\]; var script = document.currentScript \|\| (function () { var scripts = document.getElementsByTagName('script'); return scripts\[scripts.length - 1\]; })(); var generalscript = document.createElement('script'); generalscript.src = IMIChatInit.domainName() + "/js/imichatgeneral.js"; generalscript.type = 'text/javascript'; body.appendChild(generalscript); generalscript.addEventListener('load', function (event) { document.getElementById("divicw").innerHTML = " " + "" + " " + " " + " " + " " + " " + " "; var iframeMainDoc = document.getElementById("iframecookieconsentwindow"); iframeMainDoc.addEventListener('load', function () { IMIChatInit.onCookieConsentWidgetIconIframeLoad(); }); iframeMainDoc.src = IMIGeneral.domainName() + "/cookieconsent.html"; window.removeEventListener('message', IMIChatInit.message); window.addEventListener('message', IMIChatInit.message); }); } catch (e) { console.log("IMIChatInit.verifyCookieConsent error:", e); } } else { if (IMIChatInit.checklocalStorage()) { IMIChatInit.init(); } else { document.getElementById("divicw").innerHTML = " [\\n \\n \\n]() ![]()Error: Cookies Disabled We use cookies to enable best chat experience. Follow [these directions]() to re-enable cookies specific to your browser type or re-open this website in a cookie-enabled browser. "; console.log("Local storage not supported"); } } } }; }(); IMIChatInit.verifyCookieConsent(); var imichatwidget = { // get hasInitiatedConversation() { // if (sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist") == null) // return false; // if (sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist") == "1") { // return true; // } else { // return false; // } // }, hasInitiatedChat: function () { if (sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist") == null) return false; if (sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist") == "1") { return true; } else { return false; } }, show: function () { //\$("\#divicw").show();return; document.getElementById("divicw").style.display = 'block'; }, hide: function () { // \$("\#divicw").hide();return; document.getElementById("divicw").style.display = 'none'; }, /\* test:function() { if(sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist")==null) return false; if(sessionStorage.getItem("webex\_engage\_imichat\_hasinitconvexist")=="1") { return true; } else { return false; } },\*/ maximizeWindow: function () { IMIChatInit.chatswitchicon(1); IMIChatInit.resize(); IMIChatInit.call\_previous\_chats(); return; }, minimizeWindow: function () { return IMIChatInit.chatswitchicon(0); }, init: function (jsondata, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'imichat\_custom\_chat\_fields', data: jsondata, type: 'add' }, '\*'); \_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_init'\] = callback; }, update: function (jsondata, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'imichat\_custom\_chat\_fields', data: jsondata, type: 'update' }, '\*'); \_IMIchat\_callback\_dic\['imichat-widget:custom\_chat\_fields\_update'\] = callback; }, on: function (func\_name, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } switch (func\_name) { case 'imichat-widget:ready': \_IMIchat\_callback\_dic\['imichat-widget:ready'\] = callback; break; } }, clearBrowserStorage: function () { IMIChatInit.clearBrowserStorage(); } }; /\* function imichatWidgetLoaded(){imi imichatwidget.maximizeWindow(); }\*/ loading
Readable Markdown
## Medical Cannabis Program *** ## Welcome to the Medical Cannabis Program ### Application Process To begin the application process (new and renewal), visit your Medical Provider; they must be the one to start your application. As a reminder, the Department of Health does not charge any fees to enroll and participate in the Medical Cannabis Program or to register and use the Online Patient Portal. [![Image](https://www.nmhealth.org/thumb/pdf/guide/MCP-1-2-3-PatientInstructions-081623.pdf)](https://www.nmhealth.org/publication/view/guide/9225/) - Step 1. Visit your medical provider. Only medical providers can start an application. - Step 2. Go [here](https://mcp-patient-tracking.nmhealth.org/) and register/log-in for the Online Patient Portal. - Step 3. Complete your application online; upload your New Mexico State ID or driver’s license; sign; and submit. If you need additional assistance, click [here](https://www.nmhealth.org/publication/view/guide/7943/) for full patient application instructions. [![Image](https://www.nmhealth.org/thumb/pdf/guide/MCP-1-2-3-PatientInstructions-ES.pdf)](https://www.nmhealth.org/publication/view/guide/9226/) - Paso 1. Visite a su proveedor médico. Solamente los proveedores médicos pueden comenzar una aplicación. - Paso 2. Vaya [aquí](https://www.nmhealth.org/publication/view/guide/7943/) y regístrese/inicie la sesión por Internet para el Portal del Paciente. - Paso 3. Complete su solicitud; adjunte su ID del estado de NM o licencia de conducir; firme; y someta. Si necesita asistencia adicional, pulse [aquí](https://www.nmhealth.org/publication/view/guide/7943/) para instrucciones completas para el paciente. ## Online Patient Portal The Online Patient Portal offers qualified patients 24-hour access to check the status of their application, check their available units, review their sales history and access their electronic card. Applications submitted through the Online Patient Portal are typically processed within 5 business days. Upon approval of your application, you will have immediate access to your electronic card. *** ### Additional Resources:
Shard133 (laksa)
Root Hash13114833314675723733
Unparsed URLorg,nmhealth!www,/about/mcpp/mcp/ s443