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