001package org.hl7.fhir.r4.model.codesystems;
002
003/*
004  Copyright (c) 2011+, HL7, Inc.
005  All rights reserved.
006  
007  Redistribution and use in source and binary forms, with or without modification, 
008  are permitted provided that the following conditions are met:
009  
010   * Redistributions of source code must retain the above copyright notice, this 
011     list of conditions and the following disclaimer.
012   * Redistributions in binary form must reproduce the above copyright notice, 
013     this list of conditions and the following disclaimer in the documentation 
014     and/or other materials provided with the distribution.
015   * Neither the name of HL7 nor the names of its contributors may be used to 
016     endorse or promote products derived from this software without specific 
017     prior written permission.
018  
019  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
020  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
021  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
022  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
023  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
024  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
025  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
026  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
027  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
028  POSSIBILITY OF SUCH DAMAGE.
029  
030*/
031
032// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
033
034import org.hl7.fhir.exceptions.FHIRException;
035
036public enum V3ActReason {
037
038  /**
039   * Identifies the reason the patient is assigned to this accommodation type
040   */
041  _ACTACCOMMODATIONREASON,
042  /**
043   * Accommodation requested is not available.
044   */
045  ACCREQNA,
046  /**
047   * Accommodation is assigned for floor convenience.
048   */
049  FLRCNV,
050  /**
051   * Required for medical reasons(s).
052   */
053  MEDNEC,
054  /**
055   * The Patient requested the action
056   */
057  PAT,
058  /**
059   * Description:Codes used to specify reasons or criteria relating to coverage
060   * provided under a policy or program. May be used to convey reasons pertaining
061   * to coverage contractual provisions, including criteria for eligibility,
062   * coverage limitations, coverage maximums, or financial participation required
063   * of covered parties.
064   */
065  _ACTCOVERAGEREASON,
066  /**
067   * Identifies the reason or rational for why a person is eligibile for benefits
068   * under an insurance policy or progam.
069   * 
070   * 
071   * Examples: A person is a claimant under an automobile insurance policy are
072   * client deceased & adopted client has been given a new policy identifier. A
073   * new employee is eligible for health insurance as an employment benefit. A
074   * person meets a government program eligibility criteria for financial, age or
075   * health status.
076   */
077  _ELIGIBILITYACTREASONCODE,
078  /**
079   * Identifies the reason or rational for why a person is not eligibile for
080   * benefits under an insurance policy.
081   * 
082   * Examples are client deceased & adopted client has been given a new policy
083   * identifier.
084   */
085  _ACTINELIGIBILITYREASON,
086  /**
087   * When a client has no contact with the health system for an extended period,
088   * coverage is suspended. Client will be reinstated to original start date upon
089   * proof of identification, residency etc.
090   * 
091   * Example: Coverage may be suspended during a strike situation, when employer
092   * benefits for employees are not covered (i.e. not in effect).
093   */
094  COVSUS,
095  /**
096   * Client deceased.
097   */
098  DECSD,
099  /**
100   * Client was registered in error.
101   */
102  REGERR,
103  /**
104   * Definition: Identifies the reason or rational for why a person is eligibile
105   * for benefits under an insurance policy or progam.
106   * 
107   * 
108   * Examples: A person is a claimant under an automobile insurance policy are
109   * client deceased & adopted client has been given a new policy identifier. A
110   * new employee is eligible for health insurance as an employment benefit. A
111   * person meets a government program eligibility criteria for financial, age or
112   * health status.
113   */
114  _COVERAGEELIGIBILITYREASON,
115  /**
116   * A person becomes eligible for a program based on age.
117   * 
118   * 
119   * Example: In the U.S., a person who is 65 years of age or older is eligible
120   * for Medicare.
121   */
122  AGE,
123  /**
124   * A person becomes eligible for insurance or a program because of crime related
125   * health condition or injury.
126   * 
127   * 
128   * Example: A person is a claimant under the U.S. Crime Victims Compensation
129   * program.
130   */
131  CRIME,
132  /**
133   * A person becomes a claimant under a disability income insurance policy or a
134   * disability rehabilitation program because of a health condition or injury
135   * which limits the person's ability to earn an income or function without
136   * institutionalization.
137   */
138  DIS,
139  /**
140   * A person becomes eligible for insurance provided as an employment benefit
141   * based on employment status.
142   */
143  EMPLOY,
144  /**
145   * A person becomes eligible for a program based on financial criteria.
146   * 
147   * 
148   * Example: A person whose family income is below a financial threshold for
149   * eligibility for Medicaid or SCHIP.
150   */
151  FINAN,
152  /**
153   * A person becomes eligible for a program because of a qualifying health
154   * condition or injury.
155   * 
156   * 
157   * Examples: A person is determined to have a qualifying health conditions
158   * include pregnancy, HIV/AIDs, tuberculosis, end stage renal disease, breast or
159   * cervical cancer, or other condition requiring specialized health services,
160   * hospice, institutional or community based care provided under a program
161   */
162  HEALTH,
163  /**
164   * A person becomes eligible for a program based on more than one criterion.
165   * 
166   * 
167   * Examples: In the U.S., a child whose familiy income meets Medicaid financial
168   * thresholds and whose age is less than 18 is eligible for the Early and
169   * Periodic Screening, Diagnostic, and Treatment program (EPSDT). A person whose
170   * family income meets Medicaid financial thresholds and whose age is 65 years
171   * or older is eligible for Medicaid and Medicare, and are referred to as dual
172   * eligibles.
173   */
174  MULTI,
175  /**
176   * A person becomes a claimant under a property and casualty insurance policy
177   * because of a related health condition or injury resulting from a circumstance
178   * covered under the terms of the policy.
179   * 
180   * 
181   * Example: A person is a claimant under a homeowners insurance policy because
182   * of an injury sustained on the policyholderaTMs premises.
183   */
184  PNC,
185  /**
186   * A person becomes eligible for a program based on statutory criteria.
187   * 
188   * 
189   * Examples: A person is a member of an indigenous group, a veteran of military
190   * service, or in the U.S., a recipient of adoption assistance and foster care
191   * under Title IV-E of the Social Security.
192   */
193  STATUTORY,
194  /**
195   * A person becomes a claimant under a motor vehicle accident insurance because
196   * of a motor vehicle accident related health condition or injury.
197   */
198  VEHIC,
199  /**
200   * A person becomes eligible for insurance or a program because of a work
201   * related health condition or injury.
202   * 
203   * 
204   * Example: A person is a claimant under the U.S. Black Lung Program.
205   */
206  WORK,
207  /**
208   * Description:The rationale or purpose for an act relating to information
209   * management, such as archiving information for the purpose of complying with
210   * an enterprise data retention policy.
211   */
212  _ACTINFORMATIONMANAGEMENTREASON,
213  /**
214   * Description:The rationale or purpose for an act relating to health
215   * information management, such as archiving information for the purpose of
216   * complying with an organization policy or jurisdictional law relating to data
217   * retention.
218   */
219  _ACTHEALTHINFORMATIONMANAGEMENTREASON,
220  /**
221   * To perform one or more operations on information to which the patient has not
222   * consented as deemed necessary by authorized entities for providing care in
223   * the best interest of the patient; providing immediately needed health care
224   * for an emergent condition; or for protecting public or third party safety.
225   * 
226   * 
227   * Usage Notes: Used to convey the reason that a provider or other entity may or
228   * has accessed personal healthcare information. Typically, this involves
229   * overriding the subject's consent directives.
230   */
231  _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON,
232  /**
233   * To perform one or more operations on information to which the patient has not
234   * consented by authorized entities for treating a condition which poses an
235   * immediate threat to the patient's health and which requires immediate medical
236   * intervention.
237   * 
238   * 
239   * Usage Notes: The patient is unable to provide consent, but the provider
240   * determines they have an urgent healthcare related reason to access the
241   * record.
242   */
243  OVRER,
244  /**
245   * To perform one or more operations on information to which the patient has not
246   * consented because deemed incompetent to provide consent.
247   * 
248   * 
249   * Usage Note: Maps to v2 CON-16 Subject Competence Indicator (ID) 01791
250   * Definition: Identifies whether the subject was deemed competent to provide
251   * consent. Refer to table HL7 Table 0136 - Yes/No Indicator and CON-23
252   * Non-Subject Consenter Reason User-defined Table 0502 - Non-Subject Consenter
253   * Reason code NC "Subject is not competent to consent".
254   */
255  OVRINCOMP,
256  /**
257   * To perform one or more operations on information to which the patient
258   * declined to consent for providing health care.
259   * 
260   * 
261   * Usage Notes: The patient, while able to give consent, has not. However the
262   * provider believes it is in the patient's interest to access the record
263   * without patient consent.
264   */
265  OVRPJ,
266  /**
267   * To perform one or more operations on information to which the patient has not
268   * consented for public safety reasons.
269   * 
270   * 
271   * Usage Notes: The patient, while able to give consent, has not. However, the
272   * provider believes that access to masked patient information is justified
273   * because of concerns related to public safety.
274   */
275  OVRPS,
276  /**
277   * To perform one or more operations on information to which the patient has not
278   * consented for third party safety.
279   * 
280   * 
281   * Usage Notes: The patient, while able to give consent, has not. However, the
282   * provider believes that access to masked patient information is justified
283   * because of concerns related to the health and safety of one or more third
284   * parties.
285   */
286  OVRTPS,
287  /**
288   * Reason for performing one or more operations on information, which may be
289   * permitted by source system's security policy in accordance with one or more
290   * privacy policies and consent directives.
291   * 
292   * 
293   * Usage Notes: The rationale or purpose for an act relating to the management
294   * of personal health information, such as collecting personal health
295   * information for research or public health purposes.
296   */
297  PURPOSEOFUSE,
298  /**
299   * To perform one or more operations on information for marketing services and
300   * products related to health care.
301   */
302  HMARKT,
303  /**
304   * To perform one or more operations on information used for conducting
305   * administrative and contractual activities related to the provision of health
306   * care.
307   */
308  HOPERAT,
309  /**
310   * To perform analytics, evaluation and other secondary uses of treatment and
311   * healthcare related information to manage the quality, efficacy, patient
312   * safety, population health, and cost effectiveness of healthcare delivery.
313   * Explicitly excludes the use of information to organize the delivery of health
314   * care for care coordination and case management, or to provide healthcare
315   * treatment.
316   * 
317   * 
318   * Usage Note: The concept of care management is narrower than the list of
319   * activities related to more general organizational objectives such as provider
320   * profiling, education of healthcare and non-healthcare professionals;
321   * insurance underwriting, premium rating, reinsurance; organizational legal,
322   * medical review, auditing, compliance and fraud and abuse detection; business
323   * planning, development, and restructuring; fund-raising; and customer service.
324   * 
325   * 
326   * Map: Maps to ISO 14265 Classification Term "Health service management and
327   * quality assurance" described as "To inform persons or processes responsible
328   * for determining the availability, quality, safety, equity and
329   * cost-effectiveness of health care services."
330   * 
331   * There is a semantic gap in concepts. This classification term is described as
332   * activities, i.e., "to inform persons" or "to inform processes" rather than
333   * the rationale for performing actions/operations on information related to the
334   * activity.
335   */
336  CAREMGT,
337  /**
338   * To perform one or more operations on information used for cadaveric organ,
339   * eye or tissue donation.
340   */
341  DONAT,
342  /**
343   * To perform one or more operations on information used for fraud detection and
344   * prevention processes.
345   */
346  FRAUD,
347  /**
348   * To perform one or more operations on information used within government
349   * processes.
350   */
351  GOV,
352  /**
353   * To perform one or more operations on information for conducting activities
354   * related to meeting accreditation criteria.
355   */
356  HACCRED,
357  /**
358   * To perform one or more operations on information used for conducting
359   * activities required to meet a mandate.
360   */
361  HCOMPL,
362  /**
363   * To perform one or more operations on information used for handling deceased
364   * patient matters.
365   */
366  HDECD,
367  /**
368   * To perform one or more operation operations on information used to manage a
369   * patient directory.
370   * 
371   * 
372   * Examples:
373   * 
374   * 
375   * 
376   * facility enterprise payer health information exchange patient directory
377   */
378  HDIRECT,
379  /**
380   * To perform one or more actions on information used for conducting
381   * administrative and contractual activities by or on behalf of organizational
382   * entities responsible for delivery of an individual's benefits in a healthcare
383   * program, health plan or insurance. Explicitly excludes the use of information
384   * to organize the delivery of health care for care coordination and case
385   * management, or to provide healthcare treatment.
386   * 
387   * 
388   * 
389   * Usage Note: Examples of activities conducted under this purpose of use:
390   * provider profiling, risk adjustment, underwriting, fraud and abuse, quality
391   * improvement population health and care management. Aligns with HIPAA
392   * Operation POU minus coordination of care or other treatment related
393   * activities. Similar to the description in SAMHSA Confidentiality of Substance
394   * Use Disorder Patient Records Supplemental notice of proposed rulemaking.
395   * 
396   * 
397   * Map: Maps to ISO 14265 Classification Term "Administration of care for an
398   * individual subject of care" described as "To inform persons or processes
399   * responsible for enabling the availability of resources or funding or
400   * permissions for providing health care services to the subject of care."
401   * 
402   * However, this classification term is described as activities, i.e., "to
403   * inform persons" or "to inform processes" rather than the rationale for
404   * performing actions/operations on information related to the activity.
405   */
406  HDM,
407  /**
408   * To perform one or more operations on information for conducting activities
409   * required by legal proceeding.
410   */
411  HLEGAL,
412  /**
413   * To perform one or more operations on information used for assessing results
414   * and comparative effectiveness achieved by health care practices and
415   * interventions.
416   */
417  HOUTCOMS,
418  /**
419   * To perform one or more operations on information used for conducting
420   * activities to meet program accounting requirements.
421   */
422  HPRGRP,
423  /**
424   * To perform one or more operations on information used for conducting
425   * administrative activities to improve health care quality.
426   */
427  HQUALIMP,
428  /**
429   * To perform one or more operations on information to administer the electronic
430   * systems used for the delivery of health care.
431   */
432  HSYSADMIN,
433  /**
434   * To perform one or more operations on information to assign, persist, and
435   * manage labels to healthcare data to characterize various aspects, such as its
436   * security classification, sensitivity, compartment, integrity, and provenance;
437   * applicable privacy, consent, security, provenance, and trust policies; and
438   * handling caveats such as purpose of use, obligations, and refrain policies.
439   * 
440   * Label management includes classification of target data by constructing and
441   * binding of a label set per applicable policies, security policy information
442   * file semantics, and classification guides. Label management also includes
443   * process and procedures for subsequent revision of a label for, e.g.,
444   * reclassification, downgrading classification, and declassification.
445   * 
446   * Label revisions may be triggered by, e.g., expiry of classification period;
447   * changes in applicable policy, e.g., revocation of a consent directive; or
448   * changes in the governing policy domain in which the data is relocated or a
449   * copy of the data is sent. If a label is revised, an audit log should be kept
450   * and the provenance of the label changes should be tracked.
451   */
452  LABELING,
453  /**
454   * To perform one or more operations on information to assign, persist, and
455   * manage metadata to healthcare data to characterize various aspects used for
456   * its indexing, discovery, retrieval, and processing by systems, applications,
457   * and end users. For example, master index identifier, media type, and
458   * location.
459   */
460  METAMGT,
461  /**
462   * To perform one or more operations on information to administer health care
463   * coverage to an enrollee under a policy or program.
464   */
465  MEMADMIN,
466  /**
467   * To perform one or more operations on information for conducting activities
468   * required by military processes, procedures, policies, or law.
469   */
470  MILCDM,
471  /**
472   * To perform one or more operations on information used for operational
473   * activities conducted to administer the delivery of health care to a patient.
474   */
475  PATADMIN,
476  /**
477   * To perform one or more operations on information in processes related to
478   * ensuring the safety of health care.
479   */
480  PATSFTY,
481  /**
482   * To perform one or more operations on information used for monitoring
483   * performance of recommended health care practices and interventions.
484   */
485  PERFMSR,
486  /**
487   * To perform one or more operations on information used within the health
488   * records management process.
489   */
490  RECORDMGT,
491  /**
492   * To perform one or more operations on information to design, develop,
493   * implement, test, or deploy a healthcare system or application.
494   */
495  SYSDEV,
496  /**
497   * To perform one or more operations on information that is simulated or
498   * synthetic health data used for testing system capabilities outside of a
499   * production or operational system environment.
500   * 
501   * 
502   * Usage Note: Data marked with a HTEST security label enables an access control
503   * system to permit interfacing systems or end users provisioned with a
504   * clearance, which includes a HTEST purpose of use attribute, to test, verify,
505   * or validate that a system or application will operate in production as
506   * intended based on design specifications.
507   */
508  HTEST,
509  /**
510   * To perform one or more operations on information used in training and
511   * education.
512   */
513  TRAIN,
514  /**
515   * To perform one or more operations on information for conducting financial or
516   * contractual activities related to payment for provision of health care.
517   */
518  HPAYMT,
519  /**
520   * To perform one or more operations on information for provision of additional
521   * clinical evidence in support of a request for coverage or payment for health
522   * services.
523   */
524  CLMATTCH,
525  /**
526   * To perform one or more operations on information for conducting prior
527   * authorization or predetermination of coverage for services.
528   */
529  COVAUTH,
530  /**
531   * To perform one or more operations on information for conducting activities
532   * related to coverage under a program or policy.
533   */
534  COVERAGE,
535  /**
536   * To perform one or more operations on information used for conducting
537   * eligibility determination for coverage in a program or policy. May entail
538   * review of financial status or disability assessment.
539   */
540  ELIGDTRM,
541  /**
542   * To perform one or more operations on information used for conducting
543   * eligibility verification of coverage in a program or policy. May entail
544   * provider contacting coverage source (e.g., government health program such as
545   * workers compensation or health plan) for confirmation of enrollment,
546   * eligibility for specific services, and any applicable copays.
547   */
548  ELIGVER,
549  /**
550   * To perform one or more operations on information used for enrolling a covered
551   * party in a program or policy. May entail recording of covered party's and any
552   * dependent's demographic information and benefit choices.
553   */
554  ENROLLM,
555  /**
556   * To perform one or more operations on information for the process of releasing
557   * military personnel from their service obligations, which may include
558   * determining service merit, discharge benefits, and disability assessment.
559   */
560  MILDCRG,
561  /**
562   * To perform one or more operations on information about the amount remitted
563   * for a health care claim.
564   */
565  REMITADV,
566  /**
567   * To perform one or more operations on information for conducting scientific
568   * investigations to obtain health care knowledge. Use of the data iincludes
569   * basic and applied research such as biomedical, population origin or ancestry,
570   * translational research, and disease, discipline, specialty specific
571   * healthcare research and clinical trial research.
572   */
573  HRESCH,
574  /**
575   * To perform one or more operations on information for conducting scientific
576   * investigations to obtain health care knowledge. Use of the data must be
577   * related to specified biomedical basic or applied research. For example,
578   * research on rare plants to determine whether biologic properties may be
579   * useful for pharmaceutical development. May be used in combination with
580   * clinical trial and other healthcare research purposes of use.
581   */
582  BIORCH,
583  /**
584   * To perform one or more operations on information for conducting scientific
585   * investigations in accordance with clinical trial protocols to obtain health
586   * care knowledge.
587   */
588  CLINTRCH,
589  /**
590   * To perform one or more operations on information for conducting scientific
591   * investigations in accordance with clinical trial protocols to obtain health
592   * care knowledge without provision of patient care. May be post-coordinated or
593   * used with other purposes of use such as disease, discipline, specialty,
594   * population origins or ancestry, translational healthcare research. For
595   * example, a clinical trial conducted on laboratory specimens collected from a
596   * specified patient population.
597   */
598  CLINTRCHNPC,
599  /**
600   * To perform one or more operations on information for conducting scientific
601   * investigations with patient care in accordance with clinical trial protocols
602   * to obtain health care knowledge. May be post-coordinated or used with other
603   * purposes of use such as disease, discipline, specialty, population origins or
604   * ancestry, translational healthcare research. For example, an "off-label" drug
605   * used for cancer therapy administer to a specified patient population.
606   */
607  CLINTRCHPC,
608  /**
609   * To perform one or more operations on information in preparation for
610   * conducting scientific investigation to obtain health care knowledge, such as
611   * research on animals or review of patient health records, to determine the
612   * feasibility of a clinical trial study; assist with protocol design; or in
613   * preparation for institutional review board or ethics committee approval
614   * process. May be post-coordinated or used with other purposes of use such as
615   * disease, discipline, specialty, population origins or ancestry, translational
616   * healthcare research.
617   */
618  PRECLINTRCH,
619  /**
620   * To perform one or more operations on information for conducting scientific
621   * investigations to obtain health care knowledge. Use of the data must be
622   * related to specified conditions, diagnosis, or disease healthcare research.
623   * For example, conducting cancer research by testing reaction of tumor cells to
624   * certain biologics. May be used in combination with clinical trial and other
625   * healthcare research purposes of use.
626   */
627  DSRCH,
628  /**
629   * To perform one or more operations on information, including genealogical
630   * pedigrees, historical records, surveys, family health data, health records,
631   * and genetic information, for conducting scientific investigations to obtain
632   * health care knowledge. Use of the data must be related to population origins
633   * and/or ancestry healthcare research. For example, gathering genetic specimens
634   * from a specific population in order to determine the ancestry and population
635   * origins of that group. May be used in combination with clinical trial and
636   * other healthcare research purposes of use.
637   */
638  POARCH,
639  /**
640   * To perform one or more operations on information for conducting scientific
641   * investigations to obtain health care knowledge related to evidence based
642   * medicine during the course of providing healthcare treatment. Sometimes
643   * referred to as "bench to bedside", which is the iterative feedback loop
644   * between healthcare research and clinical trials with input from information
645   * collected in the course of routine provision of healthcare. For example, by
646   * extending a patient encounter to conduct a survey related to a research topic
647   * such as attitudes about use of a wellness device that a patient agreed to
648   * use. May be used in combination with clinical trial and other healthcare
649   * research purposes of use.
650   */
651  TRANSRCH,
652  /**
653   * To perform one or more operations on information in response to a patient's
654   * request.
655   */
656  PATRQT,
657  /**
658   * To perform one or more operations on information in response to a request by
659   * a family member authorized by the patient.
660   */
661  FAMRQT,
662  /**
663   * To perform one or more operations on information in response to a request by
664   * a person appointed as the patient's legal representative.
665   */
666  PWATRNY,
667  /**
668   * To perform one or more operations on information in response to a request by
669   * a person authorized by the patient.
670   */
671  SUPNWK,
672  /**
673   * To perform one or more operations on information for conducting public health
674   * activities, such as the reporting of notifiable conditions.
675   */
676  PUBHLTH,
677  /**
678   * To perform one or more operations on information used for provision of
679   * immediately needed health care to a population of living subjects located in
680   * a disaster zone.
681   */
682  DISASTER,
683  /**
684   * To perform one or more operations on information used to prevent injury or
685   * disease to living subjects who may be the target of violence.
686   */
687  THREAT,
688  /**
689   * To perform one or more operations on information for provision of health
690   * care.
691   */
692  TREAT,
693  /**
694   * To perform health care as part of the clinical trial protocol.
695   */
696  CLINTRL,
697  /**
698   * To perform one or more actions on information in order to organize the
699   * provision and case management of an individualâ??s healthcare, including:
700   * Monitoring a person's goals, needs, and preferences; acting as the
701   * communication link between two or more participants concerned with a person's
702   * health and wellness; organizing and facilitating care activities and
703   * promoting self-management by advocating for, empowering, and educating a
704   * person; and ensuring safe, appropriate, non-duplicative, and effective
705   * integrated care.
706   * 
707   * 
708   * Usage Note: Use when describing these functions: 1. Monitoring a personâ??s
709   * goals, needs, and preferences. 2. Acting as the communication link between
710   * two or more participants concerned with a person's health and wellness. 3.
711   * Organizing and facilitating care activities and promoting self-management by
712   * advocating for, empowering, and educating a person. 4. Ensuring safe,
713   * appropriate, non-duplicative, and effective integrated care.
714   * 
715   * The goal is to clearly differentiate this type of coordination of care from
716   * HIPAA Operations by specifying that these actions on information are
717   * undertaken in the provision of healthcare treatment.
718   * 
719   * For similar uses of this concept, see SAMHSA Confidentiality of Substance Use
720   * Disorder Patient Records Supplemental notice of proposed rulemaking, which
721   * differentiates concepts of care coordination and case management for the
722   * provision of treatment as specifically distinct from activities related to
723   * health care delivery management and the operations of organizational entities
724   * involved in the delivery of healthcare.
725   * 
726   * 
727   * Map: Maps to ISO 14265 Classification Terms: "Support of care activities
728   * within the provider organisation for an individual subject of care" described
729   * as "To inform persons or processes enabling others to provide health care
730   * services to the subject of care." "Subject of Care Uses" described as "To
731   * inform the subject of care in support of his or her own interests."
732   */
733  COC,
734  /**
735   * To perform one or more operations on information for provision of immediately
736   * needed health care for an emergent condition.
737   */
738  ETREAT,
739  /**
740   * To perform policy override operations on information for provision of
741   * immediately needed health care for an emergent condition affecting potential
742   * harm, death or patient safety by end users who are not provisioned for this
743   * purpose of use. Includes override of organizational provisioning policies and
744   * may include override of subject of care consent directive restricting access.
745   * 
746   * 
747   * Map: Partially Maps to ISO 14265 Classification Term "Emergency care
748   * provision to an individual subject of care" described as "To inform persons
749   * needing to provide health care services to the subject of care urgently,
750   * possibly needing to over-ride the policies and consents pertaining to Purpose
751   * 1 above." Purpose 1 is equivalent to HL7 treatment purpose of use: "Clinical
752   * care provision to an individual subject of care" described as "To inform
753   * persons or processes responsible for providing health care services to the
754   * subject of care." The ISO description conflates both of the proposed
755   * specializations of HL7 ETREAT: break the glass and the typically broader
756   * access to health information normally available to providers who are
757   * provisioned for emergency workflows on a regular basis, e.g., Emergency Room
758   * providers. Examples of greater access than is normally accessible by
759   * providers based on the need to know are access to sensitive information for
760   * which access typically requires a patient's consent. This is not an override
761   * of a patient's dissent to disclose sensitive information in cases where the
762   * applicable policy waives the need for that consent to access this
763   * information. In US, Title 38 Section 7332 and 42 CFR Part 2 both permit
764   * emergency access without the need to override a patient's consent directive;
765   * rather, this access is a limitation to the patient's right to dissent from
766   * disclosure.
767   */
768  BTG,
769  /**
770   * To perform one or more operations on information for provision of immediately
771   * needed health care for an emergent condition in an emergency room or similar
772   * emergent care context by end users provisioned for this purpose, which does
773   * not constitute as policy override such as in a "Break the Glass" purpose of
774   * use.
775   * 
776   * Map:Partially Maps to ISO 14265 Classification Term "Emergency care provision
777   * to an individual subject of care" described as "To inform persons needing to
778   * provide health care services to the subject of care urgently, possibly
779   * needing to over-ride the policies and consents pertaining to Purpose 1
780   * above." Purpose 1 is equivalent to HL7 treatment purpose of use: "Clinical
781   * care provision to an individual subject of care" described as "To inform
782   * persons or processes responsible for providing health care services to the
783   * subject of care."
784   * 
785   * The ISO description conflates both of the proposed specializations of HL7
786   * ETREAT: break the glass and the typically broader access to health
787   * information normally available to providers who are provisioned for emergency
788   * workflows on a regular basis, e.g., Emergency Room providers. Examples of
789   * greater access than is normally accessible by providers based on the need to
790   * know are access to sensitive information for which access typically requires
791   * a patient's consent. This is not an override of a patient's dissent to
792   * disclose sensitive information in cases where the applicable policy waives
793   * the need for that consent to access this information. In US, Title 38 Section
794   * 7332 and 42 CFR Part 2 both permit emergency access without the need to
795   * override a patient's consent directive; rather, this access is a limitation
796   * to the patient's right to dissent from disclosure.
797   * 
798   * There is a semantic gap in concepts. This classification term is described as
799   * activities â??to inform personsâ?? rather than the rationale for performing
800   * actions/operations on information related to the activity.
801   */
802  ERTREAT,
803  /**
804   * To perform one or more operations on information for provision of health care
805   * to a population of living subjects, e.g., needle exchange program.
806   */
807  POPHLTH,
808  /**
809   * Description:The rationale or purpose for an act relating to the management of
810   * personal information, such as disclosing personal tax information for the
811   * purpose of complying with a court order.
812   */
813  _ACTINFORMATIONPRIVACYREASON,
814  /**
815   * Description:
816   */
817  MARKT,
818  /**
819   * Description:Administrative and contractual processes required to support an
820   * activity, product, or service
821   */
822  OPERAT,
823  /**
824   * Definition:To provide information as a result of a subpoena.
825   */
826  LEGAL,
827  /**
828   * Description:Operational activities conducted for the purposes of meeting of
829   * criteria defined by an accrediting entity for an activity, product, or
830   * service
831   */
832  ACCRED,
833  /**
834   * Description:Operational activities required to meet a mandate related to an
835   * activity, product, or service
836   */
837  COMPL,
838  /**
839   * Description:Operational activities conducted to administer information
840   * relating to entities involves with an activity, product, or service
841   */
842  ENADMIN,
843  /**
844   * Description:Operational activities conducted for the purposes of assessing
845   * the results of an activity, product, or service
846   */
847  OUTCOMS,
848  /**
849   * Description:Operational activities conducted to meet program accounting
850   * requirements related to an activity, product, or service
851   */
852  PRGRPT,
853  /**
854   * Description:Operational activities conducted for the purposes of improving
855   * the quality of an activity, product, or service
856   */
857  QUALIMP,
858  /**
859   * Description:Operational activities conducted to administer the electronic
860   * systems used for an activity, product, or service
861   */
862  SYSADMN,
863  /**
864   * Description:Administrative, financial, and contractual processes related to
865   * payment for an activity, product, or service
866   */
867  PAYMT,
868  /**
869   * Description:Investigative activities conducted for the purposes of obtaining
870   * knowledge
871   */
872  RESCH,
873  /**
874   * Description:Provision of a service, product, or capability to an individual
875   * or organization
876   */
877  SRVC,
878  /**
879   * Description: Types of reasons why a substance is invalid for use.
880   */
881  _ACTINVALIDREASON,
882  /**
883   * Description: Storage conditions caused the substance to be ineffective.
884   */
885  ADVSTORAGE,
886  /**
887   * Description: Cold chain was not maintained for the substance.
888   */
889  COLDCHNBRK,
890  /**
891   * Description: The lot from which the substance was drawn was expired.
892   */
893  EXPLOT,
894  /**
895   * The substance was administered outside of the recommended schedule or
896   * practice.
897   */
898  OUTSIDESCHED,
899  /**
900   * Description: The substance was recalled by the manufacturer.
901   */
902  PRODRECALL,
903  /**
904   * Domain specifies the codes used to describe reasons why a Provider is
905   * cancelling an Invoice or Invoice Grouping.
906   */
907  _ACTINVOICECANCELREASON,
908  /**
909   * The covered party (patient) specified with the Invoice is not correct.
910   */
911  INCCOVPTY,
912  /**
913   * The billing information, specified in the Invoice Elements, is not correct.
914   * This could include incorrect costing for items included in the Invoice.
915   */
916  INCINVOICE,
917  /**
918   * The policy specified with the Invoice is not correct. For example, it may
919   * belong to another Adjudicator or Covered Party.
920   */
921  INCPOLICY,
922  /**
923   * The provider specified with the Invoice is not correct.
924   */
925  INCPROV,
926  /**
927   * A coded description of the reason for why a patient did not receive a
928   * scheduled immunization.
929   * 
930   * (important for public health strategy
931   */
932  _ACTNOIMMUNIZATIONREASON,
933  /**
934   * Definition:Testing has shown that the patient already has immunity to the
935   * agent targeted by the immunization.
936   */
937  IMMUNE,
938  /**
939   * Definition:The patient currently has a medical condition for which the
940   * vaccine is contraindicated or for which precaution is warranted.
941   */
942  MEDPREC,
943  /**
944   * Definition:There was no supply of the product on hand to perform the service.
945   */
946  OSTOCK,
947  /**
948   * Definition:The patient or their guardian objects to receiving the vaccine.
949   */
950  PATOBJ,
951  /**
952   * Definition:The patient or their guardian objects to receiving the vaccine
953   * because of philosophical beliefs.
954   */
955  PHILISOP,
956  /**
957   * Definition:The patient or their guardian objects to receiving the vaccine on
958   * religious grounds.
959   */
960  RELIG,
961  /**
962   * Definition:The intended vaccine has expired or is otherwise believed to no
963   * longer be effective.
964   * 
965   * 
966   * Example:Due to temperature exposure.
967   */
968  VACEFF,
969  /**
970   * Definition:The patient or their guardian objects to receiving the vaccine
971   * because of concerns over its safety.
972   */
973  VACSAF,
974  /**
975   * Indicates why a fulfiller refused to fulfill a supply order, and considered
976   * it important to notify other providers of their decision. E.g. "Suspect
977   * fraud", "Possible abuse", "Contraindicated".
978   * 
979   * (used when capturing 'refusal to fill' annotations)
980   */
981  _ACTSUPPLYFULFILLMENTREFUSALREASON,
982  /**
983   * Definition:The order has been stopped by the prescriber but this fact has not
984   * necessarily captured electronically.
985   * 
986   * 
987   * Example:A verbal stop, a fax, etc.
988   */
989  FRR01,
990  /**
991   * Definition:Order has not been fulfilled within a reasonable amount of time,
992   * and may not be current.
993   */
994  FRR02,
995  /**
996   * Definition:Data needed to safely act on the order which was expected to
997   * become available independent of the order is not yet available
998   * 
999   * 
1000   * Example:Lab results, diagnostic imaging, etc.
1001   */
1002  FRR03,
1003  /**
1004   * Definition:Product not available or manufactured. Cannot supply.
1005   */
1006  FRR04,
1007  /**
1008   * Definition:The dispenser has ethical, religious or moral objections to
1009   * fulfilling the order/dispensing the product.
1010   */
1011  FRR05,
1012  /**
1013   * Definition:Fulfiller not able to provide appropriate care associated with
1014   * fulfilling the order.
1015   * 
1016   * 
1017   * Example:Therapy requires ongoing monitoring by fulfiller and fulfiller will
1018   * be ending practice, leaving town, unable to schedule necessary time, etc.
1019   */
1020  FRR06,
1021  /**
1022   * Definition:Specifies the reason that an event occurred in a clinical research
1023   * study.
1024   */
1025  _CLINICALRESEARCHEVENTREASON,
1026  /**
1027   * Definition:The event occurred so that a test or observation performed at a
1028   * prior event could be performed again due to conditions set forth in the
1029   * protocol.
1030   */
1031  RET,
1032  /**
1033   * Definition:The event occurred due to it being scheduled in the research
1034   * protocol.
1035   */
1036  SCH,
1037  /**
1038   * Definition:The event occurred in order to terminate the subject's
1039   * participation in the study.
1040   */
1041  TRM,
1042  /**
1043   * Definition:The event that occurred was initiated by a study participant (e.g.
1044   * the subject or the investigator), and did not occur for protocol reasons.
1045   */
1046  UNS,
1047  /**
1048   * Definition:SSpecifies the reason that a test was performed or observation
1049   * collected in a clinical research study.
1050   * 
1051   * 
1052   * Note:This set of codes are not strictly reasons, but are used in the
1053   * currently Normative standard. Future revisions of the specification will
1054   * model these as ActRelationships and thes codes may subsequently be retired.
1055   * Thus, these codes should not be used for new specifications.
1056   */
1057  _CLINICALRESEARCHOBSERVATIONREASON,
1058  /**
1059   * Definition:The observation or test was neither defined or scheduled in the
1060   * study protocol.
1061   */
1062  NPT,
1063  /**
1064   * Definition:The observation or test occurred due to it being defined in the
1065   * research protocol, and during an activity or event that was scheduled in the
1066   * protocol.
1067   */
1068  PPT,
1069  /**
1070   * :The observation or test occurred as defined in the research protocol, but at
1071   * a point in time not specified in the study protocol.
1072   */
1073  UPT,
1074  /**
1075   * Description:Indicates why the prescription should be suspended.
1076   */
1077  _COMBINEDPHARMACYORDERSUSPENDREASONCODE,
1078  /**
1079   * Description:This therapy has been ordered as a backup to a preferred therapy.
1080   * This order will be released when and if the preferred therapy is
1081   * unsuccessful.
1082   */
1083  ALTCHOICE,
1084  /**
1085   * Description:Clarification is required before the order can be acted upon.
1086   */
1087  CLARIF,
1088  /**
1089   * Description:The current level of the medication in the patient's system is
1090   * too high. The medication is suspended to allow the level to subside to a
1091   * safer level.
1092   */
1093  DRUGHIGH,
1094  /**
1095   * Description:The patient has been admitted to a care facility and their
1096   * community medications are suspended until hospital discharge.
1097   */
1098  HOSPADM,
1099  /**
1100   * Description:The therapy would interfere with a planned lab test and the
1101   * therapy is being withdrawn until the test is completed.
1102   */
1103  LABINT,
1104  /**
1105   * Description:Patient not available for a period of time due to a scheduled
1106   * therapy, leave of absence or other reason.
1107   */
1108  NONAVAIL,
1109  /**
1110   * Description:The patient is pregnant or breast feeding. The therapy will be
1111   * resumed when the pregnancy is complete and the patient is no longer
1112   * breastfeeding.
1113   */
1114  PREG,
1115  /**
1116   * Description:The patient is believed to be allergic to a substance that is
1117   * part of the therapy and the therapy is being temporarily withdrawn to
1118   * confirm.
1119   */
1120  SALG,
1121  /**
1122   * Description:The drug interacts with a short-term treatment that is more
1123   * urgently required. This order will be resumed when the short-term treatment
1124   * is complete.
1125   */
1126  SDDI,
1127  /**
1128   * Description:Another short-term co-occurring therapy fulfills the same purpose
1129   * as this therapy. This therapy will be resumed when the co-occuring therapy is
1130   * complete.
1131   */
1132  SDUPTHER,
1133  /**
1134   * Description:The patient is believed to have an intolerance to a substance
1135   * that is part of the therapy and the therapy is being temporarily withdrawn to
1136   * confirm.
1137   */
1138  SINTOL,
1139  /**
1140   * Description:The drug is contraindicated for patients receiving surgery and
1141   * the patient is scheduled to be admitted for surgery in the near future. The
1142   * drug will be resumed when the patient has sufficiently recovered from the
1143   * surgery.
1144   */
1145  SURG,
1146  /**
1147   * Description:The patient was previously receiving a medication contraindicated
1148   * with the current medication. The current medication will remain on hold until
1149   * the prior medication has been cleansed from their system.
1150   */
1151  WASHOUT,
1152  /**
1153   * Description:Identifies reasons for nullifying (retracting) a particular
1154   * control act.
1155   */
1156  _CONTROLACTNULLIFICATIONREASONCODE,
1157  /**
1158   * Description:The decision on which the recorded information was based was
1159   * changed before the decision had an effect.
1160   * 
1161   * 
1162   * Example:Aborted prescription before patient left office, released
1163   * prescription before suspend took effect.
1164   */
1165  ALTD,
1166  /**
1167   * Description:The information was recorded incorrectly or was recorded in the
1168   * wrong record.
1169   */
1170  EIE,
1171  /**
1172   * Description: There is no match for the record in the database.
1173   */
1174  NORECMTCH,
1175  /**
1176   * Description: Reasons to refuse a transaction to be undone.
1177   */
1178  _CONTROLACTNULLIFICATIONREFUSALREASONTYPE,
1179  /**
1180   * The record is already in the requested state.
1181   */
1182  INRQSTATE,
1183  /**
1184   * Description: There is no match.
1185   */
1186  NOMATCH,
1187  /**
1188   * Description: There is no match for the product in the master file repository.
1189   */
1190  NOPRODMTCH,
1191  /**
1192   * Description: There is no match for the service in the master file repository.
1193   */
1194  NOSERMTCH,
1195  /**
1196   * Description: There is no match for the record and version.
1197   */
1198  NOVERMTCH,
1199  /**
1200   * Description: There is no permission.
1201   */
1202  NOPERM,
1203  /**
1204   * Definition:The user does not have permission
1205   */
1206  NOUSERPERM,
1207  /**
1208   * Description: The agent does not have permission.
1209   */
1210  NOAGNTPERM,
1211  /**
1212   * Description: The user does not have permission.
1213   */
1214  NOUSRPERM,
1215  /**
1216   * Description: The record and version requested to update is not the current
1217   * version.
1218   */
1219  WRNGVER,
1220  /**
1221   * Identifies why a specific query, request, or other trigger event occurred.
1222   */
1223  _CONTROLACTREASON,
1224  /**
1225   * Description:Indicates the reason the medication order should be aborted.
1226   */
1227  _MEDICATIONORDERABORTREASONCODE,
1228  /**
1229   * Description:The medication is no longer being manufactured or is otherwise no
1230   * longer available.
1231   */
1232  DISCONT,
1233  /**
1234   * Description:The therapy has been found to not have the desired therapeutic
1235   * benefit on the patient.
1236   */
1237  INEFFECT,
1238  /**
1239   * Description:Monitoring the patient while taking the medication, the decision
1240   * has been made that the therapy is no longer appropriate.
1241   */
1242  MONIT,
1243  /**
1244   * Description:The underlying condition has been resolved or has evolved such
1245   * that a different treatment is no longer needed.
1246   */
1247  NOREQ,
1248  /**
1249   * Description:The product does not have (or no longer has) coverage under the
1250   * patientaTMs insurance policy.
1251   */
1252  NOTCOVER,
1253  /**
1254   * Description:The patient refused to take the product.
1255   */
1256  PREFUS,
1257  /**
1258   * Description:The manufacturer or other agency has requested that stocks of a
1259   * medication be removed from circulation.
1260   */
1261  RECALL,
1262  /**
1263   * Description:Item in current order is no longer in use as requested and a new
1264   * one has/will be created to replace it.
1265   */
1266  REPLACE,
1267  /**
1268   * Description:The medication is being re-prescribed at a different dosage.
1269   */
1270  DOSECHG,
1271  /**
1272   * Description:Current order was issued with incorrect data and a new order
1273   * has/will be created to replace it.
1274   */
1275  REPLACEFIX,
1276  /**
1277   * Description:<The patient is not (or is no longer) able to use the medication
1278   * in a manner prescribed.
1279   * 
1280   * 
1281   * Example:CanaTMt swallow.
1282   */
1283  UNABLE,
1284  /**
1285   * Definition:A collection of concepts that indicate why the prescription should
1286   * be released from suspended state.
1287   */
1288  _MEDICATIONORDERRELEASEREASONCODE,
1289  /**
1290   * Definition:The original reason for suspending the medication has ended.
1291   */
1292  HOLDDONE,
1293  /**
1294   * Definition:
1295   */
1296  HOLDINAP,
1297  /**
1298   * Types of reason why a prescription is being changed.
1299   */
1300  _MODIFYPRESCRIPTIONREASONTYPE,
1301  /**
1302   * Order was created with incorrect data and is changed to reflect the intended
1303   * accuracy of the order.
1304   */
1305  ADMINERROR,
1306  /**
1307   * Order is changed based on a clinical reason.
1308   */
1309  CLINMOD,
1310  /**
1311   * Definition:Identifies why the dispense event was not completed.
1312   */
1313  _PHARMACYSUPPLYEVENTABORTREASON,
1314  /**
1315   * Definition:Contraindication identified
1316   */
1317  CONTRA,
1318  /**
1319   * Definition:Order to be fulfilled was aborted
1320   */
1321  FOABORT,
1322  /**
1323   * Definition:Order to be fulfilled was suspended
1324   */
1325  FOSUSP,
1326  /**
1327   * Definition:Patient did not come to get medication
1328   */
1329  NOPICK,
1330  /**
1331   * Definition:Patient changed their mind regarding obtaining medication
1332   */
1333  PATDEC,
1334  /**
1335   * Definition:Patient requested a revised quantity of medication
1336   */
1337  QUANTCHG,
1338  /**
1339   * Definition:A collection of concepts that indicates the reason for a "bulk
1340   * supply" of medication.
1341   */
1342  _PHARMACYSUPPLYEVENTSTOCKREASONCODE,
1343  /**
1344   * Definition:The bulk supply is issued to replenish a ward for local
1345   * dispensing. (Includes both mobile and fixed-location ward stocks.)
1346   */
1347  FLRSTCK,
1348  /**
1349   * Definition:The bulk supply will be administered within a long term care
1350   * facility.
1351   */
1352  LTC,
1353  /**
1354   * Definition:The bulk supply is intended for general clinician office use.
1355   */
1356  OFFICE,
1357  /**
1358   * Definition:The bulk supply is being transferred to another dispensing
1359   * facility to.
1360   * 
1361   * 
1362   * Example:Alleviate a temporary shortage.
1363   */
1364  PHARM,
1365  /**
1366   * Definition:The bulk supply is intended for dispensing according to a specific
1367   * program.
1368   * 
1369   * 
1370   * Example:Mass immunization.
1371   */
1372  PROG,
1373  /**
1374   * Definition:A collection of concepts that identifies why a renewal
1375   * prescription has been refused.
1376   */
1377  _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE,
1378  /**
1379   * Definition:Patient has already been given a new (renewal) prescription.
1380   */
1381  ALREADYRX,
1382  /**
1383   * Definition:Request for further authorization must be done through patient's
1384   * family physician.
1385   */
1386  FAMPHYS,
1387  /**
1388   * Definition:Therapy has been changed and new prescription issued
1389   */
1390  MODIFY,
1391  /**
1392   * Definition:Patient must see prescriber prior to further fills.
1393   */
1394  NEEDAPMT,
1395  /**
1396   * Definition:Original prescriber is no longer available to prescribe and no
1397   * other prescriber has taken responsibility for the patient.
1398   */
1399  NOTAVAIL,
1400  /**
1401   * Definition:Patient no longer or has never been under this prescribers care.
1402   */
1403  NOTPAT,
1404  /**
1405   * Definition:This medication is on hold.
1406   */
1407  ONHOLD,
1408  /**
1409   * Description:This product is not available or manufactured.
1410   */
1411  PRNA,
1412  /**
1413   * Renewing or original prescriber informed patient to stop using the
1414   * medication.
1415   */
1416  STOPMED,
1417  /**
1418   * Definition:The patient should have medication remaining.
1419   */
1420  TOOEARLY,
1421  /**
1422   * Definition:A collection of concepts that indicates why the prescription
1423   * should no longer be allowed to be dispensed (but can still administer what is
1424   * already being dispensed).
1425   */
1426  _SUPPLYORDERABORTREASONCODE,
1427  /**
1428   * Definition:The patient's medical condition has nearly abated.
1429   */
1430  IMPROV,
1431  /**
1432   * Description:The patient has an intolerance to the medication.
1433   */
1434  INTOL,
1435  /**
1436   * Definition:The current medication will be replaced by a new strength of the
1437   * same medication.
1438   */
1439  NEWSTR,
1440  /**
1441   * Definition:A new therapy will be commenced when current supply exhausted.
1442   */
1443  NEWTHER,
1444  /**
1445   * Description:Identifies why a change is being made to a record.
1446   */
1447  _GENERICUPDATEREASONCODE,
1448  /**
1449   * Description:Information has changed since the record was created.
1450   */
1451  CHGDATA,
1452  /**
1453   * Description:Previously recorded information was erroneous and is being
1454   * corrected.
1455   */
1456  FIXDATA,
1457  /**
1458   * Information is combined into the record.
1459   */
1460  MDATA,
1461  /**
1462   * Description:New information has become available to supplement the record.
1463   */
1464  NEWDATA,
1465  /**
1466   * Information is separated from the record.
1467   */
1468  UMDATA,
1469  /**
1470   * Definition:A collection of concepts identifying why the patient's profile is
1471   * being queried.
1472   */
1473  _PATIENTPROFILEQUERYREASONCODE,
1474  /**
1475   * Definition: To evaluate for service authorization, payment, reporting, or
1476   * performance/outcome measures.
1477   */
1478  ADMREV,
1479  /**
1480   * Definition:To obtain records as part of patient care.
1481   */
1482  PATCAR,
1483  /**
1484   * Definition:Patient requests information from their profile.
1485   */
1486  PATREQ,
1487  /**
1488   * Definition:To evaluate the provider's current practice for
1489   * professional-improvement reasons.
1490   */
1491  PRCREV,
1492  /**
1493   * Description:Review for the purpose of regulatory compliance.
1494   */
1495  REGUL,
1496  /**
1497   * Definition:To provide research data, as authorized by the patient.
1498   */
1499  RSRCH,
1500  /**
1501   * Description:To validate the patient's record.
1502   * 
1503   * 
1504   * Example:Merging or unmerging records.
1505   */
1506  VALIDATION,
1507  /**
1508   * Definition:Indicates why the request to transfer a prescription from one
1509   * dispensing facility to another has been refused.
1510   */
1511  _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE,
1512  /**
1513   * Definition:The prescription may not be reassigned from the original pharmacy.
1514   */
1515  LOCKED,
1516  /**
1517   * Definition:The target facility does not recognize the dispensing facility.
1518   */
1519  UNKWNTARGET,
1520  /**
1521   * Description: Identifies why a request to add (or activate) a record is being
1522   * refused. Examples include the receiving system not able to match the
1523   * identifier and find that record in the receiving system, having no
1524   * permission, or a detected issue exists which precludes the requested action.
1525   */
1526  _REFUSALREASONCODE,
1527  /**
1528   * Reasons for cancelling or rescheduling an Appointment
1529   */
1530  _SCHEDULINGACTREASON,
1531  /**
1532   * The time slots previously allocated are now blocked and no longer available
1533   * for booking Appointments
1534   */
1535  BLK,
1536  /**
1537   * The Patient is deceased
1538   */
1539  DEC,
1540  /**
1541   * Patient unable to pay and not covered by insurance
1542   */
1543  FIN,
1544  /**
1545   * The medical condition of the Patient has changed
1546   */
1547  MED,
1548  /**
1549   * The Physician is in a meeting. For example, he/she may request administrative
1550   * time to talk to family after appointment
1551   */
1552  MTG,
1553  /**
1554   * The Physician requested the action
1555   */
1556  PHY,
1557  /**
1558   * Indicates why the act revision (status update) is being refused.
1559   */
1560  _STATUSREVISIONREFUSALREASONCODE,
1561  /**
1562   * Ordered quantity has already been completely fulfilled.
1563   */
1564  FILLED,
1565  /**
1566   * Definition:Indicates why the requested authorization to prescribe or dispense
1567   * a medication has been refused.
1568   */
1569  _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE,
1570  /**
1571   * Definition:Patient not eligible for drug
1572   */
1573  PATINELIG,
1574  /**
1575   * Definition:Patient does not meet required protocol
1576   */
1577  PROTUNMET,
1578  /**
1579   * Definition:Provider is not authorized to prescribe or dispense
1580   */
1581  PROVUNAUTH,
1582  /**
1583   * Reasons why substitution of a substance administration request is not
1584   * permitted.
1585   */
1586  _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON,
1587  /**
1588   * Definition: Patient has had a prior allergic intolerance response to
1589   * alternate product or one of its components.
1590   */
1591  ALGINT,
1592  /**
1593   * Definition: Patient has compliance issues with medication such as differing
1594   * appearance, flavor, size, shape or consistency.
1595   */
1596  COMPCON,
1597  /**
1598   * The prescribed product has specific clinical release or other therapeutic
1599   * characteristics not shared by other substitutable medications.
1600   */
1601  THERCHAR,
1602  /**
1603   * Definition: The specific manufactured drug is part of a clinical trial.
1604   */
1605  TRIAL,
1606  /**
1607   * SubstanceAdminSubstitutionReason
1608   */
1609  _SUBSTANCEADMINSUBSTITUTIONREASON,
1610  /**
1611   * Indicates that the decision to substitute or to not substitute was driven by
1612   * a desire to maintain consistency with a pre-existing therapy. I.e. The
1613   * performer provided the same item/service as had been previously provided
1614   * rather than providing exactly what was ordered, or rather than substituting
1615   * with a lower-cost equivalent.
1616   */
1617  CT,
1618  /**
1619   * Indicates that the decision to substitute or to not substitute was driven by
1620   * a policy expressed within the formulary.
1621   */
1622  FP,
1623  /**
1624   * In the case of 'substitution', indicates that the substitution occurred
1625   * because the ordered item was not in stock. In the case of 'no substitution',
1626   * indicates that a cheaper equivalent was not substituted because it was not in
1627   * stock.
1628   */
1629  OS,
1630  /**
1631   * Indicates that the decision to substitute or to not substitute was driven by
1632   * a jurisdictional regulatory requirement mandating or prohibiting
1633   * substitution.
1634   */
1635  RR,
1636  /**
1637   * The explanation for why a patient is moved from one location to another
1638   * within the organization
1639   */
1640  _TRANSFERACTREASON,
1641  /**
1642   * Moved to an error in placing the patient in the original location.
1643   */
1644  ER,
1645  /**
1646   * Moved at the request of the patient.
1647   */
1648  RQ,
1649  /**
1650   * Definition: This domain is used to document reasons for providing a billable
1651   * service; the billable services may include both clinical services and social
1652   * services.
1653   */
1654  _ACTBILLABLESERVICEREASON,
1655  /**
1656   * Reason for Clinical Service being performed.
1657   * 
1658   * This domain excludes reasons specified by diagnosed conditions.
1659   * 
1660   * Examples of values from this domain include duplicate therapy and fraudulent
1661   * prescription.
1662   */
1663  _ACTBILLABLECLINICALSERVICEREASON,
1664  /**
1665   * null
1666   */
1667  BONUS,
1668  /**
1669   * Description:The level of coverage under the policy or program is available
1670   * only to children
1671   */
1672  CHD,
1673  /**
1674   * Description:The level of coverage under the policy or program is available
1675   * only to a subscriber's dependents.
1676   */
1677  DEP,
1678  /**
1679   * Description:The level of coverage under the policy or program is available to
1680   * an employee and his or her children.
1681   */
1682  ECH,
1683  /**
1684   * null
1685   */
1686  EDU,
1687  /**
1688   * Description:The level of coverage under the policy or program is available
1689   * only to an employee.
1690   */
1691  EMP,
1692  /**
1693   * Description:The level of coverage under the policy or program is available to
1694   * an employee and his or her spouse.
1695   */
1696  ESP,
1697  /**
1698   * Description:The level of coverage under the policy or program is available to
1699   * a subscriber's family.
1700   */
1701  FAM,
1702  /**
1703   * Description:The level of coverage under the policy or program is available to
1704   * an individual.
1705   */
1706  IND,
1707  /**
1708   * null
1709   */
1710  INVOICE,
1711  /**
1712   * null
1713   */
1714  PROA,
1715  /**
1716   * null
1717   */
1718  RECOV,
1719  /**
1720   * null
1721   */
1722  RETRO,
1723  /**
1724   * Description:The level of coverage under the policy or program is available to
1725   * a subscriber's spouse and children
1726   */
1727  SPC,
1728  /**
1729   * Description:The level of coverage under the policy or program is available
1730   * only to a subscribers spouse
1731   */
1732  SPO,
1733  /**
1734   * null
1735   */
1736  TRAN,
1737  /**
1738   * added to help the parsers
1739   */
1740  NULL;
1741
1742  public static V3ActReason fromCode(String codeString) throws FHIRException {
1743    if (codeString == null || "".equals(codeString))
1744      return null;
1745    if ("_ActAccommodationReason".equals(codeString))
1746      return _ACTACCOMMODATIONREASON;
1747    if ("ACCREQNA".equals(codeString))
1748      return ACCREQNA;
1749    if ("FLRCNV".equals(codeString))
1750      return FLRCNV;
1751    if ("MEDNEC".equals(codeString))
1752      return MEDNEC;
1753    if ("PAT".equals(codeString))
1754      return PAT;
1755    if ("_ActCoverageReason".equals(codeString))
1756      return _ACTCOVERAGEREASON;
1757    if ("_EligibilityActReasonCode".equals(codeString))
1758      return _ELIGIBILITYACTREASONCODE;
1759    if ("_ActIneligibilityReason".equals(codeString))
1760      return _ACTINELIGIBILITYREASON;
1761    if ("COVSUS".equals(codeString))
1762      return COVSUS;
1763    if ("DECSD".equals(codeString))
1764      return DECSD;
1765    if ("REGERR".equals(codeString))
1766      return REGERR;
1767    if ("_CoverageEligibilityReason".equals(codeString))
1768      return _COVERAGEELIGIBILITYREASON;
1769    if ("AGE".equals(codeString))
1770      return AGE;
1771    if ("CRIME".equals(codeString))
1772      return CRIME;
1773    if ("DIS".equals(codeString))
1774      return DIS;
1775    if ("EMPLOY".equals(codeString))
1776      return EMPLOY;
1777    if ("FINAN".equals(codeString))
1778      return FINAN;
1779    if ("HEALTH".equals(codeString))
1780      return HEALTH;
1781    if ("MULTI".equals(codeString))
1782      return MULTI;
1783    if ("PNC".equals(codeString))
1784      return PNC;
1785    if ("STATUTORY".equals(codeString))
1786      return STATUTORY;
1787    if ("VEHIC".equals(codeString))
1788      return VEHIC;
1789    if ("WORK".equals(codeString))
1790      return WORK;
1791    if ("_ActInformationManagementReason".equals(codeString))
1792      return _ACTINFORMATIONMANAGEMENTREASON;
1793    if ("_ActHealthInformationManagementReason".equals(codeString))
1794      return _ACTHEALTHINFORMATIONMANAGEMENTREASON;
1795    if ("_ActConsentInformationAccessOverrideReason".equals(codeString))
1796      return _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON;
1797    if ("OVRER".equals(codeString))
1798      return OVRER;
1799    if ("OVRINCOMP".equals(codeString))
1800      return OVRINCOMP;
1801    if ("OVRPJ".equals(codeString))
1802      return OVRPJ;
1803    if ("OVRPS".equals(codeString))
1804      return OVRPS;
1805    if ("OVRTPS".equals(codeString))
1806      return OVRTPS;
1807    if ("PurposeOfUse".equals(codeString))
1808      return PURPOSEOFUSE;
1809    if ("HMARKT".equals(codeString))
1810      return HMARKT;
1811    if ("HOPERAT".equals(codeString))
1812      return HOPERAT;
1813    if ("CAREMGT".equals(codeString))
1814      return CAREMGT;
1815    if ("DONAT".equals(codeString))
1816      return DONAT;
1817    if ("FRAUD".equals(codeString))
1818      return FRAUD;
1819    if ("GOV".equals(codeString))
1820      return GOV;
1821    if ("HACCRED".equals(codeString))
1822      return HACCRED;
1823    if ("HCOMPL".equals(codeString))
1824      return HCOMPL;
1825    if ("HDECD".equals(codeString))
1826      return HDECD;
1827    if ("HDIRECT".equals(codeString))
1828      return HDIRECT;
1829    if ("HDM".equals(codeString))
1830      return HDM;
1831    if ("HLEGAL".equals(codeString))
1832      return HLEGAL;
1833    if ("HOUTCOMS".equals(codeString))
1834      return HOUTCOMS;
1835    if ("HPRGRP".equals(codeString))
1836      return HPRGRP;
1837    if ("HQUALIMP".equals(codeString))
1838      return HQUALIMP;
1839    if ("HSYSADMIN".equals(codeString))
1840      return HSYSADMIN;
1841    if ("LABELING".equals(codeString))
1842      return LABELING;
1843    if ("METAMGT".equals(codeString))
1844      return METAMGT;
1845    if ("MEMADMIN".equals(codeString))
1846      return MEMADMIN;
1847    if ("MILCDM".equals(codeString))
1848      return MILCDM;
1849    if ("PATADMIN".equals(codeString))
1850      return PATADMIN;
1851    if ("PATSFTY".equals(codeString))
1852      return PATSFTY;
1853    if ("PERFMSR".equals(codeString))
1854      return PERFMSR;
1855    if ("RECORDMGT".equals(codeString))
1856      return RECORDMGT;
1857    if ("SYSDEV".equals(codeString))
1858      return SYSDEV;
1859    if ("HTEST".equals(codeString))
1860      return HTEST;
1861    if ("TRAIN".equals(codeString))
1862      return TRAIN;
1863    if ("HPAYMT".equals(codeString))
1864      return HPAYMT;
1865    if ("CLMATTCH".equals(codeString))
1866      return CLMATTCH;
1867    if ("COVAUTH".equals(codeString))
1868      return COVAUTH;
1869    if ("COVERAGE".equals(codeString))
1870      return COVERAGE;
1871    if ("ELIGDTRM".equals(codeString))
1872      return ELIGDTRM;
1873    if ("ELIGVER".equals(codeString))
1874      return ELIGVER;
1875    if ("ENROLLM".equals(codeString))
1876      return ENROLLM;
1877    if ("MILDCRG".equals(codeString))
1878      return MILDCRG;
1879    if ("REMITADV".equals(codeString))
1880      return REMITADV;
1881    if ("HRESCH".equals(codeString))
1882      return HRESCH;
1883    if ("BIORCH".equals(codeString))
1884      return BIORCH;
1885    if ("CLINTRCH".equals(codeString))
1886      return CLINTRCH;
1887    if ("CLINTRCHNPC".equals(codeString))
1888      return CLINTRCHNPC;
1889    if ("CLINTRCHPC".equals(codeString))
1890      return CLINTRCHPC;
1891    if ("PRECLINTRCH".equals(codeString))
1892      return PRECLINTRCH;
1893    if ("DSRCH".equals(codeString))
1894      return DSRCH;
1895    if ("POARCH".equals(codeString))
1896      return POARCH;
1897    if ("TRANSRCH".equals(codeString))
1898      return TRANSRCH;
1899    if ("PATRQT".equals(codeString))
1900      return PATRQT;
1901    if ("FAMRQT".equals(codeString))
1902      return FAMRQT;
1903    if ("PWATRNY".equals(codeString))
1904      return PWATRNY;
1905    if ("SUPNWK".equals(codeString))
1906      return SUPNWK;
1907    if ("PUBHLTH".equals(codeString))
1908      return PUBHLTH;
1909    if ("DISASTER".equals(codeString))
1910      return DISASTER;
1911    if ("THREAT".equals(codeString))
1912      return THREAT;
1913    if ("TREAT".equals(codeString))
1914      return TREAT;
1915    if ("CLINTRL".equals(codeString))
1916      return CLINTRL;
1917    if ("COC".equals(codeString))
1918      return COC;
1919    if ("ETREAT".equals(codeString))
1920      return ETREAT;
1921    if ("BTG".equals(codeString))
1922      return BTG;
1923    if ("ERTREAT".equals(codeString))
1924      return ERTREAT;
1925    if ("POPHLTH".equals(codeString))
1926      return POPHLTH;
1927    if ("_ActInformationPrivacyReason".equals(codeString))
1928      return _ACTINFORMATIONPRIVACYREASON;
1929    if ("MARKT".equals(codeString))
1930      return MARKT;
1931    if ("OPERAT".equals(codeString))
1932      return OPERAT;
1933    if ("LEGAL".equals(codeString))
1934      return LEGAL;
1935    if ("ACCRED".equals(codeString))
1936      return ACCRED;
1937    if ("COMPL".equals(codeString))
1938      return COMPL;
1939    if ("ENADMIN".equals(codeString))
1940      return ENADMIN;
1941    if ("OUTCOMS".equals(codeString))
1942      return OUTCOMS;
1943    if ("PRGRPT".equals(codeString))
1944      return PRGRPT;
1945    if ("QUALIMP".equals(codeString))
1946      return QUALIMP;
1947    if ("SYSADMN".equals(codeString))
1948      return SYSADMN;
1949    if ("PAYMT".equals(codeString))
1950      return PAYMT;
1951    if ("RESCH".equals(codeString))
1952      return RESCH;
1953    if ("SRVC".equals(codeString))
1954      return SRVC;
1955    if ("_ActInvalidReason".equals(codeString))
1956      return _ACTINVALIDREASON;
1957    if ("ADVSTORAGE".equals(codeString))
1958      return ADVSTORAGE;
1959    if ("COLDCHNBRK".equals(codeString))
1960      return COLDCHNBRK;
1961    if ("EXPLOT".equals(codeString))
1962      return EXPLOT;
1963    if ("OUTSIDESCHED".equals(codeString))
1964      return OUTSIDESCHED;
1965    if ("PRODRECALL".equals(codeString))
1966      return PRODRECALL;
1967    if ("_ActInvoiceCancelReason".equals(codeString))
1968      return _ACTINVOICECANCELREASON;
1969    if ("INCCOVPTY".equals(codeString))
1970      return INCCOVPTY;
1971    if ("INCINVOICE".equals(codeString))
1972      return INCINVOICE;
1973    if ("INCPOLICY".equals(codeString))
1974      return INCPOLICY;
1975    if ("INCPROV".equals(codeString))
1976      return INCPROV;
1977    if ("_ActNoImmunizationReason".equals(codeString))
1978      return _ACTNOIMMUNIZATIONREASON;
1979    if ("IMMUNE".equals(codeString))
1980      return IMMUNE;
1981    if ("MEDPREC".equals(codeString))
1982      return MEDPREC;
1983    if ("OSTOCK".equals(codeString))
1984      return OSTOCK;
1985    if ("PATOBJ".equals(codeString))
1986      return PATOBJ;
1987    if ("PHILISOP".equals(codeString))
1988      return PHILISOP;
1989    if ("RELIG".equals(codeString))
1990      return RELIG;
1991    if ("VACEFF".equals(codeString))
1992      return VACEFF;
1993    if ("VACSAF".equals(codeString))
1994      return VACSAF;
1995    if ("_ActSupplyFulfillmentRefusalReason".equals(codeString))
1996      return _ACTSUPPLYFULFILLMENTREFUSALREASON;
1997    if ("FRR01".equals(codeString))
1998      return FRR01;
1999    if ("FRR02".equals(codeString))
2000      return FRR02;
2001    if ("FRR03".equals(codeString))
2002      return FRR03;
2003    if ("FRR04".equals(codeString))
2004      return FRR04;
2005    if ("FRR05".equals(codeString))
2006      return FRR05;
2007    if ("FRR06".equals(codeString))
2008      return FRR06;
2009    if ("_ClinicalResearchEventReason".equals(codeString))
2010      return _CLINICALRESEARCHEVENTREASON;
2011    if ("RET".equals(codeString))
2012      return RET;
2013    if ("SCH".equals(codeString))
2014      return SCH;
2015    if ("TRM".equals(codeString))
2016      return TRM;
2017    if ("UNS".equals(codeString))
2018      return UNS;
2019    if ("_ClinicalResearchObservationReason".equals(codeString))
2020      return _CLINICALRESEARCHOBSERVATIONREASON;
2021    if ("NPT".equals(codeString))
2022      return NPT;
2023    if ("PPT".equals(codeString))
2024      return PPT;
2025    if ("UPT".equals(codeString))
2026      return UPT;
2027    if ("_CombinedPharmacyOrderSuspendReasonCode".equals(codeString))
2028      return _COMBINEDPHARMACYORDERSUSPENDREASONCODE;
2029    if ("ALTCHOICE".equals(codeString))
2030      return ALTCHOICE;
2031    if ("CLARIF".equals(codeString))
2032      return CLARIF;
2033    if ("DRUGHIGH".equals(codeString))
2034      return DRUGHIGH;
2035    if ("HOSPADM".equals(codeString))
2036      return HOSPADM;
2037    if ("LABINT".equals(codeString))
2038      return LABINT;
2039    if ("NON-AVAIL".equals(codeString))
2040      return NONAVAIL;
2041    if ("PREG".equals(codeString))
2042      return PREG;
2043    if ("SALG".equals(codeString))
2044      return SALG;
2045    if ("SDDI".equals(codeString))
2046      return SDDI;
2047    if ("SDUPTHER".equals(codeString))
2048      return SDUPTHER;
2049    if ("SINTOL".equals(codeString))
2050      return SINTOL;
2051    if ("SURG".equals(codeString))
2052      return SURG;
2053    if ("WASHOUT".equals(codeString))
2054      return WASHOUT;
2055    if ("_ControlActNullificationReasonCode".equals(codeString))
2056      return _CONTROLACTNULLIFICATIONREASONCODE;
2057    if ("ALTD".equals(codeString))
2058      return ALTD;
2059    if ("EIE".equals(codeString))
2060      return EIE;
2061    if ("NORECMTCH".equals(codeString))
2062      return NORECMTCH;
2063    if ("_ControlActNullificationRefusalReasonType".equals(codeString))
2064      return _CONTROLACTNULLIFICATIONREFUSALREASONTYPE;
2065    if ("INRQSTATE".equals(codeString))
2066      return INRQSTATE;
2067    if ("NOMATCH".equals(codeString))
2068      return NOMATCH;
2069    if ("NOPRODMTCH".equals(codeString))
2070      return NOPRODMTCH;
2071    if ("NOSERMTCH".equals(codeString))
2072      return NOSERMTCH;
2073    if ("NOVERMTCH".equals(codeString))
2074      return NOVERMTCH;
2075    if ("NOPERM".equals(codeString))
2076      return NOPERM;
2077    if ("NOUSERPERM".equals(codeString))
2078      return NOUSERPERM;
2079    if ("NOAGNTPERM".equals(codeString))
2080      return NOAGNTPERM;
2081    if ("NOUSRPERM".equals(codeString))
2082      return NOUSRPERM;
2083    if ("WRNGVER".equals(codeString))
2084      return WRNGVER;
2085    if ("_ControlActReason".equals(codeString))
2086      return _CONTROLACTREASON;
2087    if ("_MedicationOrderAbortReasonCode".equals(codeString))
2088      return _MEDICATIONORDERABORTREASONCODE;
2089    if ("DISCONT".equals(codeString))
2090      return DISCONT;
2091    if ("INEFFECT".equals(codeString))
2092      return INEFFECT;
2093    if ("MONIT".equals(codeString))
2094      return MONIT;
2095    if ("NOREQ".equals(codeString))
2096      return NOREQ;
2097    if ("NOTCOVER".equals(codeString))
2098      return NOTCOVER;
2099    if ("PREFUS".equals(codeString))
2100      return PREFUS;
2101    if ("RECALL".equals(codeString))
2102      return RECALL;
2103    if ("REPLACE".equals(codeString))
2104      return REPLACE;
2105    if ("DOSECHG".equals(codeString))
2106      return DOSECHG;
2107    if ("REPLACEFIX".equals(codeString))
2108      return REPLACEFIX;
2109    if ("UNABLE".equals(codeString))
2110      return UNABLE;
2111    if ("_MedicationOrderReleaseReasonCode".equals(codeString))
2112      return _MEDICATIONORDERRELEASEREASONCODE;
2113    if ("HOLDDONE".equals(codeString))
2114      return HOLDDONE;
2115    if ("HOLDINAP".equals(codeString))
2116      return HOLDINAP;
2117    if ("_ModifyPrescriptionReasonType".equals(codeString))
2118      return _MODIFYPRESCRIPTIONREASONTYPE;
2119    if ("ADMINERROR".equals(codeString))
2120      return ADMINERROR;
2121    if ("CLINMOD".equals(codeString))
2122      return CLINMOD;
2123    if ("_PharmacySupplyEventAbortReason".equals(codeString))
2124      return _PHARMACYSUPPLYEVENTABORTREASON;
2125    if ("CONTRA".equals(codeString))
2126      return CONTRA;
2127    if ("FOABORT".equals(codeString))
2128      return FOABORT;
2129    if ("FOSUSP".equals(codeString))
2130      return FOSUSP;
2131    if ("NOPICK".equals(codeString))
2132      return NOPICK;
2133    if ("PATDEC".equals(codeString))
2134      return PATDEC;
2135    if ("QUANTCHG".equals(codeString))
2136      return QUANTCHG;
2137    if ("_PharmacySupplyEventStockReasonCode".equals(codeString))
2138      return _PHARMACYSUPPLYEVENTSTOCKREASONCODE;
2139    if ("FLRSTCK".equals(codeString))
2140      return FLRSTCK;
2141    if ("LTC".equals(codeString))
2142      return LTC;
2143    if ("OFFICE".equals(codeString))
2144      return OFFICE;
2145    if ("PHARM".equals(codeString))
2146      return PHARM;
2147    if ("PROG".equals(codeString))
2148      return PROG;
2149    if ("_PharmacySupplyRequestRenewalRefusalReasonCode".equals(codeString))
2150      return _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE;
2151    if ("ALREADYRX".equals(codeString))
2152      return ALREADYRX;
2153    if ("FAMPHYS".equals(codeString))
2154      return FAMPHYS;
2155    if ("MODIFY".equals(codeString))
2156      return MODIFY;
2157    if ("NEEDAPMT".equals(codeString))
2158      return NEEDAPMT;
2159    if ("NOTAVAIL".equals(codeString))
2160      return NOTAVAIL;
2161    if ("NOTPAT".equals(codeString))
2162      return NOTPAT;
2163    if ("ONHOLD".equals(codeString))
2164      return ONHOLD;
2165    if ("PRNA".equals(codeString))
2166      return PRNA;
2167    if ("STOPMED".equals(codeString))
2168      return STOPMED;
2169    if ("TOOEARLY".equals(codeString))
2170      return TOOEARLY;
2171    if ("_SupplyOrderAbortReasonCode".equals(codeString))
2172      return _SUPPLYORDERABORTREASONCODE;
2173    if ("IMPROV".equals(codeString))
2174      return IMPROV;
2175    if ("INTOL".equals(codeString))
2176      return INTOL;
2177    if ("NEWSTR".equals(codeString))
2178      return NEWSTR;
2179    if ("NEWTHER".equals(codeString))
2180      return NEWTHER;
2181    if ("_GenericUpdateReasonCode".equals(codeString))
2182      return _GENERICUPDATEREASONCODE;
2183    if ("CHGDATA".equals(codeString))
2184      return CHGDATA;
2185    if ("FIXDATA".equals(codeString))
2186      return FIXDATA;
2187    if ("MDATA".equals(codeString))
2188      return MDATA;
2189    if ("NEWDATA".equals(codeString))
2190      return NEWDATA;
2191    if ("UMDATA".equals(codeString))
2192      return UMDATA;
2193    if ("_PatientProfileQueryReasonCode".equals(codeString))
2194      return _PATIENTPROFILEQUERYREASONCODE;
2195    if ("ADMREV".equals(codeString))
2196      return ADMREV;
2197    if ("PATCAR".equals(codeString))
2198      return PATCAR;
2199    if ("PATREQ".equals(codeString))
2200      return PATREQ;
2201    if ("PRCREV".equals(codeString))
2202      return PRCREV;
2203    if ("REGUL".equals(codeString))
2204      return REGUL;
2205    if ("RSRCH".equals(codeString))
2206      return RSRCH;
2207    if ("VALIDATION".equals(codeString))
2208      return VALIDATION;
2209    if ("_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode".equals(codeString))
2210      return _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE;
2211    if ("LOCKED".equals(codeString))
2212      return LOCKED;
2213    if ("UNKWNTARGET".equals(codeString))
2214      return UNKWNTARGET;
2215    if ("_RefusalReasonCode".equals(codeString))
2216      return _REFUSALREASONCODE;
2217    if ("_SchedulingActReason".equals(codeString))
2218      return _SCHEDULINGACTREASON;
2219    if ("BLK".equals(codeString))
2220      return BLK;
2221    if ("DEC".equals(codeString))
2222      return DEC;
2223    if ("FIN".equals(codeString))
2224      return FIN;
2225    if ("MED".equals(codeString))
2226      return MED;
2227    if ("MTG".equals(codeString))
2228      return MTG;
2229    if ("PHY".equals(codeString))
2230      return PHY;
2231    if ("_StatusRevisionRefusalReasonCode".equals(codeString))
2232      return _STATUSREVISIONREFUSALREASONCODE;
2233    if ("FILLED".equals(codeString))
2234      return FILLED;
2235    if ("_SubstanceAdministrationPermissionRefusalReasonCode".equals(codeString))
2236      return _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE;
2237    if ("PATINELIG".equals(codeString))
2238      return PATINELIG;
2239    if ("PROTUNMET".equals(codeString))
2240      return PROTUNMET;
2241    if ("PROVUNAUTH".equals(codeString))
2242      return PROVUNAUTH;
2243    if ("_SubstanceAdminSubstitutionNotAllowedReason".equals(codeString))
2244      return _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON;
2245    if ("ALGINT".equals(codeString))
2246      return ALGINT;
2247    if ("COMPCON".equals(codeString))
2248      return COMPCON;
2249    if ("THERCHAR".equals(codeString))
2250      return THERCHAR;
2251    if ("TRIAL".equals(codeString))
2252      return TRIAL;
2253    if ("_SubstanceAdminSubstitutionReason".equals(codeString))
2254      return _SUBSTANCEADMINSUBSTITUTIONREASON;
2255    if ("CT".equals(codeString))
2256      return CT;
2257    if ("FP".equals(codeString))
2258      return FP;
2259    if ("OS".equals(codeString))
2260      return OS;
2261    if ("RR".equals(codeString))
2262      return RR;
2263    if ("_TransferActReason".equals(codeString))
2264      return _TRANSFERACTREASON;
2265    if ("ER".equals(codeString))
2266      return ER;
2267    if ("RQ".equals(codeString))
2268      return RQ;
2269    if ("_ActBillableServiceReason".equals(codeString))
2270      return _ACTBILLABLESERVICEREASON;
2271    if ("_ActBillableClinicalServiceReason".equals(codeString))
2272      return _ACTBILLABLECLINICALSERVICEREASON;
2273    if ("BONUS".equals(codeString))
2274      return BONUS;
2275    if ("CHD".equals(codeString))
2276      return CHD;
2277    if ("DEP".equals(codeString))
2278      return DEP;
2279    if ("ECH".equals(codeString))
2280      return ECH;
2281    if ("EDU".equals(codeString))
2282      return EDU;
2283    if ("EMP".equals(codeString))
2284      return EMP;
2285    if ("ESP".equals(codeString))
2286      return ESP;
2287    if ("FAM".equals(codeString))
2288      return FAM;
2289    if ("IND".equals(codeString))
2290      return IND;
2291    if ("INVOICE".equals(codeString))
2292      return INVOICE;
2293    if ("PROA".equals(codeString))
2294      return PROA;
2295    if ("RECOV".equals(codeString))
2296      return RECOV;
2297    if ("RETRO".equals(codeString))
2298      return RETRO;
2299    if ("SPC".equals(codeString))
2300      return SPC;
2301    if ("SPO".equals(codeString))
2302      return SPO;
2303    if ("TRAN".equals(codeString))
2304      return TRAN;
2305    throw new FHIRException("Unknown V3ActReason code '" + codeString + "'");
2306  }
2307
2308  public String toCode() {
2309    switch (this) {
2310    case _ACTACCOMMODATIONREASON:
2311      return "_ActAccommodationReason";
2312    case ACCREQNA:
2313      return "ACCREQNA";
2314    case FLRCNV:
2315      return "FLRCNV";
2316    case MEDNEC:
2317      return "MEDNEC";
2318    case PAT:
2319      return "PAT";
2320    case _ACTCOVERAGEREASON:
2321      return "_ActCoverageReason";
2322    case _ELIGIBILITYACTREASONCODE:
2323      return "_EligibilityActReasonCode";
2324    case _ACTINELIGIBILITYREASON:
2325      return "_ActIneligibilityReason";
2326    case COVSUS:
2327      return "COVSUS";
2328    case DECSD:
2329      return "DECSD";
2330    case REGERR:
2331      return "REGERR";
2332    case _COVERAGEELIGIBILITYREASON:
2333      return "_CoverageEligibilityReason";
2334    case AGE:
2335      return "AGE";
2336    case CRIME:
2337      return "CRIME";
2338    case DIS:
2339      return "DIS";
2340    case EMPLOY:
2341      return "EMPLOY";
2342    case FINAN:
2343      return "FINAN";
2344    case HEALTH:
2345      return "HEALTH";
2346    case MULTI:
2347      return "MULTI";
2348    case PNC:
2349      return "PNC";
2350    case STATUTORY:
2351      return "STATUTORY";
2352    case VEHIC:
2353      return "VEHIC";
2354    case WORK:
2355      return "WORK";
2356    case _ACTINFORMATIONMANAGEMENTREASON:
2357      return "_ActInformationManagementReason";
2358    case _ACTHEALTHINFORMATIONMANAGEMENTREASON:
2359      return "_ActHealthInformationManagementReason";
2360    case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON:
2361      return "_ActConsentInformationAccessOverrideReason";
2362    case OVRER:
2363      return "OVRER";
2364    case OVRINCOMP:
2365      return "OVRINCOMP";
2366    case OVRPJ:
2367      return "OVRPJ";
2368    case OVRPS:
2369      return "OVRPS";
2370    case OVRTPS:
2371      return "OVRTPS";
2372    case PURPOSEOFUSE:
2373      return "PurposeOfUse";
2374    case HMARKT:
2375      return "HMARKT";
2376    case HOPERAT:
2377      return "HOPERAT";
2378    case CAREMGT:
2379      return "CAREMGT";
2380    case DONAT:
2381      return "DONAT";
2382    case FRAUD:
2383      return "FRAUD";
2384    case GOV:
2385      return "GOV";
2386    case HACCRED:
2387      return "HACCRED";
2388    case HCOMPL:
2389      return "HCOMPL";
2390    case HDECD:
2391      return "HDECD";
2392    case HDIRECT:
2393      return "HDIRECT";
2394    case HDM:
2395      return "HDM";
2396    case HLEGAL:
2397      return "HLEGAL";
2398    case HOUTCOMS:
2399      return "HOUTCOMS";
2400    case HPRGRP:
2401      return "HPRGRP";
2402    case HQUALIMP:
2403      return "HQUALIMP";
2404    case HSYSADMIN:
2405      return "HSYSADMIN";
2406    case LABELING:
2407      return "LABELING";
2408    case METAMGT:
2409      return "METAMGT";
2410    case MEMADMIN:
2411      return "MEMADMIN";
2412    case MILCDM:
2413      return "MILCDM";
2414    case PATADMIN:
2415      return "PATADMIN";
2416    case PATSFTY:
2417      return "PATSFTY";
2418    case PERFMSR:
2419      return "PERFMSR";
2420    case RECORDMGT:
2421      return "RECORDMGT";
2422    case SYSDEV:
2423      return "SYSDEV";
2424    case HTEST:
2425      return "HTEST";
2426    case TRAIN:
2427      return "TRAIN";
2428    case HPAYMT:
2429      return "HPAYMT";
2430    case CLMATTCH:
2431      return "CLMATTCH";
2432    case COVAUTH:
2433      return "COVAUTH";
2434    case COVERAGE:
2435      return "COVERAGE";
2436    case ELIGDTRM:
2437      return "ELIGDTRM";
2438    case ELIGVER:
2439      return "ELIGVER";
2440    case ENROLLM:
2441      return "ENROLLM";
2442    case MILDCRG:
2443      return "MILDCRG";
2444    case REMITADV:
2445      return "REMITADV";
2446    case HRESCH:
2447      return "HRESCH";
2448    case BIORCH:
2449      return "BIORCH";
2450    case CLINTRCH:
2451      return "CLINTRCH";
2452    case CLINTRCHNPC:
2453      return "CLINTRCHNPC";
2454    case CLINTRCHPC:
2455      return "CLINTRCHPC";
2456    case PRECLINTRCH:
2457      return "PRECLINTRCH";
2458    case DSRCH:
2459      return "DSRCH";
2460    case POARCH:
2461      return "POARCH";
2462    case TRANSRCH:
2463      return "TRANSRCH";
2464    case PATRQT:
2465      return "PATRQT";
2466    case FAMRQT:
2467      return "FAMRQT";
2468    case PWATRNY:
2469      return "PWATRNY";
2470    case SUPNWK:
2471      return "SUPNWK";
2472    case PUBHLTH:
2473      return "PUBHLTH";
2474    case DISASTER:
2475      return "DISASTER";
2476    case THREAT:
2477      return "THREAT";
2478    case TREAT:
2479      return "TREAT";
2480    case CLINTRL:
2481      return "CLINTRL";
2482    case COC:
2483      return "COC";
2484    case ETREAT:
2485      return "ETREAT";
2486    case BTG:
2487      return "BTG";
2488    case ERTREAT:
2489      return "ERTREAT";
2490    case POPHLTH:
2491      return "POPHLTH";
2492    case _ACTINFORMATIONPRIVACYREASON:
2493      return "_ActInformationPrivacyReason";
2494    case MARKT:
2495      return "MARKT";
2496    case OPERAT:
2497      return "OPERAT";
2498    case LEGAL:
2499      return "LEGAL";
2500    case ACCRED:
2501      return "ACCRED";
2502    case COMPL:
2503      return "COMPL";
2504    case ENADMIN:
2505      return "ENADMIN";
2506    case OUTCOMS:
2507      return "OUTCOMS";
2508    case PRGRPT:
2509      return "PRGRPT";
2510    case QUALIMP:
2511      return "QUALIMP";
2512    case SYSADMN:
2513      return "SYSADMN";
2514    case PAYMT:
2515      return "PAYMT";
2516    case RESCH:
2517      return "RESCH";
2518    case SRVC:
2519      return "SRVC";
2520    case _ACTINVALIDREASON:
2521      return "_ActInvalidReason";
2522    case ADVSTORAGE:
2523      return "ADVSTORAGE";
2524    case COLDCHNBRK:
2525      return "COLDCHNBRK";
2526    case EXPLOT:
2527      return "EXPLOT";
2528    case OUTSIDESCHED:
2529      return "OUTSIDESCHED";
2530    case PRODRECALL:
2531      return "PRODRECALL";
2532    case _ACTINVOICECANCELREASON:
2533      return "_ActInvoiceCancelReason";
2534    case INCCOVPTY:
2535      return "INCCOVPTY";
2536    case INCINVOICE:
2537      return "INCINVOICE";
2538    case INCPOLICY:
2539      return "INCPOLICY";
2540    case INCPROV:
2541      return "INCPROV";
2542    case _ACTNOIMMUNIZATIONREASON:
2543      return "_ActNoImmunizationReason";
2544    case IMMUNE:
2545      return "IMMUNE";
2546    case MEDPREC:
2547      return "MEDPREC";
2548    case OSTOCK:
2549      return "OSTOCK";
2550    case PATOBJ:
2551      return "PATOBJ";
2552    case PHILISOP:
2553      return "PHILISOP";
2554    case RELIG:
2555      return "RELIG";
2556    case VACEFF:
2557      return "VACEFF";
2558    case VACSAF:
2559      return "VACSAF";
2560    case _ACTSUPPLYFULFILLMENTREFUSALREASON:
2561      return "_ActSupplyFulfillmentRefusalReason";
2562    case FRR01:
2563      return "FRR01";
2564    case FRR02:
2565      return "FRR02";
2566    case FRR03:
2567      return "FRR03";
2568    case FRR04:
2569      return "FRR04";
2570    case FRR05:
2571      return "FRR05";
2572    case FRR06:
2573      return "FRR06";
2574    case _CLINICALRESEARCHEVENTREASON:
2575      return "_ClinicalResearchEventReason";
2576    case RET:
2577      return "RET";
2578    case SCH:
2579      return "SCH";
2580    case TRM:
2581      return "TRM";
2582    case UNS:
2583      return "UNS";
2584    case _CLINICALRESEARCHOBSERVATIONREASON:
2585      return "_ClinicalResearchObservationReason";
2586    case NPT:
2587      return "NPT";
2588    case PPT:
2589      return "PPT";
2590    case UPT:
2591      return "UPT";
2592    case _COMBINEDPHARMACYORDERSUSPENDREASONCODE:
2593      return "_CombinedPharmacyOrderSuspendReasonCode";
2594    case ALTCHOICE:
2595      return "ALTCHOICE";
2596    case CLARIF:
2597      return "CLARIF";
2598    case DRUGHIGH:
2599      return "DRUGHIGH";
2600    case HOSPADM:
2601      return "HOSPADM";
2602    case LABINT:
2603      return "LABINT";
2604    case NONAVAIL:
2605      return "NON-AVAIL";
2606    case PREG:
2607      return "PREG";
2608    case SALG:
2609      return "SALG";
2610    case SDDI:
2611      return "SDDI";
2612    case SDUPTHER:
2613      return "SDUPTHER";
2614    case SINTOL:
2615      return "SINTOL";
2616    case SURG:
2617      return "SURG";
2618    case WASHOUT:
2619      return "WASHOUT";
2620    case _CONTROLACTNULLIFICATIONREASONCODE:
2621      return "_ControlActNullificationReasonCode";
2622    case ALTD:
2623      return "ALTD";
2624    case EIE:
2625      return "EIE";
2626    case NORECMTCH:
2627      return "NORECMTCH";
2628    case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE:
2629      return "_ControlActNullificationRefusalReasonType";
2630    case INRQSTATE:
2631      return "INRQSTATE";
2632    case NOMATCH:
2633      return "NOMATCH";
2634    case NOPRODMTCH:
2635      return "NOPRODMTCH";
2636    case NOSERMTCH:
2637      return "NOSERMTCH";
2638    case NOVERMTCH:
2639      return "NOVERMTCH";
2640    case NOPERM:
2641      return "NOPERM";
2642    case NOUSERPERM:
2643      return "NOUSERPERM";
2644    case NOAGNTPERM:
2645      return "NOAGNTPERM";
2646    case NOUSRPERM:
2647      return "NOUSRPERM";
2648    case WRNGVER:
2649      return "WRNGVER";
2650    case _CONTROLACTREASON:
2651      return "_ControlActReason";
2652    case _MEDICATIONORDERABORTREASONCODE:
2653      return "_MedicationOrderAbortReasonCode";
2654    case DISCONT:
2655      return "DISCONT";
2656    case INEFFECT:
2657      return "INEFFECT";
2658    case MONIT:
2659      return "MONIT";
2660    case NOREQ:
2661      return "NOREQ";
2662    case NOTCOVER:
2663      return "NOTCOVER";
2664    case PREFUS:
2665      return "PREFUS";
2666    case RECALL:
2667      return "RECALL";
2668    case REPLACE:
2669      return "REPLACE";
2670    case DOSECHG:
2671      return "DOSECHG";
2672    case REPLACEFIX:
2673      return "REPLACEFIX";
2674    case UNABLE:
2675      return "UNABLE";
2676    case _MEDICATIONORDERRELEASEREASONCODE:
2677      return "_MedicationOrderReleaseReasonCode";
2678    case HOLDDONE:
2679      return "HOLDDONE";
2680    case HOLDINAP:
2681      return "HOLDINAP";
2682    case _MODIFYPRESCRIPTIONREASONTYPE:
2683      return "_ModifyPrescriptionReasonType";
2684    case ADMINERROR:
2685      return "ADMINERROR";
2686    case CLINMOD:
2687      return "CLINMOD";
2688    case _PHARMACYSUPPLYEVENTABORTREASON:
2689      return "_PharmacySupplyEventAbortReason";
2690    case CONTRA:
2691      return "CONTRA";
2692    case FOABORT:
2693      return "FOABORT";
2694    case FOSUSP:
2695      return "FOSUSP";
2696    case NOPICK:
2697      return "NOPICK";
2698    case PATDEC:
2699      return "PATDEC";
2700    case QUANTCHG:
2701      return "QUANTCHG";
2702    case _PHARMACYSUPPLYEVENTSTOCKREASONCODE:
2703      return "_PharmacySupplyEventStockReasonCode";
2704    case FLRSTCK:
2705      return "FLRSTCK";
2706    case LTC:
2707      return "LTC";
2708    case OFFICE:
2709      return "OFFICE";
2710    case PHARM:
2711      return "PHARM";
2712    case PROG:
2713      return "PROG";
2714    case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE:
2715      return "_PharmacySupplyRequestRenewalRefusalReasonCode";
2716    case ALREADYRX:
2717      return "ALREADYRX";
2718    case FAMPHYS:
2719      return "FAMPHYS";
2720    case MODIFY:
2721      return "MODIFY";
2722    case NEEDAPMT:
2723      return "NEEDAPMT";
2724    case NOTAVAIL:
2725      return "NOTAVAIL";
2726    case NOTPAT:
2727      return "NOTPAT";
2728    case ONHOLD:
2729      return "ONHOLD";
2730    case PRNA:
2731      return "PRNA";
2732    case STOPMED:
2733      return "STOPMED";
2734    case TOOEARLY:
2735      return "TOOEARLY";
2736    case _SUPPLYORDERABORTREASONCODE:
2737      return "_SupplyOrderAbortReasonCode";
2738    case IMPROV:
2739      return "IMPROV";
2740    case INTOL:
2741      return "INTOL";
2742    case NEWSTR:
2743      return "NEWSTR";
2744    case NEWTHER:
2745      return "NEWTHER";
2746    case _GENERICUPDATEREASONCODE:
2747      return "_GenericUpdateReasonCode";
2748    case CHGDATA:
2749      return "CHGDATA";
2750    case FIXDATA:
2751      return "FIXDATA";
2752    case MDATA:
2753      return "MDATA";
2754    case NEWDATA:
2755      return "NEWDATA";
2756    case UMDATA:
2757      return "UMDATA";
2758    case _PATIENTPROFILEQUERYREASONCODE:
2759      return "_PatientProfileQueryReasonCode";
2760    case ADMREV:
2761      return "ADMREV";
2762    case PATCAR:
2763      return "PATCAR";
2764    case PATREQ:
2765      return "PATREQ";
2766    case PRCREV:
2767      return "PRCREV";
2768    case REGUL:
2769      return "REGUL";
2770    case RSRCH:
2771      return "RSRCH";
2772    case VALIDATION:
2773      return "VALIDATION";
2774    case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE:
2775      return "_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode";
2776    case LOCKED:
2777      return "LOCKED";
2778    case UNKWNTARGET:
2779      return "UNKWNTARGET";
2780    case _REFUSALREASONCODE:
2781      return "_RefusalReasonCode";
2782    case _SCHEDULINGACTREASON:
2783      return "_SchedulingActReason";
2784    case BLK:
2785      return "BLK";
2786    case DEC:
2787      return "DEC";
2788    case FIN:
2789      return "FIN";
2790    case MED:
2791      return "MED";
2792    case MTG:
2793      return "MTG";
2794    case PHY:
2795      return "PHY";
2796    case _STATUSREVISIONREFUSALREASONCODE:
2797      return "_StatusRevisionRefusalReasonCode";
2798    case FILLED:
2799      return "FILLED";
2800    case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE:
2801      return "_SubstanceAdministrationPermissionRefusalReasonCode";
2802    case PATINELIG:
2803      return "PATINELIG";
2804    case PROTUNMET:
2805      return "PROTUNMET";
2806    case PROVUNAUTH:
2807      return "PROVUNAUTH";
2808    case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON:
2809      return "_SubstanceAdminSubstitutionNotAllowedReason";
2810    case ALGINT:
2811      return "ALGINT";
2812    case COMPCON:
2813      return "COMPCON";
2814    case THERCHAR:
2815      return "THERCHAR";
2816    case TRIAL:
2817      return "TRIAL";
2818    case _SUBSTANCEADMINSUBSTITUTIONREASON:
2819      return "_SubstanceAdminSubstitutionReason";
2820    case CT:
2821      return "CT";
2822    case FP:
2823      return "FP";
2824    case OS:
2825      return "OS";
2826    case RR:
2827      return "RR";
2828    case _TRANSFERACTREASON:
2829      return "_TransferActReason";
2830    case ER:
2831      return "ER";
2832    case RQ:
2833      return "RQ";
2834    case _ACTBILLABLESERVICEREASON:
2835      return "_ActBillableServiceReason";
2836    case _ACTBILLABLECLINICALSERVICEREASON:
2837      return "_ActBillableClinicalServiceReason";
2838    case BONUS:
2839      return "BONUS";
2840    case CHD:
2841      return "CHD";
2842    case DEP:
2843      return "DEP";
2844    case ECH:
2845      return "ECH";
2846    case EDU:
2847      return "EDU";
2848    case EMP:
2849      return "EMP";
2850    case ESP:
2851      return "ESP";
2852    case FAM:
2853      return "FAM";
2854    case IND:
2855      return "IND";
2856    case INVOICE:
2857      return "INVOICE";
2858    case PROA:
2859      return "PROA";
2860    case RECOV:
2861      return "RECOV";
2862    case RETRO:
2863      return "RETRO";
2864    case SPC:
2865      return "SPC";
2866    case SPO:
2867      return "SPO";
2868    case TRAN:
2869      return "TRAN";
2870    case NULL:
2871      return null;
2872    default:
2873      return "?";
2874    }
2875  }
2876
2877  public String getSystem() {
2878    return "http://terminology.hl7.org/CodeSystem/v3-ActReason";
2879  }
2880
2881  public String getDefinition() {
2882    switch (this) {
2883    case _ACTACCOMMODATIONREASON:
2884      return "Identifies the reason the patient is assigned to this accommodation type";
2885    case ACCREQNA:
2886      return "Accommodation requested is not available.";
2887    case FLRCNV:
2888      return "Accommodation is assigned for floor convenience.";
2889    case MEDNEC:
2890      return "Required for medical reasons(s).";
2891    case PAT:
2892      return "The Patient requested the action";
2893    case _ACTCOVERAGEREASON:
2894      return "Description:Codes used to specify reasons or criteria relating to coverage provided under a policy or program.  May be used to convey reasons pertaining to coverage contractual provisions, including criteria for eligibility, coverage limitations, coverage maximums, or financial participation required of covered parties.";
2895    case _ELIGIBILITYACTREASONCODE:
2896      return "Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. \r\n\n                        \n                           Examples:  A person is a claimant under an automobile insurance policy are client deceased & adopted client has been given a new policy identifier.  A new employee is eligible for health insurance as an employment benefit.  A person meets a government program eligibility criteria for financial, age or health status.";
2897    case _ACTINELIGIBILITYREASON:
2898      return "Identifies the reason or rational for why a person is not eligibile for benefits under an insurance policy.\r\n\n                        Examples are client deceased & adopted client has been given a new policy identifier.";
2899    case COVSUS:
2900      return "When a client has no contact with the health system for an extended period, coverage is suspended.  Client will be reinstated to original start date upon proof of identification, residency etc.\r\n\n                        Example: Coverage may be suspended during a strike situation, when employer benefits for employees are not covered (i.e. not in effect).";
2901    case DECSD:
2902      return "Client deceased.";
2903    case REGERR:
2904      return "Client was registered in error.";
2905    case _COVERAGEELIGIBILITYREASON:
2906      return "Definition: Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. \r\n\n                        \n                           Examples:  A person is a claimant under an automobile insurance policy are client deceased & adopted client has been given a new policy identifier.  A new employee is eligible for health insurance as an employment benefit.  A person meets a government program eligibility criteria for financial, age or health status.";
2907    case AGE:
2908      return "A person becomes eligible for a program based on age.\r\n\n                        \n                           Example:  In the U.S., a person who is 65 years of age or older is eligible for Medicare.";
2909    case CRIME:
2910      return "A person becomes eligible for insurance or a program because of crime related health condition or injury. \r\n\n                        \n                           Example:  A person is a claimant under the U.S. Crime Victims Compensation program.";
2911    case DIS:
2912      return "A person becomes a claimant under a disability income insurance policy or a disability rehabilitation program because of a health condition or injury which limits the person's ability to earn an income or function without institutionalization.";
2913    case EMPLOY:
2914      return "A person becomes eligible for insurance provided as an employment benefit based on employment status.";
2915    case FINAN:
2916      return "A person becomes eligible for a program based on financial criteria.\r\n\n                        \n                           Example:  A person whose family income is below a financial threshold for eligibility for Medicaid or SCHIP.";
2917    case HEALTH:
2918      return "A person becomes eligible for a program because of a qualifying health condition or injury. \r\n\n                        \n                           Examples:  A person is determined to have a qualifying health conditions include pregnancy, HIV/AIDs, tuberculosis, end stage renal disease, breast or cervical cancer, or other condition requiring specialized health services, hospice, institutional or community based care provided under a program";
2919    case MULTI:
2920      return "A person becomes eligible for a program based on more than one criterion.\r\n\n                        \n                           Examples:  In the U.S., a child whose familiy income meets Medicaid financial thresholds and whose age is less than 18 is eligible for the Early and Periodic Screening, Diagnostic, and Treatment program (EPSDT).  A person whose family income meets Medicaid financial thresholds and whose age is 65 years or older is eligible for Medicaid and Medicare, and are referred to as dual eligibles.";
2921    case PNC:
2922      return "A person becomes a claimant under a property and casualty insurance policy because of a related health condition or injury resulting from a circumstance covered under the terms of the policy. \r\n\n                        \n                           Example:  A person is a claimant under a homeowners insurance policy because of an injury sustained on the policyholderaTMs premises.";
2923    case STATUTORY:
2924      return "A person becomes eligible for a program based on statutory criteria.\r\n\n                        \n                           Examples:  A person is a member of an indigenous group, a veteran of military service, or  in the U.S., a recipient of adoption assistance and foster care under Title IV-E of the Social Security.";
2925    case VEHIC:
2926      return "A person becomes a claimant under a motor vehicle accident insurance because of a motor vehicle accident related health condition or injury.";
2927    case WORK:
2928      return "A person becomes eligible for insurance or a program because of a work related health condition or injury. \r\n\n                        \n                           Example:  A person is a claimant under the U.S. Black Lung Program.";
2929    case _ACTINFORMATIONMANAGEMENTREASON:
2930      return "Description:The rationale or purpose for an act relating to information management, such as archiving information for the purpose of complying with an enterprise data retention policy.";
2931    case _ACTHEALTHINFORMATIONMANAGEMENTREASON:
2932      return "Description:The rationale or purpose for an act relating to health information management, such as archiving information for the purpose of complying with an organization policy or jurisdictional law relating to  data retention.";
2933    case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON:
2934      return "To perform one or more operations on information to which the patient has not consented as deemed necessary by authorized entities for providing care in the best interest of the patient; providing immediately needed health care for an emergent condition;  or for protecting public or third party safety.\r\n\n                        \n                           Usage Notes: Used to convey the reason that a provider or other entity may or has accessed personal healthcare information.  Typically, this involves overriding the subject's consent directives.";
2935    case OVRER:
2936      return "To perform one or more operations on information to which the patient has not consented by authorized entities for treating a condition which poses an immediate threat to the patient's health and which requires immediate medical intervention.\r\n\n                        \n                           Usage Notes: The patient is unable to provide consent, but the provider determines they have an urgent healthcare related reason to access the record.";
2937    case OVRINCOMP:
2938      return "To perform one or more operations on information to which the patient has not consented because deemed incompetent to provide consent.\r\n\n                        \n                           Usage Note: Maps to v2 CON-16 Subject Competence Indicator (ID) 01791 Definition: Identifies whether the subject was deemed competent to provide consent. Refer to table HL7 Table 0136 - Yes/No Indicator and CON-23 Non-Subject Consenter Reason User-defined Table 0502 - Non-Subject Consenter Reason code NC \"Subject is not competent to consent\".";
2939    case OVRPJ:
2940      return "To perform one or more operations on information to which the patient declined to consent for providing health care.\r\n\n                        \n                           Usage Notes: The patient, while able to give consent, has not.  However the provider believes it is in the patient's interest to access the record without patient consent.";
2941    case OVRPS:
2942      return "To perform one or more operations on information to which the patient has not consented for public safety reasons.\r\n\n                        \n                           Usage Notes: The patient, while able to give consent, has not.  However, the provider believes that access to masked patient information is justified because of concerns related to public safety.";
2943    case OVRTPS:
2944      return "To perform one or more operations on information to which the patient has not consented for third party safety.  \r\n\n                        \n                           Usage Notes: The patient, while able to give consent, has not.  However, the provider believes that access to masked patient information is justified because of concerns related to the health and safety of one or more third parties.";
2945    case PURPOSEOFUSE:
2946      return "Reason for performing one or more operations on information, which may be permitted by source system's security policy in accordance with one or more privacy policies and consent directives.\r\n\n                        \n                           Usage Notes: The rationale or purpose for an act relating to the management of personal health information, such as collecting personal health information for research or public health purposes.";
2947    case HMARKT:
2948      return "To perform one or more operations on information for marketing services and products related to health care.";
2949    case HOPERAT:
2950      return "To perform one or more operations on information used for conducting administrative and contractual activities related to the provision of health care.";
2951    case CAREMGT:
2952      return "To perform analytics, evaluation and other secondary uses of treatment and healthcare related information to manage the quality, efficacy, patient safety, population health, and cost effectiveness of healthcare delivery. Explicitly excludes the use of information to organize the delivery of health care for care coordination and case management, or to provide healthcare treatment.\r\n\n                        \n                           Usage Note: The concept of care management is narrower than the list of activities related to more general organizational objectives such as provider profiling, education of healthcare and non-healthcare professionals; insurance underwriting, premium rating, reinsurance; organizational legal, medical review, auditing, compliance and fraud and abuse detection; business planning, development, and restructuring; fund-raising; and customer service.\r\n\n                        \n                           Map: Maps to ISO 14265 Classification Term \"Health service management and quality assurance\" described as \"To inform persons or processes responsible for determining the availability, quality, safety, equity and cost-effectiveness of health care services.\" \r\n\n                        There is a semantic gap in concepts.  This classification term  is described as activities, i.e., \"to inform persons\" or \"to inform processes\" rather than the rationale for performing actions/operations on information related to the activity.";
2953    case DONAT:
2954      return "To perform one or more operations on information used for cadaveric organ, eye or tissue donation.";
2955    case FRAUD:
2956      return "To perform one or more operations on information used for fraud detection and prevention processes.";
2957    case GOV:
2958      return "To perform one or more operations on information used within government processes.";
2959    case HACCRED:
2960      return "To perform one or more operations on information for conducting activities related to meeting accreditation criteria.";
2961    case HCOMPL:
2962      return "To perform one or more operations on information used for conducting activities required to meet a mandate.";
2963    case HDECD:
2964      return "To perform one or more operations on information used for handling deceased patient matters.";
2965    case HDIRECT:
2966      return "To perform one or more operation operations on information used to manage a patient directory.\r\n\n                        \n                           Examples: \n                        \r\n\n                        \n                           facility\n                           enterprise\n                           payer\n                           health information exchange patient directory";
2967    case HDM:
2968      return "To perform one or more actions on information used for conducting administrative and contractual activities by or on behalf of organizational entities responsible for delivery of  an individual's benefits in a healthcare program, health plan or insurance.   Explicitly excludes the use of information to organize the delivery of health care for care coordination and case management, or to provide healthcare treatment.\n\r\n\n                        \n                           Usage Note: Examples of activities conducted under this purpose of use: provider profiling, risk adjustment, underwriting, fraud and abuse, quality improvement population health and care management. Aligns with HIPAA Operation POU minus coordination of care or other treatment related activities. Similar to the description in SAMHSA Confidentiality of Substance Use Disorder Patient Records Supplemental notice of proposed rulemaking.\r\n\n                        \n                           Map: Maps to ISO 14265 Classification Term  \"Administration of care for an individual subject of care\" described as \"To inform persons or processes responsible for enabling the availability of resources or funding or permissions for providing health care services to the subject of care.\"\r\n\n                        However, this classification term is described as activities, i.e., \"to inform persons\" or \"to inform processes\" rather than the rationale for performing actions/operations on information related to the activity.";
2969    case HLEGAL:
2970      return "To perform one or more operations on information for conducting activities required by legal proceeding.";
2971    case HOUTCOMS:
2972      return "To perform one or more operations on information used for assessing results and comparative effectiveness achieved by health care practices and interventions.";
2973    case HPRGRP:
2974      return "To perform one or more operations on information used for conducting activities to meet program accounting requirements.";
2975    case HQUALIMP:
2976      return "To perform one or more operations on information used for conducting administrative activities to improve health care quality.";
2977    case HSYSADMIN:
2978      return "To perform one or more operations on information to administer the electronic systems used for the delivery of health care.";
2979    case LABELING:
2980      return "To perform one or more operations on information to assign, persist, and manage labels to healthcare data to characterize various aspects, such as its security classification, sensitivity, compartment, integrity, and provenance; applicable privacy, consent, security, provenance, and trust policies; and handling caveats such as purpose of use, obligations, and refrain policies.\r\n\n                        Label management includes classification of target data by constructing and binding of a label set per applicable policies, security policy information file semantics, and classification guides.  Label management also includes process and procedures for subsequent revision of a label for, e.g., reclassification, downgrading classification, and declassification.\r\n\n                        Label revisions may be triggered by, e.g., expiry of classification period; changes in applicable policy, e.g., revocation of a consent directive; or changes in the governing policy domain in which the data is relocated or a copy of the data is sent.  If a label is revised, an audit log should be kept and the provenance of the label changes should be tracked.";
2981    case METAMGT:
2982      return "To perform one or more operations on information to assign, persist, and manage metadata to healthcare data to characterize various aspects used for its indexing, discovery, retrieval, and processing by systems, applications, and end users.  For example, master index identifier, media type, and location.";
2983    case MEMADMIN:
2984      return "To perform one or more operations on information to administer health care coverage to an enrollee under a policy or program.";
2985    case MILCDM:
2986      return "To perform one or more operations on information for conducting activities required by military processes, procedures, policies, or law.";
2987    case PATADMIN:
2988      return "To perform one or more operations on information used for operational activities conducted to administer the delivery of health care to a patient.";
2989    case PATSFTY:
2990      return "To perform one or more operations on information in processes related to ensuring the safety of health care.";
2991    case PERFMSR:
2992      return "To perform one or more operations on information used for monitoring performance of recommended health care practices and interventions.";
2993    case RECORDMGT:
2994      return "To perform one or more operations on information used within the health records management process.";
2995    case SYSDEV:
2996      return "To perform one or more operations on information to design, develop, implement, test, or deploy a healthcare system or application.";
2997    case HTEST:
2998      return "To perform one or more operations on information that is simulated or synthetic health data used for testing system capabilities outside of a production or operational system environment.\r\n\n                        \n                           Usage Note: Data marked with a HTEST security label enables an access control system to permit interfacing systems or end users provisioned with a clearance, which includes a HTEST purpose of use attribute, to test, verify, or validate that a system or application will operate in production as intended based on design specifications.";
2999    case TRAIN:
3000      return "To perform one or more operations on information used in training and education.";
3001    case HPAYMT:
3002      return "To perform one or more operations on information for conducting financial or contractual activities related to payment for provision of health care.";
3003    case CLMATTCH:
3004      return "To perform one or more operations on information for provision of additional clinical evidence in support of a request for coverage or payment for health services.";
3005    case COVAUTH:
3006      return "To perform one or more operations on information for conducting prior authorization or predetermination of coverage for services.";
3007    case COVERAGE:
3008      return "To perform one or more operations on information for conducting activities related to coverage under a program or policy.";
3009    case ELIGDTRM:
3010      return "To perform one or more operations on information used for conducting eligibility determination for coverage in a program or policy.  May entail review of financial status or disability assessment.";
3011    case ELIGVER:
3012      return "To perform one or more operations on information used for conducting eligibility verification of coverage in a program or policy.  May entail provider contacting coverage source (e.g., government health program such as workers compensation or health plan) for confirmation of enrollment, eligibility for specific services, and any applicable copays.";
3013    case ENROLLM:
3014      return "To perform one or more operations on information used for enrolling a covered party in a program or policy.  May entail recording of covered party's and any dependent's demographic information and benefit choices.";
3015    case MILDCRG:
3016      return "To perform one or more operations on information for the process of releasing military personnel from their service obligations, which may include determining service merit, discharge benefits, and disability assessment.";
3017    case REMITADV:
3018      return "To perform one or more operations on information about the amount remitted for a health care claim.";
3019    case HRESCH:
3020      return "To perform one or more operations on information for conducting scientific investigations to obtain health care knowledge.  Use of the data iincludes basic and applied research such as biomedical, population origin or ancestry, translational research, and disease, discipline, specialty specific healthcare research and clinical trial research.";
3021    case BIORCH:
3022      return "To perform one or more operations on information for conducting scientific investigations to obtain health care knowledge. Use of the data must be related to specified biomedical basic or applied research.  For example, research on rare plants to determine whether biologic properties may be useful for pharmaceutical development. May be used in combination with clinical trial and other healthcare research purposes of use.";
3023    case CLINTRCH:
3024      return "To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge.";
3025    case CLINTRCHNPC:
3026      return "To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge without provision of patient care. May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research. For example, a clinical trial conducted on laboratory specimens collected from a specified patient population.";
3027    case CLINTRCHPC:
3028      return "To perform one or more operations on information for conducting scientific investigations with patient care in accordance with clinical trial protocols to obtain health care knowledge. May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research. For example, an \"off-label\" drug used for cancer therapy administer to a specified patient population.";
3029    case PRECLINTRCH:
3030      return "To perform one or more operations on information in preparation for conducting scientific investigation to obtain health care knowledge, such as research on animals or review of patient health records, to determine the feasibility of a clinical trial study; assist with protocol design; or in preparation for institutional review board or ethics committee approval process.  May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research.";
3031    case DSRCH:
3032      return "To perform one or more operations on information for conducting scientific investigations to obtain health care knowledge. Use of the data must be related to specified conditions, diagnosis, or disease healthcare research.  For example, conducting cancer research by testing reaction of tumor cells to certain biologics. May be used in combination with clinical trial and other healthcare research purposes of use.";
3033    case POARCH:
3034      return "To perform one or more operations on information, including genealogical pedigrees, historical records, surveys, family health data, health records, and genetic information, for conducting scientific investigations to obtain health care knowledge. Use of the data must be related to population origins and/or ancestry healthcare research.  For example, gathering genetic specimens from a specific population in order to determine the ancestry and population origins of that group. May be used in combination with clinical trial and other healthcare research purposes of use.";
3035    case TRANSRCH:
3036      return "To perform one or more operations on information for conducting scientific investigations to obtain health care knowledge related to evidence based medicine during the course of providing healthcare treatment.  Sometimes referred to as \"bench to bedside\", which is the iterative feedback loop between healthcare research and clinical trials with input from information collected in the course of routine provision of healthcare. For example, by extending a patient encounter to conduct a survey related to a research topic such as attitudes about use of a wellness device that a patient agreed to use. May be used in combination with clinical trial and other healthcare research purposes of use.";
3037    case PATRQT:
3038      return "To perform one or more operations on information in response to a patient's request.";
3039    case FAMRQT:
3040      return "To perform one or more operations on information in response to a request by a family member authorized by the patient.";
3041    case PWATRNY:
3042      return "To perform one or more operations on information in response to a request by a person appointed as the patient's legal representative.";
3043    case SUPNWK:
3044      return "To perform one or more operations on information in response to a request by a person authorized by the patient.";
3045    case PUBHLTH:
3046      return "To perform one or more operations on information for conducting public health activities, such as the reporting of notifiable conditions.";
3047    case DISASTER:
3048      return "To perform one or more operations on information used for provision of immediately needed health care to a population of living subjects located in a disaster zone.";
3049    case THREAT:
3050      return "To perform one or more operations on information used to prevent injury or disease to living subjects who may be the target of violence.";
3051    case TREAT:
3052      return "To perform one or more operations on information for provision of health care.";
3053    case CLINTRL:
3054      return "To perform health care as part of the clinical trial protocol.";
3055    case COC:
3056      return "To perform one or more actions on information in order to organize the provision and case management of an individualâ??s healthcare, including: Monitoring a person's goals, needs, and preferences; acting as the communication link between two or more participants concerned with a person's health and wellness; organizing and facilitating care activities and promoting self-management by advocating for, empowering, and educating a person; and ensuring safe, appropriate, non-duplicative, and effective integrated care.\r\n\n                        \n                           Usage Note: Use when describing these functions: 1. Monitoring a personâ??s goals, needs, and preferences.   2. Acting as the communication link between two or more participants concerned with a person's health and wellness.  3. Organizing and facilitating care activities and promoting self-management by advocating for, empowering, and educating a person.  4. Ensuring safe, appropriate, non-duplicative, and effective integrated care.\r\n\n                        The goal is to clearly differentiate this type of coordination of care from HIPAA Operations by specifying that these actions on information are undertaken in the provision of healthcare treatment.\r\n\n                        For similar uses of this concept, see SAMHSA Confidentiality of Substance Use Disorder Patient Records Supplemental notice of proposed rulemaking, which differentiates concepts of care coordination and case management for the provision of treatment as specifically distinct from activities related to health care delivery management and the operations of organizational entities involved in the delivery of healthcare.\r\n\n                        \n                           Map: Maps to ISO 14265 Classification Terms: \"Support of care activities within the provider organisation for an individual subject of care\" described as \"To inform persons or processes enabling others to provide health care services to the subject of care.\"  \"Subject of Care Uses\" described as \"To inform the subject of care in support of his or her own interests.\"";
3057    case ETREAT:
3058      return "To perform one or more operations on information for provision of immediately needed health care for an emergent condition.";
3059    case BTG:
3060      return "To perform policy override operations on information for provision of immediately needed health care for an emergent condition affecting potential harm, death or patient safety by end users who are not provisioned for this purpose of use.  Includes override of organizational provisioning policies and may include override of subject of care consent directive restricting access.\r\n\n                        \n                           Map: Partially Maps to ISO 14265 Classification Term \"Emergency care provision to an individual subject of care\" described as \"To inform persons needing to provide health care services to the subject of care urgently, possibly needing to over-ride the  policies and consents pertaining to Purpose 1 above.\" Purpose 1 is equivalent to HL7 treatment purpose of use: \"Clinical care provision to an individual subject of care\" described as \"To inform persons or processes responsible for providing health care services to the subject of care.\"\nThe ISO description conflates both of the proposed specializations of HL7 ETREAT: break the glass and the typically broader access to health information normally available to providers who are provisioned for emergency workflows on a regular basis, e.g., Emergency Room providers. Examples of greater access than is normally accessible by providers based on the need to know are access to sensitive information for which access typically requires a patient's consent.  This is not an override of a patient's dissent to disclose sensitive information in cases where the applicable policy waives the need for that consent to access this information. In US, Title 38 Section 7332 and 42 CFR Part 2 both permit emergency access without the need to override a patient's consent directive; rather, this access is a limitation to the patient's right to dissent from disclosure.";
3061    case ERTREAT:
3062      return "To perform one or more operations on information for provision of immediately needed health care for an emergent condition in an emergency room or similar emergent care context by end users provisioned for this purpose, which does not constitute as policy override such as in a \"Break the Glass\" purpose of use.\r\n\n                        Map:Partially Maps to ISO 14265 Classification Term \"Emergency care provision to an individual subject of care\" described as \"To inform persons needing to provide health care services to the subject of care urgently, possibly needing to over-ride the  policies and consents pertaining to Purpose 1 above.\" Purpose 1 is equivalent to HL7 treatment purpose of use: \"Clinical care provision to an individual subject of care\" described as \"To inform persons or processes responsible for providing health care services to the subject of care.\"\r\n\n                        The ISO description conflates both of the proposed specializations of HL7 ETREAT: break the glass and the typically broader access to health information normally available to providers who are provisioned for emergency workflows on a regular basis, e.g., Emergency Room providers. Examples of greater access than is normally accessible by providers based on the need to know are access to sensitive information for which access typically requires a patient's consent.  This is not an override of a patient's dissent to disclose sensitive information in cases where the applicable policy waives the need for that consent to access this information. In US, Title 38 Section 7332 and 42 CFR Part 2 both permit emergency access without the need to override a patient's consent directive; rather, this access is a limitation to the patient's right to dissent from disclosure. \r\n\n                        There is a semantic gap in concepts.  This classification term is described as activities â??to inform personsâ?? rather than the rationale for performing actions/operations on information related to the activity.";
3063    case POPHLTH:
3064      return "To perform one or more operations on information for provision of health care to a population of living subjects, e.g., needle exchange program.";
3065    case _ACTINFORMATIONPRIVACYREASON:
3066      return "Description:The rationale or purpose for an act relating to the management of personal information, such as disclosing personal tax information for the purpose of complying with a court order.";
3067    case MARKT:
3068      return "Description:";
3069    case OPERAT:
3070      return "Description:Administrative and contractual processes required to support an activity, product, or service";
3071    case LEGAL:
3072      return "Definition:To provide information as a result of a subpoena.";
3073    case ACCRED:
3074      return "Description:Operational activities conducted for the purposes of meeting of criteria defined by an accrediting entity for an activity, product, or service";
3075    case COMPL:
3076      return "Description:Operational activities required to meet a mandate related to an activity, product, or service";
3077    case ENADMIN:
3078      return "Description:Operational activities conducted to administer information relating to entities involves with an activity, product, or service";
3079    case OUTCOMS:
3080      return "Description:Operational activities conducted for the purposes of assessing the results of an activity, product, or service";
3081    case PRGRPT:
3082      return "Description:Operational activities conducted to meet program accounting requirements related to an activity, product, or service";
3083    case QUALIMP:
3084      return "Description:Operational activities conducted for the purposes of improving the quality of an activity, product, or service";
3085    case SYSADMN:
3086      return "Description:Operational activities conducted to administer the electronic systems used for an activity, product, or service";
3087    case PAYMT:
3088      return "Description:Administrative, financial, and contractual processes related to payment for an activity, product, or service";
3089    case RESCH:
3090      return "Description:Investigative activities conducted for the purposes of obtaining knowledge";
3091    case SRVC:
3092      return "Description:Provision of a service, product, or capability to an individual or organization";
3093    case _ACTINVALIDREASON:
3094      return "Description: Types of reasons why a substance is invalid for use.";
3095    case ADVSTORAGE:
3096      return "Description: Storage conditions caused the substance to be ineffective.";
3097    case COLDCHNBRK:
3098      return "Description: Cold chain was not maintained for the substance.";
3099    case EXPLOT:
3100      return "Description: The lot from which the substance was drawn was expired.";
3101    case OUTSIDESCHED:
3102      return "The substance was administered outside of the recommended schedule or practice.";
3103    case PRODRECALL:
3104      return "Description: The substance was recalled by the manufacturer.";
3105    case _ACTINVOICECANCELREASON:
3106      return "Domain specifies the codes used to describe reasons why a Provider is cancelling an Invoice or Invoice Grouping.";
3107    case INCCOVPTY:
3108      return "The covered party (patient) specified with the Invoice is not correct.";
3109    case INCINVOICE:
3110      return "The billing information, specified in the Invoice Elements, is not correct.  This could include incorrect costing for items included in the Invoice.";
3111    case INCPOLICY:
3112      return "The policy specified with the Invoice is not correct.  For example, it may belong to another Adjudicator or Covered Party.";
3113    case INCPROV:
3114      return "The provider specified with the Invoice is not correct.";
3115    case _ACTNOIMMUNIZATIONREASON:
3116      return "A coded description of the reason for why a patient did not receive a scheduled immunization.\r\n\n                        (important for public health strategy";
3117    case IMMUNE:
3118      return "Definition:Testing has shown that the patient already has immunity to the agent targeted by the immunization.";
3119    case MEDPREC:
3120      return "Definition:The patient currently has a medical condition for which the vaccine is contraindicated or for which precaution is warranted.";
3121    case OSTOCK:
3122      return "Definition:There was no supply of the product on hand to perform the service.";
3123    case PATOBJ:
3124      return "Definition:The patient or their guardian objects to receiving the vaccine.";
3125    case PHILISOP:
3126      return "Definition:The patient or their guardian objects to receiving the vaccine because of philosophical beliefs.";
3127    case RELIG:
3128      return "Definition:The patient or their guardian objects to receiving the vaccine on religious grounds.";
3129    case VACEFF:
3130      return "Definition:The intended vaccine has expired or is otherwise believed to no longer be effective.\r\n\n                        \n                           Example:Due to temperature exposure.";
3131    case VACSAF:
3132      return "Definition:The patient or their guardian objects to receiving the vaccine because of concerns over its safety.";
3133    case _ACTSUPPLYFULFILLMENTREFUSALREASON:
3134      return "Indicates why a fulfiller refused to fulfill a supply order, and considered it important to notify other providers of their decision.  E.g. \"Suspect fraud\", \"Possible abuse\", \"Contraindicated\".\r\n\n                        (used when capturing 'refusal to fill' annotations)";
3135    case FRR01:
3136      return "Definition:The order has been stopped by the prescriber but this fact has not necessarily captured electronically.\r\n\n                        \n                           Example:A verbal stop, a fax, etc.";
3137    case FRR02:
3138      return "Definition:Order has not been fulfilled within a reasonable amount of time, and may not be current.";
3139    case FRR03:
3140      return "Definition:Data needed to safely act on the order which was expected to become available independent of the order is not yet available\r\n\n                        \n                           Example:Lab results, diagnostic imaging, etc.";
3141    case FRR04:
3142      return "Definition:Product not available or manufactured. Cannot supply.";
3143    case FRR05:
3144      return "Definition:The dispenser has ethical, religious or moral objections to fulfilling the order/dispensing the product.";
3145    case FRR06:
3146      return "Definition:Fulfiller not able to provide appropriate care associated with fulfilling the order.\r\n\n                        \n                           Example:Therapy requires ongoing monitoring by fulfiller and fulfiller will be ending practice, leaving town, unable to schedule necessary time, etc.";
3147    case _CLINICALRESEARCHEVENTREASON:
3148      return "Definition:Specifies the reason that an event occurred in a clinical research study.";
3149    case RET:
3150      return "Definition:The event occurred so that a test or observation performed at a prior event could be performed again due to conditions set forth in the protocol.";
3151    case SCH:
3152      return "Definition:The event occurred due to it being scheduled in the research protocol.";
3153    case TRM:
3154      return "Definition:The event occurred in order to terminate the subject's participation in the study.";
3155    case UNS:
3156      return "Definition:The event that occurred was initiated by a study participant (e.g. the subject or the investigator), and did not occur for protocol reasons.";
3157    case _CLINICALRESEARCHOBSERVATIONREASON:
3158      return "Definition:SSpecifies the reason that a test was performed or observation collected in a clinical research study.\r\n\n                        \n                           Note:This set of codes are not strictly reasons, but are used in the currently Normative standard.  Future revisions of the specification will model these as ActRelationships and thes codes may subsequently be retired.  Thus, these codes should not be used for new specifications.";
3159    case NPT:
3160      return "Definition:The observation or test was neither defined or scheduled in the study protocol.";
3161    case PPT:
3162      return "Definition:The observation or test occurred due to it being defined in the research protocol, and during an activity or event that was scheduled in the protocol.";
3163    case UPT:
3164      return ":The observation or test occurred as defined in the research protocol, but at a point in time not specified in the study protocol.";
3165    case _COMBINEDPHARMACYORDERSUSPENDREASONCODE:
3166      return "Description:Indicates why the prescription should be suspended.";
3167    case ALTCHOICE:
3168      return "Description:This therapy has been ordered as a backup to a preferred therapy.  This order will be released when and if the preferred therapy is unsuccessful.";
3169    case CLARIF:
3170      return "Description:Clarification is required before the order can be acted upon.";
3171    case DRUGHIGH:
3172      return "Description:The current level of the medication in the patient's system is too high.  The medication is suspended to allow the level to subside to a safer level.";
3173    case HOSPADM:
3174      return "Description:The patient has been admitted to a care facility and their community medications are suspended until hospital discharge.";
3175    case LABINT:
3176      return "Description:The therapy would interfere with a planned lab test and the therapy is being withdrawn until the test is completed.";
3177    case NONAVAIL:
3178      return "Description:Patient not available for a period of time due to a scheduled therapy, leave of absence or other reason.";
3179    case PREG:
3180      return "Description:The patient is pregnant or breast feeding.  The therapy will be resumed when the pregnancy is complete and the patient is no longer breastfeeding.";
3181    case SALG:
3182      return "Description:The patient is believed to be allergic to a substance that is part of the therapy and the therapy is being temporarily withdrawn to confirm.";
3183    case SDDI:
3184      return "Description:The drug interacts with a short-term treatment that is more urgently required.  This order will be resumed when the short-term treatment is complete.";
3185    case SDUPTHER:
3186      return "Description:Another short-term co-occurring therapy fulfills the same purpose as this therapy.  This therapy will be resumed when the co-occuring therapy is complete.";
3187    case SINTOL:
3188      return "Description:The patient is believed to have an intolerance to a substance that is part of the therapy and the therapy is being temporarily withdrawn to confirm.";
3189    case SURG:
3190      return "Description:The drug is contraindicated for patients receiving surgery and the patient is scheduled to be admitted for surgery in the near future.  The drug will be resumed when the patient has sufficiently recovered from the surgery.";
3191    case WASHOUT:
3192      return "Description:The patient was previously receiving a medication contraindicated with the current medication.  The current medication will remain on hold until the prior medication has been cleansed from their system.";
3193    case _CONTROLACTNULLIFICATIONREASONCODE:
3194      return "Description:Identifies reasons for nullifying (retracting) a particular control act.";
3195    case ALTD:
3196      return "Description:The decision on which the recorded information was based was changed before the decision had an effect.\r\n\n                        \n                           Example:Aborted prescription before patient left office, released prescription before suspend took effect.";
3197    case EIE:
3198      return "Description:The information was recorded incorrectly or was recorded in the wrong record.";
3199    case NORECMTCH:
3200      return "Description: There is no match for the record in the database.";
3201    case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE:
3202      return "Description: Reasons to refuse a transaction to be undone.";
3203    case INRQSTATE:
3204      return "The record is already in the requested state.";
3205    case NOMATCH:
3206      return "Description: There is no match.";
3207    case NOPRODMTCH:
3208      return "Description: There is no match for the product in the master file repository.";
3209    case NOSERMTCH:
3210      return "Description: There is no match for the service in the master file repository.";
3211    case NOVERMTCH:
3212      return "Description: There is no match for the record and version.";
3213    case NOPERM:
3214      return "Description: There is no permission.";
3215    case NOUSERPERM:
3216      return "Definition:The user does not have permission";
3217    case NOAGNTPERM:
3218      return "Description: The agent does not have permission.";
3219    case NOUSRPERM:
3220      return "Description: The user does not have permission.";
3221    case WRNGVER:
3222      return "Description: The record and version requested to update is not the current version.";
3223    case _CONTROLACTREASON:
3224      return "Identifies why a specific query, request, or other trigger event occurred.";
3225    case _MEDICATIONORDERABORTREASONCODE:
3226      return "Description:Indicates the reason the medication order should be aborted.";
3227    case DISCONT:
3228      return "Description:The medication is no longer being manufactured or is otherwise no longer available.";
3229    case INEFFECT:
3230      return "Description:The therapy has been found to not have the desired therapeutic benefit on the patient.";
3231    case MONIT:
3232      return "Description:Monitoring the patient while taking the medication, the decision has been made that the therapy is no longer appropriate.";
3233    case NOREQ:
3234      return "Description:The underlying condition has been resolved or has evolved such that a different treatment is no longer needed.";
3235    case NOTCOVER:
3236      return "Description:The product does not have (or no longer has) coverage under the patientaTMs insurance policy.";
3237    case PREFUS:
3238      return "Description:The patient refused to take the product.";
3239    case RECALL:
3240      return "Description:The manufacturer or other agency has requested that stocks of a medication be removed from circulation.";
3241    case REPLACE:
3242      return "Description:Item in current order is no longer in use as requested and a new one has/will be created to replace it.";
3243    case DOSECHG:
3244      return "Description:The medication is being re-prescribed at a different dosage.";
3245    case REPLACEFIX:
3246      return "Description:Current order was issued with incorrect data and a new order has/will be created to replace it.";
3247    case UNABLE:
3248      return "Description:<The patient is not (or is no longer) able to use the medication in a manner prescribed.\r\n\n                        \n                           Example:CanaTMt swallow.";
3249    case _MEDICATIONORDERRELEASEREASONCODE:
3250      return "Definition:A collection of concepts that indicate why the prescription should be released from suspended state.";
3251    case HOLDDONE:
3252      return "Definition:The original reason for suspending the medication has ended.";
3253    case HOLDINAP:
3254      return "Definition:";
3255    case _MODIFYPRESCRIPTIONREASONTYPE:
3256      return "Types of reason why a prescription is being changed.";
3257    case ADMINERROR:
3258      return "Order was created with incorrect data and is changed to reflect the intended accuracy of the order.";
3259    case CLINMOD:
3260      return "Order is changed based on a clinical reason.";
3261    case _PHARMACYSUPPLYEVENTABORTREASON:
3262      return "Definition:Identifies why the dispense event was not completed.";
3263    case CONTRA:
3264      return "Definition:Contraindication identified";
3265    case FOABORT:
3266      return "Definition:Order to be fulfilled was aborted";
3267    case FOSUSP:
3268      return "Definition:Order to be fulfilled was suspended";
3269    case NOPICK:
3270      return "Definition:Patient did not come to get medication";
3271    case PATDEC:
3272      return "Definition:Patient changed their mind regarding obtaining medication";
3273    case QUANTCHG:
3274      return "Definition:Patient requested a revised quantity of medication";
3275    case _PHARMACYSUPPLYEVENTSTOCKREASONCODE:
3276      return "Definition:A collection of concepts that indicates the reason for a \"bulk supply\" of medication.";
3277    case FLRSTCK:
3278      return "Definition:The bulk supply is issued to replenish a ward for local dispensing.  (Includes both mobile and fixed-location ward stocks.)";
3279    case LTC:
3280      return "Definition:The bulk supply will be administered within a long term care facility.";
3281    case OFFICE:
3282      return "Definition:The bulk supply is intended for general clinician office use.";
3283    case PHARM:
3284      return "Definition:The bulk supply is being transferred to another dispensing facility to.\r\n\n                        \n                           Example:Alleviate a temporary shortage.";
3285    case PROG:
3286      return "Definition:The bulk supply is intended for dispensing according to a specific program.\r\n\n                        \n                           Example:Mass immunization.";
3287    case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE:
3288      return "Definition:A collection of concepts that identifies why a renewal prescription has been refused.";
3289    case ALREADYRX:
3290      return "Definition:Patient has already been given a new (renewal) prescription.";
3291    case FAMPHYS:
3292      return "Definition:Request for further authorization must be done through patient's family physician.";
3293    case MODIFY:
3294      return "Definition:Therapy has been changed and new prescription issued";
3295    case NEEDAPMT:
3296      return "Definition:Patient must see prescriber prior to further fills.";
3297    case NOTAVAIL:
3298      return "Definition:Original prescriber is no longer available to prescribe and no other prescriber has taken responsibility for the patient.";
3299    case NOTPAT:
3300      return "Definition:Patient no longer or has never been under this prescribers care.";
3301    case ONHOLD:
3302      return "Definition:This medication is on hold.";
3303    case PRNA:
3304      return "Description:This product is not available or manufactured.";
3305    case STOPMED:
3306      return "Renewing or original prescriber informed patient to stop using the medication.";
3307    case TOOEARLY:
3308      return "Definition:The patient should have medication remaining.";
3309    case _SUPPLYORDERABORTREASONCODE:
3310      return "Definition:A collection of concepts that indicates why the prescription should no longer be allowed to be dispensed (but can still administer what is already being dispensed).";
3311    case IMPROV:
3312      return "Definition:The patient's medical condition has nearly abated.";
3313    case INTOL:
3314      return "Description:The patient has an intolerance to the medication.";
3315    case NEWSTR:
3316      return "Definition:The current medication will be replaced by a new strength of the same medication.";
3317    case NEWTHER:
3318      return "Definition:A new therapy will be commenced when current supply exhausted.";
3319    case _GENERICUPDATEREASONCODE:
3320      return "Description:Identifies why a change is being made to a  record.";
3321    case CHGDATA:
3322      return "Description:Information has changed since the record was created.";
3323    case FIXDATA:
3324      return "Description:Previously recorded information was erroneous and is being corrected.";
3325    case MDATA:
3326      return "Information is combined into the record.";
3327    case NEWDATA:
3328      return "Description:New information has become available to supplement the record.";
3329    case UMDATA:
3330      return "Information is separated from the record.";
3331    case _PATIENTPROFILEQUERYREASONCODE:
3332      return "Definition:A collection of concepts identifying why the patient's profile is being queried.";
3333    case ADMREV:
3334      return "Definition: To evaluate for service authorization, payment, reporting, or performance/outcome measures.";
3335    case PATCAR:
3336      return "Definition:To obtain records as part of patient care.";
3337    case PATREQ:
3338      return "Definition:Patient requests information from their profile.";
3339    case PRCREV:
3340      return "Definition:To evaluate the provider's current practice for professional-improvement reasons.";
3341    case REGUL:
3342      return "Description:Review for the purpose of regulatory compliance.";
3343    case RSRCH:
3344      return "Definition:To provide research data, as authorized by the patient.";
3345    case VALIDATION:
3346      return "Description:To validate the patient's record.\r\n\n                        \n                           Example:Merging or unmerging records.";
3347    case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE:
3348      return "Definition:Indicates why the request to transfer a prescription from one dispensing facility to another has been refused.";
3349    case LOCKED:
3350      return "Definition:The prescription may not be reassigned from the original pharmacy.";
3351    case UNKWNTARGET:
3352      return "Definition:The target facility does not recognize the dispensing facility.";
3353    case _REFUSALREASONCODE:
3354      return "Description: Identifies why a request to add (or activate) a record is being refused.  Examples include the receiving system not able to match the identifier and find that record in the receiving system, having no permission, or a detected issue exists which precludes the requested action.";
3355    case _SCHEDULINGACTREASON:
3356      return "Reasons for cancelling or rescheduling an Appointment";
3357    case BLK:
3358      return "The time slots previously allocated are now blocked and no longer available for booking Appointments";
3359    case DEC:
3360      return "The Patient is deceased";
3361    case FIN:
3362      return "Patient unable to pay and not covered by insurance";
3363    case MED:
3364      return "The medical condition of the Patient has changed";
3365    case MTG:
3366      return "The Physician is in a meeting.  For example, he/she may request administrative time to talk to family after appointment";
3367    case PHY:
3368      return "The Physician requested the action";
3369    case _STATUSREVISIONREFUSALREASONCODE:
3370      return "Indicates why the act revision (status update) is being refused.";
3371    case FILLED:
3372      return "Ordered quantity has already been completely fulfilled.";
3373    case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE:
3374      return "Definition:Indicates why the requested authorization to prescribe or dispense a medication has been refused.";
3375    case PATINELIG:
3376      return "Definition:Patient not eligible for drug";
3377    case PROTUNMET:
3378      return "Definition:Patient does not meet required protocol";
3379    case PROVUNAUTH:
3380      return "Definition:Provider is not authorized to prescribe or dispense";
3381    case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON:
3382      return "Reasons why substitution of a substance administration request is not permitted.";
3383    case ALGINT:
3384      return "Definition: Patient has had a prior allergic intolerance response to alternate product or one of its components.";
3385    case COMPCON:
3386      return "Definition: Patient has compliance issues with medication such as differing appearance, flavor, size, shape or consistency.";
3387    case THERCHAR:
3388      return "The prescribed product has specific clinical release or other therapeutic characteristics not shared by other substitutable medications.";
3389    case TRIAL:
3390      return "Definition: The specific manufactured drug is part of a clinical trial.";
3391    case _SUBSTANCEADMINSUBSTITUTIONREASON:
3392      return "SubstanceAdminSubstitutionReason";
3393    case CT:
3394      return "Indicates that the decision to substitute or to not substitute was driven by a desire to maintain consistency with a pre-existing therapy.  I.e. The performer provided the same item/service as had been previously provided rather than providing exactly what was ordered, or rather than substituting with a lower-cost equivalent.";
3395    case FP:
3396      return "Indicates that the decision to substitute or to not substitute was driven by a policy expressed within the formulary.";
3397    case OS:
3398      return "In the case of 'substitution', indicates that the substitution occurred because the ordered item was not in stock.  In the case of 'no substitution', indicates that a cheaper equivalent was not substituted because it was not in stock.";
3399    case RR:
3400      return "Indicates that the decision to substitute or to not substitute was driven by a jurisdictional regulatory requirement mandating or prohibiting substitution.";
3401    case _TRANSFERACTREASON:
3402      return "The explanation for why a patient is moved from one location to another within the organization";
3403    case ER:
3404      return "Moved to an error in placing the patient in the original location.";
3405    case RQ:
3406      return "Moved at the request of the patient.";
3407    case _ACTBILLABLESERVICEREASON:
3408      return "Definition: This domain is used to document reasons for providing a billable service; the billable services may include both clinical services and social services.";
3409    case _ACTBILLABLECLINICALSERVICEREASON:
3410      return "Reason for Clinical Service being performed.\r\n\n                        This domain excludes reasons specified by diagnosed conditions.\r\n\n                        Examples of values from this domain include duplicate therapy and fraudulent prescription.";
3411    case BONUS:
3412      return "";
3413    case CHD:
3414      return "Description:The level of coverage under the policy or program is available only to children";
3415    case DEP:
3416      return "Description:The level of coverage under the policy or program is available only to a subscriber's dependents.";
3417    case ECH:
3418      return "Description:The level of coverage under the policy or program is available to an employee and his or her children.";
3419    case EDU:
3420      return "";
3421    case EMP:
3422      return "Description:The level of coverage under the policy or program is available only to an employee.";
3423    case ESP:
3424      return "Description:The level of coverage under the policy or program is available to an employee and his or her spouse.";
3425    case FAM:
3426      return "Description:The level of coverage under the policy or program is available to a subscriber's family.";
3427    case IND:
3428      return "Description:The level of coverage under the policy or program is available to an individual.";
3429    case INVOICE:
3430      return "";
3431    case PROA:
3432      return "";
3433    case RECOV:
3434      return "";
3435    case RETRO:
3436      return "";
3437    case SPC:
3438      return "Description:The level of coverage under the policy or program is available to a subscriber's spouse and children";
3439    case SPO:
3440      return "Description:The level of coverage under the policy or program is available only to a subscribers spouse";
3441    case TRAN:
3442      return "";
3443    case NULL:
3444      return null;
3445    default:
3446      return "?";
3447    }
3448  }
3449
3450  public String getDisplay() {
3451    switch (this) {
3452    case _ACTACCOMMODATIONREASON:
3453      return "ActAccommodationReason";
3454    case ACCREQNA:
3455      return "Accommodation Requested Not Available";
3456    case FLRCNV:
3457      return "Floor Convenience";
3458    case MEDNEC:
3459      return "Medical Necessity";
3460    case PAT:
3461      return "Patient request";
3462    case _ACTCOVERAGEREASON:
3463      return "ActCoverageReason";
3464    case _ELIGIBILITYACTREASONCODE:
3465      return "EligibilityActReasonCode";
3466    case _ACTINELIGIBILITYREASON:
3467      return "ActIneligibilityReason";
3468    case COVSUS:
3469      return "coverage suspended";
3470    case DECSD:
3471      return "deceased";
3472    case REGERR:
3473      return "registered in error";
3474    case _COVERAGEELIGIBILITYREASON:
3475      return "CoverageEligibilityReason";
3476    case AGE:
3477      return "age eligibility";
3478    case CRIME:
3479      return "crime victim";
3480    case DIS:
3481      return "disability";
3482    case EMPLOY:
3483      return "employment benefit";
3484    case FINAN:
3485      return "financial eligibility";
3486    case HEALTH:
3487      return "health status";
3488    case MULTI:
3489      return "multiple criteria eligibility";
3490    case PNC:
3491      return "property and casualty condition";
3492    case STATUTORY:
3493      return "statutory eligibility";
3494    case VEHIC:
3495      return "motor vehicle accident victim";
3496    case WORK:
3497      return "work related";
3498    case _ACTINFORMATIONMANAGEMENTREASON:
3499      return "ActInformationManagementReason";
3500    case _ACTHEALTHINFORMATIONMANAGEMENTREASON:
3501      return "ActHealthInformationManagementReason";
3502    case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON:
3503      return "ActConsentInformationAccessOverrideReason";
3504    case OVRER:
3505      return "emergency treatment override";
3506    case OVRINCOMP:
3507      return "incompetency override";
3508    case OVRPJ:
3509      return "professional judgment override";
3510    case OVRPS:
3511      return "public safety override";
3512    case OVRTPS:
3513      return "third party safety override";
3514    case PURPOSEOFUSE:
3515      return "purpose of use";
3516    case HMARKT:
3517      return "healthcare marketing";
3518    case HOPERAT:
3519      return "healthcare operations";
3520    case CAREMGT:
3521      return "care management";
3522    case DONAT:
3523      return "donation";
3524    case FRAUD:
3525      return "fraud";
3526    case GOV:
3527      return "government";
3528    case HACCRED:
3529      return "health accreditation";
3530    case HCOMPL:
3531      return "health compliance";
3532    case HDECD:
3533      return "decedent";
3534    case HDIRECT:
3535      return "directory";
3536    case HDM:
3537      return "healthcare delivery management";
3538    case HLEGAL:
3539      return "legal";
3540    case HOUTCOMS:
3541      return "health outcome measure";
3542    case HPRGRP:
3543      return "health program reporting";
3544    case HQUALIMP:
3545      return "health quality improvement";
3546    case HSYSADMIN:
3547      return "health system administration";
3548    case LABELING:
3549      return "labeling";
3550    case METAMGT:
3551      return "metadata management";
3552    case MEMADMIN:
3553      return "member administration";
3554    case MILCDM:
3555      return "military command";
3556    case PATADMIN:
3557      return "patient administration";
3558    case PATSFTY:
3559      return "patient safety";
3560    case PERFMSR:
3561      return "performance measure";
3562    case RECORDMGT:
3563      return "records management";
3564    case SYSDEV:
3565      return "system development";
3566    case HTEST:
3567      return "test health data";
3568    case TRAIN:
3569      return "training";
3570    case HPAYMT:
3571      return "healthcare payment";
3572    case CLMATTCH:
3573      return "claim attachment";
3574    case COVAUTH:
3575      return "coverage authorization";
3576    case COVERAGE:
3577      return "coverage under policy or program";
3578    case ELIGDTRM:
3579      return "eligibility determination";
3580    case ELIGVER:
3581      return "eligibility verification";
3582    case ENROLLM:
3583      return "enrollment";
3584    case MILDCRG:
3585      return "military discharge";
3586    case REMITADV:
3587      return "remittance advice";
3588    case HRESCH:
3589      return "healthcare research";
3590    case BIORCH:
3591      return "biomedical research";
3592    case CLINTRCH:
3593      return "clinical trial research";
3594    case CLINTRCHNPC:
3595      return "clinical trial research without patient care";
3596    case CLINTRCHPC:
3597      return "clinical trial research with patient care";
3598    case PRECLINTRCH:
3599      return "preclinical trial research";
3600    case DSRCH:
3601      return "disease specific healthcare research";
3602    case POARCH:
3603      return "population origins or ancestry healthcare research";
3604    case TRANSRCH:
3605      return "translational healthcare research";
3606    case PATRQT:
3607      return "patient requested";
3608    case FAMRQT:
3609      return "family requested";
3610    case PWATRNY:
3611      return "power of attorney";
3612    case SUPNWK:
3613      return "support network";
3614    case PUBHLTH:
3615      return "public health";
3616    case DISASTER:
3617      return "disaster";
3618    case THREAT:
3619      return "threat";
3620    case TREAT:
3621      return "treatment";
3622    case CLINTRL:
3623      return "clinical trial";
3624    case COC:
3625      return "coordination of care";
3626    case ETREAT:
3627      return "Emergency Treatment";
3628    case BTG:
3629      return "break the glass";
3630    case ERTREAT:
3631      return "emergency room treatment";
3632    case POPHLTH:
3633      return "population health";
3634    case _ACTINFORMATIONPRIVACYREASON:
3635      return "ActInformationPrivacyReason";
3636    case MARKT:
3637      return "marketing";
3638    case OPERAT:
3639      return "operations";
3640    case LEGAL:
3641      return "subpoena";
3642    case ACCRED:
3643      return "accreditation";
3644    case COMPL:
3645      return "compliance";
3646    case ENADMIN:
3647      return "entity administration";
3648    case OUTCOMS:
3649      return "outcome measure";
3650    case PRGRPT:
3651      return "program reporting";
3652    case QUALIMP:
3653      return "quality improvement";
3654    case SYSADMN:
3655      return "system administration";
3656    case PAYMT:
3657      return "payment";
3658    case RESCH:
3659      return "research";
3660    case SRVC:
3661      return "service";
3662    case _ACTINVALIDREASON:
3663      return "ActInvalidReason";
3664    case ADVSTORAGE:
3665      return "adverse storage condition";
3666    case COLDCHNBRK:
3667      return "cold chain break";
3668    case EXPLOT:
3669      return "expired lot";
3670    case OUTSIDESCHED:
3671      return "administered outside recommended schedule or practice";
3672    case PRODRECALL:
3673      return "product recall";
3674    case _ACTINVOICECANCELREASON:
3675      return "ActInvoiceCancelReason";
3676    case INCCOVPTY:
3677      return "incorrect covered party as patient";
3678    case INCINVOICE:
3679      return "incorrect billing";
3680    case INCPOLICY:
3681      return "incorrect policy";
3682    case INCPROV:
3683      return "incorrect provider";
3684    case _ACTNOIMMUNIZATIONREASON:
3685      return "ActNoImmunizationReason";
3686    case IMMUNE:
3687      return "immunity";
3688    case MEDPREC:
3689      return "medical precaution";
3690    case OSTOCK:
3691      return "product out of stock";
3692    case PATOBJ:
3693      return "patient objection";
3694    case PHILISOP:
3695      return "philosophical objection";
3696    case RELIG:
3697      return "religious objection";
3698    case VACEFF:
3699      return "vaccine efficacy concerns";
3700    case VACSAF:
3701      return "vaccine safety concerns";
3702    case _ACTSUPPLYFULFILLMENTREFUSALREASON:
3703      return "ActSupplyFulfillmentRefusalReason";
3704    case FRR01:
3705      return "order stopped";
3706    case FRR02:
3707      return "stale-dated order";
3708    case FRR03:
3709      return "incomplete data";
3710    case FRR04:
3711      return "product unavailable";
3712    case FRR05:
3713      return "ethical/religious";
3714    case FRR06:
3715      return "unable to provide care";
3716    case _CLINICALRESEARCHEVENTREASON:
3717      return "ClinicalResearchEventReason";
3718    case RET:
3719      return "retest";
3720    case SCH:
3721      return "scheduled";
3722    case TRM:
3723      return "termination";
3724    case UNS:
3725      return "unscheduled";
3726    case _CLINICALRESEARCHOBSERVATIONREASON:
3727      return "ClinicalResearchObservationReason";
3728    case NPT:
3729      return "non-protocol";
3730    case PPT:
3731      return "per protocol";
3732    case UPT:
3733      return "per definition";
3734    case _COMBINEDPHARMACYORDERSUSPENDREASONCODE:
3735      return "CombinedPharmacyOrderSuspendReasonCode";
3736    case ALTCHOICE:
3737      return "try another treatment first";
3738    case CLARIF:
3739      return "prescription requires clarification";
3740    case DRUGHIGH:
3741      return "drug level too high";
3742    case HOSPADM:
3743      return "admission to hospital";
3744    case LABINT:
3745      return "lab interference issues";
3746    case NONAVAIL:
3747      return "patient not-available";
3748    case PREG:
3749      return "parent is pregnant/breast feeding";
3750    case SALG:
3751      return "allergy";
3752    case SDDI:
3753      return "drug interacts with another drug";
3754    case SDUPTHER:
3755      return "duplicate therapy";
3756    case SINTOL:
3757      return "suspected intolerance";
3758    case SURG:
3759      return "patient scheduled for surgery";
3760    case WASHOUT:
3761      return "waiting for old drug to wash out";
3762    case _CONTROLACTNULLIFICATIONREASONCODE:
3763      return "ControlActNullificationReasonCode";
3764    case ALTD:
3765      return "altered decision";
3766    case EIE:
3767      return "entered in error";
3768    case NORECMTCH:
3769      return "no record match";
3770    case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE:
3771      return "ControlActNullificationRefusalReasonType";
3772    case INRQSTATE:
3773      return "in requested state";
3774    case NOMATCH:
3775      return "no match";
3776    case NOPRODMTCH:
3777      return "no product match";
3778    case NOSERMTCH:
3779      return "no service match";
3780    case NOVERMTCH:
3781      return "no version match";
3782    case NOPERM:
3783      return "no permission";
3784    case NOUSERPERM:
3785      return "no user permission";
3786    case NOAGNTPERM:
3787      return "no agent permission";
3788    case NOUSRPERM:
3789      return "no user permission";
3790    case WRNGVER:
3791      return "wrong version";
3792    case _CONTROLACTREASON:
3793      return "ControlActReason";
3794    case _MEDICATIONORDERABORTREASONCODE:
3795      return "medication order abort reason";
3796    case DISCONT:
3797      return "product discontinued";
3798    case INEFFECT:
3799      return "ineffective";
3800    case MONIT:
3801      return "response to monitoring";
3802    case NOREQ:
3803      return "no longer required for treatment";
3804    case NOTCOVER:
3805      return "not covered";
3806    case PREFUS:
3807      return "patient refuse";
3808    case RECALL:
3809      return "product recalled";
3810    case REPLACE:
3811      return "change in order";
3812    case DOSECHG:
3813      return "change in medication/dose";
3814    case REPLACEFIX:
3815      return "error in order";
3816    case UNABLE:
3817      return "unable to use";
3818    case _MEDICATIONORDERRELEASEREASONCODE:
3819      return "medication order release reason";
3820    case HOLDDONE:
3821      return "suspend reason no longer applies";
3822    case HOLDINAP:
3823      return "suspend reason inappropriate";
3824    case _MODIFYPRESCRIPTIONREASONTYPE:
3825      return "ModifyPrescriptionReasonType";
3826    case ADMINERROR:
3827      return "administrative error in order";
3828    case CLINMOD:
3829      return "clinical modification";
3830    case _PHARMACYSUPPLYEVENTABORTREASON:
3831      return "PharmacySupplyEventAbortReason";
3832    case CONTRA:
3833      return "contraindication";
3834    case FOABORT:
3835      return "order aborted";
3836    case FOSUSP:
3837      return "order suspended";
3838    case NOPICK:
3839      return "not picked up";
3840    case PATDEC:
3841      return "patient changed mind";
3842    case QUANTCHG:
3843      return "change supply quantity";
3844    case _PHARMACYSUPPLYEVENTSTOCKREASONCODE:
3845      return "pharmacy supply event stock reason";
3846    case FLRSTCK:
3847      return "floor stock";
3848    case LTC:
3849      return "long term care use";
3850    case OFFICE:
3851      return "office use";
3852    case PHARM:
3853      return "pharmacy transfer";
3854    case PROG:
3855      return "program use";
3856    case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE:
3857      return "pharmacy supply request renewal refusal reason";
3858    case ALREADYRX:
3859      return "new prescription exists";
3860    case FAMPHYS:
3861      return "family physician must authorize further fills";
3862    case MODIFY:
3863      return "modified prescription exists";
3864    case NEEDAPMT:
3865      return "patient must make appointment";
3866    case NOTAVAIL:
3867      return "prescriber not available";
3868    case NOTPAT:
3869      return "patient no longer in this practice";
3870    case ONHOLD:
3871      return "medication on hold";
3872    case PRNA:
3873      return "product not available";
3874    case STOPMED:
3875      return "prescriber stopped medication for patient";
3876    case TOOEARLY:
3877      return "too early";
3878    case _SUPPLYORDERABORTREASONCODE:
3879      return "supply order abort reason";
3880    case IMPROV:
3881      return "condition improved";
3882    case INTOL:
3883      return "intolerance";
3884    case NEWSTR:
3885      return "new strength";
3886    case NEWTHER:
3887      return "new therapy";
3888    case _GENERICUPDATEREASONCODE:
3889      return "GenericUpdateReasonCode";
3890    case CHGDATA:
3891      return "information change";
3892    case FIXDATA:
3893      return "error correction";
3894    case MDATA:
3895      return "merge data";
3896    case NEWDATA:
3897      return "new information";
3898    case UMDATA:
3899      return "unmerge data";
3900    case _PATIENTPROFILEQUERYREASONCODE:
3901      return "patient profile query reason";
3902    case ADMREV:
3903      return "administrative review";
3904    case PATCAR:
3905      return "patient care";
3906    case PATREQ:
3907      return "patient request query";
3908    case PRCREV:
3909      return "practice review";
3910    case REGUL:
3911      return "regulatory review";
3912    case RSRCH:
3913      return "research";
3914    case VALIDATION:
3915      return "validation review";
3916    case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE:
3917      return "PharmacySupplyRequestFulfillerRevisionRefusalReasonCode";
3918    case LOCKED:
3919      return "locked";
3920    case UNKWNTARGET:
3921      return "unknown target";
3922    case _REFUSALREASONCODE:
3923      return "RefusalReasonCode";
3924    case _SCHEDULINGACTREASON:
3925      return "SchedulingActReason";
3926    case BLK:
3927      return "Unexpected Block (of Schedule)";
3928    case DEC:
3929      return "Patient Deceased";
3930    case FIN:
3931      return "No Financial Backing";
3932    case MED:
3933      return "Medical Status Altered";
3934    case MTG:
3935      return "In an outside meeting";
3936    case PHY:
3937      return "Physician request";
3938    case _STATUSREVISIONREFUSALREASONCODE:
3939      return "StatusRevisionRefusalReasonCode";
3940    case FILLED:
3941      return "fully filled";
3942    case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE:
3943      return "SubstanceAdministrationPermissionRefusalReasonCode";
3944    case PATINELIG:
3945      return "patient not eligible";
3946    case PROTUNMET:
3947      return "protocol not met";
3948    case PROVUNAUTH:
3949      return "provider not authorized";
3950    case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON:
3951      return "SubstanceAdminSubstitutionNotAllowedReason";
3952    case ALGINT:
3953      return "allergy intolerance";
3954    case COMPCON:
3955      return "compliance concern";
3956    case THERCHAR:
3957      return "therapeutic characteristics";
3958    case TRIAL:
3959      return "clinical trial drug";
3960    case _SUBSTANCEADMINSUBSTITUTIONREASON:
3961      return "SubstanceAdminSubstitutionReason";
3962    case CT:
3963      return "continuing therapy";
3964    case FP:
3965      return "formulary policy";
3966    case OS:
3967      return "out of stock";
3968    case RR:
3969      return "regulatory requirement";
3970    case _TRANSFERACTREASON:
3971      return "TransferActReason";
3972    case ER:
3973      return "Error";
3974    case RQ:
3975      return "Request";
3976    case _ACTBILLABLESERVICEREASON:
3977      return "ActBillableServiceReason";
3978    case _ACTBILLABLECLINICALSERVICEREASON:
3979      return "ActBillableClinicalServiceReason";
3980    case BONUS:
3981      return "BONUS";
3982    case CHD:
3983      return "Children only";
3984    case DEP:
3985      return "Dependents only";
3986    case ECH:
3987      return "Employee and children";
3988    case EDU:
3989      return "EDU";
3990    case EMP:
3991      return "Employee only";
3992    case ESP:
3993      return "Employee and spouse";
3994    case FAM:
3995      return "Family";
3996    case IND:
3997      return "Individual";
3998    case INVOICE:
3999      return "INVOICE";
4000    case PROA:
4001      return "PROA";
4002    case RECOV:
4003      return "RECOV";
4004    case RETRO:
4005      return "RETRO";
4006    case SPC:
4007      return "Spouse and children";
4008    case SPO:
4009      return "Spouse only";
4010    case TRAN:
4011      return "TRAN";
4012    case NULL:
4013      return null;
4014    default:
4015      return "?";
4016    }
4017  }
4018
4019}