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 V3ParticipationType {
058
059        /**
060         * Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.
061         */
062        PART, 
063        /**
064         * Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events.
065         */
066        _PARTICIPATIONANCILLARY, 
067        /**
068         * The practitioner who is responsible for admitting a patient to a patient encounter.
069         */
070        ADM, 
071        /**
072         * The practitioner that has responsibility for overseeing a patient's care during a patient encounter.
073         */
074        ATND, 
075        /**
076         * A person or organization who should be contacted for follow-up questions about the act in place of the author.
077         */
078        CALLBCK, 
079        /**
080         * An advisor participating in the service by performing evaluations and making recommendations.
081         */
082        CON, 
083        /**
084         * The practitioner who is responsible for the discharge of a patient from a patient encounter.
085         */
086        DIS, 
087        /**
088         * Only with Transportation services.  A person who escorts the patient.
089         */
090        ESC, 
091        /**
092         * A person having referred the subject of the service to the performer (referring physician).  Typically, a referring physician will receive a report.
093         */
094        REF, 
095        /**
096         * Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness).
097         */
098        _PARTICIPATIONINFORMATIONGENERATOR, 
099        /**
100         * Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.
101
102                        
103                           Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. 
104
105                        Examples of such policies might include:
106
107                        
108                           
109                              The author and anyone they explicitly delegate may update the report;
110
111                           
112                           
113                              All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;
114
115                           
116                        
117                        A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party.
118         */
119        AUT, 
120        /**
121         * A source of reported information (e.g., a next of kin who answers questions about the patient's history).  For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject.
122         */
123        INF, 
124        /**
125         * An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form.
126         */
127        TRANS, 
128        /**
129         * A person entering the data into the originating system.  The data entry person is collected optionally for internal quality control purposes.  This includes the transcriptionist for dictated text.
130         */
131        ENT, 
132        /**
133         * Only with service events.  A person witnessing the action happening without doing anything.  A witness is not necessarily aware, much less approves of anything stated in the service event.  Example for a witness is students watching an operation or an advanced directive witness.
134         */
135        WIT, 
136        /**
137         * An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.).
138         */
139        CST, 
140        /**
141         * Target participant  that is substantially present in the act  and which is directly involved in the action (includes consumed material, devices, etc.).
142         */
143        DIR, 
144        /**
145         * The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject.
146
147                        
148                           Examples: A "plasma porcelain substance concentration" has analyte a Role with player substance Entity "porcelain".
149
150                        
151                           UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for "plasma porcelain" the scoper could be "Plasma".
152         */
153        ALY, 
154        /**
155         * In an obstetric service, the baby.
156         */
157        BBY, 
158        /**
159         * The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction
160         */
161        CAT, 
162        /**
163         * Participant material that is taken up, diminished, altered, or disappears in the act.
164         */
165        CSM, 
166        /**
167         * Something incorporated in the subject of a therapy service to achieve a physiologic effect (e.g., heal, relieve, provoke a condition, etc.) on the subject.  In an administration service the therapeutic agent is a consumable, in a preparation or dispense service, it is a product.  Thus, consumable or product must be specified in accordance with the kind of service.
168         */
169        TPA, 
170        /**
171         * Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).
172
173                        
174                           Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc.
175         */
176        DEV, 
177        /**
178         * A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc.  Such material may need to be restocked after he service.
179         */
180        NRD, 
181        /**
182         * A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope.  The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked.
183         */
184        RDV, 
185        /**
186         * In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service.  However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation.  The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service.
187         */
188        DON, 
189        /**
190         * Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure.  For example in communicable diseases, the associated playing entity is the disease causing pathogen.
191         */
192        EXPAGNT, 
193        /**
194         * Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure.  If the participant is known to be the contact of an exposure then the SBJ participation type should be used.  If the participant is known to be the source then the EXSRC participation type should be used.
195         */
196        EXPART, 
197        /**
198         * Description: The entity playing the associated role is the target (contact) of exposure.
199         */
200        EXPTRGT, 
201        /**
202         * Description:The entity playing the associated role is the source of exposure.
203         */
204        EXSRC, 
205        /**
206         * Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock).
207         */
208        PRD, 
209        /**
210         * The principle target on which the action happens.
211
212                        
213                           Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). 
214
215                        
216                           UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action.
217         */
218        SBJ, 
219        /**
220         * The subject of non-clinical (e.g. laboratory) observation services is a specimen.
221         */
222        SPC, 
223        /**
224         * Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act.
225         */
226        IND, 
227        /**
228         * Target on behalf of whom the service happens, but that is not necessarily present in the service.  Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions.  This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act.
229
230                        Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause.  Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service.
231         */
232        BEN, 
233        /**
234         * Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition.
235
236                        Constraint:  The use of this participation is limited to observations.
237         */
238        CAGNT, 
239        /**
240         * The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage.
241         */
242        COV, 
243        /**
244         * The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account
245
246                        
247                           Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed.
248         */
249        GUAR, 
250        /**
251         * Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.
252         */
253        HLD, 
254        /**
255         * The record target indicates whose medical record holds the documentation of this act.  This is especially important when the subject of a service is not the patient himself.
256         */
257        RCT, 
258        /**
259         * The person (or organization) who receives the product of an Act.
260         */
261        RCV, 
262        /**
263         * A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood." Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used.
264         */
265        IRCP, 
266        /**
267         * An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill).
268         */
269        NOT, 
270        /**
271         * Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary.
272         */
273        PRCP, 
274        /**
275         * A participant (e.g. provider) who has referred the subject of an act (e.g. patient).
276
277                        Typically, a referred by participant will provide a report (e.g. referral).
278         */
279        REFB, 
280        /**
281         * The person who receives the patient
282         */
283        REFT, 
284        /**
285         * A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist).
286         */
287        TRC, 
288        /**
289         * The facility where the service is done.  May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.)
290         */
291        LOC, 
292        /**
293         * The destination for services.  May be a static building (or room therein) or a movable facility (e.g., ship).
294         */
295        DST, 
296        /**
297         * A location where data about an Act was entered.
298         */
299        ELOC, 
300        /**
301         * The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g., ship).
302         */
303        ORG, 
304        /**
305         * Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation).  The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered "remote."
306         */
307        RML, 
308        /**
309         * For services, an intermediate location that specifies a path between origin an destination.
310         */
311        VIA, 
312        /**
313         * Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention.  Need not be the principal responsible actor.
314
315                        
316                           Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event.
317
318                        
319                           Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer.  These designs should be revised in subsequent releases to make this the scooping entity for the role involved.
320         */
321        PRF, 
322        /**
323         * Distributes material used in or generated during the act.
324         */
325        DIST, 
326        /**
327         * The principal or primary performer of the act.
328         */
329        PPRF, 
330        /**
331         * A person assisting in an act through his substantial presence and involvement   This includes: assistants, technicians, associates, or whatever the job titles may be.
332         */
333        SPRF, 
334        /**
335         * The person or organization that has primary responsibility for the act.  The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact.  This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature.
336
337                        
338                           Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program.
339         */
340        RESP, 
341        /**
342         * A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.
343         */
344        VRF, 
345        /**
346         * A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication.
347         */
348        AUTHEN, 
349        /**
350         * A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication.
351         */
352        LA, 
353        /**
354         * added to help the parsers
355         */
356        NULL;
357        public static V3ParticipationType fromCode(String codeString) throws FHIRException {
358            if (codeString == null || "".equals(codeString))
359                return null;
360        if ("PART".equals(codeString))
361          return PART;
362        if ("_ParticipationAncillary".equals(codeString))
363          return _PARTICIPATIONANCILLARY;
364        if ("ADM".equals(codeString))
365          return ADM;
366        if ("ATND".equals(codeString))
367          return ATND;
368        if ("CALLBCK".equals(codeString))
369          return CALLBCK;
370        if ("CON".equals(codeString))
371          return CON;
372        if ("DIS".equals(codeString))
373          return DIS;
374        if ("ESC".equals(codeString))
375          return ESC;
376        if ("REF".equals(codeString))
377          return REF;
378        if ("_ParticipationInformationGenerator".equals(codeString))
379          return _PARTICIPATIONINFORMATIONGENERATOR;
380        if ("AUT".equals(codeString))
381          return AUT;
382        if ("INF".equals(codeString))
383          return INF;
384        if ("TRANS".equals(codeString))
385          return TRANS;
386        if ("ENT".equals(codeString))
387          return ENT;
388        if ("WIT".equals(codeString))
389          return WIT;
390        if ("CST".equals(codeString))
391          return CST;
392        if ("DIR".equals(codeString))
393          return DIR;
394        if ("ALY".equals(codeString))
395          return ALY;
396        if ("BBY".equals(codeString))
397          return BBY;
398        if ("CAT".equals(codeString))
399          return CAT;
400        if ("CSM".equals(codeString))
401          return CSM;
402        if ("TPA".equals(codeString))
403          return TPA;
404        if ("DEV".equals(codeString))
405          return DEV;
406        if ("NRD".equals(codeString))
407          return NRD;
408        if ("RDV".equals(codeString))
409          return RDV;
410        if ("DON".equals(codeString))
411          return DON;
412        if ("EXPAGNT".equals(codeString))
413          return EXPAGNT;
414        if ("EXPART".equals(codeString))
415          return EXPART;
416        if ("EXPTRGT".equals(codeString))
417          return EXPTRGT;
418        if ("EXSRC".equals(codeString))
419          return EXSRC;
420        if ("PRD".equals(codeString))
421          return PRD;
422        if ("SBJ".equals(codeString))
423          return SBJ;
424        if ("SPC".equals(codeString))
425          return SPC;
426        if ("IND".equals(codeString))
427          return IND;
428        if ("BEN".equals(codeString))
429          return BEN;
430        if ("CAGNT".equals(codeString))
431          return CAGNT;
432        if ("COV".equals(codeString))
433          return COV;
434        if ("GUAR".equals(codeString))
435          return GUAR;
436        if ("HLD".equals(codeString))
437          return HLD;
438        if ("RCT".equals(codeString))
439          return RCT;
440        if ("RCV".equals(codeString))
441          return RCV;
442        if ("IRCP".equals(codeString))
443          return IRCP;
444        if ("NOT".equals(codeString))
445          return NOT;
446        if ("PRCP".equals(codeString))
447          return PRCP;
448        if ("REFB".equals(codeString))
449          return REFB;
450        if ("REFT".equals(codeString))
451          return REFT;
452        if ("TRC".equals(codeString))
453          return TRC;
454        if ("LOC".equals(codeString))
455          return LOC;
456        if ("DST".equals(codeString))
457          return DST;
458        if ("ELOC".equals(codeString))
459          return ELOC;
460        if ("ORG".equals(codeString))
461          return ORG;
462        if ("RML".equals(codeString))
463          return RML;
464        if ("VIA".equals(codeString))
465          return VIA;
466        if ("PRF".equals(codeString))
467          return PRF;
468        if ("DIST".equals(codeString))
469          return DIST;
470        if ("PPRF".equals(codeString))
471          return PPRF;
472        if ("SPRF".equals(codeString))
473          return SPRF;
474        if ("RESP".equals(codeString))
475          return RESP;
476        if ("VRF".equals(codeString))
477          return VRF;
478        if ("AUTHEN".equals(codeString))
479          return AUTHEN;
480        if ("LA".equals(codeString))
481          return LA;
482        throw new FHIRException("Unknown V3ParticipationType code '"+codeString+"'");
483        }
484        public String toCode() {
485          switch (this) {
486            case PART: return "PART";
487            case _PARTICIPATIONANCILLARY: return "_ParticipationAncillary";
488            case ADM: return "ADM";
489            case ATND: return "ATND";
490            case CALLBCK: return "CALLBCK";
491            case CON: return "CON";
492            case DIS: return "DIS";
493            case ESC: return "ESC";
494            case REF: return "REF";
495            case _PARTICIPATIONINFORMATIONGENERATOR: return "_ParticipationInformationGenerator";
496            case AUT: return "AUT";
497            case INF: return "INF";
498            case TRANS: return "TRANS";
499            case ENT: return "ENT";
500            case WIT: return "WIT";
501            case CST: return "CST";
502            case DIR: return "DIR";
503            case ALY: return "ALY";
504            case BBY: return "BBY";
505            case CAT: return "CAT";
506            case CSM: return "CSM";
507            case TPA: return "TPA";
508            case DEV: return "DEV";
509            case NRD: return "NRD";
510            case RDV: return "RDV";
511            case DON: return "DON";
512            case EXPAGNT: return "EXPAGNT";
513            case EXPART: return "EXPART";
514            case EXPTRGT: return "EXPTRGT";
515            case EXSRC: return "EXSRC";
516            case PRD: return "PRD";
517            case SBJ: return "SBJ";
518            case SPC: return "SPC";
519            case IND: return "IND";
520            case BEN: return "BEN";
521            case CAGNT: return "CAGNT";
522            case COV: return "COV";
523            case GUAR: return "GUAR";
524            case HLD: return "HLD";
525            case RCT: return "RCT";
526            case RCV: return "RCV";
527            case IRCP: return "IRCP";
528            case NOT: return "NOT";
529            case PRCP: return "PRCP";
530            case REFB: return "REFB";
531            case REFT: return "REFT";
532            case TRC: return "TRC";
533            case LOC: return "LOC";
534            case DST: return "DST";
535            case ELOC: return "ELOC";
536            case ORG: return "ORG";
537            case RML: return "RML";
538            case VIA: return "VIA";
539            case PRF: return "PRF";
540            case DIST: return "DIST";
541            case PPRF: return "PPRF";
542            case SPRF: return "SPRF";
543            case RESP: return "RESP";
544            case VRF: return "VRF";
545            case AUTHEN: return "AUTHEN";
546            case LA: return "LA";
547            default: return "?";
548          }
549        }
550        public String getSystem() {
551          return "http://terminology.hl7.org/CodeSystem/v3-ParticipationType";
552        }
553        public String getDefinition() {
554          switch (this) {
555            case PART: return "Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.";
556            case _PARTICIPATIONANCILLARY: return "Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events.";
557            case ADM: return "The practitioner who is responsible for admitting a patient to a patient encounter.";
558            case ATND: return "The practitioner that has responsibility for overseeing a patient's care during a patient encounter.";
559            case CALLBCK: return "A person or organization who should be contacted for follow-up questions about the act in place of the author.";
560            case CON: return "An advisor participating in the service by performing evaluations and making recommendations.";
561            case DIS: return "The practitioner who is responsible for the discharge of a patient from a patient encounter.";
562            case ESC: return "Only with Transportation services.  A person who escorts the patient.";
563            case REF: return "A person having referred the subject of the service to the performer (referring physician).  Typically, a referring physician will receive a report.";
564            case _PARTICIPATIONINFORMATIONGENERATOR: return "Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness).";
565            case AUT: return "Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.\r\n\n                        \n                           Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. \r\n\n                        Examples of such policies might include:\r\n\n                        \n                           \n                              The author and anyone they explicitly delegate may update the report;\r\n\n                           \n                           \n                              All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;\r\n\n                           \n                        \n                        A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party.";
566            case INF: return "A source of reported information (e.g., a next of kin who answers questions about the patient's history).  For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject.";
567            case TRANS: return "An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form.";
568            case ENT: return "A person entering the data into the originating system.  The data entry person is collected optionally for internal quality control purposes.  This includes the transcriptionist for dictated text.";
569            case WIT: return "Only with service events.  A person witnessing the action happening without doing anything.  A witness is not necessarily aware, much less approves of anything stated in the service event.  Example for a witness is students watching an operation or an advanced directive witness.";
570            case CST: return "An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.).";
571            case DIR: return "Target participant  that is substantially present in the act  and which is directly involved in the action (includes consumed material, devices, etc.).";
572            case ALY: return "The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject.\r\n\n                        \n                           Examples: A \"plasma porcelain substance concentration\" has analyte a Role with player substance Entity \"porcelain\".\r\n\n                        \n                           UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for \"plasma porcelain\" the scoper could be \"Plasma\".";
573            case BBY: return "In an obstetric service, the baby.";
574            case CAT: return "The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction";
575            case CSM: return "Participant material that is taken up, diminished, altered, or disappears in the act.";
576            case TPA: return "Something incorporated in the subject of a therapy service to achieve a physiologic effect (e.g., heal, relieve, provoke a condition, etc.) on the subject.  In an administration service the therapeutic agent is a consumable, in a preparation or dispense service, it is a product.  Thus, consumable or product must be specified in accordance with the kind of service.";
577            case DEV: return "Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).\r\n\n                        \n                           Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc.";
578            case NRD: return "A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc.  Such material may need to be restocked after he service.";
579            case RDV: return "A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope.  The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked.";
580            case DON: return "In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service.  However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation.  The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service.";
581            case EXPAGNT: return "Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure.  For example in communicable diseases, the associated playing entity is the disease causing pathogen.";
582            case EXPART: return "Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure.  If the participant is known to be the contact of an exposure then the SBJ participation type should be used.  If the participant is known to be the source then the EXSRC participation type should be used.";
583            case EXPTRGT: return "Description: The entity playing the associated role is the target (contact) of exposure.";
584            case EXSRC: return "Description:The entity playing the associated role is the source of exposure.";
585            case PRD: return "Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock).";
586            case SBJ: return "The principle target on which the action happens.\r\n\n                        \n                           Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). \r\n\n                        \n                           UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action.";
587            case SPC: return "The subject of non-clinical (e.g. laboratory) observation services is a specimen.";
588            case IND: return "Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act.";
589            case BEN: return "Target on behalf of whom the service happens, but that is not necessarily present in the service.  Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions.  This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act.\r\n\n                        Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause.  Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service.";
590            case CAGNT: return "Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition.\r\n\n                        Constraint:  The use of this participation is limited to observations.";
591            case COV: return "The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage.";
592            case GUAR: return "The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account\r\n\n                        \n                           Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed.";
593            case HLD: return "Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.";
594            case RCT: return "The record target indicates whose medical record holds the documentation of this act.  This is especially important when the subject of a service is not the patient himself.";
595            case RCV: return "The person (or organization) who receives the product of an Act.";
596            case IRCP: return "A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood.\" Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used.";
597            case NOT: return "An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill).";
598            case PRCP: return "Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary.";
599            case REFB: return "A participant (e.g. provider) who has referred the subject of an act (e.g. patient).\r\n\n                        Typically, a referred by participant will provide a report (e.g. referral).";
600            case REFT: return "The person who receives the patient";
601            case TRC: return "A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist).";
602            case LOC: return "The facility where the service is done.  May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.)";
603            case DST: return "The destination for services.  May be a static building (or room therein) or a movable facility (e.g., ship).";
604            case ELOC: return "A location where data about an Act was entered.";
605            case ORG: return "The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g., ship).";
606            case RML: return "Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation).  The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered \"remote.\"";
607            case VIA: return "For services, an intermediate location that specifies a path between origin an destination.";
608            case PRF: return "Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention.  Need not be the principal responsible actor.\r\n\n                        \n                           Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event.\r\n\n                        \n                           Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer.  These designs should be revised in subsequent releases to make this the scooping entity for the role involved.";
609            case DIST: return "Distributes material used in or generated during the act.";
610            case PPRF: return "The principal or primary performer of the act.";
611            case SPRF: return "A person assisting in an act through his substantial presence and involvement   This includes: assistants, technicians, associates, or whatever the job titles may be.";
612            case RESP: return "The person or organization that has primary responsibility for the act.  The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact.  This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature.\r\n\n                        \n                           Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program.";
613            case VRF: return "A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.";
614            case AUTHEN: return "A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication.";
615            case LA: return "A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication.";
616            default: return "?";
617          }
618        }
619        public String getDisplay() {
620          switch (this) {
621            case PART: return "Participation";
622            case _PARTICIPATIONANCILLARY: return "ParticipationAncillary";
623            case ADM: return "admitter";
624            case ATND: return "attender";
625            case CALLBCK: return "callback contact";
626            case CON: return "consultant";
627            case DIS: return "discharger";
628            case ESC: return "escort";
629            case REF: return "referrer";
630            case _PARTICIPATIONINFORMATIONGENERATOR: return "ParticipationInformationGenerator";
631            case AUT: return "author (originator)";
632            case INF: return "informant";
633            case TRANS: return "Transcriber";
634            case ENT: return "data entry person";
635            case WIT: return "witness";
636            case CST: return "custodian";
637            case DIR: return "direct target";
638            case ALY: return "analyte";
639            case BBY: return "baby";
640            case CAT: return "catalyst";
641            case CSM: return "consumable";
642            case TPA: return "therapeutic agent";
643            case DEV: return "device";
644            case NRD: return "non-reuseable device";
645            case RDV: return "reusable device";
646            case DON: return "donor";
647            case EXPAGNT: return "ExposureAgent";
648            case EXPART: return "ExposureParticipation";
649            case EXPTRGT: return "ExposureTarget";
650            case EXSRC: return "ExposureSource";
651            case PRD: return "product";
652            case SBJ: return "subject";
653            case SPC: return "specimen";
654            case IND: return "indirect target";
655            case BEN: return "beneficiary";
656            case CAGNT: return "causative agent";
657            case COV: return "coverage target";
658            case GUAR: return "guarantor party";
659            case HLD: return "holder";
660            case RCT: return "record target";
661            case RCV: return "receiver";
662            case IRCP: return "information recipient";
663            case NOT: return "ugent notification contact";
664            case PRCP: return "primary information recipient";
665            case REFB: return "Referred By";
666            case REFT: return "Referred to";
667            case TRC: return "tracker";
668            case LOC: return "location";
669            case DST: return "destination";
670            case ELOC: return "entry location";
671            case ORG: return "origin";
672            case RML: return "remote";
673            case VIA: return "via";
674            case PRF: return "performer";
675            case DIST: return "distributor";
676            case PPRF: return "primary performer";
677            case SPRF: return "secondary performer";
678            case RESP: return "responsible party";
679            case VRF: return "verifier";
680            case AUTHEN: return "authenticator";
681            case LA: return "legal authenticator";
682            default: return "?";
683          }
684    }
685
686
687}
688