001package org.hl7.fhir.r4.model.codesystems;
002
003
004
005
006/*
007  Copyright (c) 2011+, HL7, Inc.
008  All rights reserved.
009  
010  Redistribution and use in source and binary forms, with or without modification, 
011  are permitted provided that the following conditions are met:
012  
013   * Redistributions of source code must retain the above copyright notice, this 
014     list of conditions and the following disclaimer.
015   * Redistributions in binary form must reproduce the above copyright notice, 
016     this list of conditions and the following disclaimer in the documentation 
017     and/or other materials provided with the distribution.
018   * Neither the name of HL7 nor the names of its contributors may be used to 
019     endorse or promote products derived from this software without specific 
020     prior written permission.
021  
022  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
023  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
024  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
025  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
026  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
027  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
028  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
029  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
030  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
031  POSSIBILITY OF SUCH DAMAGE.
032  
033*/
034
035// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
036
037
038import org.hl7.fhir.exceptions.FHIRException;
039
040public enum V3ActReason {
041
042        /**
043         * Identifies the reason the patient is assigned to this accommodation type
044         */
045        _ACTACCOMMODATIONREASON, 
046        /**
047         * Accommodation requested is not available.
048         */
049        ACCREQNA, 
050        /**
051         * Accommodation is assigned for floor convenience.
052         */
053        FLRCNV, 
054        /**
055         * Required for medical reasons(s).
056         */
057        MEDNEC, 
058        /**
059         * The Patient requested the action
060         */
061        PAT, 
062        /**
063         * 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.
064         */
065        _ACTCOVERAGEREASON, 
066        /**
067         * Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. 
068
069                        
070                           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.
071         */
072        _ELIGIBILITYACTREASONCODE, 
073        /**
074         * Identifies the reason or rational for why a person is not eligibile for benefits under an insurance policy.
075
076                        Examples are client deceased & adopted client has been given a new policy identifier.
077         */
078        _ACTINELIGIBILITYREASON, 
079        /**
080         * 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.
081
082                        Example: Coverage may be suspended during a strike situation, when employer benefits for employees are not covered (i.e. not in effect).
083         */
084        COVSUS, 
085        /**
086         * Client deceased.
087         */
088        DECSD, 
089        /**
090         * Client was registered in error.
091         */
092        REGERR, 
093        /**
094         * Definition: Identifies the reason or rational for why a person is eligibile for benefits under an insurance policy or progam. 
095
096                        
097                           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.
098         */
099        _COVERAGEELIGIBILITYREASON, 
100        /**
101         * A person becomes eligible for a program based on age.
102
103                        
104                           Example:  In the U.S., a person who is 65 years of age or older is eligible for Medicare.
105         */
106        AGE, 
107        /**
108         * A person becomes eligible for insurance or a program because of crime related health condition or injury. 
109
110                        
111                           Example:  A person is a claimant under the U.S. Crime Victims Compensation program.
112         */
113        CRIME, 
114        /**
115         * 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.
116         */
117        DIS, 
118        /**
119         * A person becomes eligible for insurance provided as an employment benefit based on employment status.
120         */
121        EMPLOY, 
122        /**
123         * A person becomes eligible for a program based on financial criteria.
124
125                        
126                           Example:  A person whose family income is below a financial threshold for eligibility for Medicaid or SCHIP.
127         */
128        FINAN, 
129        /**
130         * A person becomes eligible for a program because of a qualifying health condition or injury. 
131
132                        
133                           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
134         */
135        HEALTH, 
136        /**
137         * A person becomes eligible for a program based on more than one criterion.
138
139                        
140                           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.
141         */
142        MULTI, 
143        /**
144         * 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. 
145
146                        
147                           Example:  A person is a claimant under a homeowners insurance policy because of an injury sustained on the policyholderaTMs premises.
148         */
149        PNC, 
150        /**
151         * A person becomes eligible for a program based on statutory criteria.
152
153                        
154                           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.
155         */
156        STATUTORY, 
157        /**
158         * A person becomes a claimant under a motor vehicle accident insurance because of a motor vehicle accident related health condition or injury.
159         */
160        VEHIC, 
161        /**
162         * A person becomes eligible for insurance or a program because of a work related health condition or injury. 
163
164                        
165                           Example:  A person is a claimant under the U.S. Black Lung Program.
166         */
167        WORK, 
168        /**
169         * 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.
170         */
171        _ACTINFORMATIONMANAGEMENTREASON, 
172        /**
173         * 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.
174         */
175        _ACTHEALTHINFORMATIONMANAGEMENTREASON, 
176        /**
177         * 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.
178
179                        
180                           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.
181         */
182        _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON, 
183        /**
184         * 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.
185
186                        
187                           Usage Notes: The patient is unable to provide consent, but the provider determines they have an urgent healthcare related reason to access the record.
188         */
189        OVRER, 
190        /**
191         * To perform one or more operations on information to which the patient has not consented because deemed incompetent to provide consent.
192
193                        
194                           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".
195         */
196        OVRINCOMP, 
197        /**
198         * To perform one or more operations on information to which the patient declined to consent for providing health care.
199
200                        
201                           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.
202         */
203        OVRPJ, 
204        /**
205         * To perform one or more operations on information to which the patient has not consented for public safety reasons.
206
207                        
208                           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.
209         */
210        OVRPS, 
211        /**
212         * To perform one or more operations on information to which the patient has not consented for third party safety.  
213
214                        
215                           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.
216         */
217        OVRTPS, 
218        /**
219         * 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.
220
221                        
222                           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.
223         */
224        PURPOSEOFUSE, 
225        /**
226         * To perform one or more operations on information for marketing services and products related to health care.
227         */
228        HMARKT, 
229        /**
230         * To perform one or more operations on information used for conducting administrative and contractual activities related to the provision of health care.
231         */
232        HOPERAT, 
233        /**
234         * 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.
235
236                        
237                           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.
238
239                        
240                           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." 
241
242                        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.
243         */
244        CAREMGT, 
245        /**
246         * To perform one or more operations on information used for cadaveric organ, eye or tissue donation.
247         */
248        DONAT, 
249        /**
250         * To perform one or more operations on information used for fraud detection and prevention processes.
251         */
252        FRAUD, 
253        /**
254         * To perform one or more operations on information used within government processes.
255         */
256        GOV, 
257        /**
258         * To perform one or more operations on information for conducting activities related to meeting accreditation criteria.
259         */
260        HACCRED, 
261        /**
262         * To perform one or more operations on information used for conducting activities required to meet a mandate.
263         */
264        HCOMPL, 
265        /**
266         * To perform one or more operations on information used for handling deceased patient matters.
267         */
268        HDECD, 
269        /**
270         * To perform one or more operation operations on information used to manage a patient directory.
271
272                        
273                           Examples: 
274                        
275
276                        
277                           facility
278                           enterprise
279                           payer
280                           health information exchange patient directory
281         */
282        HDIRECT, 
283        /**
284         * 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.
285
286
287                        
288                           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.
289
290                        
291                           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."
292
293                        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.
294         */
295        HDM, 
296        /**
297         * To perform one or more operations on information for conducting activities required by legal proceeding.
298         */
299        HLEGAL, 
300        /**
301         * To perform one or more operations on information used for assessing results and comparative effectiveness achieved by health care practices and interventions.
302         */
303        HOUTCOMS, 
304        /**
305         * To perform one or more operations on information used for conducting activities to meet program accounting requirements.
306         */
307        HPRGRP, 
308        /**
309         * To perform one or more operations on information used for conducting administrative activities to improve health care quality.
310         */
311        HQUALIMP, 
312        /**
313         * To perform one or more operations on information to administer the electronic systems used for the delivery of health care.
314         */
315        HSYSADMIN, 
316        /**
317         * 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.
318
319                        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.
320
321                        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.
322         */
323        LABELING, 
324        /**
325         * 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.
326         */
327        METAMGT, 
328        /**
329         * To perform one or more operations on information to administer health care coverage to an enrollee under a policy or program.
330         */
331        MEMADMIN, 
332        /**
333         * To perform one or more operations on information for conducting activities required by military processes, procedures, policies, or law.
334         */
335        MILCDM, 
336        /**
337         * To perform one or more operations on information used for operational activities conducted to administer the delivery of health care to a patient.
338         */
339        PATADMIN, 
340        /**
341         * To perform one or more operations on information in processes related to ensuring the safety of health care.
342         */
343        PATSFTY, 
344        /**
345         * To perform one or more operations on information used for monitoring performance of recommended health care practices and interventions.
346         */
347        PERFMSR, 
348        /**
349         * To perform one or more operations on information used within the health records management process.
350         */
351        RECORDMGT, 
352        /**
353         * To perform one or more operations on information to design, develop, implement, test, or deploy a healthcare system or application.
354         */
355        SYSDEV, 
356        /**
357         * 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.
358
359                        
360                           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.
361         */
362        HTEST, 
363        /**
364         * To perform one or more operations on information used in training and education.
365         */
366        TRAIN, 
367        /**
368         * To perform one or more operations on information for conducting financial or contractual activities related to payment for provision of health care.
369         */
370        HPAYMT, 
371        /**
372         * 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.
373         */
374        CLMATTCH, 
375        /**
376         * To perform one or more operations on information for conducting prior authorization or predetermination of coverage for services.
377         */
378        COVAUTH, 
379        /**
380         * To perform one or more operations on information for conducting activities related to coverage under a program or policy.
381         */
382        COVERAGE, 
383        /**
384         * 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.
385         */
386        ELIGDTRM, 
387        /**
388         * 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.
389         */
390        ELIGVER, 
391        /**
392         * 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.
393         */
394        ENROLLM, 
395        /**
396         * 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.
397         */
398        MILDCRG, 
399        /**
400         * To perform one or more operations on information about the amount remitted for a health care claim.
401         */
402        REMITADV, 
403        /**
404         * 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.
405         */
406        HRESCH, 
407        /**
408         * 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.
409         */
410        BIORCH, 
411        /**
412         * To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge.
413         */
414        CLINTRCH, 
415        /**
416         * 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.
417         */
418        CLINTRCHNPC, 
419        /**
420         * 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.
421         */
422        CLINTRCHPC, 
423        /**
424         * 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.
425         */
426        PRECLINTRCH, 
427        /**
428         * 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.
429         */
430        DSRCH, 
431        /**
432         * 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.
433         */
434        POARCH, 
435        /**
436         * 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.
437         */
438        TRANSRCH, 
439        /**
440         * To perform one or more operations on information in response to a patient's request.
441         */
442        PATRQT, 
443        /**
444         * To perform one or more operations on information in response to a request by a family member authorized by the patient.
445         */
446        FAMRQT, 
447        /**
448         * To perform one or more operations on information in response to a request by a person appointed as the patient's legal representative.
449         */
450        PWATRNY, 
451        /**
452         * To perform one or more operations on information in response to a request by a person authorized by the patient.
453         */
454        SUPNWK, 
455        /**
456         * To perform one or more operations on information for conducting public health activities, such as the reporting of notifiable conditions.
457         */
458        PUBHLTH, 
459        /**
460         * 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.
461         */
462        DISASTER, 
463        /**
464         * To perform one or more operations on information used to prevent injury or disease to living subjects who may be the target of violence.
465         */
466        THREAT, 
467        /**
468         * To perform one or more operations on information for provision of health care.
469         */
470        TREAT, 
471        /**
472         * To perform health care as part of the clinical trial protocol.
473         */
474        CLINTRL, 
475        /**
476         * 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.
477
478                        
479                           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.
480
481                        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.
482
483                        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.
484
485                        
486                           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."
487         */
488        COC, 
489        /**
490         * To perform one or more operations on information for provision of immediately needed health care for an emergent condition.
491         */
492        ETREAT, 
493        /**
494         * 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.
495
496                        
497                           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."
498The 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.
499         */
500        BTG, 
501        /**
502         * 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.
503
504                        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."
505
506                        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. 
507
508                        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.
509         */
510        ERTREAT, 
511        /**
512         * To perform one or more operations on information for provision of health care to a population of living subjects, e.g., needle exchange program.
513         */
514        POPHLTH, 
515        /**
516         * 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.
517         */
518        _ACTINFORMATIONPRIVACYREASON, 
519        /**
520         * Description:
521         */
522        MARKT, 
523        /**
524         * Description:Administrative and contractual processes required to support an activity, product, or service
525         */
526        OPERAT, 
527        /**
528         * Definition:To provide information as a result of a subpoena.
529         */
530        LEGAL, 
531        /**
532         * Description:Operational activities conducted for the purposes of meeting of criteria defined by an accrediting entity for an activity, product, or service
533         */
534        ACCRED, 
535        /**
536         * Description:Operational activities required to meet a mandate related to an activity, product, or service
537         */
538        COMPL, 
539        /**
540         * Description:Operational activities conducted to administer information relating to entities involves with an activity, product, or service
541         */
542        ENADMIN, 
543        /**
544         * Description:Operational activities conducted for the purposes of assessing the results of an activity, product, or service
545         */
546        OUTCOMS, 
547        /**
548         * Description:Operational activities conducted to meet program accounting requirements related to an activity, product, or service
549         */
550        PRGRPT, 
551        /**
552         * Description:Operational activities conducted for the purposes of improving the quality of an activity, product, or service
553         */
554        QUALIMP, 
555        /**
556         * Description:Operational activities conducted to administer the electronic systems used for an activity, product, or service
557         */
558        SYSADMN, 
559        /**
560         * Description:Administrative, financial, and contractual processes related to payment for an activity, product, or service
561         */
562        PAYMT, 
563        /**
564         * Description:Investigative activities conducted for the purposes of obtaining knowledge
565         */
566        RESCH, 
567        /**
568         * Description:Provision of a service, product, or capability to an individual or organization
569         */
570        SRVC, 
571        /**
572         * Description: Types of reasons why a substance is invalid for use.
573         */
574        _ACTINVALIDREASON, 
575        /**
576         * Description: Storage conditions caused the substance to be ineffective.
577         */
578        ADVSTORAGE, 
579        /**
580         * Description: Cold chain was not maintained for the substance.
581         */
582        COLDCHNBRK, 
583        /**
584         * Description: The lot from which the substance was drawn was expired.
585         */
586        EXPLOT, 
587        /**
588         * The substance was administered outside of the recommended schedule or practice.
589         */
590        OUTSIDESCHED, 
591        /**
592         * Description: The substance was recalled by the manufacturer.
593         */
594        PRODRECALL, 
595        /**
596         * Domain specifies the codes used to describe reasons why a Provider is cancelling an Invoice or Invoice Grouping.
597         */
598        _ACTINVOICECANCELREASON, 
599        /**
600         * The covered party (patient) specified with the Invoice is not correct.
601         */
602        INCCOVPTY, 
603        /**
604         * The billing information, specified in the Invoice Elements, is not correct.  This could include incorrect costing for items included in the Invoice.
605         */
606        INCINVOICE, 
607        /**
608         * The policy specified with the Invoice is not correct.  For example, it may belong to another Adjudicator or Covered Party.
609         */
610        INCPOLICY, 
611        /**
612         * The provider specified with the Invoice is not correct.
613         */
614        INCPROV, 
615        /**
616         * A coded description of the reason for why a patient did not receive a scheduled immunization.
617
618                        (important for public health strategy
619         */
620        _ACTNOIMMUNIZATIONREASON, 
621        /**
622         * Definition:Testing has shown that the patient already has immunity to the agent targeted by the immunization.
623         */
624        IMMUNE, 
625        /**
626         * Definition:The patient currently has a medical condition for which the vaccine is contraindicated or for which precaution is warranted.
627         */
628        MEDPREC, 
629        /**
630         * Definition:There was no supply of the product on hand to perform the service.
631         */
632        OSTOCK, 
633        /**
634         * Definition:The patient or their guardian objects to receiving the vaccine.
635         */
636        PATOBJ, 
637        /**
638         * Definition:The patient or their guardian objects to receiving the vaccine because of philosophical beliefs.
639         */
640        PHILISOP, 
641        /**
642         * Definition:The patient or their guardian objects to receiving the vaccine on religious grounds.
643         */
644        RELIG, 
645        /**
646         * Definition:The intended vaccine has expired or is otherwise believed to no longer be effective.
647
648                        
649                           Example:Due to temperature exposure.
650         */
651        VACEFF, 
652        /**
653         * Definition:The patient or their guardian objects to receiving the vaccine because of concerns over its safety.
654         */
655        VACSAF, 
656        /**
657         * 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".
658
659                        (used when capturing 'refusal to fill' annotations)
660         */
661        _ACTSUPPLYFULFILLMENTREFUSALREASON, 
662        /**
663         * Definition:The order has been stopped by the prescriber but this fact has not necessarily captured electronically.
664
665                        
666                           Example:A verbal stop, a fax, etc.
667         */
668        FRR01, 
669        /**
670         * Definition:Order has not been fulfilled within a reasonable amount of time, and may not be current.
671         */
672        FRR02, 
673        /**
674         * Definition:Data needed to safely act on the order which was expected to become available independent of the order is not yet available
675
676                        
677                           Example:Lab results, diagnostic imaging, etc.
678         */
679        FRR03, 
680        /**
681         * Definition:Product not available or manufactured. Cannot supply.
682         */
683        FRR04, 
684        /**
685         * Definition:The dispenser has ethical, religious or moral objections to fulfilling the order/dispensing the product.
686         */
687        FRR05, 
688        /**
689         * Definition:Fulfiller not able to provide appropriate care associated with fulfilling the order.
690
691                        
692                           Example:Therapy requires ongoing monitoring by fulfiller and fulfiller will be ending practice, leaving town, unable to schedule necessary time, etc.
693         */
694        FRR06, 
695        /**
696         * Definition:Specifies the reason that an event occurred in a clinical research study.
697         */
698        _CLINICALRESEARCHEVENTREASON, 
699        /**
700         * 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.
701         */
702        RET, 
703        /**
704         * Definition:The event occurred due to it being scheduled in the research protocol.
705         */
706        SCH, 
707        /**
708         * Definition:The event occurred in order to terminate the subject's participation in the study.
709         */
710        TRM, 
711        /**
712         * 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.
713         */
714        UNS, 
715        /**
716         * Definition:SSpecifies the reason that a test was performed or observation collected in a clinical research study.
717
718                        
719                           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.
720         */
721        _CLINICALRESEARCHOBSERVATIONREASON, 
722        /**
723         * Definition:The observation or test was neither defined or scheduled in the study protocol.
724         */
725        NPT, 
726        /**
727         * 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.
728         */
729        PPT, 
730        /**
731         * :The observation or test occurred as defined in the research protocol, but at a point in time not specified in the study protocol.
732         */
733        UPT, 
734        /**
735         * Description:Indicates why the prescription should be suspended.
736         */
737        _COMBINEDPHARMACYORDERSUSPENDREASONCODE, 
738        /**
739         * 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.
740         */
741        ALTCHOICE, 
742        /**
743         * Description:Clarification is required before the order can be acted upon.
744         */
745        CLARIF, 
746        /**
747         * 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.
748         */
749        DRUGHIGH, 
750        /**
751         * Description:The patient has been admitted to a care facility and their community medications are suspended until hospital discharge.
752         */
753        HOSPADM, 
754        /**
755         * Description:The therapy would interfere with a planned lab test and the therapy is being withdrawn until the test is completed.
756         */
757        LABINT, 
758        /**
759         * Description:Patient not available for a period of time due to a scheduled therapy, leave of absence or other reason.
760         */
761        NONAVAIL, 
762        /**
763         * 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.
764         */
765        PREG, 
766        /**
767         * 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.
768         */
769        SALG, 
770        /**
771         * 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.
772         */
773        SDDI, 
774        /**
775         * 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.
776         */
777        SDUPTHER, 
778        /**
779         * 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.
780         */
781        SINTOL, 
782        /**
783         * 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.
784         */
785        SURG, 
786        /**
787         * 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.
788         */
789        WASHOUT, 
790        /**
791         * Description:Identifies reasons for nullifying (retracting) a particular control act.
792         */
793        _CONTROLACTNULLIFICATIONREASONCODE, 
794        /**
795         * Description:The decision on which the recorded information was based was changed before the decision had an effect.
796
797                        
798                           Example:Aborted prescription before patient left office, released prescription before suspend took effect.
799         */
800        ALTD, 
801        /**
802         * Description:The information was recorded incorrectly or was recorded in the wrong record.
803         */
804        EIE, 
805        /**
806         * Description: There is no match for the record in the database.
807         */
808        NORECMTCH, 
809        /**
810         * Description: Reasons to refuse a transaction to be undone.
811         */
812        _CONTROLACTNULLIFICATIONREFUSALREASONTYPE, 
813        /**
814         * The record is already in the requested state.
815         */
816        INRQSTATE, 
817        /**
818         * Description: There is no match.
819         */
820        NOMATCH, 
821        /**
822         * Description: There is no match for the product in the master file repository.
823         */
824        NOPRODMTCH, 
825        /**
826         * Description: There is no match for the service in the master file repository.
827         */
828        NOSERMTCH, 
829        /**
830         * Description: There is no match for the record and version.
831         */
832        NOVERMTCH, 
833        /**
834         * Description: There is no permission.
835         */
836        NOPERM, 
837        /**
838         * Definition:The user does not have permission
839         */
840        NOUSERPERM, 
841        /**
842         * Description: The agent does not have permission.
843         */
844        NOAGNTPERM, 
845        /**
846         * Description: The user does not have permission.
847         */
848        NOUSRPERM, 
849        /**
850         * Description: The record and version requested to update is not the current version.
851         */
852        WRNGVER, 
853        /**
854         * Identifies why a specific query, request, or other trigger event occurred.
855         */
856        _CONTROLACTREASON, 
857        /**
858         * Description:Indicates the reason the medication order should be aborted.
859         */
860        _MEDICATIONORDERABORTREASONCODE, 
861        /**
862         * Description:The medication is no longer being manufactured or is otherwise no longer available.
863         */
864        DISCONT, 
865        /**
866         * Description:The therapy has been found to not have the desired therapeutic benefit on the patient.
867         */
868        INEFFECT, 
869        /**
870         * Description:Monitoring the patient while taking the medication, the decision has been made that the therapy is no longer appropriate.
871         */
872        MONIT, 
873        /**
874         * Description:The underlying condition has been resolved or has evolved such that a different treatment is no longer needed.
875         */
876        NOREQ, 
877        /**
878         * Description:The product does not have (or no longer has) coverage under the patientaTMs insurance policy.
879         */
880        NOTCOVER, 
881        /**
882         * Description:The patient refused to take the product.
883         */
884        PREFUS, 
885        /**
886         * Description:The manufacturer or other agency has requested that stocks of a medication be removed from circulation.
887         */
888        RECALL, 
889        /**
890         * Description:Item in current order is no longer in use as requested and a new one has/will be created to replace it.
891         */
892        REPLACE, 
893        /**
894         * Description:The medication is being re-prescribed at a different dosage.
895         */
896        DOSECHG, 
897        /**
898         * Description:Current order was issued with incorrect data and a new order has/will be created to replace it.
899         */
900        REPLACEFIX, 
901        /**
902         * Description:<The patient is not (or is no longer) able to use the medication in a manner prescribed.
903
904                        
905                           Example:CanaTMt swallow.
906         */
907        UNABLE, 
908        /**
909         * Definition:A collection of concepts that indicate why the prescription should be released from suspended state.
910         */
911        _MEDICATIONORDERRELEASEREASONCODE, 
912        /**
913         * Definition:The original reason for suspending the medication has ended.
914         */
915        HOLDDONE, 
916        /**
917         * Definition:
918         */
919        HOLDINAP, 
920        /**
921         * Types of reason why a prescription is being changed.
922         */
923        _MODIFYPRESCRIPTIONREASONTYPE, 
924        /**
925         * Order was created with incorrect data and is changed to reflect the intended accuracy of the order.
926         */
927        ADMINERROR, 
928        /**
929         * Order is changed based on a clinical reason.
930         */
931        CLINMOD, 
932        /**
933         * Definition:Identifies why the dispense event was not completed.
934         */
935        _PHARMACYSUPPLYEVENTABORTREASON, 
936        /**
937         * Definition:Contraindication identified
938         */
939        CONTRA, 
940        /**
941         * Definition:Order to be fulfilled was aborted
942         */
943        FOABORT, 
944        /**
945         * Definition:Order to be fulfilled was suspended
946         */
947        FOSUSP, 
948        /**
949         * Definition:Patient did not come to get medication
950         */
951        NOPICK, 
952        /**
953         * Definition:Patient changed their mind regarding obtaining medication
954         */
955        PATDEC, 
956        /**
957         * Definition:Patient requested a revised quantity of medication
958         */
959        QUANTCHG, 
960        /**
961         * Definition:A collection of concepts that indicates the reason for a "bulk supply" of medication.
962         */
963        _PHARMACYSUPPLYEVENTSTOCKREASONCODE, 
964        /**
965         * Definition:The bulk supply is issued to replenish a ward for local dispensing.  (Includes both mobile and fixed-location ward stocks.)
966         */
967        FLRSTCK, 
968        /**
969         * Definition:The bulk supply will be administered within a long term care facility.
970         */
971        LTC, 
972        /**
973         * Definition:The bulk supply is intended for general clinician office use.
974         */
975        OFFICE, 
976        /**
977         * Definition:The bulk supply is being transferred to another dispensing facility to.
978
979                        
980                           Example:Alleviate a temporary shortage.
981         */
982        PHARM, 
983        /**
984         * Definition:The bulk supply is intended for dispensing according to a specific program.
985
986                        
987                           Example:Mass immunization.
988         */
989        PROG, 
990        /**
991         * Definition:A collection of concepts that identifies why a renewal prescription has been refused.
992         */
993        _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE, 
994        /**
995         * Definition:Patient has already been given a new (renewal) prescription.
996         */
997        ALREADYRX, 
998        /**
999         * Definition:Request for further authorization must be done through patient's family physician.
1000         */
1001        FAMPHYS, 
1002        /**
1003         * Definition:Therapy has been changed and new prescription issued
1004         */
1005        MODIFY, 
1006        /**
1007         * Definition:Patient must see prescriber prior to further fills.
1008         */
1009        NEEDAPMT, 
1010        /**
1011         * Definition:Original prescriber is no longer available to prescribe and no other prescriber has taken responsibility for the patient.
1012         */
1013        NOTAVAIL, 
1014        /**
1015         * Definition:Patient no longer or has never been under this prescribers care.
1016         */
1017        NOTPAT, 
1018        /**
1019         * Definition:This medication is on hold.
1020         */
1021        ONHOLD, 
1022        /**
1023         * Description:This product is not available or manufactured.
1024         */
1025        PRNA, 
1026        /**
1027         * Renewing or original prescriber informed patient to stop using the medication.
1028         */
1029        STOPMED, 
1030        /**
1031         * Definition:The patient should have medication remaining.
1032         */
1033        TOOEARLY, 
1034        /**
1035         * 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).
1036         */
1037        _SUPPLYORDERABORTREASONCODE, 
1038        /**
1039         * Definition:The patient's medical condition has nearly abated.
1040         */
1041        IMPROV, 
1042        /**
1043         * Description:The patient has an intolerance to the medication.
1044         */
1045        INTOL, 
1046        /**
1047         * Definition:The current medication will be replaced by a new strength of the same medication.
1048         */
1049        NEWSTR, 
1050        /**
1051         * Definition:A new therapy will be commenced when current supply exhausted.
1052         */
1053        NEWTHER, 
1054        /**
1055         * Description:Identifies why a change is being made to a  record.
1056         */
1057        _GENERICUPDATEREASONCODE, 
1058        /**
1059         * Description:Information has changed since the record was created.
1060         */
1061        CHGDATA, 
1062        /**
1063         * Description:Previously recorded information was erroneous and is being corrected.
1064         */
1065        FIXDATA, 
1066        /**
1067         * Information is combined into the record.
1068         */
1069        MDATA, 
1070        /**
1071         * Description:New information has become available to supplement the record.
1072         */
1073        NEWDATA, 
1074        /**
1075         * Information is separated from the record.
1076         */
1077        UMDATA, 
1078        /**
1079         * Definition:A collection of concepts identifying why the patient's profile is being queried.
1080         */
1081        _PATIENTPROFILEQUERYREASONCODE, 
1082        /**
1083         * Definition: To evaluate for service authorization, payment, reporting, or performance/outcome measures.
1084         */
1085        ADMREV, 
1086        /**
1087         * Definition:To obtain records as part of patient care.
1088         */
1089        PATCAR, 
1090        /**
1091         * Definition:Patient requests information from their profile.
1092         */
1093        PATREQ, 
1094        /**
1095         * Definition:To evaluate the provider's current practice for professional-improvement reasons.
1096         */
1097        PRCREV, 
1098        /**
1099         * Description:Review for the purpose of regulatory compliance.
1100         */
1101        REGUL, 
1102        /**
1103         * Definition:To provide research data, as authorized by the patient.
1104         */
1105        RSRCH, 
1106        /**
1107         * Description:To validate the patient's record.
1108
1109                        
1110                           Example:Merging or unmerging records.
1111         */
1112        VALIDATION, 
1113        /**
1114         * Definition:Indicates why the request to transfer a prescription from one dispensing facility to another has been refused.
1115         */
1116        _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE, 
1117        /**
1118         * Definition:The prescription may not be reassigned from the original pharmacy.
1119         */
1120        LOCKED, 
1121        /**
1122         * Definition:The target facility does not recognize the dispensing facility.
1123         */
1124        UNKWNTARGET, 
1125        /**
1126         * 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.
1127         */
1128        _REFUSALREASONCODE, 
1129        /**
1130         * Reasons for cancelling or rescheduling an Appointment
1131         */
1132        _SCHEDULINGACTREASON, 
1133        /**
1134         * The time slots previously allocated are now blocked and no longer available for booking Appointments
1135         */
1136        BLK, 
1137        /**
1138         * The Patient is deceased
1139         */
1140        DEC, 
1141        /**
1142         * Patient unable to pay and not covered by insurance
1143         */
1144        FIN, 
1145        /**
1146         * The medical condition of the Patient has changed
1147         */
1148        MED, 
1149        /**
1150         * The Physician is in a meeting.  For example, he/she may request administrative time to talk to family after appointment
1151         */
1152        MTG, 
1153        /**
1154         * The Physician requested the action
1155         */
1156        PHY, 
1157        /**
1158         * Indicates why the act revision (status update) is being refused.
1159         */
1160        _STATUSREVISIONREFUSALREASONCODE, 
1161        /**
1162         * Ordered quantity has already been completely fulfilled.
1163         */
1164        FILLED, 
1165        /**
1166         * Definition:Indicates why the requested authorization to prescribe or dispense a medication has been refused.
1167         */
1168        _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE, 
1169        /**
1170         * Definition:Patient not eligible for drug
1171         */
1172        PATINELIG, 
1173        /**
1174         * Definition:Patient does not meet required protocol
1175         */
1176        PROTUNMET, 
1177        /**
1178         * Definition:Provider is not authorized to prescribe or dispense
1179         */
1180        PROVUNAUTH, 
1181        /**
1182         * Reasons why substitution of a substance administration request is not permitted.
1183         */
1184        _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON, 
1185        /**
1186         * Definition: Patient has had a prior allergic intolerance response to alternate product or one of its components.
1187         */
1188        ALGINT, 
1189        /**
1190         * Definition: Patient has compliance issues with medication such as differing appearance, flavor, size, shape or consistency.
1191         */
1192        COMPCON, 
1193        /**
1194         * The prescribed product has specific clinical release or other therapeutic characteristics not shared by other substitutable medications.
1195         */
1196        THERCHAR, 
1197        /**
1198         * Definition: The specific manufactured drug is part of a clinical trial.
1199         */
1200        TRIAL, 
1201        /**
1202         * SubstanceAdminSubstitutionReason
1203         */
1204        _SUBSTANCEADMINSUBSTITUTIONREASON, 
1205        /**
1206         * 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.
1207         */
1208        CT, 
1209        /**
1210         * Indicates that the decision to substitute or to not substitute was driven by a policy expressed within the formulary.
1211         */
1212        FP, 
1213        /**
1214         * 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.
1215         */
1216        OS, 
1217        /**
1218         * Indicates that the decision to substitute or to not substitute was driven by a jurisdictional regulatory requirement mandating or prohibiting substitution.
1219         */
1220        RR, 
1221        /**
1222         * The explanation for why a patient is moved from one location to another within the organization
1223         */
1224        _TRANSFERACTREASON, 
1225        /**
1226         * Moved to an error in placing the patient in the original location.
1227         */
1228        ER, 
1229        /**
1230         * Moved at the request of the patient.
1231         */
1232        RQ, 
1233        /**
1234         * Definition: This domain is used to document reasons for providing a billable service; the billable services may include both clinical services and social services.
1235         */
1236        _ACTBILLABLESERVICEREASON, 
1237        /**
1238         * Reason for Clinical Service being performed.
1239
1240                        This domain excludes reasons specified by diagnosed conditions.
1241
1242                        Examples of values from this domain include duplicate therapy and fraudulent prescription.
1243         */
1244        _ACTBILLABLECLINICALSERVICEREASON, 
1245        /**
1246         * null
1247         */
1248        BONUS, 
1249        /**
1250         * Description:The level of coverage under the policy or program is available only to children
1251         */
1252        CHD, 
1253        /**
1254         * Description:The level of coverage under the policy or program is available only to a subscriber's dependents.
1255         */
1256        DEP, 
1257        /**
1258         * Description:The level of coverage under the policy or program is available to an employee and his or her children.
1259         */
1260        ECH, 
1261        /**
1262         * null
1263         */
1264        EDU, 
1265        /**
1266         * Description:The level of coverage under the policy or program is available only to an employee.
1267         */
1268        EMP, 
1269        /**
1270         * Description:The level of coverage under the policy or program is available to an employee and his or her spouse.
1271         */
1272        ESP, 
1273        /**
1274         * Description:The level of coverage under the policy or program is available to a subscriber's family.
1275         */
1276        FAM, 
1277        /**
1278         * Description:The level of coverage under the policy or program is available to an individual.
1279         */
1280        IND, 
1281        /**
1282         * null
1283         */
1284        INVOICE, 
1285        /**
1286         * null
1287         */
1288        PROA, 
1289        /**
1290         * null
1291         */
1292        RECOV, 
1293        /**
1294         * null
1295         */
1296        RETRO, 
1297        /**
1298         * Description:The level of coverage under the policy or program is available to a subscriber's spouse and children
1299         */
1300        SPC, 
1301        /**
1302         * Description:The level of coverage under the policy or program is available only to a subscribers spouse
1303         */
1304        SPO, 
1305        /**
1306         * null
1307         */
1308        TRAN, 
1309        /**
1310         * added to help the parsers
1311         */
1312        NULL;
1313        public static V3ActReason fromCode(String codeString) throws FHIRException {
1314            if (codeString == null || "".equals(codeString))
1315                return null;
1316        if ("_ActAccommodationReason".equals(codeString))
1317          return _ACTACCOMMODATIONREASON;
1318        if ("ACCREQNA".equals(codeString))
1319          return ACCREQNA;
1320        if ("FLRCNV".equals(codeString))
1321          return FLRCNV;
1322        if ("MEDNEC".equals(codeString))
1323          return MEDNEC;
1324        if ("PAT".equals(codeString))
1325          return PAT;
1326        if ("_ActCoverageReason".equals(codeString))
1327          return _ACTCOVERAGEREASON;
1328        if ("_EligibilityActReasonCode".equals(codeString))
1329          return _ELIGIBILITYACTREASONCODE;
1330        if ("_ActIneligibilityReason".equals(codeString))
1331          return _ACTINELIGIBILITYREASON;
1332        if ("COVSUS".equals(codeString))
1333          return COVSUS;
1334        if ("DECSD".equals(codeString))
1335          return DECSD;
1336        if ("REGERR".equals(codeString))
1337          return REGERR;
1338        if ("_CoverageEligibilityReason".equals(codeString))
1339          return _COVERAGEELIGIBILITYREASON;
1340        if ("AGE".equals(codeString))
1341          return AGE;
1342        if ("CRIME".equals(codeString))
1343          return CRIME;
1344        if ("DIS".equals(codeString))
1345          return DIS;
1346        if ("EMPLOY".equals(codeString))
1347          return EMPLOY;
1348        if ("FINAN".equals(codeString))
1349          return FINAN;
1350        if ("HEALTH".equals(codeString))
1351          return HEALTH;
1352        if ("MULTI".equals(codeString))
1353          return MULTI;
1354        if ("PNC".equals(codeString))
1355          return PNC;
1356        if ("STATUTORY".equals(codeString))
1357          return STATUTORY;
1358        if ("VEHIC".equals(codeString))
1359          return VEHIC;
1360        if ("WORK".equals(codeString))
1361          return WORK;
1362        if ("_ActInformationManagementReason".equals(codeString))
1363          return _ACTINFORMATIONMANAGEMENTREASON;
1364        if ("_ActHealthInformationManagementReason".equals(codeString))
1365          return _ACTHEALTHINFORMATIONMANAGEMENTREASON;
1366        if ("_ActConsentInformationAccessOverrideReason".equals(codeString))
1367          return _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON;
1368        if ("OVRER".equals(codeString))
1369          return OVRER;
1370        if ("OVRINCOMP".equals(codeString))
1371          return OVRINCOMP;
1372        if ("OVRPJ".equals(codeString))
1373          return OVRPJ;
1374        if ("OVRPS".equals(codeString))
1375          return OVRPS;
1376        if ("OVRTPS".equals(codeString))
1377          return OVRTPS;
1378        if ("PurposeOfUse".equals(codeString))
1379          return PURPOSEOFUSE;
1380        if ("HMARKT".equals(codeString))
1381          return HMARKT;
1382        if ("HOPERAT".equals(codeString))
1383          return HOPERAT;
1384        if ("CAREMGT".equals(codeString))
1385          return CAREMGT;
1386        if ("DONAT".equals(codeString))
1387          return DONAT;
1388        if ("FRAUD".equals(codeString))
1389          return FRAUD;
1390        if ("GOV".equals(codeString))
1391          return GOV;
1392        if ("HACCRED".equals(codeString))
1393          return HACCRED;
1394        if ("HCOMPL".equals(codeString))
1395          return HCOMPL;
1396        if ("HDECD".equals(codeString))
1397          return HDECD;
1398        if ("HDIRECT".equals(codeString))
1399          return HDIRECT;
1400        if ("HDM".equals(codeString))
1401          return HDM;
1402        if ("HLEGAL".equals(codeString))
1403          return HLEGAL;
1404        if ("HOUTCOMS".equals(codeString))
1405          return HOUTCOMS;
1406        if ("HPRGRP".equals(codeString))
1407          return HPRGRP;
1408        if ("HQUALIMP".equals(codeString))
1409          return HQUALIMP;
1410        if ("HSYSADMIN".equals(codeString))
1411          return HSYSADMIN;
1412        if ("LABELING".equals(codeString))
1413          return LABELING;
1414        if ("METAMGT".equals(codeString))
1415          return METAMGT;
1416        if ("MEMADMIN".equals(codeString))
1417          return MEMADMIN;
1418        if ("MILCDM".equals(codeString))
1419          return MILCDM;
1420        if ("PATADMIN".equals(codeString))
1421          return PATADMIN;
1422        if ("PATSFTY".equals(codeString))
1423          return PATSFTY;
1424        if ("PERFMSR".equals(codeString))
1425          return PERFMSR;
1426        if ("RECORDMGT".equals(codeString))
1427          return RECORDMGT;
1428        if ("SYSDEV".equals(codeString))
1429          return SYSDEV;
1430        if ("HTEST".equals(codeString))
1431          return HTEST;
1432        if ("TRAIN".equals(codeString))
1433          return TRAIN;
1434        if ("HPAYMT".equals(codeString))
1435          return HPAYMT;
1436        if ("CLMATTCH".equals(codeString))
1437          return CLMATTCH;
1438        if ("COVAUTH".equals(codeString))
1439          return COVAUTH;
1440        if ("COVERAGE".equals(codeString))
1441          return COVERAGE;
1442        if ("ELIGDTRM".equals(codeString))
1443          return ELIGDTRM;
1444        if ("ELIGVER".equals(codeString))
1445          return ELIGVER;
1446        if ("ENROLLM".equals(codeString))
1447          return ENROLLM;
1448        if ("MILDCRG".equals(codeString))
1449          return MILDCRG;
1450        if ("REMITADV".equals(codeString))
1451          return REMITADV;
1452        if ("HRESCH".equals(codeString))
1453          return HRESCH;
1454        if ("BIORCH".equals(codeString))
1455          return BIORCH;
1456        if ("CLINTRCH".equals(codeString))
1457          return CLINTRCH;
1458        if ("CLINTRCHNPC".equals(codeString))
1459          return CLINTRCHNPC;
1460        if ("CLINTRCHPC".equals(codeString))
1461          return CLINTRCHPC;
1462        if ("PRECLINTRCH".equals(codeString))
1463          return PRECLINTRCH;
1464        if ("DSRCH".equals(codeString))
1465          return DSRCH;
1466        if ("POARCH".equals(codeString))
1467          return POARCH;
1468        if ("TRANSRCH".equals(codeString))
1469          return TRANSRCH;
1470        if ("PATRQT".equals(codeString))
1471          return PATRQT;
1472        if ("FAMRQT".equals(codeString))
1473          return FAMRQT;
1474        if ("PWATRNY".equals(codeString))
1475          return PWATRNY;
1476        if ("SUPNWK".equals(codeString))
1477          return SUPNWK;
1478        if ("PUBHLTH".equals(codeString))
1479          return PUBHLTH;
1480        if ("DISASTER".equals(codeString))
1481          return DISASTER;
1482        if ("THREAT".equals(codeString))
1483          return THREAT;
1484        if ("TREAT".equals(codeString))
1485          return TREAT;
1486        if ("CLINTRL".equals(codeString))
1487          return CLINTRL;
1488        if ("COC".equals(codeString))
1489          return COC;
1490        if ("ETREAT".equals(codeString))
1491          return ETREAT;
1492        if ("BTG".equals(codeString))
1493          return BTG;
1494        if ("ERTREAT".equals(codeString))
1495          return ERTREAT;
1496        if ("POPHLTH".equals(codeString))
1497          return POPHLTH;
1498        if ("_ActInformationPrivacyReason".equals(codeString))
1499          return _ACTINFORMATIONPRIVACYREASON;
1500        if ("MARKT".equals(codeString))
1501          return MARKT;
1502        if ("OPERAT".equals(codeString))
1503          return OPERAT;
1504        if ("LEGAL".equals(codeString))
1505          return LEGAL;
1506        if ("ACCRED".equals(codeString))
1507          return ACCRED;
1508        if ("COMPL".equals(codeString))
1509          return COMPL;
1510        if ("ENADMIN".equals(codeString))
1511          return ENADMIN;
1512        if ("OUTCOMS".equals(codeString))
1513          return OUTCOMS;
1514        if ("PRGRPT".equals(codeString))
1515          return PRGRPT;
1516        if ("QUALIMP".equals(codeString))
1517          return QUALIMP;
1518        if ("SYSADMN".equals(codeString))
1519          return SYSADMN;
1520        if ("PAYMT".equals(codeString))
1521          return PAYMT;
1522        if ("RESCH".equals(codeString))
1523          return RESCH;
1524        if ("SRVC".equals(codeString))
1525          return SRVC;
1526        if ("_ActInvalidReason".equals(codeString))
1527          return _ACTINVALIDREASON;
1528        if ("ADVSTORAGE".equals(codeString))
1529          return ADVSTORAGE;
1530        if ("COLDCHNBRK".equals(codeString))
1531          return COLDCHNBRK;
1532        if ("EXPLOT".equals(codeString))
1533          return EXPLOT;
1534        if ("OUTSIDESCHED".equals(codeString))
1535          return OUTSIDESCHED;
1536        if ("PRODRECALL".equals(codeString))
1537          return PRODRECALL;
1538        if ("_ActInvoiceCancelReason".equals(codeString))
1539          return _ACTINVOICECANCELREASON;
1540        if ("INCCOVPTY".equals(codeString))
1541          return INCCOVPTY;
1542        if ("INCINVOICE".equals(codeString))
1543          return INCINVOICE;
1544        if ("INCPOLICY".equals(codeString))
1545          return INCPOLICY;
1546        if ("INCPROV".equals(codeString))
1547          return INCPROV;
1548        if ("_ActNoImmunizationReason".equals(codeString))
1549          return _ACTNOIMMUNIZATIONREASON;
1550        if ("IMMUNE".equals(codeString))
1551          return IMMUNE;
1552        if ("MEDPREC".equals(codeString))
1553          return MEDPREC;
1554        if ("OSTOCK".equals(codeString))
1555          return OSTOCK;
1556        if ("PATOBJ".equals(codeString))
1557          return PATOBJ;
1558        if ("PHILISOP".equals(codeString))
1559          return PHILISOP;
1560        if ("RELIG".equals(codeString))
1561          return RELIG;
1562        if ("VACEFF".equals(codeString))
1563          return VACEFF;
1564        if ("VACSAF".equals(codeString))
1565          return VACSAF;
1566        if ("_ActSupplyFulfillmentRefusalReason".equals(codeString))
1567          return _ACTSUPPLYFULFILLMENTREFUSALREASON;
1568        if ("FRR01".equals(codeString))
1569          return FRR01;
1570        if ("FRR02".equals(codeString))
1571          return FRR02;
1572        if ("FRR03".equals(codeString))
1573          return FRR03;
1574        if ("FRR04".equals(codeString))
1575          return FRR04;
1576        if ("FRR05".equals(codeString))
1577          return FRR05;
1578        if ("FRR06".equals(codeString))
1579          return FRR06;
1580        if ("_ClinicalResearchEventReason".equals(codeString))
1581          return _CLINICALRESEARCHEVENTREASON;
1582        if ("RET".equals(codeString))
1583          return RET;
1584        if ("SCH".equals(codeString))
1585          return SCH;
1586        if ("TRM".equals(codeString))
1587          return TRM;
1588        if ("UNS".equals(codeString))
1589          return UNS;
1590        if ("_ClinicalResearchObservationReason".equals(codeString))
1591          return _CLINICALRESEARCHOBSERVATIONREASON;
1592        if ("NPT".equals(codeString))
1593          return NPT;
1594        if ("PPT".equals(codeString))
1595          return PPT;
1596        if ("UPT".equals(codeString))
1597          return UPT;
1598        if ("_CombinedPharmacyOrderSuspendReasonCode".equals(codeString))
1599          return _COMBINEDPHARMACYORDERSUSPENDREASONCODE;
1600        if ("ALTCHOICE".equals(codeString))
1601          return ALTCHOICE;
1602        if ("CLARIF".equals(codeString))
1603          return CLARIF;
1604        if ("DRUGHIGH".equals(codeString))
1605          return DRUGHIGH;
1606        if ("HOSPADM".equals(codeString))
1607          return HOSPADM;
1608        if ("LABINT".equals(codeString))
1609          return LABINT;
1610        if ("NON-AVAIL".equals(codeString))
1611          return NONAVAIL;
1612        if ("PREG".equals(codeString))
1613          return PREG;
1614        if ("SALG".equals(codeString))
1615          return SALG;
1616        if ("SDDI".equals(codeString))
1617          return SDDI;
1618        if ("SDUPTHER".equals(codeString))
1619          return SDUPTHER;
1620        if ("SINTOL".equals(codeString))
1621          return SINTOL;
1622        if ("SURG".equals(codeString))
1623          return SURG;
1624        if ("WASHOUT".equals(codeString))
1625          return WASHOUT;
1626        if ("_ControlActNullificationReasonCode".equals(codeString))
1627          return _CONTROLACTNULLIFICATIONREASONCODE;
1628        if ("ALTD".equals(codeString))
1629          return ALTD;
1630        if ("EIE".equals(codeString))
1631          return EIE;
1632        if ("NORECMTCH".equals(codeString))
1633          return NORECMTCH;
1634        if ("_ControlActNullificationRefusalReasonType".equals(codeString))
1635          return _CONTROLACTNULLIFICATIONREFUSALREASONTYPE;
1636        if ("INRQSTATE".equals(codeString))
1637          return INRQSTATE;
1638        if ("NOMATCH".equals(codeString))
1639          return NOMATCH;
1640        if ("NOPRODMTCH".equals(codeString))
1641          return NOPRODMTCH;
1642        if ("NOSERMTCH".equals(codeString))
1643          return NOSERMTCH;
1644        if ("NOVERMTCH".equals(codeString))
1645          return NOVERMTCH;
1646        if ("NOPERM".equals(codeString))
1647          return NOPERM;
1648        if ("NOUSERPERM".equals(codeString))
1649          return NOUSERPERM;
1650        if ("NOAGNTPERM".equals(codeString))
1651          return NOAGNTPERM;
1652        if ("NOUSRPERM".equals(codeString))
1653          return NOUSRPERM;
1654        if ("WRNGVER".equals(codeString))
1655          return WRNGVER;
1656        if ("_ControlActReason".equals(codeString))
1657          return _CONTROLACTREASON;
1658        if ("_MedicationOrderAbortReasonCode".equals(codeString))
1659          return _MEDICATIONORDERABORTREASONCODE;
1660        if ("DISCONT".equals(codeString))
1661          return DISCONT;
1662        if ("INEFFECT".equals(codeString))
1663          return INEFFECT;
1664        if ("MONIT".equals(codeString))
1665          return MONIT;
1666        if ("NOREQ".equals(codeString))
1667          return NOREQ;
1668        if ("NOTCOVER".equals(codeString))
1669          return NOTCOVER;
1670        if ("PREFUS".equals(codeString))
1671          return PREFUS;
1672        if ("RECALL".equals(codeString))
1673          return RECALL;
1674        if ("REPLACE".equals(codeString))
1675          return REPLACE;
1676        if ("DOSECHG".equals(codeString))
1677          return DOSECHG;
1678        if ("REPLACEFIX".equals(codeString))
1679          return REPLACEFIX;
1680        if ("UNABLE".equals(codeString))
1681          return UNABLE;
1682        if ("_MedicationOrderReleaseReasonCode".equals(codeString))
1683          return _MEDICATIONORDERRELEASEREASONCODE;
1684        if ("HOLDDONE".equals(codeString))
1685          return HOLDDONE;
1686        if ("HOLDINAP".equals(codeString))
1687          return HOLDINAP;
1688        if ("_ModifyPrescriptionReasonType".equals(codeString))
1689          return _MODIFYPRESCRIPTIONREASONTYPE;
1690        if ("ADMINERROR".equals(codeString))
1691          return ADMINERROR;
1692        if ("CLINMOD".equals(codeString))
1693          return CLINMOD;
1694        if ("_PharmacySupplyEventAbortReason".equals(codeString))
1695          return _PHARMACYSUPPLYEVENTABORTREASON;
1696        if ("CONTRA".equals(codeString))
1697          return CONTRA;
1698        if ("FOABORT".equals(codeString))
1699          return FOABORT;
1700        if ("FOSUSP".equals(codeString))
1701          return FOSUSP;
1702        if ("NOPICK".equals(codeString))
1703          return NOPICK;
1704        if ("PATDEC".equals(codeString))
1705          return PATDEC;
1706        if ("QUANTCHG".equals(codeString))
1707          return QUANTCHG;
1708        if ("_PharmacySupplyEventStockReasonCode".equals(codeString))
1709          return _PHARMACYSUPPLYEVENTSTOCKREASONCODE;
1710        if ("FLRSTCK".equals(codeString))
1711          return FLRSTCK;
1712        if ("LTC".equals(codeString))
1713          return LTC;
1714        if ("OFFICE".equals(codeString))
1715          return OFFICE;
1716        if ("PHARM".equals(codeString))
1717          return PHARM;
1718        if ("PROG".equals(codeString))
1719          return PROG;
1720        if ("_PharmacySupplyRequestRenewalRefusalReasonCode".equals(codeString))
1721          return _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE;
1722        if ("ALREADYRX".equals(codeString))
1723          return ALREADYRX;
1724        if ("FAMPHYS".equals(codeString))
1725          return FAMPHYS;
1726        if ("MODIFY".equals(codeString))
1727          return MODIFY;
1728        if ("NEEDAPMT".equals(codeString))
1729          return NEEDAPMT;
1730        if ("NOTAVAIL".equals(codeString))
1731          return NOTAVAIL;
1732        if ("NOTPAT".equals(codeString))
1733          return NOTPAT;
1734        if ("ONHOLD".equals(codeString))
1735          return ONHOLD;
1736        if ("PRNA".equals(codeString))
1737          return PRNA;
1738        if ("STOPMED".equals(codeString))
1739          return STOPMED;
1740        if ("TOOEARLY".equals(codeString))
1741          return TOOEARLY;
1742        if ("_SupplyOrderAbortReasonCode".equals(codeString))
1743          return _SUPPLYORDERABORTREASONCODE;
1744        if ("IMPROV".equals(codeString))
1745          return IMPROV;
1746        if ("INTOL".equals(codeString))
1747          return INTOL;
1748        if ("NEWSTR".equals(codeString))
1749          return NEWSTR;
1750        if ("NEWTHER".equals(codeString))
1751          return NEWTHER;
1752        if ("_GenericUpdateReasonCode".equals(codeString))
1753          return _GENERICUPDATEREASONCODE;
1754        if ("CHGDATA".equals(codeString))
1755          return CHGDATA;
1756        if ("FIXDATA".equals(codeString))
1757          return FIXDATA;
1758        if ("MDATA".equals(codeString))
1759          return MDATA;
1760        if ("NEWDATA".equals(codeString))
1761          return NEWDATA;
1762        if ("UMDATA".equals(codeString))
1763          return UMDATA;
1764        if ("_PatientProfileQueryReasonCode".equals(codeString))
1765          return _PATIENTPROFILEQUERYREASONCODE;
1766        if ("ADMREV".equals(codeString))
1767          return ADMREV;
1768        if ("PATCAR".equals(codeString))
1769          return PATCAR;
1770        if ("PATREQ".equals(codeString))
1771          return PATREQ;
1772        if ("PRCREV".equals(codeString))
1773          return PRCREV;
1774        if ("REGUL".equals(codeString))
1775          return REGUL;
1776        if ("RSRCH".equals(codeString))
1777          return RSRCH;
1778        if ("VALIDATION".equals(codeString))
1779          return VALIDATION;
1780        if ("_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode".equals(codeString))
1781          return _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE;
1782        if ("LOCKED".equals(codeString))
1783          return LOCKED;
1784        if ("UNKWNTARGET".equals(codeString))
1785          return UNKWNTARGET;
1786        if ("_RefusalReasonCode".equals(codeString))
1787          return _REFUSALREASONCODE;
1788        if ("_SchedulingActReason".equals(codeString))
1789          return _SCHEDULINGACTREASON;
1790        if ("BLK".equals(codeString))
1791          return BLK;
1792        if ("DEC".equals(codeString))
1793          return DEC;
1794        if ("FIN".equals(codeString))
1795          return FIN;
1796        if ("MED".equals(codeString))
1797          return MED;
1798        if ("MTG".equals(codeString))
1799          return MTG;
1800        if ("PHY".equals(codeString))
1801          return PHY;
1802        if ("_StatusRevisionRefusalReasonCode".equals(codeString))
1803          return _STATUSREVISIONREFUSALREASONCODE;
1804        if ("FILLED".equals(codeString))
1805          return FILLED;
1806        if ("_SubstanceAdministrationPermissionRefusalReasonCode".equals(codeString))
1807          return _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE;
1808        if ("PATINELIG".equals(codeString))
1809          return PATINELIG;
1810        if ("PROTUNMET".equals(codeString))
1811          return PROTUNMET;
1812        if ("PROVUNAUTH".equals(codeString))
1813          return PROVUNAUTH;
1814        if ("_SubstanceAdminSubstitutionNotAllowedReason".equals(codeString))
1815          return _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON;
1816        if ("ALGINT".equals(codeString))
1817          return ALGINT;
1818        if ("COMPCON".equals(codeString))
1819          return COMPCON;
1820        if ("THERCHAR".equals(codeString))
1821          return THERCHAR;
1822        if ("TRIAL".equals(codeString))
1823          return TRIAL;
1824        if ("_SubstanceAdminSubstitutionReason".equals(codeString))
1825          return _SUBSTANCEADMINSUBSTITUTIONREASON;
1826        if ("CT".equals(codeString))
1827          return CT;
1828        if ("FP".equals(codeString))
1829          return FP;
1830        if ("OS".equals(codeString))
1831          return OS;
1832        if ("RR".equals(codeString))
1833          return RR;
1834        if ("_TransferActReason".equals(codeString))
1835          return _TRANSFERACTREASON;
1836        if ("ER".equals(codeString))
1837          return ER;
1838        if ("RQ".equals(codeString))
1839          return RQ;
1840        if ("_ActBillableServiceReason".equals(codeString))
1841          return _ACTBILLABLESERVICEREASON;
1842        if ("_ActBillableClinicalServiceReason".equals(codeString))
1843          return _ACTBILLABLECLINICALSERVICEREASON;
1844        if ("BONUS".equals(codeString))
1845          return BONUS;
1846        if ("CHD".equals(codeString))
1847          return CHD;
1848        if ("DEP".equals(codeString))
1849          return DEP;
1850        if ("ECH".equals(codeString))
1851          return ECH;
1852        if ("EDU".equals(codeString))
1853          return EDU;
1854        if ("EMP".equals(codeString))
1855          return EMP;
1856        if ("ESP".equals(codeString))
1857          return ESP;
1858        if ("FAM".equals(codeString))
1859          return FAM;
1860        if ("IND".equals(codeString))
1861          return IND;
1862        if ("INVOICE".equals(codeString))
1863          return INVOICE;
1864        if ("PROA".equals(codeString))
1865          return PROA;
1866        if ("RECOV".equals(codeString))
1867          return RECOV;
1868        if ("RETRO".equals(codeString))
1869          return RETRO;
1870        if ("SPC".equals(codeString))
1871          return SPC;
1872        if ("SPO".equals(codeString))
1873          return SPO;
1874        if ("TRAN".equals(codeString))
1875          return TRAN;
1876        throw new FHIRException("Unknown V3ActReason code '"+codeString+"'");
1877        }
1878        public String toCode() {
1879          switch (this) {
1880            case _ACTACCOMMODATIONREASON: return "_ActAccommodationReason";
1881            case ACCREQNA: return "ACCREQNA";
1882            case FLRCNV: return "FLRCNV";
1883            case MEDNEC: return "MEDNEC";
1884            case PAT: return "PAT";
1885            case _ACTCOVERAGEREASON: return "_ActCoverageReason";
1886            case _ELIGIBILITYACTREASONCODE: return "_EligibilityActReasonCode";
1887            case _ACTINELIGIBILITYREASON: return "_ActIneligibilityReason";
1888            case COVSUS: return "COVSUS";
1889            case DECSD: return "DECSD";
1890            case REGERR: return "REGERR";
1891            case _COVERAGEELIGIBILITYREASON: return "_CoverageEligibilityReason";
1892            case AGE: return "AGE";
1893            case CRIME: return "CRIME";
1894            case DIS: return "DIS";
1895            case EMPLOY: return "EMPLOY";
1896            case FINAN: return "FINAN";
1897            case HEALTH: return "HEALTH";
1898            case MULTI: return "MULTI";
1899            case PNC: return "PNC";
1900            case STATUTORY: return "STATUTORY";
1901            case VEHIC: return "VEHIC";
1902            case WORK: return "WORK";
1903            case _ACTINFORMATIONMANAGEMENTREASON: return "_ActInformationManagementReason";
1904            case _ACTHEALTHINFORMATIONMANAGEMENTREASON: return "_ActHealthInformationManagementReason";
1905            case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON: return "_ActConsentInformationAccessOverrideReason";
1906            case OVRER: return "OVRER";
1907            case OVRINCOMP: return "OVRINCOMP";
1908            case OVRPJ: return "OVRPJ";
1909            case OVRPS: return "OVRPS";
1910            case OVRTPS: return "OVRTPS";
1911            case PURPOSEOFUSE: return "PurposeOfUse";
1912            case HMARKT: return "HMARKT";
1913            case HOPERAT: return "HOPERAT";
1914            case CAREMGT: return "CAREMGT";
1915            case DONAT: return "DONAT";
1916            case FRAUD: return "FRAUD";
1917            case GOV: return "GOV";
1918            case HACCRED: return "HACCRED";
1919            case HCOMPL: return "HCOMPL";
1920            case HDECD: return "HDECD";
1921            case HDIRECT: return "HDIRECT";
1922            case HDM: return "HDM";
1923            case HLEGAL: return "HLEGAL";
1924            case HOUTCOMS: return "HOUTCOMS";
1925            case HPRGRP: return "HPRGRP";
1926            case HQUALIMP: return "HQUALIMP";
1927            case HSYSADMIN: return "HSYSADMIN";
1928            case LABELING: return "LABELING";
1929            case METAMGT: return "METAMGT";
1930            case MEMADMIN: return "MEMADMIN";
1931            case MILCDM: return "MILCDM";
1932            case PATADMIN: return "PATADMIN";
1933            case PATSFTY: return "PATSFTY";
1934            case PERFMSR: return "PERFMSR";
1935            case RECORDMGT: return "RECORDMGT";
1936            case SYSDEV: return "SYSDEV";
1937            case HTEST: return "HTEST";
1938            case TRAIN: return "TRAIN";
1939            case HPAYMT: return "HPAYMT";
1940            case CLMATTCH: return "CLMATTCH";
1941            case COVAUTH: return "COVAUTH";
1942            case COVERAGE: return "COVERAGE";
1943            case ELIGDTRM: return "ELIGDTRM";
1944            case ELIGVER: return "ELIGVER";
1945            case ENROLLM: return "ENROLLM";
1946            case MILDCRG: return "MILDCRG";
1947            case REMITADV: return "REMITADV";
1948            case HRESCH: return "HRESCH";
1949            case BIORCH: return "BIORCH";
1950            case CLINTRCH: return "CLINTRCH";
1951            case CLINTRCHNPC: return "CLINTRCHNPC";
1952            case CLINTRCHPC: return "CLINTRCHPC";
1953            case PRECLINTRCH: return "PRECLINTRCH";
1954            case DSRCH: return "DSRCH";
1955            case POARCH: return "POARCH";
1956            case TRANSRCH: return "TRANSRCH";
1957            case PATRQT: return "PATRQT";
1958            case FAMRQT: return "FAMRQT";
1959            case PWATRNY: return "PWATRNY";
1960            case SUPNWK: return "SUPNWK";
1961            case PUBHLTH: return "PUBHLTH";
1962            case DISASTER: return "DISASTER";
1963            case THREAT: return "THREAT";
1964            case TREAT: return "TREAT";
1965            case CLINTRL: return "CLINTRL";
1966            case COC: return "COC";
1967            case ETREAT: return "ETREAT";
1968            case BTG: return "BTG";
1969            case ERTREAT: return "ERTREAT";
1970            case POPHLTH: return "POPHLTH";
1971            case _ACTINFORMATIONPRIVACYREASON: return "_ActInformationPrivacyReason";
1972            case MARKT: return "MARKT";
1973            case OPERAT: return "OPERAT";
1974            case LEGAL: return "LEGAL";
1975            case ACCRED: return "ACCRED";
1976            case COMPL: return "COMPL";
1977            case ENADMIN: return "ENADMIN";
1978            case OUTCOMS: return "OUTCOMS";
1979            case PRGRPT: return "PRGRPT";
1980            case QUALIMP: return "QUALIMP";
1981            case SYSADMN: return "SYSADMN";
1982            case PAYMT: return "PAYMT";
1983            case RESCH: return "RESCH";
1984            case SRVC: return "SRVC";
1985            case _ACTINVALIDREASON: return "_ActInvalidReason";
1986            case ADVSTORAGE: return "ADVSTORAGE";
1987            case COLDCHNBRK: return "COLDCHNBRK";
1988            case EXPLOT: return "EXPLOT";
1989            case OUTSIDESCHED: return "OUTSIDESCHED";
1990            case PRODRECALL: return "PRODRECALL";
1991            case _ACTINVOICECANCELREASON: return "_ActInvoiceCancelReason";
1992            case INCCOVPTY: return "INCCOVPTY";
1993            case INCINVOICE: return "INCINVOICE";
1994            case INCPOLICY: return "INCPOLICY";
1995            case INCPROV: return "INCPROV";
1996            case _ACTNOIMMUNIZATIONREASON: return "_ActNoImmunizationReason";
1997            case IMMUNE: return "IMMUNE";
1998            case MEDPREC: return "MEDPREC";
1999            case OSTOCK: return "OSTOCK";
2000            case PATOBJ: return "PATOBJ";
2001            case PHILISOP: return "PHILISOP";
2002            case RELIG: return "RELIG";
2003            case VACEFF: return "VACEFF";
2004            case VACSAF: return "VACSAF";
2005            case _ACTSUPPLYFULFILLMENTREFUSALREASON: return "_ActSupplyFulfillmentRefusalReason";
2006            case FRR01: return "FRR01";
2007            case FRR02: return "FRR02";
2008            case FRR03: return "FRR03";
2009            case FRR04: return "FRR04";
2010            case FRR05: return "FRR05";
2011            case FRR06: return "FRR06";
2012            case _CLINICALRESEARCHEVENTREASON: return "_ClinicalResearchEventReason";
2013            case RET: return "RET";
2014            case SCH: return "SCH";
2015            case TRM: return "TRM";
2016            case UNS: return "UNS";
2017            case _CLINICALRESEARCHOBSERVATIONREASON: return "_ClinicalResearchObservationReason";
2018            case NPT: return "NPT";
2019            case PPT: return "PPT";
2020            case UPT: return "UPT";
2021            case _COMBINEDPHARMACYORDERSUSPENDREASONCODE: return "_CombinedPharmacyOrderSuspendReasonCode";
2022            case ALTCHOICE: return "ALTCHOICE";
2023            case CLARIF: return "CLARIF";
2024            case DRUGHIGH: return "DRUGHIGH";
2025            case HOSPADM: return "HOSPADM";
2026            case LABINT: return "LABINT";
2027            case NONAVAIL: return "NON-AVAIL";
2028            case PREG: return "PREG";
2029            case SALG: return "SALG";
2030            case SDDI: return "SDDI";
2031            case SDUPTHER: return "SDUPTHER";
2032            case SINTOL: return "SINTOL";
2033            case SURG: return "SURG";
2034            case WASHOUT: return "WASHOUT";
2035            case _CONTROLACTNULLIFICATIONREASONCODE: return "_ControlActNullificationReasonCode";
2036            case ALTD: return "ALTD";
2037            case EIE: return "EIE";
2038            case NORECMTCH: return "NORECMTCH";
2039            case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE: return "_ControlActNullificationRefusalReasonType";
2040            case INRQSTATE: return "INRQSTATE";
2041            case NOMATCH: return "NOMATCH";
2042            case NOPRODMTCH: return "NOPRODMTCH";
2043            case NOSERMTCH: return "NOSERMTCH";
2044            case NOVERMTCH: return "NOVERMTCH";
2045            case NOPERM: return "NOPERM";
2046            case NOUSERPERM: return "NOUSERPERM";
2047            case NOAGNTPERM: return "NOAGNTPERM";
2048            case NOUSRPERM: return "NOUSRPERM";
2049            case WRNGVER: return "WRNGVER";
2050            case _CONTROLACTREASON: return "_ControlActReason";
2051            case _MEDICATIONORDERABORTREASONCODE: return "_MedicationOrderAbortReasonCode";
2052            case DISCONT: return "DISCONT";
2053            case INEFFECT: return "INEFFECT";
2054            case MONIT: return "MONIT";
2055            case NOREQ: return "NOREQ";
2056            case NOTCOVER: return "NOTCOVER";
2057            case PREFUS: return "PREFUS";
2058            case RECALL: return "RECALL";
2059            case REPLACE: return "REPLACE";
2060            case DOSECHG: return "DOSECHG";
2061            case REPLACEFIX: return "REPLACEFIX";
2062            case UNABLE: return "UNABLE";
2063            case _MEDICATIONORDERRELEASEREASONCODE: return "_MedicationOrderReleaseReasonCode";
2064            case HOLDDONE: return "HOLDDONE";
2065            case HOLDINAP: return "HOLDINAP";
2066            case _MODIFYPRESCRIPTIONREASONTYPE: return "_ModifyPrescriptionReasonType";
2067            case ADMINERROR: return "ADMINERROR";
2068            case CLINMOD: return "CLINMOD";
2069            case _PHARMACYSUPPLYEVENTABORTREASON: return "_PharmacySupplyEventAbortReason";
2070            case CONTRA: return "CONTRA";
2071            case FOABORT: return "FOABORT";
2072            case FOSUSP: return "FOSUSP";
2073            case NOPICK: return "NOPICK";
2074            case PATDEC: return "PATDEC";
2075            case QUANTCHG: return "QUANTCHG";
2076            case _PHARMACYSUPPLYEVENTSTOCKREASONCODE: return "_PharmacySupplyEventStockReasonCode";
2077            case FLRSTCK: return "FLRSTCK";
2078            case LTC: return "LTC";
2079            case OFFICE: return "OFFICE";
2080            case PHARM: return "PHARM";
2081            case PROG: return "PROG";
2082            case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE: return "_PharmacySupplyRequestRenewalRefusalReasonCode";
2083            case ALREADYRX: return "ALREADYRX";
2084            case FAMPHYS: return "FAMPHYS";
2085            case MODIFY: return "MODIFY";
2086            case NEEDAPMT: return "NEEDAPMT";
2087            case NOTAVAIL: return "NOTAVAIL";
2088            case NOTPAT: return "NOTPAT";
2089            case ONHOLD: return "ONHOLD";
2090            case PRNA: return "PRNA";
2091            case STOPMED: return "STOPMED";
2092            case TOOEARLY: return "TOOEARLY";
2093            case _SUPPLYORDERABORTREASONCODE: return "_SupplyOrderAbortReasonCode";
2094            case IMPROV: return "IMPROV";
2095            case INTOL: return "INTOL";
2096            case NEWSTR: return "NEWSTR";
2097            case NEWTHER: return "NEWTHER";
2098            case _GENERICUPDATEREASONCODE: return "_GenericUpdateReasonCode";
2099            case CHGDATA: return "CHGDATA";
2100            case FIXDATA: return "FIXDATA";
2101            case MDATA: return "MDATA";
2102            case NEWDATA: return "NEWDATA";
2103            case UMDATA: return "UMDATA";
2104            case _PATIENTPROFILEQUERYREASONCODE: return "_PatientProfileQueryReasonCode";
2105            case ADMREV: return "ADMREV";
2106            case PATCAR: return "PATCAR";
2107            case PATREQ: return "PATREQ";
2108            case PRCREV: return "PRCREV";
2109            case REGUL: return "REGUL";
2110            case RSRCH: return "RSRCH";
2111            case VALIDATION: return "VALIDATION";
2112            case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE: return "_PharmacySupplyRequestFulfillerRevisionRefusalReasonCode";
2113            case LOCKED: return "LOCKED";
2114            case UNKWNTARGET: return "UNKWNTARGET";
2115            case _REFUSALREASONCODE: return "_RefusalReasonCode";
2116            case _SCHEDULINGACTREASON: return "_SchedulingActReason";
2117            case BLK: return "BLK";
2118            case DEC: return "DEC";
2119            case FIN: return "FIN";
2120            case MED: return "MED";
2121            case MTG: return "MTG";
2122            case PHY: return "PHY";
2123            case _STATUSREVISIONREFUSALREASONCODE: return "_StatusRevisionRefusalReasonCode";
2124            case FILLED: return "FILLED";
2125            case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE: return "_SubstanceAdministrationPermissionRefusalReasonCode";
2126            case PATINELIG: return "PATINELIG";
2127            case PROTUNMET: return "PROTUNMET";
2128            case PROVUNAUTH: return "PROVUNAUTH";
2129            case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON: return "_SubstanceAdminSubstitutionNotAllowedReason";
2130            case ALGINT: return "ALGINT";
2131            case COMPCON: return "COMPCON";
2132            case THERCHAR: return "THERCHAR";
2133            case TRIAL: return "TRIAL";
2134            case _SUBSTANCEADMINSUBSTITUTIONREASON: return "_SubstanceAdminSubstitutionReason";
2135            case CT: return "CT";
2136            case FP: return "FP";
2137            case OS: return "OS";
2138            case RR: return "RR";
2139            case _TRANSFERACTREASON: return "_TransferActReason";
2140            case ER: return "ER";
2141            case RQ: return "RQ";
2142            case _ACTBILLABLESERVICEREASON: return "_ActBillableServiceReason";
2143            case _ACTBILLABLECLINICALSERVICEREASON: return "_ActBillableClinicalServiceReason";
2144            case BONUS: return "BONUS";
2145            case CHD: return "CHD";
2146            case DEP: return "DEP";
2147            case ECH: return "ECH";
2148            case EDU: return "EDU";
2149            case EMP: return "EMP";
2150            case ESP: return "ESP";
2151            case FAM: return "FAM";
2152            case IND: return "IND";
2153            case INVOICE: return "INVOICE";
2154            case PROA: return "PROA";
2155            case RECOV: return "RECOV";
2156            case RETRO: return "RETRO";
2157            case SPC: return "SPC";
2158            case SPO: return "SPO";
2159            case TRAN: return "TRAN";
2160            default: return "?";
2161          }
2162        }
2163        public String getSystem() {
2164          return "http://terminology.hl7.org/CodeSystem/v3-ActReason";
2165        }
2166        public String getDefinition() {
2167          switch (this) {
2168            case _ACTACCOMMODATIONREASON: return "Identifies the reason the patient is assigned to this accommodation type";
2169            case ACCREQNA: return "Accommodation requested is not available.";
2170            case FLRCNV: return "Accommodation is assigned for floor convenience.";
2171            case MEDNEC: return "Required for medical reasons(s).";
2172            case PAT: return "The Patient requested the action";
2173            case _ACTCOVERAGEREASON: 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.";
2174            case _ELIGIBILITYACTREASONCODE: 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.";
2175            case _ACTINELIGIBILITYREASON: 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.";
2176            case COVSUS: 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).";
2177            case DECSD: return "Client deceased.";
2178            case REGERR: return "Client was registered in error.";
2179            case _COVERAGEELIGIBILITYREASON: 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.";
2180            case AGE: 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.";
2181            case CRIME: 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.";
2182            case DIS: 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.";
2183            case EMPLOY: return "A person becomes eligible for insurance provided as an employment benefit based on employment status.";
2184            case FINAN: 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.";
2185            case HEALTH: 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";
2186            case MULTI: 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.";
2187            case PNC: 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.";
2188            case STATUTORY: 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.";
2189            case VEHIC: return "A person becomes a claimant under a motor vehicle accident insurance because of a motor vehicle accident related health condition or injury.";
2190            case WORK: 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.";
2191            case _ACTINFORMATIONMANAGEMENTREASON: 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.";
2192            case _ACTHEALTHINFORMATIONMANAGEMENTREASON: 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.";
2193            case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON: 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.";
2194            case OVRER: 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.";
2195            case OVRINCOMP: 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\".";
2196            case OVRPJ: 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.";
2197            case OVRPS: 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.";
2198            case OVRTPS: 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.";
2199            case PURPOSEOFUSE: 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.";
2200            case HMARKT: return "To perform one or more operations on information for marketing services and products related to health care.";
2201            case HOPERAT: return "To perform one or more operations on information used for conducting administrative and contractual activities related to the provision of health care.";
2202            case CAREMGT: 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.";
2203            case DONAT: return "To perform one or more operations on information used for cadaveric organ, eye or tissue donation.";
2204            case FRAUD: return "To perform one or more operations on information used for fraud detection and prevention processes.";
2205            case GOV: return "To perform one or more operations on information used within government processes.";
2206            case HACCRED: return "To perform one or more operations on information for conducting activities related to meeting accreditation criteria.";
2207            case HCOMPL: return "To perform one or more operations on information used for conducting activities required to meet a mandate.";
2208            case HDECD: return "To perform one or more operations on information used for handling deceased patient matters.";
2209            case HDIRECT: 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";
2210            case HDM: 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.";
2211            case HLEGAL: return "To perform one or more operations on information for conducting activities required by legal proceeding.";
2212            case HOUTCOMS: return "To perform one or more operations on information used for assessing results and comparative effectiveness achieved by health care practices and interventions.";
2213            case HPRGRP: return "To perform one or more operations on information used for conducting activities to meet program accounting requirements.";
2214            case HQUALIMP: return "To perform one or more operations on information used for conducting administrative activities to improve health care quality.";
2215            case HSYSADMIN: return "To perform one or more operations on information to administer the electronic systems used for the delivery of health care.";
2216            case LABELING: 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.";
2217            case METAMGT: 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.";
2218            case MEMADMIN: return "To perform one or more operations on information to administer health care coverage to an enrollee under a policy or program.";
2219            case MILCDM: return "To perform one or more operations on information for conducting activities required by military processes, procedures, policies, or law.";
2220            case PATADMIN: return "To perform one or more operations on information used for operational activities conducted to administer the delivery of health care to a patient.";
2221            case PATSFTY: return "To perform one or more operations on information in processes related to ensuring the safety of health care.";
2222            case PERFMSR: return "To perform one or more operations on information used for monitoring performance of recommended health care practices and interventions.";
2223            case RECORDMGT: return "To perform one or more operations on information used within the health records management process.";
2224            case SYSDEV: return "To perform one or more operations on information to design, develop, implement, test, or deploy a healthcare system or application.";
2225            case HTEST: 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.";
2226            case TRAIN: return "To perform one or more operations on information used in training and education.";
2227            case HPAYMT: return "To perform one or more operations on information for conducting financial or contractual activities related to payment for provision of health care.";
2228            case CLMATTCH: 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.";
2229            case COVAUTH: return "To perform one or more operations on information for conducting prior authorization or predetermination of coverage for services.";
2230            case COVERAGE: return "To perform one or more operations on information for conducting activities related to coverage under a program or policy.";
2231            case ELIGDTRM: 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.";
2232            case ELIGVER: 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.";
2233            case ENROLLM: 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.";
2234            case MILDCRG: 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.";
2235            case REMITADV: return "To perform one or more operations on information about the amount remitted for a health care claim.";
2236            case HRESCH: 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.";
2237            case BIORCH: 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.";
2238            case CLINTRCH: return "To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge.";
2239            case CLINTRCHNPC: 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.";
2240            case CLINTRCHPC: 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.";
2241            case PRECLINTRCH: 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.";
2242            case DSRCH: 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.";
2243            case POARCH: 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.";
2244            case TRANSRCH: 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.";
2245            case PATRQT: return "To perform one or more operations on information in response to a patient's request.";
2246            case FAMRQT: return "To perform one or more operations on information in response to a request by a family member authorized by the patient.";
2247            case PWATRNY: return "To perform one or more operations on information in response to a request by a person appointed as the patient's legal representative.";
2248            case SUPNWK: return "To perform one or more operations on information in response to a request by a person authorized by the patient.";
2249            case PUBHLTH: return "To perform one or more operations on information for conducting public health activities, such as the reporting of notifiable conditions.";
2250            case DISASTER: 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.";
2251            case THREAT: 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.";
2252            case TREAT: return "To perform one or more operations on information for provision of health care.";
2253            case CLINTRL: return "To perform health care as part of the clinical trial protocol.";
2254            case COC: 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.\"";
2255            case ETREAT: return "To perform one or more operations on information for provision of immediately needed health care for an emergent condition.";
2256            case BTG: 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.";
2257            case ERTREAT: 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.";
2258            case POPHLTH: 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.";
2259            case _ACTINFORMATIONPRIVACYREASON: 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.";
2260            case MARKT: return "Description:";
2261            case OPERAT: return "Description:Administrative and contractual processes required to support an activity, product, or service";
2262            case LEGAL: return "Definition:To provide information as a result of a subpoena.";
2263            case ACCRED: return "Description:Operational activities conducted for the purposes of meeting of criteria defined by an accrediting entity for an activity, product, or service";
2264            case COMPL: return "Description:Operational activities required to meet a mandate related to an activity, product, or service";
2265            case ENADMIN: return "Description:Operational activities conducted to administer information relating to entities involves with an activity, product, or service";
2266            case OUTCOMS: return "Description:Operational activities conducted for the purposes of assessing the results of an activity, product, or service";
2267            case PRGRPT: return "Description:Operational activities conducted to meet program accounting requirements related to an activity, product, or service";
2268            case QUALIMP: return "Description:Operational activities conducted for the purposes of improving the quality of an activity, product, or service";
2269            case SYSADMN: return "Description:Operational activities conducted to administer the electronic systems used for an activity, product, or service";
2270            case PAYMT: return "Description:Administrative, financial, and contractual processes related to payment for an activity, product, or service";
2271            case RESCH: return "Description:Investigative activities conducted for the purposes of obtaining knowledge";
2272            case SRVC: return "Description:Provision of a service, product, or capability to an individual or organization";
2273            case _ACTINVALIDREASON: return "Description: Types of reasons why a substance is invalid for use.";
2274            case ADVSTORAGE: return "Description: Storage conditions caused the substance to be ineffective.";
2275            case COLDCHNBRK: return "Description: Cold chain was not maintained for the substance.";
2276            case EXPLOT: return "Description: The lot from which the substance was drawn was expired.";
2277            case OUTSIDESCHED: return "The substance was administered outside of the recommended schedule or practice.";
2278            case PRODRECALL: return "Description: The substance was recalled by the manufacturer.";
2279            case _ACTINVOICECANCELREASON: return "Domain specifies the codes used to describe reasons why a Provider is cancelling an Invoice or Invoice Grouping.";
2280            case INCCOVPTY: return "The covered party (patient) specified with the Invoice is not correct.";
2281            case INCINVOICE: return "The billing information, specified in the Invoice Elements, is not correct.  This could include incorrect costing for items included in the Invoice.";
2282            case INCPOLICY: return "The policy specified with the Invoice is not correct.  For example, it may belong to another Adjudicator or Covered Party.";
2283            case INCPROV: return "The provider specified with the Invoice is not correct.";
2284            case _ACTNOIMMUNIZATIONREASON: 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";
2285            case IMMUNE: return "Definition:Testing has shown that the patient already has immunity to the agent targeted by the immunization.";
2286            case MEDPREC: return "Definition:The patient currently has a medical condition for which the vaccine is contraindicated or for which precaution is warranted.";
2287            case OSTOCK: return "Definition:There was no supply of the product on hand to perform the service.";
2288            case PATOBJ: return "Definition:The patient or their guardian objects to receiving the vaccine.";
2289            case PHILISOP: return "Definition:The patient or their guardian objects to receiving the vaccine because of philosophical beliefs.";
2290            case RELIG: return "Definition:The patient or their guardian objects to receiving the vaccine on religious grounds.";
2291            case VACEFF: 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.";
2292            case VACSAF: return "Definition:The patient or their guardian objects to receiving the vaccine because of concerns over its safety.";
2293            case _ACTSUPPLYFULFILLMENTREFUSALREASON: 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)";
2294            case FRR01: 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.";
2295            case FRR02: return "Definition:Order has not been fulfilled within a reasonable amount of time, and may not be current.";
2296            case FRR03: 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.";
2297            case FRR04: return "Definition:Product not available or manufactured. Cannot supply.";
2298            case FRR05: return "Definition:The dispenser has ethical, religious or moral objections to fulfilling the order/dispensing the product.";
2299            case FRR06: 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.";
2300            case _CLINICALRESEARCHEVENTREASON: return "Definition:Specifies the reason that an event occurred in a clinical research study.";
2301            case RET: 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.";
2302            case SCH: return "Definition:The event occurred due to it being scheduled in the research protocol.";
2303            case TRM: return "Definition:The event occurred in order to terminate the subject's participation in the study.";
2304            case UNS: 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.";
2305            case _CLINICALRESEARCHOBSERVATIONREASON: 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.";
2306            case NPT: return "Definition:The observation or test was neither defined or scheduled in the study protocol.";
2307            case PPT: 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.";
2308            case UPT: return ":The observation or test occurred as defined in the research protocol, but at a point in time not specified in the study protocol.";
2309            case _COMBINEDPHARMACYORDERSUSPENDREASONCODE: return "Description:Indicates why the prescription should be suspended.";
2310            case ALTCHOICE: 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.";
2311            case CLARIF: return "Description:Clarification is required before the order can be acted upon.";
2312            case DRUGHIGH: 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.";
2313            case HOSPADM: return "Description:The patient has been admitted to a care facility and their community medications are suspended until hospital discharge.";
2314            case LABINT: return "Description:The therapy would interfere with a planned lab test and the therapy is being withdrawn until the test is completed.";
2315            case NONAVAIL: return "Description:Patient not available for a period of time due to a scheduled therapy, leave of absence or other reason.";
2316            case PREG: 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.";
2317            case SALG: 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.";
2318            case SDDI: 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.";
2319            case SDUPTHER: 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.";
2320            case SINTOL: 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.";
2321            case SURG: 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.";
2322            case WASHOUT: 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.";
2323            case _CONTROLACTNULLIFICATIONREASONCODE: return "Description:Identifies reasons for nullifying (retracting) a particular control act.";
2324            case ALTD: 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.";
2325            case EIE: return "Description:The information was recorded incorrectly or was recorded in the wrong record.";
2326            case NORECMTCH: return "Description: There is no match for the record in the database.";
2327            case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE: return "Description: Reasons to refuse a transaction to be undone.";
2328            case INRQSTATE: return "The record is already in the requested state.";
2329            case NOMATCH: return "Description: There is no match.";
2330            case NOPRODMTCH: return "Description: There is no match for the product in the master file repository.";
2331            case NOSERMTCH: return "Description: There is no match for the service in the master file repository.";
2332            case NOVERMTCH: return "Description: There is no match for the record and version.";
2333            case NOPERM: return "Description: There is no permission.";
2334            case NOUSERPERM: return "Definition:The user does not have permission";
2335            case NOAGNTPERM: return "Description: The agent does not have permission.";
2336            case NOUSRPERM: return "Description: The user does not have permission.";
2337            case WRNGVER: return "Description: The record and version requested to update is not the current version.";
2338            case _CONTROLACTREASON: return "Identifies why a specific query, request, or other trigger event occurred.";
2339            case _MEDICATIONORDERABORTREASONCODE: return "Description:Indicates the reason the medication order should be aborted.";
2340            case DISCONT: return "Description:The medication is no longer being manufactured or is otherwise no longer available.";
2341            case INEFFECT: return "Description:The therapy has been found to not have the desired therapeutic benefit on the patient.";
2342            case MONIT: return "Description:Monitoring the patient while taking the medication, the decision has been made that the therapy is no longer appropriate.";
2343            case NOREQ: return "Description:The underlying condition has been resolved or has evolved such that a different treatment is no longer needed.";
2344            case NOTCOVER: return "Description:The product does not have (or no longer has) coverage under the patientaTMs insurance policy.";
2345            case PREFUS: return "Description:The patient refused to take the product.";
2346            case RECALL: return "Description:The manufacturer or other agency has requested that stocks of a medication be removed from circulation.";
2347            case REPLACE: return "Description:Item in current order is no longer in use as requested and a new one has/will be created to replace it.";
2348            case DOSECHG: return "Description:The medication is being re-prescribed at a different dosage.";
2349            case REPLACEFIX: return "Description:Current order was issued with incorrect data and a new order has/will be created to replace it.";
2350            case UNABLE: 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.";
2351            case _MEDICATIONORDERRELEASEREASONCODE: return "Definition:A collection of concepts that indicate why the prescription should be released from suspended state.";
2352            case HOLDDONE: return "Definition:The original reason for suspending the medication has ended.";
2353            case HOLDINAP: return "Definition:";
2354            case _MODIFYPRESCRIPTIONREASONTYPE: return "Types of reason why a prescription is being changed.";
2355            case ADMINERROR: return "Order was created with incorrect data and is changed to reflect the intended accuracy of the order.";
2356            case CLINMOD: return "Order is changed based on a clinical reason.";
2357            case _PHARMACYSUPPLYEVENTABORTREASON: return "Definition:Identifies why the dispense event was not completed.";
2358            case CONTRA: return "Definition:Contraindication identified";
2359            case FOABORT: return "Definition:Order to be fulfilled was aborted";
2360            case FOSUSP: return "Definition:Order to be fulfilled was suspended";
2361            case NOPICK: return "Definition:Patient did not come to get medication";
2362            case PATDEC: return "Definition:Patient changed their mind regarding obtaining medication";
2363            case QUANTCHG: return "Definition:Patient requested a revised quantity of medication";
2364            case _PHARMACYSUPPLYEVENTSTOCKREASONCODE: return "Definition:A collection of concepts that indicates the reason for a \"bulk supply\" of medication.";
2365            case FLRSTCK: return "Definition:The bulk supply is issued to replenish a ward for local dispensing.  (Includes both mobile and fixed-location ward stocks.)";
2366            case LTC: return "Definition:The bulk supply will be administered within a long term care facility.";
2367            case OFFICE: return "Definition:The bulk supply is intended for general clinician office use.";
2368            case PHARM: return "Definition:The bulk supply is being transferred to another dispensing facility to.\r\n\n                        \n                           Example:Alleviate a temporary shortage.";
2369            case PROG: return "Definition:The bulk supply is intended for dispensing according to a specific program.\r\n\n                        \n                           Example:Mass immunization.";
2370            case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE: return "Definition:A collection of concepts that identifies why a renewal prescription has been refused.";
2371            case ALREADYRX: return "Definition:Patient has already been given a new (renewal) prescription.";
2372            case FAMPHYS: return "Definition:Request for further authorization must be done through patient's family physician.";
2373            case MODIFY: return "Definition:Therapy has been changed and new prescription issued";
2374            case NEEDAPMT: return "Definition:Patient must see prescriber prior to further fills.";
2375            case NOTAVAIL: return "Definition:Original prescriber is no longer available to prescribe and no other prescriber has taken responsibility for the patient.";
2376            case NOTPAT: return "Definition:Patient no longer or has never been under this prescribers care.";
2377            case ONHOLD: return "Definition:This medication is on hold.";
2378            case PRNA: return "Description:This product is not available or manufactured.";
2379            case STOPMED: return "Renewing or original prescriber informed patient to stop using the medication.";
2380            case TOOEARLY: return "Definition:The patient should have medication remaining.";
2381            case _SUPPLYORDERABORTREASONCODE: 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).";
2382            case IMPROV: return "Definition:The patient's medical condition has nearly abated.";
2383            case INTOL: return "Description:The patient has an intolerance to the medication.";
2384            case NEWSTR: return "Definition:The current medication will be replaced by a new strength of the same medication.";
2385            case NEWTHER: return "Definition:A new therapy will be commenced when current supply exhausted.";
2386            case _GENERICUPDATEREASONCODE: return "Description:Identifies why a change is being made to a  record.";
2387            case CHGDATA: return "Description:Information has changed since the record was created.";
2388            case FIXDATA: return "Description:Previously recorded information was erroneous and is being corrected.";
2389            case MDATA: return "Information is combined into the record.";
2390            case NEWDATA: return "Description:New information has become available to supplement the record.";
2391            case UMDATA: return "Information is separated from the record.";
2392            case _PATIENTPROFILEQUERYREASONCODE: return "Definition:A collection of concepts identifying why the patient's profile is being queried.";
2393            case ADMREV: return "Definition: To evaluate for service authorization, payment, reporting, or performance/outcome measures.";
2394            case PATCAR: return "Definition:To obtain records as part of patient care.";
2395            case PATREQ: return "Definition:Patient requests information from their profile.";
2396            case PRCREV: return "Definition:To evaluate the provider's current practice for professional-improvement reasons.";
2397            case REGUL: return "Description:Review for the purpose of regulatory compliance.";
2398            case RSRCH: return "Definition:To provide research data, as authorized by the patient.";
2399            case VALIDATION: return "Description:To validate the patient's record.\r\n\n                        \n                           Example:Merging or unmerging records.";
2400            case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE: return "Definition:Indicates why the request to transfer a prescription from one dispensing facility to another has been refused.";
2401            case LOCKED: return "Definition:The prescription may not be reassigned from the original pharmacy.";
2402            case UNKWNTARGET: return "Definition:The target facility does not recognize the dispensing facility.";
2403            case _REFUSALREASONCODE: 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.";
2404            case _SCHEDULINGACTREASON: return "Reasons for cancelling or rescheduling an Appointment";
2405            case BLK: return "The time slots previously allocated are now blocked and no longer available for booking Appointments";
2406            case DEC: return "The Patient is deceased";
2407            case FIN: return "Patient unable to pay and not covered by insurance";
2408            case MED: return "The medical condition of the Patient has changed";
2409            case MTG: return "The Physician is in a meeting.  For example, he/she may request administrative time to talk to family after appointment";
2410            case PHY: return "The Physician requested the action";
2411            case _STATUSREVISIONREFUSALREASONCODE: return "Indicates why the act revision (status update) is being refused.";
2412            case FILLED: return "Ordered quantity has already been completely fulfilled.";
2413            case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE: return "Definition:Indicates why the requested authorization to prescribe or dispense a medication has been refused.";
2414            case PATINELIG: return "Definition:Patient not eligible for drug";
2415            case PROTUNMET: return "Definition:Patient does not meet required protocol";
2416            case PROVUNAUTH: return "Definition:Provider is not authorized to prescribe or dispense";
2417            case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON: return "Reasons why substitution of a substance administration request is not permitted.";
2418            case ALGINT: return "Definition: Patient has had a prior allergic intolerance response to alternate product or one of its components.";
2419            case COMPCON: return "Definition: Patient has compliance issues with medication such as differing appearance, flavor, size, shape or consistency.";
2420            case THERCHAR: return "The prescribed product has specific clinical release or other therapeutic characteristics not shared by other substitutable medications.";
2421            case TRIAL: return "Definition: The specific manufactured drug is part of a clinical trial.";
2422            case _SUBSTANCEADMINSUBSTITUTIONREASON: return "SubstanceAdminSubstitutionReason";
2423            case CT: 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.";
2424            case FP: return "Indicates that the decision to substitute or to not substitute was driven by a policy expressed within the formulary.";
2425            case OS: 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.";
2426            case RR: return "Indicates that the decision to substitute or to not substitute was driven by a jurisdictional regulatory requirement mandating or prohibiting substitution.";
2427            case _TRANSFERACTREASON: return "The explanation for why a patient is moved from one location to another within the organization";
2428            case ER: return "Moved to an error in placing the patient in the original location.";
2429            case RQ: return "Moved at the request of the patient.";
2430            case _ACTBILLABLESERVICEREASON: 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.";
2431            case _ACTBILLABLECLINICALSERVICEREASON: 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.";
2432            case BONUS: return "";
2433            case CHD: return "Description:The level of coverage under the policy or program is available only to children";
2434            case DEP: return "Description:The level of coverage under the policy or program is available only to a subscriber's dependents.";
2435            case ECH: return "Description:The level of coverage under the policy or program is available to an employee and his or her children.";
2436            case EDU: return "";
2437            case EMP: return "Description:The level of coverage under the policy or program is available only to an employee.";
2438            case ESP: return "Description:The level of coverage under the policy or program is available to an employee and his or her spouse.";
2439            case FAM: return "Description:The level of coverage under the policy or program is available to a subscriber's family.";
2440            case IND: return "Description:The level of coverage under the policy or program is available to an individual.";
2441            case INVOICE: return "";
2442            case PROA: return "";
2443            case RECOV: return "";
2444            case RETRO: return "";
2445            case SPC: return "Description:The level of coverage under the policy or program is available to a subscriber's spouse and children";
2446            case SPO: return "Description:The level of coverage under the policy or program is available only to a subscribers spouse";
2447            case TRAN: return "";
2448            default: return "?";
2449          }
2450        }
2451        public String getDisplay() {
2452          switch (this) {
2453            case _ACTACCOMMODATIONREASON: return "ActAccommodationReason";
2454            case ACCREQNA: return "Accommodation Requested Not Available";
2455            case FLRCNV: return "Floor Convenience";
2456            case MEDNEC: return "Medical Necessity";
2457            case PAT: return "Patient request";
2458            case _ACTCOVERAGEREASON: return "ActCoverageReason";
2459            case _ELIGIBILITYACTREASONCODE: return "EligibilityActReasonCode";
2460            case _ACTINELIGIBILITYREASON: return "ActIneligibilityReason";
2461            case COVSUS: return "coverage suspended";
2462            case DECSD: return "deceased";
2463            case REGERR: return "registered in error";
2464            case _COVERAGEELIGIBILITYREASON: return "CoverageEligibilityReason";
2465            case AGE: return "age eligibility";
2466            case CRIME: return "crime victim";
2467            case DIS: return "disability";
2468            case EMPLOY: return "employment benefit";
2469            case FINAN: return "financial eligibility";
2470            case HEALTH: return "health status";
2471            case MULTI: return "multiple criteria eligibility";
2472            case PNC: return "property and casualty condition";
2473            case STATUTORY: return "statutory eligibility";
2474            case VEHIC: return "motor vehicle accident victim";
2475            case WORK: return "work related";
2476            case _ACTINFORMATIONMANAGEMENTREASON: return "ActInformationManagementReason";
2477            case _ACTHEALTHINFORMATIONMANAGEMENTREASON: return "ActHealthInformationManagementReason";
2478            case _ACTCONSENTINFORMATIONACCESSOVERRIDEREASON: return "ActConsentInformationAccessOverrideReason";
2479            case OVRER: return "emergency treatment override";
2480            case OVRINCOMP: return "incompetency override";
2481            case OVRPJ: return "professional judgment override";
2482            case OVRPS: return "public safety override";
2483            case OVRTPS: return "third party safety override";
2484            case PURPOSEOFUSE: return "purpose of use";
2485            case HMARKT: return "healthcare marketing";
2486            case HOPERAT: return "healthcare operations";
2487            case CAREMGT: return "care management";
2488            case DONAT: return "donation";
2489            case FRAUD: return "fraud";
2490            case GOV: return "government";
2491            case HACCRED: return "health accreditation";
2492            case HCOMPL: return "health compliance";
2493            case HDECD: return "decedent";
2494            case HDIRECT: return "directory";
2495            case HDM: return "healthcare delivery management";
2496            case HLEGAL: return "legal";
2497            case HOUTCOMS: return "health outcome measure";
2498            case HPRGRP: return "health program reporting";
2499            case HQUALIMP: return "health quality improvement";
2500            case HSYSADMIN: return "health system administration";
2501            case LABELING: return "labeling";
2502            case METAMGT: return "metadata management";
2503            case MEMADMIN: return "member administration";
2504            case MILCDM: return "military command";
2505            case PATADMIN: return "patient administration";
2506            case PATSFTY: return "patient safety";
2507            case PERFMSR: return "performance measure";
2508            case RECORDMGT: return "records management";
2509            case SYSDEV: return "system development";
2510            case HTEST: return "test health data";
2511            case TRAIN: return "training";
2512            case HPAYMT: return "healthcare payment";
2513            case CLMATTCH: return "claim attachment";
2514            case COVAUTH: return "coverage authorization";
2515            case COVERAGE: return "coverage under policy or program";
2516            case ELIGDTRM: return "eligibility determination";
2517            case ELIGVER: return "eligibility verification";
2518            case ENROLLM: return "enrollment";
2519            case MILDCRG: return "military discharge";
2520            case REMITADV: return "remittance advice";
2521            case HRESCH: return "healthcare research";
2522            case BIORCH: return "biomedical research";
2523            case CLINTRCH: return "clinical trial research";
2524            case CLINTRCHNPC: return "clinical trial research without patient care";
2525            case CLINTRCHPC: return "clinical trial research with patient care";
2526            case PRECLINTRCH: return "preclinical trial research";
2527            case DSRCH: return "disease specific healthcare research";
2528            case POARCH: return "population origins or ancestry healthcare research";
2529            case TRANSRCH: return "translational healthcare research";
2530            case PATRQT: return "patient requested";
2531            case FAMRQT: return "family requested";
2532            case PWATRNY: return "power of attorney";
2533            case SUPNWK: return "support network";
2534            case PUBHLTH: return "public health";
2535            case DISASTER: return "disaster";
2536            case THREAT: return "threat";
2537            case TREAT: return "treatment";
2538            case CLINTRL: return "clinical trial";
2539            case COC: return "coordination of care";
2540            case ETREAT: return "Emergency Treatment";
2541            case BTG: return "break the glass";
2542            case ERTREAT: return "emergency room treatment";
2543            case POPHLTH: return "population health";
2544            case _ACTINFORMATIONPRIVACYREASON: return "ActInformationPrivacyReason";
2545            case MARKT: return "marketing";
2546            case OPERAT: return "operations";
2547            case LEGAL: return "subpoena";
2548            case ACCRED: return "accreditation";
2549            case COMPL: return "compliance";
2550            case ENADMIN: return "entity administration";
2551            case OUTCOMS: return "outcome measure";
2552            case PRGRPT: return "program reporting";
2553            case QUALIMP: return "quality improvement";
2554            case SYSADMN: return "system administration";
2555            case PAYMT: return "payment";
2556            case RESCH: return "research";
2557            case SRVC: return "service";
2558            case _ACTINVALIDREASON: return "ActInvalidReason";
2559            case ADVSTORAGE: return "adverse storage condition";
2560            case COLDCHNBRK: return "cold chain break";
2561            case EXPLOT: return "expired lot";
2562            case OUTSIDESCHED: return "administered outside recommended schedule or practice";
2563            case PRODRECALL: return "product recall";
2564            case _ACTINVOICECANCELREASON: return "ActInvoiceCancelReason";
2565            case INCCOVPTY: return "incorrect covered party as patient";
2566            case INCINVOICE: return "incorrect billing";
2567            case INCPOLICY: return "incorrect policy";
2568            case INCPROV: return "incorrect provider";
2569            case _ACTNOIMMUNIZATIONREASON: return "ActNoImmunizationReason";
2570            case IMMUNE: return "immunity";
2571            case MEDPREC: return "medical precaution";
2572            case OSTOCK: return "product out of stock";
2573            case PATOBJ: return "patient objection";
2574            case PHILISOP: return "philosophical objection";
2575            case RELIG: return "religious objection";
2576            case VACEFF: return "vaccine efficacy concerns";
2577            case VACSAF: return "vaccine safety concerns";
2578            case _ACTSUPPLYFULFILLMENTREFUSALREASON: return "ActSupplyFulfillmentRefusalReason";
2579            case FRR01: return "order stopped";
2580            case FRR02: return "stale-dated order";
2581            case FRR03: return "incomplete data";
2582            case FRR04: return "product unavailable";
2583            case FRR05: return "ethical/religious";
2584            case FRR06: return "unable to provide care";
2585            case _CLINICALRESEARCHEVENTREASON: return "ClinicalResearchEventReason";
2586            case RET: return "retest";
2587            case SCH: return "scheduled";
2588            case TRM: return "termination";
2589            case UNS: return "unscheduled";
2590            case _CLINICALRESEARCHOBSERVATIONREASON: return "ClinicalResearchObservationReason";
2591            case NPT: return "non-protocol";
2592            case PPT: return "per protocol";
2593            case UPT: return "per definition";
2594            case _COMBINEDPHARMACYORDERSUSPENDREASONCODE: return "CombinedPharmacyOrderSuspendReasonCode";
2595            case ALTCHOICE: return "try another treatment first";
2596            case CLARIF: return "prescription requires clarification";
2597            case DRUGHIGH: return "drug level too high";
2598            case HOSPADM: return "admission to hospital";
2599            case LABINT: return "lab interference issues";
2600            case NONAVAIL: return "patient not-available";
2601            case PREG: return "parent is pregnant/breast feeding";
2602            case SALG: return "allergy";
2603            case SDDI: return "drug interacts with another drug";
2604            case SDUPTHER: return "duplicate therapy";
2605            case SINTOL: return "suspected intolerance";
2606            case SURG: return "patient scheduled for surgery";
2607            case WASHOUT: return "waiting for old drug to wash out";
2608            case _CONTROLACTNULLIFICATIONREASONCODE: return "ControlActNullificationReasonCode";
2609            case ALTD: return "altered decision";
2610            case EIE: return "entered in error";
2611            case NORECMTCH: return "no record match";
2612            case _CONTROLACTNULLIFICATIONREFUSALREASONTYPE: return "ControlActNullificationRefusalReasonType";
2613            case INRQSTATE: return "in requested state";
2614            case NOMATCH: return "no match";
2615            case NOPRODMTCH: return "no product match";
2616            case NOSERMTCH: return "no service match";
2617            case NOVERMTCH: return "no version match";
2618            case NOPERM: return "no permission";
2619            case NOUSERPERM: return "no user permission";
2620            case NOAGNTPERM: return "no agent permission";
2621            case NOUSRPERM: return "no user permission";
2622            case WRNGVER: return "wrong version";
2623            case _CONTROLACTREASON: return "ControlActReason";
2624            case _MEDICATIONORDERABORTREASONCODE: return "medication order abort reason";
2625            case DISCONT: return "product discontinued";
2626            case INEFFECT: return "ineffective";
2627            case MONIT: return "response to monitoring";
2628            case NOREQ: return "no longer required for treatment";
2629            case NOTCOVER: return "not covered";
2630            case PREFUS: return "patient refuse";
2631            case RECALL: return "product recalled";
2632            case REPLACE: return "change in order";
2633            case DOSECHG: return "change in medication/dose";
2634            case REPLACEFIX: return "error in order";
2635            case UNABLE: return "unable to use";
2636            case _MEDICATIONORDERRELEASEREASONCODE: return "medication order release reason";
2637            case HOLDDONE: return "suspend reason no longer applies";
2638            case HOLDINAP: return "suspend reason inappropriate";
2639            case _MODIFYPRESCRIPTIONREASONTYPE: return "ModifyPrescriptionReasonType";
2640            case ADMINERROR: return "administrative error in order";
2641            case CLINMOD: return "clinical modification";
2642            case _PHARMACYSUPPLYEVENTABORTREASON: return "PharmacySupplyEventAbortReason";
2643            case CONTRA: return "contraindication";
2644            case FOABORT: return "order aborted";
2645            case FOSUSP: return "order suspended";
2646            case NOPICK: return "not picked up";
2647            case PATDEC: return "patient changed mind";
2648            case QUANTCHG: return "change supply quantity";
2649            case _PHARMACYSUPPLYEVENTSTOCKREASONCODE: return "pharmacy supply event stock reason";
2650            case FLRSTCK: return "floor stock";
2651            case LTC: return "long term care use";
2652            case OFFICE: return "office use";
2653            case PHARM: return "pharmacy transfer";
2654            case PROG: return "program use";
2655            case _PHARMACYSUPPLYREQUESTRENEWALREFUSALREASONCODE: return "pharmacy supply request renewal refusal reason";
2656            case ALREADYRX: return "new prescription exists";
2657            case FAMPHYS: return "family physician must authorize further fills";
2658            case MODIFY: return "modified prescription exists";
2659            case NEEDAPMT: return "patient must make appointment";
2660            case NOTAVAIL: return "prescriber not available";
2661            case NOTPAT: return "patient no longer in this practice";
2662            case ONHOLD: return "medication on hold";
2663            case PRNA: return "product not available";
2664            case STOPMED: return "prescriber stopped medication for patient";
2665            case TOOEARLY: return "too early";
2666            case _SUPPLYORDERABORTREASONCODE: return "supply order abort reason";
2667            case IMPROV: return "condition improved";
2668            case INTOL: return "intolerance";
2669            case NEWSTR: return "new strength";
2670            case NEWTHER: return "new therapy";
2671            case _GENERICUPDATEREASONCODE: return "GenericUpdateReasonCode";
2672            case CHGDATA: return "information change";
2673            case FIXDATA: return "error correction";
2674            case MDATA: return "merge data";
2675            case NEWDATA: return "new information";
2676            case UMDATA: return "unmerge data";
2677            case _PATIENTPROFILEQUERYREASONCODE: return "patient profile query reason";
2678            case ADMREV: return "administrative review";
2679            case PATCAR: return "patient care";
2680            case PATREQ: return "patient request query";
2681            case PRCREV: return "practice review";
2682            case REGUL: return "regulatory review";
2683            case RSRCH: return "research";
2684            case VALIDATION: return "validation review";
2685            case _PHARMACYSUPPLYREQUESTFULFILLERREVISIONREFUSALREASONCODE: return "PharmacySupplyRequestFulfillerRevisionRefusalReasonCode";
2686            case LOCKED: return "locked";
2687            case UNKWNTARGET: return "unknown target";
2688            case _REFUSALREASONCODE: return "RefusalReasonCode";
2689            case _SCHEDULINGACTREASON: return "SchedulingActReason";
2690            case BLK: return "Unexpected Block (of Schedule)";
2691            case DEC: return "Patient Deceased";
2692            case FIN: return "No Financial Backing";
2693            case MED: return "Medical Status Altered";
2694            case MTG: return "In an outside meeting";
2695            case PHY: return "Physician request";
2696            case _STATUSREVISIONREFUSALREASONCODE: return "StatusRevisionRefusalReasonCode";
2697            case FILLED: return "fully filled";
2698            case _SUBSTANCEADMINISTRATIONPERMISSIONREFUSALREASONCODE: return "SubstanceAdministrationPermissionRefusalReasonCode";
2699            case PATINELIG: return "patient not eligible";
2700            case PROTUNMET: return "protocol not met";
2701            case PROVUNAUTH: return "provider not authorized";
2702            case _SUBSTANCEADMINSUBSTITUTIONNOTALLOWEDREASON: return "SubstanceAdminSubstitutionNotAllowedReason";
2703            case ALGINT: return "allergy intolerance";
2704            case COMPCON: return "compliance concern";
2705            case THERCHAR: return "therapeutic characteristics";
2706            case TRIAL: return "clinical trial drug";
2707            case _SUBSTANCEADMINSUBSTITUTIONREASON: return "SubstanceAdminSubstitutionReason";
2708            case CT: return "continuing therapy";
2709            case FP: return "formulary policy";
2710            case OS: return "out of stock";
2711            case RR: return "regulatory requirement";
2712            case _TRANSFERACTREASON: return "TransferActReason";
2713            case ER: return "Error";
2714            case RQ: return "Request";
2715            case _ACTBILLABLESERVICEREASON: return "ActBillableServiceReason";
2716            case _ACTBILLABLECLINICALSERVICEREASON: return "ActBillableClinicalServiceReason";
2717            case BONUS: return "BONUS";
2718            case CHD: return "Children only";
2719            case DEP: return "Dependents only";
2720            case ECH: return "Employee and children";
2721            case EDU: return "EDU";
2722            case EMP: return "Employee only";
2723            case ESP: return "Employee and spouse";
2724            case FAM: return "Family";
2725            case IND: return "Individual";
2726            case INVOICE: return "INVOICE";
2727            case PROA: return "PROA";
2728            case RECOV: return "RECOV";
2729            case RETRO: return "RETRO";
2730            case SPC: return "Spouse and children";
2731            case SPO: return "Spouse only";
2732            case TRAN: return "TRAN";
2733            default: return "?";
2734          }
2735    }
2736
2737
2738}