001package org.hl7.fhir.dstu3.model.codesystems;
002
003
004
005
006/*
007  Copyright (c) 2011+, HL7, Inc.
008  All rights reserved.
009  
010  Redistribution and use in source and binary forms, with or without modification, 
011  are permitted provided that the following conditions are met:
012  
013   * Redistributions of source code must retain the above copyright notice, this 
014     list of conditions and the following disclaimer.
015   * Redistributions in binary form must reproduce the above copyright notice, 
016     this list of conditions and the following disclaimer in the documentation 
017     and/or other materials provided with the distribution.
018   * Neither the name of HL7 nor the names of its contributors may be used to 
019     endorse or promote products derived from this software without specific 
020     prior written permission.
021  
022  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
023  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
024  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
025  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
026  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
027  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
028  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
029  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
030  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
031  POSSIBILITY OF SUCH DAMAGE.
032  
033*/
034
035// Generated on Sat, Mar 25, 2017 21:03-0400 for FHIR v3.0.0
036
037
038import org.hl7.fhir.exceptions.FHIRException;
039
040public enum V3ActClass {
041
042        /**
043         * A record of something that is being done, has been done, can be done, or is intended or requested to be done.
044
045                        
046                           Examples:The kinds of acts that are common in health care are (1) a clinical observation, (2) an assessment of health condition (such as problems and diagnoses), (3) healthcare goals, (4) treatment services (such as medication, surgery, physical and psychological therapy), (5) assisting, monitoring or attending, (6) training and education services to patients and their next of kin, (7) and notary services (such as advanced directives or living will), (8)  editing and maintaining documents, and many others.
047
048                        
049                           Discussion and Rationale: Acts are the pivot of the RIM; all domain information and processes are represented primarily in Acts. Any profession or business, including healthcare, is primarily constituted of intentional and occasionally non-intentional actions, performed and recorded by responsible actors. An Act-instance is a record of such an action.
050
051                        Acts connect to Entities in their Roles through Participations and connect to other Acts through ActRelationships. Participations are the authors, performers and other responsible parties as well as subjects and beneficiaries (which includes tools and material used in the performance of the act, which are also subjects). The moodCode distinguishes between Acts that are meant as factual records, vs. records of intended or ordered services, and the other modalities in which act can appear.
052
053                        One of the Participations that all acts have (at least implicitly) is a primary author, who is responsible of the Act and who "owns" the act. Responsibility for the act means responsibility for what is being stated in the Act and as what it is stated. Ownership of the act is assumed in the sense of who may operationally modify the same act. Ownership and responsibility of the Act is not the same as ownership or responsibility of what the Act-object refers to in the real world. The same real world activity can be described by two people, each being the author of their Act, describing the same real world activity. Yet one can be a witness while the other can be a principal performer. The performer has responsibilities for the physical actions; the witness only has responsibility for making a true statement to the best of his or her ability. The two Act-instances may even disagree, but because each is properly attributed to its author, such disagreements can exist side by side and left to arbitration by a recipient of these Act-instances.
054
055                        In this sense, an Act-instance represents a "statement" according to Rector and Nowlan (1991) [Foundations for an electronic medical record. Methods Inf Med. 30.]  Rector and Nowlan have emphasized the importance of understanding the medical record not as a collection of facts, but "a faithful record of what clinicians have heard, seen, thought, and done." Rector and Nowlan go on saying that "the other requirements for a medical record, e.g., that it be attributable and permanent, follow naturally from this view." Indeed the Act class is this attributable statement, and the rules of updating acts (discussed in the state-transition model, see Act.statusCode) versus generating new Act-instances are designed according to this principle of permanent attributable statements.
056
057                        Rector and Nolan focus on the electronic medical record as a collection of statements, while attributed statements, these are still mostly factual statements. However, the Act class goes beyond this limitation to attributed factual statements, representing what is known as "speech-acts" in linguistics and philosophy.  The notion of speech-act includes that there is pragmatic meaning in language utterances, aside from just factual statements; and that these utterances interact with the real world to change the state of affairs, even directly cause physical activities to happen. For example, an order is a speech act that (provided it is issued adequately) will cause the ordered action to be physically performed. The speech act theory has culminated in the seminal work by Austin (1962) [How to do things with words. Oxford University Press].
058
059                        An activity in the real world may progress from defined, through planned and ordered to executed, which is represented as the mood of the Act. Even though one might think of a single activity as progressing from planned to executed, this progression is reflected by multiple Act-instances, each having one and only one mood that will not change along the Act-instance life cycle.  This is because the attribution and content of speech acts along this progression of an activity may be different, and it is often critical that a permanent and faithful record be maintained of this progression. The specification of orders or promises or plans must not be overwritten by the specification of what was actually done, so as to allow comparing actions with their earlier specifications. Act-instances that describe this progression of the same real world activity are linked through the ActRelationships (of the relationship category "sequel").
060
061                        Act as statements or speech-acts are the only representation of real world facts or processes in the HL7 RIM. The truth about the real world is constructed through a combination (and arbitration) of such attributed statements only, and there is no class in the RIM whose objects represent "objective state of affairs" or "real processes" independent from attributed statements. As such, there is no distinction between an activity and its documentation. Every Act includes both to varying degrees. For example, a factual statement made about recent (but past) activities, authored (and signed) by the performer of such activities, is commonly known as a procedure report or original documentation (e.g., surgical procedure report, clinic note etc.). Conversely, a status update on an activity that is presently in progress, authored by the performer (or a close observer) is considered to capture that activity (and is later superceded by a full procedure report). However, both status update and procedure report are acts of the same kind, only distinguished by mood and state (see statusCode) and completeness of the information.
062         */
063        ACT, 
064        /**
065         * Used to group a set of acts sharing a common context. Organizer structures can nest within other context structures - such as where a document is contained within a folder, or a folder is contained within an EHR extract.
066         */
067        _ACTCLASSRECORDORGANIZER, 
068        /**
069         * A context representing a grouped commitment of information to the EHR. It is considered the unit of modification of the record, the unit of transmission in record extracts, and the unit of attestation by authorizing clinicians.
070
071                        A composition represents part of a patient record originating from a single interaction between an authenticator and the record.
072
073                        Unless otherwise stated all statements within a composition have the same authenticator, apply to the same patient and were recorded in a single session of use of a single application.
074
075                        A composition contains organizers and entries.
076         */
077        COMPOSITION, 
078        /**
079         * The notion of a document comes particularly from the paper world, where it corresponds to the contents recorded on discrete pieces of paper. In the electronic world, a document is a kind of composition that bears resemblance to their paper world counter-parts. Documents typically are meant to be human-readable.
080
081                        HL7's notion of document differs from that described in the W3C XML Recommendation, in which a document refers specifically to the contents that fall between the root element's start-tag and end-tag. Not all XML documents are HL7 documents.
082         */
083        DOC, 
084        /**
085         * A clinical document is a documentation of clinical observations and services, with the following characteristics:
086
087                        
088                           
089                              Persistence - A clinical document continues to exist in an unaltered state, for a time period defined by local and regulatory requirements; 
090
091                           
092                           
093                              Stewardship - A clinical document is maintained by a person or organization entrusted with its care; 
094
095                           
096                           
097                              Potential for authentication - A clinical document is an assemblage of information that is intended to be legally authenticated; 
098
099                           
100                           
101                              Wholeness - Authentication of a clinical document applies to the whole and does not apply to portions of the document without the full context of the document;
102
103                           
104                           
105                              Human readability - A clinical document is human readable.
106         */
107        DOCCLIN, 
108        /**
109         * A clinical document that conforms to Level One of the HL7 Clinical Document Architecture (CDA)
110         */
111        CDALVLONE, 
112        /**
113         * Description: Container of clinical statements. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or "container tree".
114
115                        The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R.
116         */
117        CONTAINER, 
118        /**
119         * A group of entries within a composition or topic that have a common characteristic - for example, Examination, Diagnosis, Management OR Subjective, Objective, Analysis, Plan.
120
121                        The distinction from Topic relates to value sets. For Category there is a bounded list of things like "Examination", "Diagnosis" or SOAP categories. For Topic the list is wide open to any clinical condition or reason for a part of an encounter.
122
123                        A CATEGORY MAY CONTAIN ENTRIES.
124         */
125        CATEGORY, 
126        /**
127         * A context that distinguishes the body of a document from the document header. This is seen, for instance, in HTML documents, which have discrete <head> and <body> elements.
128         */
129        DOCBODY, 
130        /**
131         * A context that subdivides the body of a document. Document sections are typically used for human navigation, to give a reader a clue as to the expected content. Document sections are used to organize and provide consistency to the contents of a document body. Document sections can contain document sections and can contain entries.
132         */
133        DOCSECT, 
134        /**
135         * A group of entries within a composition that are related to a common clinical theme - such as a specific disorder or problem, prevention, screening and provision of contraceptive services.
136
137                        A topic may contain categories and entries.
138         */
139        TOPIC, 
140        /**
141         * This context represents the part of a patient record conveyed in a single communication. It is drawn from a providing system for the purposes of communication to a requesting process (which might be another repository, a client application or a middleware service such as an electronic guideline engine), and supporting the faithful inclusion of the communicated data in the receiving system.
142
143                        An extract may be the entirety of the patient record as held by the sender or it may be a part of that record (e.g. changes since a specified date).
144
145                        An extract contains folders or compositions.
146
147                        An extract cannot contain another extract.
148         */
149        EXTRACT, 
150        /**
151         * A context that comprises all compositions. The EHR is an extract that includes the entire chart.
152
153                        
154                           NOTE: In an exchange scenario, an EHR is a specialization of an extract.
155         */
156        EHR, 
157        /**
158         * A context representing the high-level organization of an extract e.g. to group parts of the record by episode, care team, clinical specialty, clinical condition, or source application. Internationally, this kind of organizing structure is used variably: in some centers and systems the folder is treated as an informal compartmentalization of the overall health record; in others it might represent a significant legal portion of the EHR relating to the originating enterprise or team.
159
160                        A folder contains compositions.
161
162                        Folders may be nested within folders.
163         */
164        FOLDER, 
165        /**
166         * Definition: An ACT that organizes a set of component acts into a semantic grouping that share a particular context such as timeframe, patient, etc.
167
168                        
169                           UsageNotes: The focus in a GROUPER act is the grouping of the contained acts.  For example "a request to group" (RQO), "a type of grouping that is allowed to occur" (DEF), etc.
170
171                        Unlike WorkingList, which represents a dynamic, shared, continuously updated collection to provide a "view" of a set of objects, GROUPER collections tend to be static and simply indicate a shared set of semantics.  Note that sharing of semantics can be achieved using ACT as well.  However, with GROUPER, the sole semantic is of grouping.
172         */
173        GROUPER, 
174        /**
175         * Description:An ACT that organizes a set of component acts into a semantic grouping that have a shared subject. The subject may be either a subject participation (SBJ), subject act relationship (SUBJ), or child participation/act relationship types.
176
177                        
178                           Discussion: The focus in a CLUSTER act is the grouping of the contained acts.  For example "a request to cluster" (RQO), "a type of cluster that is allowed to occur" (DEF), etc.
179
180                        
181                           Examples: 
182                        
183
184                        
185                           
186                              Radiologic investigations that might include administration of a dye, followed by radiographic observations;
187
188                           
189                           
190                              "Isolate cluster" which includes all testing and specimen processing performed on a specific isolate;
191
192                           
193                           
194                              a set of actions to perform at a particular stage in a clinical trial.
195         */
196        CLUSTER, 
197        /**
198         * An accommodation is a service provided for a Person or other LivingSubject in which a place is provided for the subject to reside for a period of time.  Commonly used to track the provision of ward, private and semi-private accommodations for a patient.
199         */
200        ACCM, 
201        /**
202         * A financial account established to track the net result of financial acts.
203         */
204        ACCT, 
205        /**
206         * A unit of work, a grouper of work items as defined by the system performing that work. Typically some laboratory order fulfillers communicate references to accessions in their communications regarding laboratory orders. Often one or more specimens are related to an accession such that in some environments the accession number is taken as an identifier for a specimen (group).
207         */
208        ACSN, 
209        /**
210         * A transformation process where a requested invoice is transformed into an agreed invoice.  Represents the adjudication processing of an invoice (claim).  Adjudication results can be adjudicated as submitted, with adjustments or refused.
211
212                        Adjudication results comprise 2 components: the adjudication processing results and a restated (or adjudicated) invoice or claim
213         */
214        ADJUD, 
215        /**
216         * An act representing a system action such as the change of state of another act or the initiation of a query.  All control acts represent trigger events in the HL7 context.  ControlActs may occur in different moods.
217         */
218        CACT, 
219        /**
220         * Sender asks addressee to do something depending on the focal Act of the payload.  An example is "fulfill this order".  Addressee has responsibilities to either reject the message or to act on it in an appropriate way (specified by the specific receiver responsibilities for the interaction).
221         */
222        ACTN, 
223        /**
224         * Sender sends payload to addressee as information.  Addressee does not have responsibilities beyond serving addressee's own interest (i.e., read and memorize if you see fit).  This is equivalent to an FYI on a memo.
225         */
226        INFO, 
227        /**
228         * Description: Sender transmits a status change pertaining to the focal act of the payload. This status of the focal act is the final state of the state transition. This can be either a request or an event, according to the mood of the control act.
229         */
230        STC, 
231        /**
232         * An agreement of obligation between two or more parties that is subject to contractual law and enforcement.
233         */
234        CNTRCT, 
235        /**
236         * A contract whose value is measured in monetary terms.
237         */
238        FCNTRCT, 
239        /**
240         * When used in the EVN mood, this concept means with respect to a covered party:
241
242                        
243                           
244                              A health care insurance policy or plan that is contractually binding between two or more parties; or 
245
246                           
247                           
248                              A health care program, usually administered by government entities, that provides coverage to persons determined eligible under the terms of the program.
249
250                           
251                        
252                        
253                           
254                              When used in the definition (DEF) mood, COV means potential coverage for a patient who may or may not be a covered party.
255
256                           
257                           
258                              The concept's meaning is fully specified by the choice of ActCoverageTypeCode (abstract) ActProgramCode or ActInsurancePolicyCode.
259         */
260        COV, 
261        /**
262         * Definition: A worry that tends to persist over time and has as its subject a state or process. The subject of the worry has the potential to require intervention or management.
263
264                        
265                           Examples: an observation result, procedure, substance administration, equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, allergy, and acute or chronic illness.
266         */
267        CONC, 
268        /**
269         * A public health case is a Concern about an observation or event that has a specific significance for public health. The creation of a PublicHealthCase initiates the tracking of the object of concern.  The decision to track is related to but somewhat independent of the underlying event or observation.
270
271                        
272                           UsageNotes: Typically a Public Health Case involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health.
273
274                        A public health case definition (Act.moodCode = "definition") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case.
275         */
276        HCASE, 
277        /**
278         * An Outbreak is a concern resulting from a series of public health cases.
279
280                        
281                           UsageNotes: The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak and its ending date is the last date of onset among the cases assigned to the outbreak. The effectiveTime attribute is used to convey the relevant dates for the case. An outbreak definition (Act.moodCode = "definition" includes the criteria for the number, types and occurrence pattern of cases necessary to declare an outbreak and to judge the severity of an outbreak.
282         */
283        OUTBR, 
284        /**
285         * The Consent class represents informed consents and all similar medico-legal transactions between the patient (or his legal guardian) and the provider. Examples are informed consent for surgical procedures, informed consent for clinical trials, advanced beneficiary notice, against medical advice decline from service, release of information agreement, etc.
286
287                        The details of consents vary. Often an institution has a number of different consent forms for various purposes, including reminding the physician about the topics to mention. Such forms also include patient education material. In electronic medical record communication, consents thus are information-generating acts on their own and need to be managed similar to medical activities. Thus, Consent is modeled as a special class of Act.
288
289                        The "signatures" to the consent document are represented electronically through Participation instances to the consent object. Typically an informed consent has Participation.typeCode of "performer", the healthcare provider informing the patient, and "consenter", the patient or legal guardian. Some consent may associate a witness or a notary public (e.g., living wills, advanced directives). In consents where a healthcare provider is not required (e.g. living will), the performer may be the patient himself or a notary public.
290
291                        Some consent has a minimum required delay between the consent and the service, so as to allow the patient to rethink his decisions. This minimum delay can be expressed in the act definition by the ActRelationship.pauseQuantity attribute that delays the service until the pause time has elapsed after the consent has been completed.
292         */
293        CONS, 
294        /**
295         * An Act where a container is registered either via an automated sensor, such as a barcode reader,  or by manual receipt
296         */
297        CONTREG, 
298        /**
299         * An identified point during a clinical trial at which one or more actions are scheduled to be performed (definition mood), or are actually performed (event mood).  The actions may or may not involve an encounter between the subject and a healthcare professional.
300         */
301        CTTEVENT, 
302        /**
303         * An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be                                                   undesirable.
304
305                        Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples:
306         */
307        DISPACT, 
308        /**
309         * An interaction between entities that provides opportunity for transmission of a physical, chemical, or biological agent from an exposure source entity to an exposure target entity.
310
311                        
312                           Examples:  The following examples are provided to indicate what interactions are considered exposures rather than other types of Acts:
313
314                        
315                           
316                              A patient accidentally receives three times the recommended dose of their medication due to a dosing error. 
317
318                              
319                                 
320                                    This is a substance administration.  Public health and/or safety authorities may also be interested in documenting this with an associated exposure.
321
322                                 
323                              
324                           
325                           
326                              A patient accidentally is dispensed an incorrect medicine (e.g., clomiphene instead of clomipramine).  They have taken several doses before the mistake is detected.  They are therefore "exposed" to a medicine that there was no therapeutic indication for them to receive. 
327
328                              
329                                 
330                                    There are several substance administrations in this example.  Public health and/or safety authorities may also be interested in documenting this with associated exposures.
331
332                                 
333                              
334                           
335                           
336                              In a busy medical ward, a patient is receiving chemotherapy for a lymphoma.  Unfortunately, the IV infusion bag containing the medicine splits, spraying cytotoxic medication over the patient being treated and the patient in the adjacent bed. 
337
338                              
339                                 
340                                    There are three substance administrations in this example.  The first is the intended one (IV infusion) with its associated (implicit) exposure.  There is an incident with an associated substance administration to the same patient involving the medication sprayed over the patient as well as an associated exposure.  Additionally, the incident includes a substance administration involving the spraying of medication on the adjacent patient, also with an associated exposure.
341
342                                 
343                              
344                           
345                           
346                              A patient who is a refugee from a war-torn African nation arrives in a busy inner city A&E department suffering from a cough with bloody sputum.  Not understanding the registration and triage process, they sit in the waiting room for several hours before it is noticed that they have not booked in.  As soon as they are being processed, it is suspected that they are suffering from TB.  Vulnerable (immunosuppressed) patients who were sharing the waiting room with this patient may have been exposed to the tubercule bacillus, and must be traced for investigation. 
347
348                              
349                                 
350                                    This is an exposure (or possibly multiple exposures) in the waiting room involving the refugee and everyone else in the waiting room during the period.  There might also be a number of known or presumed substance administrations (coughing) via several possible routes.  The substance administrations are only hypotheses until confirmed by further testing.
351
352                                 
353                              
354                           
355                           
356                              A patient who has received an elective total hip replacement procedure suffers a prolonged stay in hospital, due to contracting an MRSA infection in the surgical wound site after the surgery. 
357
358                              
359                                 
360                                    This is an exposure to MRSA.  Although there was some sort of substance administration, it's possible the exact mechanism for introduction of the MRSA into the wound will not be identified.
361
362                                 
363                              
364                           
365                           
366                              Routine maintenance of the X-ray machines at a local hospital reveals a serious breach of the shielding on one of the machines.  Patients who have undergone investigations using that machine in the last month are likely to have been exposed to significantly higher doses of X-rays than was intended, and must be tracked for possible adverse effects. 
367
368                              
369                                 
370                                    There has been an exposure of each patient who used the machine in the past 30 days. Some patients may have had substance administrations.
371
372                                 
373                              
374                           
375                           
376                              A new member of staff is employed in the laundry processing room of a small cottage hospital, and a misreading of the instructions for adding detergents results in fifty times the usual concentration of cleaning materials being added to a batch of hospital bedding.  As a result, several patients have been exposed to very high levels of detergents still present in the "clean" bedding, and have experienced dermatological reactions to this. 
377
378                              
379                                 
380                                    There has been an incident with multiple exposures to several patients.  Although there are substance administrations involving the application of the detergent to the skin of the patients, it is expected that the substance administrations would not be directly documented.
381
382                                 
383                              
384                           
385                           
386                              Seven patients who are residents in a health care facility for the elderly mentally ill have developed respiratory problems. After several months of various tests having been performed and various medications prescribed to these patients, the problem is traced to their being "sensitive" to a new fungicide used in the wall plaster of the ward where these patients reside.
387
388                              
389                                 
390                                    The patients have been continuously exposed to the fungicide.  Although there have been continuous substance administrations (via breathing) this would not normally be documented as a substance administration.
391
392                                 
393                              
394                           
395                           
396                              A patient with osteoarthritis of the knees is treated symptomatically using analgesia, paracetamol (acetaminophen) 1g up to four times a day for pain relief.  His GP does not realize that the patient has, 20 years previously (while at college) had severe alcohol addiction problems, and now, although this is completely under control, his liver has suffered significantly, leaving him more sensitive to hepatic toxicity from paracetamol use.  Later that year, the patient returns with a noticeable level of jaundice.  Paracetamol is immediately withdrawn and alternative solutions for the knee pain are sought.  The jaundice gradually subsides with conservative management, but referral to the gastroenterologist is required for advice and monitoring. 
397
398                              
399                                 
400                                    There is a substance administration with an associated exposure.  The exposure component is based on the relative toxic level of the substance to a patient with a compromised liver function.
401
402                                 
403                              
404                           
405                           
406                              A patient goes to their GP complaining of abdominal pain, having been discharged from the local hospital ten days' previously after an emergency appendectomy.  The GP can find nothing particularly amiss, and presumes it is post operative surgical pain that will resolve.  The patient returns a fortnight later, when the GP prescribes further analgesia, but does decide to request an outpatient surgical follow-up appointment.  At this post-surgical outpatient review, the registrar decides to order an ultrasound, which, when performed three weeks later, shows a small faint inexplicable mass.  A laparoscopy is then performed, as a day case procedure, and a piece of a surgical swab is removed from the patient's abdominal cavity.  Thankfully, a full recovery then takes place. 
407
408                              
409                                 
410                                    This is a procedural sequelae.  There may be an Incident recorded for this also.
411
412                                 
413                              
414                           
415                           
416                              A patient is slightly late for a regular pacemaker battery check in the Cardiology department of the local hospital.  They are hurrying down the second floor corridor.  A sudden summer squall has recently passed over the area, and rain has come in through an open corridor window leaving a small puddle on the corridor floor.  In their haste, the patient slips in the puddle and falls so badly that they have to be taken to the A&E department, where it is discovered on investigation they have slightly torn the cruciate ligament in their left knee. 
417
418                              
419                                 
420                                    This is not an exposure.  There has been an incident.  
421
422                                 
423                              
424                           
425                        
426                        
427                           Usage Notes: This class deals only with opportunity and not the outcome of the exposure; i.e. not all exposed parties will necessarily experience actual harm or benefit.
428
429                        Exposure differs from Substance Administration by the absence of the participation of a performer in the act. 
430
431                        The following participations SHOULD be used with the following participations to distinguish the specific entities:
432
433                        
434                           
435                              The exposed entity participates via the "exposure target" (EXPTRGT) participation.
436
437                           
438                           
439                              An entity that has carried the agent transmitted in the exposure participates via the "exposure source" (EXSRC) participation.  For example: 
440
441                              
442                                 
443                                    a person or animal who carried an infectious disease and interacts (EXSRC) with another person or animal (EXPTRGT) transmitting the disease agent;
444
445                                 
446                                 
447                                    a place or other environment (EXSRC) and a person or animal (EXPTRGT) who is exposed in the presence of this environment.
448
449                                 
450                              
451                           
452                           
453                              When it is unknown whether a participating entity is the source of the agent (EXSRC) or the target of the transmission (EXPTRGT), the "exposure participant" (EXPART) is used.
454
455                           
456                           
457                              The physical (including energy), chemical or biological substance which is participating in the exposure uses the "exposure agent" (EXPAGNT) participation.  There are at least three scenarios:
458
459                              
460                                 
461                                    the player of the Role that participates as EXPAGNT is the chemical or biological substance mixed or carried by the scoper-entity of the Role (e.g., ingredient role); or 
462
463                                 
464                                 
465                                    the player of the Role that participates as EXPAGNT is a mixture known to contain the chemical, radiological or biological substance of interest; or 
466
467                                 
468                                 
469                                    the player of the Role that participates as a EXPAGNT is known to carry the agent (i.e., the player is a fomite, vector, etc.).
470
471                                 
472                              
473                           
474                        
475                        The Exposure.statusCode attribute should be interpreted as the state of the Exposure business object (e.g., active, aborted, completed) and not the clinical status of the exposure (e.g., probable, confirmed).  The clinical status of the exposure should be associated with the exposure via a subject observation.
476
477                        
478                           Design Comment: The usage notes require a clear criterion for determining whether an act is an exposure or substance administration-deleterious potential, uncertainty of actual transmission, or otherwise. SBADM states that the criterion is the presence of a performer-but there are examples above that call this criterion into question (e.g., the first one, concerning a dosing error).
479         */
480        EXPOS, 
481        /**
482         * Description: 
483                        
484
485                        An acquisition exposure act describes the proximity (location and time) through which the participating entity was potentially exposed to a physical (including energy), chemical or biological agent from another entity.  The acquisition exposure act is used in conjunction with transmission exposure acts as part of an analysis technique for contact tracing.  Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.
486
487                        
488                           Constraints:  The Acquisition Exposure inherits the participation constraints that apply to Exposure with the following exception.  The EXPSRC (exposure source) participation must never be associated with the Transmission Exposure either directly or via context conduction.
489         */
490        AEXPOS, 
491        /**
492         * Description: 
493                        
494
495                        A transmission exposure act describes the proximity (time and location) over which the participating source entity was capable of transmitting a physical (including energy), chemical or biological substance agent to another entity.  The transmission exposure act is used in conjunction with acquisition exposure acts as part of an analysis technique for contact tracing.  Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.
496
497                        
498                           Constraints:  The Transmission Exposure inherits the participation constraints that apply to Exposure with the following exception.  The EXPTRGT (exposure target) participation must never be associated with the Transmission Exposure either directly or via context conduction.
499         */
500        TEXPOS, 
501        /**
502         * An event that occurred outside of the control of one or more of the parties involved.  Includes the concept of an accident.
503         */
504        INC, 
505        /**
506         * The act  of transmitting information and understanding about a topic to a subject where the participation association must be SBJ.
507
508                        
509                           Discussion: This act may be used to request that a patient or provider be informed about an Act, or to indicate that a person was informed about a particular act.
510         */
511        INFRM, 
512        /**
513         * Represents concepts related to invoice processing in health care
514         */
515        INVE, 
516        /**
517         * Working list collects a dynamic list of individual instances of Act via ActRelationship which reflects the need of an individual worker, team of workers, or an organization to manage lists of acts for many different clinical and administrative reasons. Examples of working lists include problem lists, goal lists, allergy lists, and to-do lists.
518         */
519        LIST, 
520        /**
521         * An officially or unofficially instituted program to track acts of a particular type or categorization.
522         */
523        MPROT, 
524        /**
525         * Description:An act that is intended to result in new information about a subject. The main difference between Observations and other Acts is that Observations have a value attribute. The code attribute of Observation and the value attribute of Observation must be considered in combination to determine the semantics of the observation.
526
527                        
528                           Discussion:
529                        
530
531                        Structurally, many observations are name-value-pairs, where the Observation.code (inherited from Act) is the name and the Observation.value is the value of the property. Such a construct is also known as a  variable (a named feature that can assume a value) hence, the Observation class is always used to hold generic name-value-pairs or variables, even though the variable valuation may not be the result of an elaborate observation method. It may be a simple answer to a question or it may be an assertion or setting of a parameter.
532
533                        As with all Act statements, Observation statements describe what was done, and in the case of Observations, this includes a description of what was actually observed (results or answers); and those results or answers are part of the observation and not split off into other objects. 
534
535                        The method of action is asserted by the Observation classCode or its subclasses at the least granular level, by the Observation.code attribute value at the medium level of granularity, and by the attribute value of observation.methodCode when a finer level of granularity is required. The method in whole or in part may also appear in the attribute value of Observation.value when using coded data types to express the value of the attribute. Relevant aspects of methodology may also be restated in value when the results themselves imply or state a methodology.
536
537                        An observation may consist of component observations each having their own Observation.code and Observation.value. In this case, the composite observation may not have an Observation.value for itself. For instance, a white blood cell count consists of the sub-observations for the counts of the various granulocytes, lymphocytes and other normal or abnormal blood cells (e.g., blasts). The overall white blood cell count Observation itself may therefore not have a value by itself (even though it could have one, e.g., the sum total of white blood cells). Thus, as long as an Act is essentially an Act of recognizing and noting information about a subject, it is an Observation, regardless of whether it has a simple value by itself or whether it has sub-observations.
538
539                        Even though observations are professional acts (see Act) and as such are intentional actions, this does not require that every possible outcome of an observation be pondered in advance of it being actually made. For instance, differential white blood cell counts (WBC) rarely show blasts, but if they do, this is part of the WBC observation even though blasts might not be predefined in the structure of a normal WBC. 
540
541                        Clinical documents commonly have Subjective and Objective findings, both of which are kinds of Observations. In addition, clinical documents commonly contain Assessments, which are also kinds of Observations. Thus, the establishment of a diagnosis is an Observation. 
542
543                        
544                           Examples:
545                        
546
547                        
548                           
549                              Recording the results of a Family History Assessment
550
551                           
552                           
553                              Laboratory test and associated result
554
555                           
556                           
557                              Physical exam test and associated result
558
559                           
560                           
561                              Device temperature
562
563                           
564                           
565                              Soil lead level
566         */
567        OBS, 
568        /**
569         * Regions of Interest (ROI) within a subject Act. Primarily used for making secondary observations on a subset of a subject observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type "subject" (SUBJ), which must always be present.
570         */
571        _ACTCLASSROI, 
572        /**
573         * A Region of Interest (ROI) specified for a multidimensional observation, such as an Observation Series (OBSSER). The ROI is specified using a set of observation criteria, each delineating the boundary of the region in one of the dimensions in the multidimensional observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type subject (SUBJ), which must always be present. Each of the boundary criteria observations is connected with the ROI using ActRelationships of type "has component" (COMP). In each boundary criterion, the Act.code names the dimension and the Observation.value specifies the range of values inside the region. Typically the bounded dimension is continuous, and so the Observation.value will be an interval (IVL) data type. The Observation.value need not be specified if the respective dimension is only named but not constrained. For example, an ROI for the QT interval of a certain beat in ECG Lead II would contain 2 boundary criteria, one naming the interval in time (constrained), and the other naming the interval in ECG Lead II (only named, but not constrained).
574         */
575        ROIBND, 
576        /**
577         * A Region of Interest (ROI) specified for an image using an overlay shape. Typically used to make reference to specific regions in images, e.g., to specify the location of a radiologic finding in an image or to specify the site of a physical finding by "circling" a region in a schematic picture of a human body. The units of the coordinate values are in pixels.  The origin is in the upper left hand corner, with positive X values going to the right and positive Y values going down. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type "subject" (SUBJ), which must always be present.
578         */
579        ROIOVL, 
580        /**
581         * The spatial relationship of a subject whether human, other animal, or plant, to a frame of reference such as gravity or a collection device.
582         */
583        _SUBJECTPHYSICALPOSITION, 
584        /**
585         * Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc.  ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted.
586
587                        
588                           
589                              Deprecation Comment: 
590                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
591         */
592        _SUBJECTBODYPOSITION, 
593        /**
594         * Lying on the left side.
595
596                        
597                           
598                              Deprecation Comment: 
599                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
600         */
601        LLD, 
602        /**
603         * Lying with the front or ventral surface downward; lying face down.
604
605                        
606                           
607                              Deprecation Comment: 
608                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
609         */
610        PRN, 
611        /**
612         * Lying on the right side.
613
614                        
615                           
616                              Deprecation Comment: 
617                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
618         */
619        RLD, 
620        /**
621         * A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees.
622
623                        
624                           
625                              Deprecation Comment: 
626                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
627         */
628        SFWL, 
629        /**
630         * Resting the body on the buttocks, typically with upper torso erect or semi erect.
631
632                        
633                           
634                              Deprecation Comment: 
635                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
636         */
637        SIT, 
638        /**
639         * To be stationary, upright, vertical, on one's legs.
640
641                        
642                           
643                              Deprecation Comment: 
644                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
645         */
646        STN, 
647        /**
648         * Deprecation Comment: 
649                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
650         */
651        SUP, 
652        /**
653         * Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered.
654
655                        
656                           
657                              Deprecation Comment: 
658                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
659         */
660        RTRD, 
661        /**
662         * Lying on the back, on an inclined plane, typically about 30-45 degrees, with  head lowered and feet raised.
663
664                        
665                           
666                              Deprecation Comment: 
667                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.
668         */
669        TRD, 
670        /**
671         * An observation identifying a potential adverse outcome as a result of an Act or combination of Acts.
672
673                        
674                           Examples: Detection of a drug-drug interaction; Identification of a late-submission for an invoice; Requesting discharge for a patient who does not meet hospital-defined discharge criteria.
675
676                        
677                           Discussion: This class is commonly used for identifying 'business rule' or 'process' problems that may result in a refusal to carry out a particular request. In some circumstances it may be possible to 'bypass' a problem by modifying the request to acknowledge the issue and/or by providing some form of mitigation.
678
679                        
680                           Constraints: the Act or Acts that may cause the the adverse outcome are the target of a subject ActRelationship. The subbtypes of this concept indicate the type of problem being detected (e.g. drug-drug interaction) while the Observation.value is used to repesent a specific problem code (e.g. specific drug-drug interaction id).
681         */
682        ALRT, 
683        /**
684         * Definition: An observation that is composed of a set of observations. These observations typically have a logical or practical grouping for generally accepted clinical or functional purposes, such as observations that are run together because of automation. A battery can define required and optional component observations and, in some cases, will define complex rules that determine whether or not a particular observation is made. BATTERY is a constraint on the Observation class in that it is understood to always be composed of component observations.
685
686                        
687                           UsageNotes: The focus in a BATTERY is that it is composed of individual observations. In request (RQO) mood, a battery is a request to perform the component observations. In event (EVN) mood a battery is a reporting of associated set of observation events. In definition mood a battery is the definition of the associated set of observations.
688
689                        
690                           Examples: Vital signs, Full blood count, Chemistry panel.
691         */
692        BATTERY, 
693        /**
694         * The set of actions that define an experiment to assess the effectiveness and/or safety of a biopharmaceutical product (food, drug, device, etc.).  In definition mood, this set of actions is often embodied in a clinical trial protocol; in event mood, this designates the aggregate act of applying the actions to one or more subjects.
695         */
696        CLNTRL, 
697        /**
698         * An instance of Observation of a Condition at a point in time that includes any Observations or Procedures associated with that Condition as well as links to previous instances of Condition Node for the same Condition
699
700                        
701                           
702                              Deprecation Comment: 
703                           This concept has been deprecated because an alternative structure for tracking the evolution of a problem has been presented and adopted by the Care Provision Work Group.
704         */
705        CNOD, 
706        /**
707         * An observable finding or state that persists over time and tends to require intervention or management, and, therefore, distinguished from an Observation made at a point in time; may exist before an Observation of the Condition is made or after interventions to manage the Condition are undertaken. Examples: equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, chronic illness
708         */
709        COND, 
710        /**
711         * A public health case is an Observation representing a condition or event that has a specific significance for public health. Typically it involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health. An outbreak involving multiple individuals may be considered as a type of public health case. A public health case definition (Act.moodCode = "definition") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. There are also case definitions for outbreaks. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case.
712         */
713        CASE, 
714        /**
715         * An outbreak represents a series of public health cases. The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak, and its ending date is the last date of onset among the cases assigned to the outbreak.
716         */
717        OUTB, 
718        /**
719         * Class for holding attributes unique to diagnostic images.
720         */
721        DGIMG, 
722        /**
723         * Description:An observation of genomic phenomena.
724         */
725        GEN, 
726        /**
727         * Description:A determinant peptide in a polypeptide as described by polypeptide.
728         */
729        DETPOL, 
730        /**
731         * Description:An expression level of genes/proteins or other expressed genomic entities.
732         */
733        EXP, 
734        /**
735         * Description:The position of a gene (or other significant sequence) on the genome.
736         */
737        LOC, 
738        /**
739         * Description:A genomic phenomenon that is expressed externally in the organism.
740         */
741        PHN, 
742        /**
743         * Description:A polypeptide resulting from the translation of a gene.
744         */
745        POL, 
746        /**
747         * Description:A sequence of biomolecule like the DNA, RNA, protein and the like.
748         */
749        SEQ, 
750        /**
751         * Description:A variation in a sequence as described by BioSequence.
752         */
753        SEQVAR, 
754        /**
755         * An formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event. This investigation could be conducted at a local institutional level or at the level of a local or national government.
756         */
757        INVSTG, 
758        /**
759         * Container for Correlated Observation Sequences sharing a common frame of reference.  All Observations of the same cd must be comparable and relative to the common frame of reference.  For example, a 3-channel ECG device records a 12-lead ECG in 4 steps (3 leads at a time).  Each of the separate 3-channel recordings would be in their own "OBSCOR".  And, all 4 OBSCOR would be contained in one OBSSER because all the times are relative to the same origin (beginning of the recording) and all the ECG signals were from a fixed set of electrodes.
760         */
761        OBSSER, 
762        /**
763         * Container for Observation Sequences (Observations whose values are contained in LIST<>'s) having values correlated with each other.  Each contained Observation Sequence LIST<> must be the same length.  Values in the LIST<>'s are correlated based on index.  E.g. the values in position 2 in all the LIST<>'s are correlated.  This is analogous to a table where each column is an Observation Sequence with a LIST<> of values, and each row in the table is a correlation between the columns.  For example, a 12-lead ECG would contain 13 sequences: one sequence for time, and a sequence for each of the 12 leads.
764         */
765        OBSCOR, 
766        /**
767         * An observation denoting the physical location of a person or thing based on a reference coordinate system.
768         */
769        POS, 
770        /**
771         * Description:An observation representing the degree to which the assignment of the spatial coordinates, based on a matching algorithm by a geocoding engine against a reference spatial database, matches true or accepted values.
772         */
773        POSACC, 
774        /**
775         * Description:An observation representing one of a set of numerical values used to determine the position of a place.  The name of the coordinate value is determined by the reference coordinate system.
776         */
777        POSCOORD, 
778        /**
779         * An observation on a specimen in a laboratory environment that may affect processing, analysis or result interpretation
780         */
781        SPCOBS, 
782        /**
783         * An act which describes the process whereby a 'verifying party' validates either the existence of the Role attested to by some Credential or the actual Vetting act and its details.
784         */
785        VERIF, 
786        /**
787         * An Act that of taking on whole or partial responsibility for, or attention to, safety and well-being of a subject of care. 
788
789                        
790                           Discussion: A care provision event may exist without any other care actions taking place. For example, when a patient is assigned to the care of a particular health professional.
791
792                        In request (RQO) mood care provision communicates a referral, which is a request:
793
794                        
795                           
796                              from one party (linked as a participant of type author (AUT)),
797
798                           
799                           
800                              to another party (linked as a participant of type performer (PRF),
801
802                           
803                           
804                              to take responsibility for a scope specified by the code attribute, 
805
806                           
807                           
808                              for an entity (linked as a participant of type subject (SBJ)).
809
810                           
811                        
812                        The scope of the care for which responsibility is taken is identified by code attribute.
813
814                        In event (EVN) mood care provision indicates the effective time interval of a specified scope of responsibility by a performer (PRF) or set of performers (PRF) for a subject (SBJ).
815
816                        
817                           Examples:
818                        
819
820                        
821                           
822                              Referral from GP to a specialist.
823
824                           
825                           
826                              Assignment of a patient or group of patients to the case list of a health professional.
827
828                           
829                           
830                              Assignment of inpatients to the care of particular nurses for a working shift.
831         */
832        PCPR, 
833        /**
834         * An interaction between a patient and healthcare participant(s) for the purpose of providing patient service(s) or assessing the health status of a patient.  For example, outpatient visit to multiple departments, home health support (including physical therapy), inpatient hospital stay, emergency room visit, field visit (e.g., traffic accident), office visit, occupational therapy, telephone call.
835         */
836        ENC, 
837        /**
838         * Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by one party on:
839
840                        
841                           
842                              The activity of another party
843
844                           
845                           
846                              The behavior of another party
847
848                           
849                           
850                              The manner in which an act is executed
851         */
852        POLICY, 
853        /**
854         * Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by a jurisdiction on:
855
856                        
857                           
858                              The activity of another party
859
860                           
861                           
862                              The behavior of another party
863
864                           
865                           
866                              The manner in which an act is executed
867
868                           
869                        
870                        
871                           Examples:A jurisdictional mandate regarding the prescribing and dispensing of a particular medication.  A jurisdictional privacy or security regulation dictating the manner in which personal health information is disclosed.  A jurisdictional requirement that certain services or health conditions are reported to a monitoring program, e.g., immunizations, methadone treatment, or cancer registries.
872         */
873        JURISPOL, 
874        /**
875         * Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed by an organization on:
876
877                        
878                           
879                              The activity of another party
880
881                           
882                           
883                              The behavior of another party
884
885                           
886                           
887                              The manner in which an act is executed
888
889                           
890                        
891                        
892                           Examples:A clinical or research protocols imposed by a payer, a malpractice insurer, or an institution to which a provider must adhere.  A mandate imposed by a denominational institution for a provider to provide or withhold certain information from the patient about treatment options.
893         */
894        ORGPOL, 
895        /**
896         * Description:An ethical or clinical obligation, requirement, rule, or expectation imposed or strongly encouraged by organizations that oversee particular clinical domains or provider certification which define the boundaries within which a provider may practice and which may have legal basis or ramifications on:
897
898                        
899                           
900                              The activity of another party
901
902                           
903                           
904                              The behavior of another party
905
906                           
907                           
908                              The manner in which an act is executed
909
910                           
911                        
912                        
913                           Examples:An ethical obligation for a provider to fully inform a patient about all treatment options.  An ethical obligation for a provider not to disclose personal health information that meets certain criteria, e.g., where disclosure might result in harm to the patient or another person.  The set of health care services which a provider is credentialed or privileged to provide.
914         */
915        SCOPOL, 
916        /**
917         * Description:A requirement, rule, or expectation typically documented as guidelines, protocols, or formularies imposed or strongly encouraged by an organization that oversees or has authority over the practices within a domain, and which may have legal basis or ramifications on:
918
919                        
920                           
921                              The activity of another party
922
923                           
924                           
925                              The behavior of another party
926
927                           
928                           
929                              The manner in which an act is executed
930
931                           
932                        
933                        
934                           Examples:A payer may require a prescribing provider to adhere to formulary guidelines.  An institution may adopt clinical guidelines and protocols and implement these within its electronic health record and decision support systems.
935         */
936        STDPOL, 
937        /**
938         * An Act whose immediate and primary outcome (post-condition) is the alteration of the physical condition of the subject.
939
940                        
941                           Examples: : Procedures may involve the disruption of some body surface (e.g. an incision in a surgical procedure), but they also include conservative procedures such as reduction of a luxated join, chiropractic treatment, massage, balneotherapy, acupuncture, shiatsu, etc. Outside of clinical medicine, procedures may be such things as alteration of environments (e.g. straightening rivers, draining swamps, building dams) or the repair or change of machinery etc.
942         */
943        PROC, 
944        /**
945         * The act of introducing or otherwise applying a substance to the subject.
946
947                        
948                           Discussion: The effect of the substance is typically established on a biochemical basis, however, that is not a requirement. For example, radiotherapy can largely be described in the same way, especially if it is a systemic therapy such as radio-iodine.  This class also includes the application of chemical treatments to an area.
949
950                        
951                           Examples: Chemotherapy protocol; Drug prescription; Vaccination record
952         */
953        SBADM, 
954        /**
955         * Description: The act of removing a substance from the subject.
956         */
957        SBEXT, 
958        /**
959         * A procedure for obtaining a specimen from a source entity.
960         */
961        SPECCOLLECT, 
962        /**
963         * Represents the act of maintaining information about the registration of its associated registered subject. The subject can be either an Act or a Role, and includes subjects such as lab exam definitions, drug protocol definitions, prescriptions, persons, patients, practitioners, and equipment.
964
965                        The registration may have a unique identifier - separate from the unique identification of the subject - as well as a core set of related participations and act relationships that characterize the registration event and aid in the disposition of the subject information by a receiving system.
966         */
967        REG, 
968        /**
969         * The act of examining and evaluating the subject, usually another act. For example, "This prescription needs to be reviewed in 2 months."
970         */
971        REV, 
972        /**
973         * A procedure or treatment performed on a specimen to prepare it for analysis
974         */
975        SPCTRT, 
976        /**
977         * Supply orders and deliveries are simple Acts that focus on the delivered product. The product is associated with the Supply Act via Participation.typeCode="product". With general Supply Acts, the precise identification of the Material (manufacturer, serial numbers, etc.) is important.  Most of the detailed information about the Supply should be represented using the Material class.  If delivery needs to be scheduled, tracked, and billed separately, one can associate a Transportation Act with the Supply Act.  Pharmacy dispense services are represented as Supply Acts, associated with a SubstanceAdministration  Act. The SubstanceAdministration class represents the administration of medication, while dispensing is supply.
978         */
979        SPLY, 
980        /**
981         * Diet services are supply services, with some aspects resembling Medication services: the detail of the diet is given as a description of the Material associated via Participation.typeCode="product". Medically relevant diet types may be communicated in the Diet.code attribute using domain ActDietCode, however, the detail of the food supplied and the various combinations of dishes should be communicated as Material instances.
982
983                        
984                           Deprecation Note
985                        
986
987                        
988                           Class: Use either the Supply class (if dealing with what should be given to the patient) or SubstanceAdministration class (if dealing with what the patient should consume)
989
990                        
991                           energyQuantity: This quantity can be conveyed by using a Content relationship with a quantity attribute expressing the calories
992
993                        
994                           carbohydrateQuantity:This quantity can be conveyed using a Content relationship to an Entity with a code of  carbohydrate and a quantity attribute on the content relationship.
995         */
996        DIET, 
997        /**
998         * The act of putting something away for safe keeping. The "something" may be physical object such as a specimen, or information, such as observations regarding a specimen.
999         */
1000        STORE, 
1001        /**
1002         * Definition: Indicates that the subject Act has undergone or should undergo substitution of a type indicated by Act.code.
1003
1004                        Rationale: Used to specify "allowed" substitution when creating orders, "actual" susbstitution when sending events, as well as the reason for the substitution and who was responsible for it.
1005         */
1006        SUBST, 
1007        /**
1008         * Definition: The act of transferring information without the intent of imparting understanding about a topic to the subject that is the recipient or holder of the transferred information where the participation association must be RCV or HLD.
1009         */
1010        TRFR, 
1011        /**
1012         * Transportation is the moving of a payload (people or material) from a location of origin to a destination location.  Thus, any transport service has the three target instances of type payload, origin, and destination, besides the targets that are generally used for any service (i.e., performer, device, etc.)
1013         */
1014        TRNS, 
1015        /**
1016         * A sub-class of Act representing any transaction between two accounts whose value is measured in monetary terms.
1017
1018                        In the "intent" mood, communicates a request for a transaction to be initiated, or communicates a transfer of value between two accounts.
1019
1020                        In the "event" mood, communicates the posting of a transaction to an account.
1021         */
1022        XACT, 
1023        /**
1024         * ActClassContainer
1025         */
1026        _ACTCLASSCONTAINER, 
1027        /**
1028         * This context represents the information acquired and recorded for an observation, a clinical statement such as a portion of the patient's history or an inference or assertion, or an action that might be intended or has actually been performed. This class may represent both the actual data describing the observation, inference, or action, and optionally the details supporting the clinical reasoning process such as a reference to an electronic guideline, decision support system, or other knowledge reference.
1029         */
1030        ENTRY, 
1031        /**
1032         * Organizer of entries. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or "organizer tree".
1033
1034                        The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R.
1035         */
1036        ORGANIZER, 
1037        /**
1038         * null
1039         */
1040        DOCCNTNT, 
1041        /**
1042         * null
1043         */
1044        DOCLIST, 
1045        /**
1046         * null
1047         */
1048        DOCLSTITM, 
1049        /**
1050         * null
1051         */
1052        DOCPARA, 
1053        /**
1054         * null
1055         */
1056        DOCTBL, 
1057        /**
1058         * null
1059         */
1060        LINKHTML, 
1061        /**
1062         * null
1063         */
1064        LOCALATTR, 
1065        /**
1066         * null
1067         */
1068        LOCALMRKP, 
1069        /**
1070         * null
1071         */
1072        ORDERED, 
1073        /**
1074         * null
1075         */
1076        REFR, 
1077        /**
1078         * null
1079         */
1080        TBLCOL, 
1081        /**
1082         * null
1083         */
1084        TBLCOLGP, 
1085        /**
1086         * null
1087         */
1088        TBLDATA, 
1089        /**
1090         * null
1091         */
1092        TBLHDR, 
1093        /**
1094         * null
1095         */
1096        TBLROW, 
1097        /**
1098         * null
1099         */
1100        TBODY, 
1101        /**
1102         * null
1103         */
1104        TFOOT, 
1105        /**
1106         * null
1107         */
1108        THEAD, 
1109        /**
1110         * null
1111         */
1112        UNORDERED, 
1113        /**
1114         * added to help the parsers
1115         */
1116        NULL;
1117        public static V3ActClass fromCode(String codeString) throws FHIRException {
1118            if (codeString == null || "".equals(codeString))
1119                return null;
1120        if ("ACT".equals(codeString))
1121          return ACT;
1122        if ("_ActClassRecordOrganizer".equals(codeString))
1123          return _ACTCLASSRECORDORGANIZER;
1124        if ("COMPOSITION".equals(codeString))
1125          return COMPOSITION;
1126        if ("DOC".equals(codeString))
1127          return DOC;
1128        if ("DOCCLIN".equals(codeString))
1129          return DOCCLIN;
1130        if ("CDALVLONE".equals(codeString))
1131          return CDALVLONE;
1132        if ("CONTAINER".equals(codeString))
1133          return CONTAINER;
1134        if ("CATEGORY".equals(codeString))
1135          return CATEGORY;
1136        if ("DOCBODY".equals(codeString))
1137          return DOCBODY;
1138        if ("DOCSECT".equals(codeString))
1139          return DOCSECT;
1140        if ("TOPIC".equals(codeString))
1141          return TOPIC;
1142        if ("EXTRACT".equals(codeString))
1143          return EXTRACT;
1144        if ("EHR".equals(codeString))
1145          return EHR;
1146        if ("FOLDER".equals(codeString))
1147          return FOLDER;
1148        if ("GROUPER".equals(codeString))
1149          return GROUPER;
1150        if ("CLUSTER".equals(codeString))
1151          return CLUSTER;
1152        if ("ACCM".equals(codeString))
1153          return ACCM;
1154        if ("ACCT".equals(codeString))
1155          return ACCT;
1156        if ("ACSN".equals(codeString))
1157          return ACSN;
1158        if ("ADJUD".equals(codeString))
1159          return ADJUD;
1160        if ("CACT".equals(codeString))
1161          return CACT;
1162        if ("ACTN".equals(codeString))
1163          return ACTN;
1164        if ("INFO".equals(codeString))
1165          return INFO;
1166        if ("STC".equals(codeString))
1167          return STC;
1168        if ("CNTRCT".equals(codeString))
1169          return CNTRCT;
1170        if ("FCNTRCT".equals(codeString))
1171          return FCNTRCT;
1172        if ("COV".equals(codeString))
1173          return COV;
1174        if ("CONC".equals(codeString))
1175          return CONC;
1176        if ("HCASE".equals(codeString))
1177          return HCASE;
1178        if ("OUTBR".equals(codeString))
1179          return OUTBR;
1180        if ("CONS".equals(codeString))
1181          return CONS;
1182        if ("CONTREG".equals(codeString))
1183          return CONTREG;
1184        if ("CTTEVENT".equals(codeString))
1185          return CTTEVENT;
1186        if ("DISPACT".equals(codeString))
1187          return DISPACT;
1188        if ("EXPOS".equals(codeString))
1189          return EXPOS;
1190        if ("AEXPOS".equals(codeString))
1191          return AEXPOS;
1192        if ("TEXPOS".equals(codeString))
1193          return TEXPOS;
1194        if ("INC".equals(codeString))
1195          return INC;
1196        if ("INFRM".equals(codeString))
1197          return INFRM;
1198        if ("INVE".equals(codeString))
1199          return INVE;
1200        if ("LIST".equals(codeString))
1201          return LIST;
1202        if ("MPROT".equals(codeString))
1203          return MPROT;
1204        if ("OBS".equals(codeString))
1205          return OBS;
1206        if ("_ActClassROI".equals(codeString))
1207          return _ACTCLASSROI;
1208        if ("ROIBND".equals(codeString))
1209          return ROIBND;
1210        if ("ROIOVL".equals(codeString))
1211          return ROIOVL;
1212        if ("_SubjectPhysicalPosition".equals(codeString))
1213          return _SUBJECTPHYSICALPOSITION;
1214        if ("_SubjectBodyPosition".equals(codeString))
1215          return _SUBJECTBODYPOSITION;
1216        if ("LLD".equals(codeString))
1217          return LLD;
1218        if ("PRN".equals(codeString))
1219          return PRN;
1220        if ("RLD".equals(codeString))
1221          return RLD;
1222        if ("SFWL".equals(codeString))
1223          return SFWL;
1224        if ("SIT".equals(codeString))
1225          return SIT;
1226        if ("STN".equals(codeString))
1227          return STN;
1228        if ("SUP".equals(codeString))
1229          return SUP;
1230        if ("RTRD".equals(codeString))
1231          return RTRD;
1232        if ("TRD".equals(codeString))
1233          return TRD;
1234        if ("ALRT".equals(codeString))
1235          return ALRT;
1236        if ("BATTERY".equals(codeString))
1237          return BATTERY;
1238        if ("CLNTRL".equals(codeString))
1239          return CLNTRL;
1240        if ("CNOD".equals(codeString))
1241          return CNOD;
1242        if ("COND".equals(codeString))
1243          return COND;
1244        if ("CASE".equals(codeString))
1245          return CASE;
1246        if ("OUTB".equals(codeString))
1247          return OUTB;
1248        if ("DGIMG".equals(codeString))
1249          return DGIMG;
1250        if ("GEN".equals(codeString))
1251          return GEN;
1252        if ("DETPOL".equals(codeString))
1253          return DETPOL;
1254        if ("EXP".equals(codeString))
1255          return EXP;
1256        if ("LOC".equals(codeString))
1257          return LOC;
1258        if ("PHN".equals(codeString))
1259          return PHN;
1260        if ("POL".equals(codeString))
1261          return POL;
1262        if ("SEQ".equals(codeString))
1263          return SEQ;
1264        if ("SEQVAR".equals(codeString))
1265          return SEQVAR;
1266        if ("INVSTG".equals(codeString))
1267          return INVSTG;
1268        if ("OBSSER".equals(codeString))
1269          return OBSSER;
1270        if ("OBSCOR".equals(codeString))
1271          return OBSCOR;
1272        if ("POS".equals(codeString))
1273          return POS;
1274        if ("POSACC".equals(codeString))
1275          return POSACC;
1276        if ("POSCOORD".equals(codeString))
1277          return POSCOORD;
1278        if ("SPCOBS".equals(codeString))
1279          return SPCOBS;
1280        if ("VERIF".equals(codeString))
1281          return VERIF;
1282        if ("PCPR".equals(codeString))
1283          return PCPR;
1284        if ("ENC".equals(codeString))
1285          return ENC;
1286        if ("POLICY".equals(codeString))
1287          return POLICY;
1288        if ("JURISPOL".equals(codeString))
1289          return JURISPOL;
1290        if ("ORGPOL".equals(codeString))
1291          return ORGPOL;
1292        if ("SCOPOL".equals(codeString))
1293          return SCOPOL;
1294        if ("STDPOL".equals(codeString))
1295          return STDPOL;
1296        if ("PROC".equals(codeString))
1297          return PROC;
1298        if ("SBADM".equals(codeString))
1299          return SBADM;
1300        if ("SBEXT".equals(codeString))
1301          return SBEXT;
1302        if ("SPECCOLLECT".equals(codeString))
1303          return SPECCOLLECT;
1304        if ("REG".equals(codeString))
1305          return REG;
1306        if ("REV".equals(codeString))
1307          return REV;
1308        if ("SPCTRT".equals(codeString))
1309          return SPCTRT;
1310        if ("SPLY".equals(codeString))
1311          return SPLY;
1312        if ("DIET".equals(codeString))
1313          return DIET;
1314        if ("STORE".equals(codeString))
1315          return STORE;
1316        if ("SUBST".equals(codeString))
1317          return SUBST;
1318        if ("TRFR".equals(codeString))
1319          return TRFR;
1320        if ("TRNS".equals(codeString))
1321          return TRNS;
1322        if ("XACT".equals(codeString))
1323          return XACT;
1324        if ("_ActClassContainer".equals(codeString))
1325          return _ACTCLASSCONTAINER;
1326        if ("ENTRY".equals(codeString))
1327          return ENTRY;
1328        if ("ORGANIZER".equals(codeString))
1329          return ORGANIZER;
1330        if ("DOCCNTNT".equals(codeString))
1331          return DOCCNTNT;
1332        if ("DOCLIST".equals(codeString))
1333          return DOCLIST;
1334        if ("DOCLSTITM".equals(codeString))
1335          return DOCLSTITM;
1336        if ("DOCPARA".equals(codeString))
1337          return DOCPARA;
1338        if ("DOCTBL".equals(codeString))
1339          return DOCTBL;
1340        if ("LINKHTML".equals(codeString))
1341          return LINKHTML;
1342        if ("LOCALATTR".equals(codeString))
1343          return LOCALATTR;
1344        if ("LOCALMRKP".equals(codeString))
1345          return LOCALMRKP;
1346        if ("ordered".equals(codeString))
1347          return ORDERED;
1348        if ("REFR".equals(codeString))
1349          return REFR;
1350        if ("TBLCOL".equals(codeString))
1351          return TBLCOL;
1352        if ("TBLCOLGP".equals(codeString))
1353          return TBLCOLGP;
1354        if ("TBLDATA".equals(codeString))
1355          return TBLDATA;
1356        if ("TBLHDR".equals(codeString))
1357          return TBLHDR;
1358        if ("TBLROW".equals(codeString))
1359          return TBLROW;
1360        if ("tbody".equals(codeString))
1361          return TBODY;
1362        if ("tfoot".equals(codeString))
1363          return TFOOT;
1364        if ("thead".equals(codeString))
1365          return THEAD;
1366        if ("unordered".equals(codeString))
1367          return UNORDERED;
1368        throw new FHIRException("Unknown V3ActClass code '"+codeString+"'");
1369        }
1370        public String toCode() {
1371          switch (this) {
1372            case ACT: return "ACT";
1373            case _ACTCLASSRECORDORGANIZER: return "_ActClassRecordOrganizer";
1374            case COMPOSITION: return "COMPOSITION";
1375            case DOC: return "DOC";
1376            case DOCCLIN: return "DOCCLIN";
1377            case CDALVLONE: return "CDALVLONE";
1378            case CONTAINER: return "CONTAINER";
1379            case CATEGORY: return "CATEGORY";
1380            case DOCBODY: return "DOCBODY";
1381            case DOCSECT: return "DOCSECT";
1382            case TOPIC: return "TOPIC";
1383            case EXTRACT: return "EXTRACT";
1384            case EHR: return "EHR";
1385            case FOLDER: return "FOLDER";
1386            case GROUPER: return "GROUPER";
1387            case CLUSTER: return "CLUSTER";
1388            case ACCM: return "ACCM";
1389            case ACCT: return "ACCT";
1390            case ACSN: return "ACSN";
1391            case ADJUD: return "ADJUD";
1392            case CACT: return "CACT";
1393            case ACTN: return "ACTN";
1394            case INFO: return "INFO";
1395            case STC: return "STC";
1396            case CNTRCT: return "CNTRCT";
1397            case FCNTRCT: return "FCNTRCT";
1398            case COV: return "COV";
1399            case CONC: return "CONC";
1400            case HCASE: return "HCASE";
1401            case OUTBR: return "OUTBR";
1402            case CONS: return "CONS";
1403            case CONTREG: return "CONTREG";
1404            case CTTEVENT: return "CTTEVENT";
1405            case DISPACT: return "DISPACT";
1406            case EXPOS: return "EXPOS";
1407            case AEXPOS: return "AEXPOS";
1408            case TEXPOS: return "TEXPOS";
1409            case INC: return "INC";
1410            case INFRM: return "INFRM";
1411            case INVE: return "INVE";
1412            case LIST: return "LIST";
1413            case MPROT: return "MPROT";
1414            case OBS: return "OBS";
1415            case _ACTCLASSROI: return "_ActClassROI";
1416            case ROIBND: return "ROIBND";
1417            case ROIOVL: return "ROIOVL";
1418            case _SUBJECTPHYSICALPOSITION: return "_SubjectPhysicalPosition";
1419            case _SUBJECTBODYPOSITION: return "_SubjectBodyPosition";
1420            case LLD: return "LLD";
1421            case PRN: return "PRN";
1422            case RLD: return "RLD";
1423            case SFWL: return "SFWL";
1424            case SIT: return "SIT";
1425            case STN: return "STN";
1426            case SUP: return "SUP";
1427            case RTRD: return "RTRD";
1428            case TRD: return "TRD";
1429            case ALRT: return "ALRT";
1430            case BATTERY: return "BATTERY";
1431            case CLNTRL: return "CLNTRL";
1432            case CNOD: return "CNOD";
1433            case COND: return "COND";
1434            case CASE: return "CASE";
1435            case OUTB: return "OUTB";
1436            case DGIMG: return "DGIMG";
1437            case GEN: return "GEN";
1438            case DETPOL: return "DETPOL";
1439            case EXP: return "EXP";
1440            case LOC: return "LOC";
1441            case PHN: return "PHN";
1442            case POL: return "POL";
1443            case SEQ: return "SEQ";
1444            case SEQVAR: return "SEQVAR";
1445            case INVSTG: return "INVSTG";
1446            case OBSSER: return "OBSSER";
1447            case OBSCOR: return "OBSCOR";
1448            case POS: return "POS";
1449            case POSACC: return "POSACC";
1450            case POSCOORD: return "POSCOORD";
1451            case SPCOBS: return "SPCOBS";
1452            case VERIF: return "VERIF";
1453            case PCPR: return "PCPR";
1454            case ENC: return "ENC";
1455            case POLICY: return "POLICY";
1456            case JURISPOL: return "JURISPOL";
1457            case ORGPOL: return "ORGPOL";
1458            case SCOPOL: return "SCOPOL";
1459            case STDPOL: return "STDPOL";
1460            case PROC: return "PROC";
1461            case SBADM: return "SBADM";
1462            case SBEXT: return "SBEXT";
1463            case SPECCOLLECT: return "SPECCOLLECT";
1464            case REG: return "REG";
1465            case REV: return "REV";
1466            case SPCTRT: return "SPCTRT";
1467            case SPLY: return "SPLY";
1468            case DIET: return "DIET";
1469            case STORE: return "STORE";
1470            case SUBST: return "SUBST";
1471            case TRFR: return "TRFR";
1472            case TRNS: return "TRNS";
1473            case XACT: return "XACT";
1474            case _ACTCLASSCONTAINER: return "_ActClassContainer";
1475            case ENTRY: return "ENTRY";
1476            case ORGANIZER: return "ORGANIZER";
1477            case DOCCNTNT: return "DOCCNTNT";
1478            case DOCLIST: return "DOCLIST";
1479            case DOCLSTITM: return "DOCLSTITM";
1480            case DOCPARA: return "DOCPARA";
1481            case DOCTBL: return "DOCTBL";
1482            case LINKHTML: return "LINKHTML";
1483            case LOCALATTR: return "LOCALATTR";
1484            case LOCALMRKP: return "LOCALMRKP";
1485            case ORDERED: return "ordered";
1486            case REFR: return "REFR";
1487            case TBLCOL: return "TBLCOL";
1488            case TBLCOLGP: return "TBLCOLGP";
1489            case TBLDATA: return "TBLDATA";
1490            case TBLHDR: return "TBLHDR";
1491            case TBLROW: return "TBLROW";
1492            case TBODY: return "tbody";
1493            case TFOOT: return "tfoot";
1494            case THEAD: return "thead";
1495            case UNORDERED: return "unordered";
1496            case NULL: return null;
1497            default: return "?";
1498          }
1499        }
1500        public String getSystem() {
1501          return "http://hl7.org/fhir/v3/ActClass";
1502        }
1503        public String getDefinition() {
1504          switch (this) {
1505            case ACT: return "A record of something that is being done, has been done, can be done, or is intended or requested to be done.\r\n\n                        \n                           Examples:The kinds of acts that are common in health care are (1) a clinical observation, (2) an assessment of health condition (such as problems and diagnoses), (3) healthcare goals, (4) treatment services (such as medication, surgery, physical and psychological therapy), (5) assisting, monitoring or attending, (6) training and education services to patients and their next of kin, (7) and notary services (such as advanced directives or living will), (8)  editing and maintaining documents, and many others.\r\n\n                        \n                           Discussion and Rationale: Acts are the pivot of the RIM; all domain information and processes are represented primarily in Acts. Any profession or business, including healthcare, is primarily constituted of intentional and occasionally non-intentional actions, performed and recorded by responsible actors. An Act-instance is a record of such an action.\r\n\n                        Acts connect to Entities in their Roles through Participations and connect to other Acts through ActRelationships. Participations are the authors, performers and other responsible parties as well as subjects and beneficiaries (which includes tools and material used in the performance of the act, which are also subjects). The moodCode distinguishes between Acts that are meant as factual records, vs. records of intended or ordered services, and the other modalities in which act can appear.\r\n\n                        One of the Participations that all acts have (at least implicitly) is a primary author, who is responsible of the Act and who \"owns\" the act. Responsibility for the act means responsibility for what is being stated in the Act and as what it is stated. Ownership of the act is assumed in the sense of who may operationally modify the same act. Ownership and responsibility of the Act is not the same as ownership or responsibility of what the Act-object refers to in the real world. The same real world activity can be described by two people, each being the author of their Act, describing the same real world activity. Yet one can be a witness while the other can be a principal performer. The performer has responsibilities for the physical actions; the witness only has responsibility for making a true statement to the best of his or her ability. The two Act-instances may even disagree, but because each is properly attributed to its author, such disagreements can exist side by side and left to arbitration by a recipient of these Act-instances.\r\n\n                        In this sense, an Act-instance represents a \"statement\" according to Rector and Nowlan (1991) [Foundations for an electronic medical record. Methods Inf Med. 30.]  Rector and Nowlan have emphasized the importance of understanding the medical record not as a collection of facts, but \"a faithful record of what clinicians have heard, seen, thought, and done.\" Rector and Nowlan go on saying that \"the other requirements for a medical record, e.g., that it be attributable and permanent, follow naturally from this view.\" Indeed the Act class is this attributable statement, and the rules of updating acts (discussed in the state-transition model, see Act.statusCode) versus generating new Act-instances are designed according to this principle of permanent attributable statements.\r\n\n                        Rector and Nolan focus on the electronic medical record as a collection of statements, while attributed statements, these are still mostly factual statements. However, the Act class goes beyond this limitation to attributed factual statements, representing what is known as \"speech-acts\" in linguistics and philosophy.  The notion of speech-act includes that there is pragmatic meaning in language utterances, aside from just factual statements; and that these utterances interact with the real world to change the state of affairs, even directly cause physical activities to happen. For example, an order is a speech act that (provided it is issued adequately) will cause the ordered action to be physically performed. The speech act theory has culminated in the seminal work by Austin (1962) [How to do things with words. Oxford University Press].\r\n\n                        An activity in the real world may progress from defined, through planned and ordered to executed, which is represented as the mood of the Act. Even though one might think of a single activity as progressing from planned to executed, this progression is reflected by multiple Act-instances, each having one and only one mood that will not change along the Act-instance life cycle.  This is because the attribution and content of speech acts along this progression of an activity may be different, and it is often critical that a permanent and faithful record be maintained of this progression. The specification of orders or promises or plans must not be overwritten by the specification of what was actually done, so as to allow comparing actions with their earlier specifications. Act-instances that describe this progression of the same real world activity are linked through the ActRelationships (of the relationship category \"sequel\").\r\n\n                        Act as statements or speech-acts are the only representation of real world facts or processes in the HL7 RIM. The truth about the real world is constructed through a combination (and arbitration) of such attributed statements only, and there is no class in the RIM whose objects represent \"objective state of affairs\" or \"real processes\" independent from attributed statements. As such, there is no distinction between an activity and its documentation. Every Act includes both to varying degrees. For example, a factual statement made about recent (but past) activities, authored (and signed) by the performer of such activities, is commonly known as a procedure report or original documentation (e.g., surgical procedure report, clinic note etc.). Conversely, a status update on an activity that is presently in progress, authored by the performer (or a close observer) is considered to capture that activity (and is later superceded by a full procedure report). However, both status update and procedure report are acts of the same kind, only distinguished by mood and state (see statusCode) and completeness of the information.";
1506            case _ACTCLASSRECORDORGANIZER: return "Used to group a set of acts sharing a common context. Organizer structures can nest within other context structures - such as where a document is contained within a folder, or a folder is contained within an EHR extract.";
1507            case COMPOSITION: return "A context representing a grouped commitment of information to the EHR. It is considered the unit of modification of the record, the unit of transmission in record extracts, and the unit of attestation by authorizing clinicians.\r\n\n                        A composition represents part of a patient record originating from a single interaction between an authenticator and the record.\r\n\n                        Unless otherwise stated all statements within a composition have the same authenticator, apply to the same patient and were recorded in a single session of use of a single application.\r\n\n                        A composition contains organizers and entries.";
1508            case DOC: return "The notion of a document comes particularly from the paper world, where it corresponds to the contents recorded on discrete pieces of paper. In the electronic world, a document is a kind of composition that bears resemblance to their paper world counter-parts. Documents typically are meant to be human-readable.\r\n\n                        HL7's notion of document differs from that described in the W3C XML Recommendation, in which a document refers specifically to the contents that fall between the root element's start-tag and end-tag. Not all XML documents are HL7 documents.";
1509            case DOCCLIN: return "A clinical document is a documentation of clinical observations and services, with the following characteristics:\r\n\n                        \n                           \n                              Persistence - A clinical document continues to exist in an unaltered state, for a time period defined by local and regulatory requirements; \r\n\n                           \n                           \n                              Stewardship - A clinical document is maintained by a person or organization entrusted with its care; \r\n\n                           \n                           \n                              Potential for authentication - A clinical document is an assemblage of information that is intended to be legally authenticated; \r\n\n                           \n                           \n                              Wholeness - Authentication of a clinical document applies to the whole and does not apply to portions of the document without the full context of the document;\r\n\n                           \n                           \n                              Human readability - A clinical document is human readable.";
1510            case CDALVLONE: return "A clinical document that conforms to Level One of the HL7 Clinical Document Architecture (CDA)";
1511            case CONTAINER: return "Description: Container of clinical statements. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or \"container tree\".\r\n\n                        The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R.";
1512            case CATEGORY: return "A group of entries within a composition or topic that have a common characteristic - for example, Examination, Diagnosis, Management OR Subjective, Objective, Analysis, Plan.\r\n\n                        The distinction from Topic relates to value sets. For Category there is a bounded list of things like \"Examination\", \"Diagnosis\" or SOAP categories. For Topic the list is wide open to any clinical condition or reason for a part of an encounter.\r\n\n                        A CATEGORY MAY CONTAIN ENTRIES.";
1513            case DOCBODY: return "A context that distinguishes the body of a document from the document header. This is seen, for instance, in HTML documents, which have discrete <head> and <body> elements.";
1514            case DOCSECT: return "A context that subdivides the body of a document. Document sections are typically used for human navigation, to give a reader a clue as to the expected content. Document sections are used to organize and provide consistency to the contents of a document body. Document sections can contain document sections and can contain entries.";
1515            case TOPIC: return "A group of entries within a composition that are related to a common clinical theme - such as a specific disorder or problem, prevention, screening and provision of contraceptive services.\r\n\n                        A topic may contain categories and entries.";
1516            case EXTRACT: return "This context represents the part of a patient record conveyed in a single communication. It is drawn from a providing system for the purposes of communication to a requesting process (which might be another repository, a client application or a middleware service such as an electronic guideline engine), and supporting the faithful inclusion of the communicated data in the receiving system.\r\n\n                        An extract may be the entirety of the patient record as held by the sender or it may be a part of that record (e.g. changes since a specified date).\r\n\n                        An extract contains folders or compositions.\r\n\n                        An extract cannot contain another extract.";
1517            case EHR: return "A context that comprises all compositions. The EHR is an extract that includes the entire chart.\r\n\n                        \n                           NOTE: In an exchange scenario, an EHR is a specialization of an extract.";
1518            case FOLDER: return "A context representing the high-level organization of an extract e.g. to group parts of the record by episode, care team, clinical specialty, clinical condition, or source application. Internationally, this kind of organizing structure is used variably: in some centers and systems the folder is treated as an informal compartmentalization of the overall health record; in others it might represent a significant legal portion of the EHR relating to the originating enterprise or team.\r\n\n                        A folder contains compositions.\r\n\n                        Folders may be nested within folders.";
1519            case GROUPER: return "Definition: An ACT that organizes a set of component acts into a semantic grouping that share a particular context such as timeframe, patient, etc.\r\n\n                        \n                           UsageNotes: The focus in a GROUPER act is the grouping of the contained acts.  For example \"a request to group\" (RQO), \"a type of grouping that is allowed to occur\" (DEF), etc.\r\n\n                        Unlike WorkingList, which represents a dynamic, shared, continuously updated collection to provide a \"view\" of a set of objects, GROUPER collections tend to be static and simply indicate a shared set of semantics.  Note that sharing of semantics can be achieved using ACT as well.  However, with GROUPER, the sole semantic is of grouping.";
1520            case CLUSTER: return "Description:An ACT that organizes a set of component acts into a semantic grouping that have a shared subject. The subject may be either a subject participation (SBJ), subject act relationship (SUBJ), or child participation/act relationship types.\r\n\n                        \n                           Discussion: The focus in a CLUSTER act is the grouping of the contained acts.  For example \"a request to cluster\" (RQO), \"a type of cluster that is allowed to occur\" (DEF), etc.\r\n\n                        \n                           Examples: \n                        \r\n\n                        \n                           \n                              Radiologic investigations that might include administration of a dye, followed by radiographic observations;\r\n\n                           \n                           \n                              \"Isolate cluster\" which includes all testing and specimen processing performed on a specific isolate;\r\n\n                           \n                           \n                              a set of actions to perform at a particular stage in a clinical trial.";
1521            case ACCM: return "An accommodation is a service provided for a Person or other LivingSubject in which a place is provided for the subject to reside for a period of time.  Commonly used to track the provision of ward, private and semi-private accommodations for a patient.";
1522            case ACCT: return "A financial account established to track the net result of financial acts.";
1523            case ACSN: return "A unit of work, a grouper of work items as defined by the system performing that work. Typically some laboratory order fulfillers communicate references to accessions in their communications regarding laboratory orders. Often one or more specimens are related to an accession such that in some environments the accession number is taken as an identifier for a specimen (group).";
1524            case ADJUD: return "A transformation process where a requested invoice is transformed into an agreed invoice.  Represents the adjudication processing of an invoice (claim).  Adjudication results can be adjudicated as submitted, with adjustments or refused.\r\n\n                        Adjudication results comprise 2 components: the adjudication processing results and a restated (or adjudicated) invoice or claim";
1525            case CACT: return "An act representing a system action such as the change of state of another act or the initiation of a query.  All control acts represent trigger events in the HL7 context.  ControlActs may occur in different moods.";
1526            case ACTN: return "Sender asks addressee to do something depending on the focal Act of the payload.  An example is \"fulfill this order\".  Addressee has responsibilities to either reject the message or to act on it in an appropriate way (specified by the specific receiver responsibilities for the interaction).";
1527            case INFO: return "Sender sends payload to addressee as information.  Addressee does not have responsibilities beyond serving addressee's own interest (i.e., read and memorize if you see fit).  This is equivalent to an FYI on a memo.";
1528            case STC: return "Description: Sender transmits a status change pertaining to the focal act of the payload. This status of the focal act is the final state of the state transition. This can be either a request or an event, according to the mood of the control act.";
1529            case CNTRCT: return "An agreement of obligation between two or more parties that is subject to contractual law and enforcement.";
1530            case FCNTRCT: return "A contract whose value is measured in monetary terms.";
1531            case COV: return "When used in the EVN mood, this concept means with respect to a covered party:\r\n\n                        \n                           \n                              A health care insurance policy or plan that is contractually binding between two or more parties; or \r\n\n                           \n                           \n                              A health care program, usually administered by government entities, that provides coverage to persons determined eligible under the terms of the program.\r\n\n                           \n                        \n                        \n                           \n                              When used in the definition (DEF) mood, COV means potential coverage for a patient who may or may not be a covered party.\r\n\n                           \n                           \n                              The concept's meaning is fully specified by the choice of ActCoverageTypeCode (abstract) ActProgramCode or ActInsurancePolicyCode.";
1532            case CONC: return "Definition: A worry that tends to persist over time and has as its subject a state or process. The subject of the worry has the potential to require intervention or management.\r\n\n                        \n                           Examples: an observation result, procedure, substance administration, equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, allergy, and acute or chronic illness.";
1533            case HCASE: return "A public health case is a Concern about an observation or event that has a specific significance for public health. The creation of a PublicHealthCase initiates the tracking of the object of concern.  The decision to track is related to but somewhat independent of the underlying event or observation.\r\n\n                        \n                           UsageNotes: Typically a Public Health Case involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health.\r\n\n                        A public health case definition (Act.moodCode = \"definition\") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case.";
1534            case OUTBR: return "An Outbreak is a concern resulting from a series of public health cases.\r\n\n                        \n                           UsageNotes: The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak and its ending date is the last date of onset among the cases assigned to the outbreak. The effectiveTime attribute is used to convey the relevant dates for the case. An outbreak definition (Act.moodCode = \"definition\" includes the criteria for the number, types and occurrence pattern of cases necessary to declare an outbreak and to judge the severity of an outbreak.";
1535            case CONS: return "The Consent class represents informed consents and all similar medico-legal transactions between the patient (or his legal guardian) and the provider. Examples are informed consent for surgical procedures, informed consent for clinical trials, advanced beneficiary notice, against medical advice decline from service, release of information agreement, etc.\r\n\n                        The details of consents vary. Often an institution has a number of different consent forms for various purposes, including reminding the physician about the topics to mention. Such forms also include patient education material. In electronic medical record communication, consents thus are information-generating acts on their own and need to be managed similar to medical activities. Thus, Consent is modeled as a special class of Act.\r\n\n                        The \"signatures\" to the consent document are represented electronically through Participation instances to the consent object. Typically an informed consent has Participation.typeCode of \"performer\", the healthcare provider informing the patient, and \"consenter\", the patient or legal guardian. Some consent may associate a witness or a notary public (e.g., living wills, advanced directives). In consents where a healthcare provider is not required (e.g. living will), the performer may be the patient himself or a notary public.\r\n\n                        Some consent has a minimum required delay between the consent and the service, so as to allow the patient to rethink his decisions. This minimum delay can be expressed in the act definition by the ActRelationship.pauseQuantity attribute that delays the service until the pause time has elapsed after the consent has been completed.";
1536            case CONTREG: return "An Act where a container is registered either via an automated sensor, such as a barcode reader,  or by manual receipt";
1537            case CTTEVENT: return "An identified point during a clinical trial at which one or more actions are scheduled to be performed (definition mood), or are actually performed (event mood).  The actions may or may not involve an encounter between the subject and a healthcare professional.";
1538            case DISPACT: return "An action taken with respect to a subject Entity by a regulatory or authoritative body with supervisory capacity over that entity. The action is taken in response to behavior by the subject Entity that body finds to be                                                    undesirable.\r\n\n                        Suspension, license restrictions, monetary fine, letter of reprimand, mandated training, mandated supervision, etc.Examples:";
1539            case EXPOS: return "An interaction between entities that provides opportunity for transmission of a physical, chemical, or biological agent from an exposure source entity to an exposure target entity.\r\n\n                        \n                           Examples:  The following examples are provided to indicate what interactions are considered exposures rather than other types of Acts:\r\n\n                        \n                           \n                              A patient accidentally receives three times the recommended dose of their medication due to a dosing error. \r\n\n                              \n                                 \n                                    This is a substance administration.  Public health and/or safety authorities may also be interested in documenting this with an associated exposure.\r\n\n                                 \n                              \n                           \n                           \n                              A patient accidentally is dispensed an incorrect medicine (e.g., clomiphene instead of clomipramine).  They have taken several doses before the mistake is detected.  They are therefore \"exposed\" to a medicine that there was no therapeutic indication for them to receive. \r\n\n                              \n                                 \n                                    There are several substance administrations in this example.  Public health and/or safety authorities may also be interested in documenting this with associated exposures.\r\n\n                                 \n                              \n                           \n                           \n                              In a busy medical ward, a patient is receiving chemotherapy for a lymphoma.  Unfortunately, the IV infusion bag containing the medicine splits, spraying cytotoxic medication over the patient being treated and the patient in the adjacent bed. \r\n\n                              \n                                 \n                                    There are three substance administrations in this example.  The first is the intended one (IV infusion) with its associated (implicit) exposure.  There is an incident with an associated substance administration to the same patient involving the medication sprayed over the patient as well as an associated exposure.  Additionally, the incident includes a substance administration involving the spraying of medication on the adjacent patient, also with an associated exposure.\r\n\n                                 \n                              \n                           \n                           \n                              A patient who is a refugee from a war-torn African nation arrives in a busy inner city A&E department suffering from a cough with bloody sputum.  Not understanding the registration and triage process, they sit in the waiting room for several hours before it is noticed that they have not booked in.  As soon as they are being processed, it is suspected that they are suffering from TB.  Vulnerable (immunosuppressed) patients who were sharing the waiting room with this patient may have been exposed to the tubercule bacillus, and must be traced for investigation. \r\n\n                              \n                                 \n                                    This is an exposure (or possibly multiple exposures) in the waiting room involving the refugee and everyone else in the waiting room during the period.  There might also be a number of known or presumed substance administrations (coughing) via several possible routes.  The substance administrations are only hypotheses until confirmed by further testing.\r\n\n                                 \n                              \n                           \n                           \n                              A patient who has received an elective total hip replacement procedure suffers a prolonged stay in hospital, due to contracting an MRSA infection in the surgical wound site after the surgery. \r\n\n                              \n                                 \n                                    This is an exposure to MRSA.  Although there was some sort of substance administration, it's possible the exact mechanism for introduction of the MRSA into the wound will not be identified.\r\n\n                                 \n                              \n                           \n                           \n                              Routine maintenance of the X-ray machines at a local hospital reveals a serious breach of the shielding on one of the machines.  Patients who have undergone investigations using that machine in the last month are likely to have been exposed to significantly higher doses of X-rays than was intended, and must be tracked for possible adverse effects. \r\n\n                              \n                                 \n                                    There has been an exposure of each patient who used the machine in the past 30 days. Some patients may have had substance administrations.\r\n\n                                 \n                              \n                           \n                           \n                              A new member of staff is employed in the laundry processing room of a small cottage hospital, and a misreading of the instructions for adding detergents results in fifty times the usual concentration of cleaning materials being added to a batch of hospital bedding.  As a result, several patients have been exposed to very high levels of detergents still present in the \"clean\" bedding, and have experienced dermatological reactions to this. \r\n\n                              \n                                 \n                                    There has been an incident with multiple exposures to several patients.  Although there are substance administrations involving the application of the detergent to the skin of the patients, it is expected that the substance administrations would not be directly documented.\r\n\n                                 \n                              \n                           \n                           \n                              Seven patients who are residents in a health care facility for the elderly mentally ill have developed respiratory problems. After several months of various tests having been performed and various medications prescribed to these patients, the problem is traced to their being \"sensitive\" to a new fungicide used in the wall plaster of the ward where these patients reside.\r\n\n                              \n                                 \n                                    The patients have been continuously exposed to the fungicide.  Although there have been continuous substance administrations (via breathing) this would not normally be documented as a substance administration.\r\n\n                                 \n                              \n                           \n                           \n                              A patient with osteoarthritis of the knees is treated symptomatically using analgesia, paracetamol (acetaminophen) 1g up to four times a day for pain relief.  His GP does not realize that the patient has, 20 years previously (while at college) had severe alcohol addiction problems, and now, although this is completely under control, his liver has suffered significantly, leaving him more sensitive to hepatic toxicity from paracetamol use.  Later that year, the patient returns with a noticeable level of jaundice.  Paracetamol is immediately withdrawn and alternative solutions for the knee pain are sought.  The jaundice gradually subsides with conservative management, but referral to the gastroenterologist is required for advice and monitoring. \r\n\n                              \n                                 \n                                    There is a substance administration with an associated exposure.  The exposure component is based on the relative toxic level of the substance to a patient with a compromised liver function.\r\n\n                                 \n                              \n                           \n                           \n                              A patient goes to their GP complaining of abdominal pain, having been discharged from the local hospital ten days' previously after an emergency appendectomy.  The GP can find nothing particularly amiss, and presumes it is post operative surgical pain that will resolve.  The patient returns a fortnight later, when the GP prescribes further analgesia, but does decide to request an outpatient surgical follow-up appointment.  At this post-surgical outpatient review, the registrar decides to order an ultrasound, which, when performed three weeks later, shows a small faint inexplicable mass.  A laparoscopy is then performed, as a day case procedure, and a piece of a surgical swab is removed from the patient's abdominal cavity.  Thankfully, a full recovery then takes place. \r\n\n                              \n                                 \n                                    This is a procedural sequelae.  There may be an Incident recorded for this also.\r\n\n                                 \n                              \n                           \n                           \n                              A patient is slightly late for a regular pacemaker battery check in the Cardiology department of the local hospital.  They are hurrying down the second floor corridor.  A sudden summer squall has recently passed over the area, and rain has come in through an open corridor window leaving a small puddle on the corridor floor.  In their haste, the patient slips in the puddle and falls so badly that they have to be taken to the A&E department, where it is discovered on investigation they have slightly torn the cruciate ligament in their left knee. \r\n\n                              \n                                 \n                                    This is not an exposure.  There has been an incident.  \r\n\n                                 \n                              \n                           \n                        \n                        \n                           Usage Notes: This class deals only with opportunity and not the outcome of the exposure; i.e. not all exposed parties will necessarily experience actual harm or benefit.\r\n\n                        Exposure differs from Substance Administration by the absence of the participation of a performer in the act. \r\n\n                        The following participations SHOULD be used with the following participations to distinguish the specific entities:\r\n\n                        \n                           \n                              The exposed entity participates via the \"exposure target\" (EXPTRGT) participation.\r\n\n                           \n                           \n                              An entity that has carried the agent transmitted in the exposure participates via the \"exposure source\" (EXSRC) participation.  For example: \r\n\n                              \n                                 \n                                    a person or animal who carried an infectious disease and interacts (EXSRC) with another person or animal (EXPTRGT) transmitting the disease agent;\r\n\n                                 \n                                 \n                                    a place or other environment (EXSRC) and a person or animal (EXPTRGT) who is exposed in the presence of this environment.\r\n\n                                 \n                              \n                           \n                           \n                              When it is unknown whether a participating entity is the source of the agent (EXSRC) or the target of the transmission (EXPTRGT), the \"exposure participant\" (EXPART) is used.\r\n\n                           \n                           \n                              The physical (including energy), chemical or biological substance which is participating in the exposure uses the \"exposure agent\" (EXPAGNT) participation.  There are at least three scenarios:\r\n\n                              \n                                 \n                                    the player of the Role that participates as EXPAGNT is the chemical or biological substance mixed or carried by the scoper-entity of the Role (e.g., ingredient role); or \r\n\n                                 \n                                 \n                                    the player of the Role that participates as EXPAGNT is a mixture known to contain the chemical, radiological or biological substance of interest; or \r\n\n                                 \n                                 \n                                    the player of the Role that participates as a EXPAGNT is known to carry the agent (i.e., the player is a fomite, vector, etc.).\r\n\n                                 \n                              \n                           \n                        \n                        The Exposure.statusCode attribute should be interpreted as the state of the Exposure business object (e.g., active, aborted, completed) and not the clinical status of the exposure (e.g., probable, confirmed).  The clinical status of the exposure should be associated with the exposure via a subject observation.\r\n\n                        \n                           Design Comment: The usage notes require a clear criterion for determining whether an act is an exposure or substance administration-deleterious potential, uncertainty of actual transmission, or otherwise. SBADM states that the criterion is the presence of a performer-but there are examples above that call this criterion into question (e.g., the first one, concerning a dosing error).";
1540            case AEXPOS: return "Description: \n                        \r\n\n                        An acquisition exposure act describes the proximity (location and time) through which the participating entity was potentially exposed to a physical (including energy), chemical or biological agent from another entity.  The acquisition exposure act is used in conjunction with transmission exposure acts as part of an analysis technique for contact tracing.  Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.\r\n\n                        \n                           Constraints:  The Acquisition Exposure inherits the participation constraints that apply to Exposure with the following exception.  The EXPSRC (exposure source) participation must never be associated with the Transmission Exposure either directly or via context conduction.";
1541            case TEXPOS: return "Description: \n                        \r\n\n                        A transmission exposure act describes the proximity (time and location) over which the participating source entity was capable of transmitting a physical (including energy), chemical or biological substance agent to another entity.  The transmission exposure act is used in conjunction with acquisition exposure acts as part of an analysis technique for contact tracing.  Although an exposure can be decomposed into transmission and acquisition exposures, there is no requirement that all exposures be treated in this fashion.\r\n\n                        \n                           Constraints:  The Transmission Exposure inherits the participation constraints that apply to Exposure with the following exception.  The EXPTRGT (exposure target) participation must never be associated with the Transmission Exposure either directly or via context conduction.";
1542            case INC: return "An event that occurred outside of the control of one or more of the parties involved.  Includes the concept of an accident.";
1543            case INFRM: return "The act  of transmitting information and understanding about a topic to a subject where the participation association must be SBJ.\r\n\n                        \n                           Discussion: This act may be used to request that a patient or provider be informed about an Act, or to indicate that a person was informed about a particular act.";
1544            case INVE: return "Represents concepts related to invoice processing in health care";
1545            case LIST: return "Working list collects a dynamic list of individual instances of Act via ActRelationship which reflects the need of an individual worker, team of workers, or an organization to manage lists of acts for many different clinical and administrative reasons. Examples of working lists include problem lists, goal lists, allergy lists, and to-do lists.";
1546            case MPROT: return "An officially or unofficially instituted program to track acts of a particular type or categorization.";
1547            case OBS: return "Description:An act that is intended to result in new information about a subject. The main difference between Observations and other Acts is that Observations have a value attribute. The code attribute of Observation and the value attribute of Observation must be considered in combination to determine the semantics of the observation.\r\n\n                        \n                           Discussion:\n                        \r\n\n                        Structurally, many observations are name-value-pairs, where the Observation.code (inherited from Act) is the name and the Observation.value is the value of the property. Such a construct is also known as a  variable (a named feature that can assume a value) hence, the Observation class is always used to hold generic name-value-pairs or variables, even though the variable valuation may not be the result of an elaborate observation method. It may be a simple answer to a question or it may be an assertion or setting of a parameter.\r\n\n                        As with all Act statements, Observation statements describe what was done, and in the case of Observations, this includes a description of what was actually observed (results or answers); and those results or answers are part of the observation and not split off into other objects. \r\n\n                        The method of action is asserted by the Observation classCode or its subclasses at the least granular level, by the Observation.code attribute value at the medium level of granularity, and by the attribute value of observation.methodCode when a finer level of granularity is required. The method in whole or in part may also appear in the attribute value of Observation.value when using coded data types to express the value of the attribute. Relevant aspects of methodology may also be restated in value when the results themselves imply or state a methodology.\r\n\n                        An observation may consist of component observations each having their own Observation.code and Observation.value. In this case, the composite observation may not have an Observation.value for itself. For instance, a white blood cell count consists of the sub-observations for the counts of the various granulocytes, lymphocytes and other normal or abnormal blood cells (e.g., blasts). The overall white blood cell count Observation itself may therefore not have a value by itself (even though it could have one, e.g., the sum total of white blood cells). Thus, as long as an Act is essentially an Act of recognizing and noting information about a subject, it is an Observation, regardless of whether it has a simple value by itself or whether it has sub-observations.\r\n\n                        Even though observations are professional acts (see Act) and as such are intentional actions, this does not require that every possible outcome of an observation be pondered in advance of it being actually made. For instance, differential white blood cell counts (WBC) rarely show blasts, but if they do, this is part of the WBC observation even though blasts might not be predefined in the structure of a normal WBC. \r\n\n                        Clinical documents commonly have Subjective and Objective findings, both of which are kinds of Observations. In addition, clinical documents commonly contain Assessments, which are also kinds of Observations. Thus, the establishment of a diagnosis is an Observation. \r\n\n                        \n                           Examples:\n                        \r\n\n                        \n                           \n                              Recording the results of a Family History Assessment\r\n\n                           \n                           \n                              Laboratory test and associated result\r\n\n                           \n                           \n                              Physical exam test and associated result\r\n\n                           \n                           \n                              Device temperature\r\n\n                           \n                           \n                              Soil lead level";
1548            case _ACTCLASSROI: return "Regions of Interest (ROI) within a subject Act. Primarily used for making secondary observations on a subset of a subject observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type \"subject\" (SUBJ), which must always be present.";
1549            case ROIBND: return "A Region of Interest (ROI) specified for a multidimensional observation, such as an Observation Series (OBSSER). The ROI is specified using a set of observation criteria, each delineating the boundary of the region in one of the dimensions in the multidimensional observation. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type subject (SUBJ), which must always be present. Each of the boundary criteria observations is connected with the ROI using ActRelationships of type \"has component\" (COMP). In each boundary criterion, the Act.code names the dimension and the Observation.value specifies the range of values inside the region. Typically the bounded dimension is continuous, and so the Observation.value will be an interval (IVL) data type. The Observation.value need not be specified if the respective dimension is only named but not constrained. For example, an ROI for the QT interval of a certain beat in ECG Lead II would contain 2 boundary criteria, one naming the interval in time (constrained), and the other naming the interval in ECG Lead II (only named, but not constrained).";
1550            case ROIOVL: return "A Region of Interest (ROI) specified for an image using an overlay shape. Typically used to make reference to specific regions in images, e.g., to specify the location of a radiologic finding in an image or to specify the site of a physical finding by \"circling\" a region in a schematic picture of a human body. The units of the coordinate values are in pixels.  The origin is in the upper left hand corner, with positive X values going to the right and positive Y values going down. The relationship between a ROI and its referenced Act is specified through an ActRelationship of type \"subject\" (SUBJ), which must always be present.";
1551            case _SUBJECTPHYSICALPOSITION: return "The spatial relationship of a subject whether human, other animal, or plant, to a frame of reference such as gravity or a collection device.";
1552            case _SUBJECTBODYPOSITION: return "Contains codes for defining the observed, physical position of a subject, such as during an observation, assessment, collection of a specimen, etc.  ECG waveforms and vital signs, such as blood pressure, are two examples where a general, observed position typically needs to be noted.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1553            case LLD: return "Lying on the left side.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1554            case PRN: return "Lying with the front or ventral surface downward; lying face down.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1555            case RLD: return "Lying on the right side.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1556            case SFWL: return "A semi-sitting position in bed with the head of the bed elevated approximately 45 degrees.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1557            case SIT: return "Resting the body on the buttocks, typically with upper torso erect or semi erect.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1558            case STN: return "To be stationary, upright, vertical, on one's legs.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1559            case SUP: return "Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1560            case RTRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees with head raised and feet lowered.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1561            case TRD: return "Lying on the back, on an inclined plane, typically about 30-45 degrees, with  head lowered and feet raised.\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because it does not describe a type of Act (as it should in the ActClass code system), but rather encodes the result or value of an observation.  The same code has been added to the ObservationValue code system.";
1562            case ALRT: return "An observation identifying a potential adverse outcome as a result of an Act or combination of Acts.\r\n\n                        \n                           Examples: Detection of a drug-drug interaction; Identification of a late-submission for an invoice; Requesting discharge for a patient who does not meet hospital-defined discharge criteria.\r\n\n                        \n                           Discussion: This class is commonly used for identifying 'business rule' or 'process' problems that may result in a refusal to carry out a particular request. In some circumstances it may be possible to 'bypass' a problem by modifying the request to acknowledge the issue and/or by providing some form of mitigation.\r\n\n                        \n                           Constraints: the Act or Acts that may cause the the adverse outcome are the target of a subject ActRelationship. The subbtypes of this concept indicate the type of problem being detected (e.g. drug-drug interaction) while the Observation.value is used to repesent a specific problem code (e.g. specific drug-drug interaction id).";
1563            case BATTERY: return "Definition: An observation that is composed of a set of observations. These observations typically have a logical or practical grouping for generally accepted clinical or functional purposes, such as observations that are run together because of automation. A battery can define required and optional component observations and, in some cases, will define complex rules that determine whether or not a particular observation is made. BATTERY is a constraint on the Observation class in that it is understood to always be composed of component observations.\r\n\n                        \n                           UsageNotes: The focus in a BATTERY is that it is composed of individual observations. In request (RQO) mood, a battery is a request to perform the component observations. In event (EVN) mood a battery is a reporting of associated set of observation events. In definition mood a battery is the definition of the associated set of observations.\r\n\n                        \n                           Examples: Vital signs, Full blood count, Chemistry panel.";
1564            case CLNTRL: return "The set of actions that define an experiment to assess the effectiveness and/or safety of a biopharmaceutical product (food, drug, device, etc.).  In definition mood, this set of actions is often embodied in a clinical trial protocol; in event mood, this designates the aggregate act of applying the actions to one or more subjects.";
1565            case CNOD: return "An instance of Observation of a Condition at a point in time that includes any Observations or Procedures associated with that Condition as well as links to previous instances of Condition Node for the same Condition\r\n\n                        \n                           \n                              Deprecation Comment: \n                           This concept has been deprecated because an alternative structure for tracking the evolution of a problem has been presented and adopted by the Care Provision Work Group.";
1566            case COND: return "An observable finding or state that persists over time and tends to require intervention or management, and, therefore, distinguished from an Observation made at a point in time; may exist before an Observation of the Condition is made or after interventions to manage the Condition are undertaken. Examples: equipment repair status, device recall status, a health risk, a financial risk, public health risk, pregnancy, health maintenance, chronic illness";
1567            case CASE: return "A public health case is an Observation representing a condition or event that has a specific significance for public health. Typically it involves an instance or instances of a reportable infectious disease or other condition. The public health case can include a health-related event concerning a single individual or it may refer to multiple health-related events that are occurrences of the same disease or condition of interest to public health. An outbreak involving multiple individuals may be considered as a type of public health case. A public health case definition (Act.moodCode = \"definition\") includes the description of the clinical, laboratory, and epidemiologic indicators associated with a disease or condition of interest to public health. There are case definitions for conditions that are reportable, as well as for those that are not. There are also case definitions for outbreaks. A public health case definition is a construct used by public health for the purpose of counting cases, and should not be used as clinical indications for treatment. Examples include AIDS, toxic-shock syndrome, and salmonellosis and their associated indicators that are used to define a case.";
1568            case OUTB: return "An outbreak represents a series of public health cases. The date on which an outbreak starts is the earliest date of onset among the cases assigned to the outbreak, and its ending date is the last date of onset among the cases assigned to the outbreak.";
1569            case DGIMG: return "Class for holding attributes unique to diagnostic images.";
1570            case GEN: return "Description:An observation of genomic phenomena.";
1571            case DETPOL: return "Description:A determinant peptide in a polypeptide as described by polypeptide.";
1572            case EXP: return "Description:An expression level of genes/proteins or other expressed genomic entities.";
1573            case LOC: return "Description:The position of a gene (or other significant sequence) on the genome.";
1574            case PHN: return "Description:A genomic phenomenon that is expressed externally in the organism.";
1575            case POL: return "Description:A polypeptide resulting from the translation of a gene.";
1576            case SEQ: return "Description:A sequence of biomolecule like the DNA, RNA, protein and the like.";
1577            case SEQVAR: return "Description:A variation in a sequence as described by BioSequence.";
1578            case INVSTG: return "An formalized inquiry into the circumstances surrounding a particular unplanned event or potential event for the purposes of identifying possible causes and contributing factors for the event. This investigation could be conducted at a local institutional level or at the level of a local or national government.";
1579            case OBSSER: return "Container for Correlated Observation Sequences sharing a common frame of reference.  All Observations of the same cd must be comparable and relative to the common frame of reference.  For example, a 3-channel ECG device records a 12-lead ECG in 4 steps (3 leads at a time).  Each of the separate 3-channel recordings would be in their own \"OBSCOR\".  And, all 4 OBSCOR would be contained in one OBSSER because all the times are relative to the same origin (beginning of the recording) and all the ECG signals were from a fixed set of electrodes.";
1580            case OBSCOR: return "Container for Observation Sequences (Observations whose values are contained in LIST<>'s) having values correlated with each other.  Each contained Observation Sequence LIST<> must be the same length.  Values in the LIST<>'s are correlated based on index.  E.g. the values in position 2 in all the LIST<>'s are correlated.  This is analogous to a table where each column is an Observation Sequence with a LIST<> of values, and each row in the table is a correlation between the columns.  For example, a 12-lead ECG would contain 13 sequences: one sequence for time, and a sequence for each of the 12 leads.";
1581            case POS: return "An observation denoting the physical location of a person or thing based on a reference coordinate system.";
1582            case POSACC: return "Description:An observation representing the degree to which the assignment of the spatial coordinates, based on a matching algorithm by a geocoding engine against a reference spatial database, matches true or accepted values.";
1583            case POSCOORD: return "Description:An observation representing one of a set of numerical values used to determine the position of a place.  The name of the coordinate value is determined by the reference coordinate system.";
1584            case SPCOBS: return "An observation on a specimen in a laboratory environment that may affect processing, analysis or result interpretation";
1585            case VERIF: return "An act which describes the process whereby a 'verifying party' validates either the existence of the Role attested to by some Credential or the actual Vetting act and its details.";
1586            case PCPR: return "An Act that of taking on whole or partial responsibility for, or attention to, safety and well-being of a subject of care. \r\n\n                        \n                           Discussion: A care provision event may exist without any other care actions taking place. For example, when a patient is assigned to the care of a particular health professional.\r\n\n                        In request (RQO) mood care provision communicates a referral, which is a request:\r\n\n                        \n                           \n                              from one party (linked as a participant of type author (AUT)),\r\n\n                           \n                           \n                              to another party (linked as a participant of type performer (PRF),\r\n\n                           \n                           \n                              to take responsibility for a scope specified by the code attribute, \r\n\n                           \n                           \n                              for an entity (linked as a participant of type subject (SBJ)).\r\n\n                           \n                        \n                        The scope of the care for which responsibility is taken is identified by code attribute.\r\n\n                        In event (EVN) mood care provision indicates the effective time interval of a specified scope of responsibility by a performer (PRF) or set of performers (PRF) for a subject (SBJ).\r\n\n                        \n                           Examples:\n                        \r\n\n                        \n                           \n                              Referral from GP to a specialist.\r\n\n                           \n                           \n                              Assignment of a patient or group of patients to the case list of a health professional.\r\n\n                           \n                           \n                              Assignment of inpatients to the care of particular nurses for a working shift.";
1587            case ENC: return "An interaction between a patient and healthcare participant(s) for the purpose of providing patient service(s) or assessing the health status of a patient.  For example, outpatient visit to multiple departments, home health support (including physical therapy), inpatient hospital stay, emergency room visit, field visit (e.g., traffic accident), office visit, occupational therapy, telephone call.";
1588            case POLICY: return "Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by one party on:\r\n\n                        \n                           \n                              The activity of another party\r\n\n                           \n                           \n                              The behavior of another party\r\n\n                           \n                           \n                              The manner in which an act is executed";
1589            case JURISPOL: return "Description:A mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed by a jurisdiction on:\r\n\n                        \n                           \n                              The activity of another party\r\n\n                           \n                           \n                              The behavior of another party\r\n\n                           \n                           \n                              The manner in which an act is executed\r\n\n                           \n                        \n                        \n                           Examples:A jurisdictional mandate regarding the prescribing and dispensing of a particular medication.  A jurisdictional privacy or security regulation dictating the manner in which personal health information is disclosed.  A jurisdictional requirement that certain services or health conditions are reported to a monitoring program, e.g., immunizations, methadone treatment, or cancer registries.";
1590            case ORGPOL: return "Description:A mandate, obligation, requirement, rule, or expectation unilaterally imposed by an organization on:\r\n\n                        \n                           \n                              The activity of another party\r\n\n                           \n                           \n                              The behavior of another party\r\n\n                           \n                           \n                              The manner in which an act is executed\r\n\n                           \n                        \n                        \n                           Examples:A clinical or research protocols imposed by a payer, a malpractice insurer, or an institution to which a provider must adhere.  A mandate imposed by a denominational institution for a provider to provide or withhold certain information from the patient about treatment options.";
1591            case SCOPOL: return "Description:An ethical or clinical obligation, requirement, rule, or expectation imposed or strongly encouraged by organizations that oversee particular clinical domains or provider certification which define the boundaries within which a provider may practice and which may have legal basis or ramifications on:\r\n\n                        \n                           \n                              The activity of another party\r\n\n                           \n                           \n                              The behavior of another party\r\n\n                           \n                           \n                              The manner in which an act is executed\r\n\n                           \n                        \n                        \n                           Examples:An ethical obligation for a provider to fully inform a patient about all treatment options.  An ethical obligation for a provider not to disclose personal health information that meets certain criteria, e.g., where disclosure might result in harm to the patient or another person.  The set of health care services which a provider is credentialed or privileged to provide.";
1592            case STDPOL: return "Description:A requirement, rule, or expectation typically documented as guidelines, protocols, or formularies imposed or strongly encouraged by an organization that oversees or has authority over the practices within a domain, and which may have legal basis or ramifications on:\r\n\n                        \n                           \n                              The activity of another party\r\n\n                           \n                           \n                              The behavior of another party\r\n\n                           \n                           \n                              The manner in which an act is executed\r\n\n                           \n                        \n                        \n                           Examples:A payer may require a prescribing provider to adhere to formulary guidelines.  An institution may adopt clinical guidelines and protocols and implement these within its electronic health record and decision support systems.";
1593            case PROC: return "An Act whose immediate and primary outcome (post-condition) is the alteration of the physical condition of the subject.\r\n\n                        \n                           Examples: : Procedures may involve the disruption of some body surface (e.g. an incision in a surgical procedure), but they also include conservative procedures such as reduction of a luxated join, chiropractic treatment, massage, balneotherapy, acupuncture, shiatsu, etc. Outside of clinical medicine, procedures may be such things as alteration of environments (e.g. straightening rivers, draining swamps, building dams) or the repair or change of machinery etc.";
1594            case SBADM: return "The act of introducing or otherwise applying a substance to the subject.\r\n\n                        \n                           Discussion: The effect of the substance is typically established on a biochemical basis, however, that is not a requirement. For example, radiotherapy can largely be described in the same way, especially if it is a systemic therapy such as radio-iodine.  This class also includes the application of chemical treatments to an area.\r\n\n                        \n                           Examples: Chemotherapy protocol; Drug prescription; Vaccination record";
1595            case SBEXT: return "Description: The act of removing a substance from the subject.";
1596            case SPECCOLLECT: return "A procedure for obtaining a specimen from a source entity.";
1597            case REG: return "Represents the act of maintaining information about the registration of its associated registered subject. The subject can be either an Act or a Role, and includes subjects such as lab exam definitions, drug protocol definitions, prescriptions, persons, patients, practitioners, and equipment.\r\n\n                        The registration may have a unique identifier - separate from the unique identification of the subject - as well as a core set of related participations and act relationships that characterize the registration event and aid in the disposition of the subject information by a receiving system.";
1598            case REV: return "The act of examining and evaluating the subject, usually another act. For example, \"This prescription needs to be reviewed in 2 months.\"";
1599            case SPCTRT: return "A procedure or treatment performed on a specimen to prepare it for analysis";
1600            case SPLY: return "Supply orders and deliveries are simple Acts that focus on the delivered product. The product is associated with the Supply Act via Participation.typeCode=\"product\". With general Supply Acts, the precise identification of the Material (manufacturer, serial numbers, etc.) is important.  Most of the detailed information about the Supply should be represented using the Material class.  If delivery needs to be scheduled, tracked, and billed separately, one can associate a Transportation Act with the Supply Act.  Pharmacy dispense services are represented as Supply Acts, associated with a SubstanceAdministration  Act. The SubstanceAdministration class represents the administration of medication, while dispensing is supply.";
1601            case DIET: return "Diet services are supply services, with some aspects resembling Medication services: the detail of the diet is given as a description of the Material associated via Participation.typeCode=\"product\". Medically relevant diet types may be communicated in the Diet.code attribute using domain ActDietCode, however, the detail of the food supplied and the various combinations of dishes should be communicated as Material instances.\r\n\n                        \n                           Deprecation Note\n                        \r\n\n                        \n                           Class: Use either the Supply class (if dealing with what should be given to the patient) or SubstanceAdministration class (if dealing with what the patient should consume)\r\n\n                        \n                           energyQuantity: This quantity can be conveyed by using a Content relationship with a quantity attribute expressing the calories\r\n\n                        \n                           carbohydrateQuantity:This quantity can be conveyed using a Content relationship to an Entity with a code of  carbohydrate and a quantity attribute on the content relationship.";
1602            case STORE: return "The act of putting something away for safe keeping. The \"something\" may be physical object such as a specimen, or information, such as observations regarding a specimen.";
1603            case SUBST: return "Definition: Indicates that the subject Act has undergone or should undergo substitution of a type indicated by Act.code.\r\n\n                        Rationale: Used to specify \"allowed\" substitution when creating orders, \"actual\" susbstitution when sending events, as well as the reason for the substitution and who was responsible for it.";
1604            case TRFR: return "Definition: The act of transferring information without the intent of imparting understanding about a topic to the subject that is the recipient or holder of the transferred information where the participation association must be RCV or HLD.";
1605            case TRNS: return "Transportation is the moving of a payload (people or material) from a location of origin to a destination location.  Thus, any transport service has the three target instances of type payload, origin, and destination, besides the targets that are generally used for any service (i.e., performer, device, etc.)";
1606            case XACT: return "A sub-class of Act representing any transaction between two accounts whose value is measured in monetary terms.\r\n\n                        In the \"intent\" mood, communicates a request for a transaction to be initiated, or communicates a transfer of value between two accounts.\r\n\n                        In the \"event\" mood, communicates the posting of a transaction to an account.";
1607            case _ACTCLASSCONTAINER: return "ActClassContainer";
1608            case ENTRY: return "This context represents the information acquired and recorded for an observation, a clinical statement such as a portion of the patient's history or an inference or assertion, or an action that might be intended or has actually been performed. This class may represent both the actual data describing the observation, inference, or action, and optionally the details supporting the clinical reasoning process such as a reference to an electronic guideline, decision support system, or other knowledge reference.";
1609            case ORGANIZER: return "Organizer of entries. Navigational. No semantic content. Knowledge of the section code is not required to interpret contained observations. Represents a heading in a heading structure, or \"organizer tree\".\r\n\n                        The record entries relating to a single clinical session are usually grouped under headings that represent phases of the encounter, or assist with layout and navigation. Clinical headings usually reflect the clinical workflow during a care session, and might also reflect the main author's reasoning processes. Much research has demonstrated that headings are used differently by different professional groups and specialties, and that headings are not used consistently enough to support safe automatic processing of the E H R.";
1610            case DOCCNTNT: return "";
1611            case DOCLIST: return "";
1612            case DOCLSTITM: return "";
1613            case DOCPARA: return "";
1614            case DOCTBL: return "";
1615            case LINKHTML: return "";
1616            case LOCALATTR: return "";
1617            case LOCALMRKP: return "";
1618            case ORDERED: return "";
1619            case REFR: return "";
1620            case TBLCOL: return "";
1621            case TBLCOLGP: return "";
1622            case TBLDATA: return "";
1623            case TBLHDR: return "";
1624            case TBLROW: return "";
1625            case TBODY: return "";
1626            case TFOOT: return "";
1627            case THEAD: return "";
1628            case UNORDERED: return "";
1629            case NULL: return null;
1630            default: return "?";
1631          }
1632        }
1633        public String getDisplay() {
1634          switch (this) {
1635            case ACT: return "act";
1636            case _ACTCLASSRECORDORGANIZER: return "record organizer";
1637            case COMPOSITION: return "composition";
1638            case DOC: return "document";
1639            case DOCCLIN: return "clinical document";
1640            case CDALVLONE: return "CDA Level One clinical document";
1641            case CONTAINER: return "record container";
1642            case CATEGORY: return "category";
1643            case DOCBODY: return "document body";
1644            case DOCSECT: return "document section";
1645            case TOPIC: return "topic";
1646            case EXTRACT: return "extract";
1647            case EHR: return "electronic health record";
1648            case FOLDER: return "folder";
1649            case GROUPER: return "grouper";
1650            case CLUSTER: return "Cluster";
1651            case ACCM: return "accommodation";
1652            case ACCT: return "account";
1653            case ACSN: return "accession";
1654            case ADJUD: return "financial adjudication";
1655            case CACT: return "control act";
1656            case ACTN: return "action";
1657            case INFO: return "information";
1658            case STC: return "state transition control";
1659            case CNTRCT: return "contract";
1660            case FCNTRCT: return "financial contract";
1661            case COV: return "coverage";
1662            case CONC: return "concern";
1663            case HCASE: return "public health case";
1664            case OUTBR: return "outbreak";
1665            case CONS: return "consent";
1666            case CONTREG: return "container registration";
1667            case CTTEVENT: return "clinical trial timepoint event";
1668            case DISPACT: return "disciplinary action";
1669            case EXPOS: return "exposure";
1670            case AEXPOS: return "acquisition exposure";
1671            case TEXPOS: return "transmission exposure";
1672            case INC: return "incident";
1673            case INFRM: return "inform";
1674            case INVE: return "invoice element";
1675            case LIST: return "working list";
1676            case MPROT: return "monitoring program";
1677            case OBS: return "observation";
1678            case _ACTCLASSROI: return "ActClassROI";
1679            case ROIBND: return "bounded ROI";
1680            case ROIOVL: return "overlay ROI";
1681            case _SUBJECTPHYSICALPOSITION: return "subject physical position";
1682            case _SUBJECTBODYPOSITION: return "subject body position";
1683            case LLD: return "left lateral decubitus";
1684            case PRN: return "prone";
1685            case RLD: return "right lateral decubitus";
1686            case SFWL: return "Semi-Fowler's";
1687            case SIT: return "sitting";
1688            case STN: return "standing";
1689            case SUP: return "supine";
1690            case RTRD: return "reverse trendelenburg";
1691            case TRD: return "trendelenburg";
1692            case ALRT: return "detected issue";
1693            case BATTERY: return "battery";
1694            case CLNTRL: return "clinical trial";
1695            case CNOD: return "Condition Node";
1696            case COND: return "Condition";
1697            case CASE: return "public health case";
1698            case OUTB: return "outbreak";
1699            case DGIMG: return "diagnostic image";
1700            case GEN: return "genomic observation";
1701            case DETPOL: return "determinant peptide";
1702            case EXP: return "expression level";
1703            case LOC: return "locus";
1704            case PHN: return "phenotype";
1705            case POL: return "polypeptide";
1706            case SEQ: return "bio sequence";
1707            case SEQVAR: return "bio sequence variation";
1708            case INVSTG: return "investigation";
1709            case OBSSER: return "observation series";
1710            case OBSCOR: return "correlated observation sequences";
1711            case POS: return "position";
1712            case POSACC: return "position accuracy";
1713            case POSCOORD: return "position coordinate";
1714            case SPCOBS: return "specimen observation";
1715            case VERIF: return "Verification";
1716            case PCPR: return "care provision";
1717            case ENC: return "encounter";
1718            case POLICY: return "policy";
1719            case JURISPOL: return "jurisdictional policy";
1720            case ORGPOL: return "organizational policy";
1721            case SCOPOL: return "scope of practice policy";
1722            case STDPOL: return "standard of practice policy";
1723            case PROC: return "procedure";
1724            case SBADM: return "substance administration";
1725            case SBEXT: return "Substance Extraction";
1726            case SPECCOLLECT: return "Specimen Collection";
1727            case REG: return "registration";
1728            case REV: return "review";
1729            case SPCTRT: return "specimen treatment";
1730            case SPLY: return "supply";
1731            case DIET: return "diet";
1732            case STORE: return "storage";
1733            case SUBST: return "Substitution";
1734            case TRFR: return "transfer";
1735            case TRNS: return "transportation";
1736            case XACT: return "financial transaction";
1737            case _ACTCLASSCONTAINER: return "ActClassContainer";
1738            case ENTRY: return "entry";
1739            case ORGANIZER: return "organizer";
1740            case DOCCNTNT: return "DOCCNTNT";
1741            case DOCLIST: return "DOCLIST";
1742            case DOCLSTITM: return "DOCLSTITM";
1743            case DOCPARA: return "DOCPARA";
1744            case DOCTBL: return "DOCTBL";
1745            case LINKHTML: return "LINKHTML";
1746            case LOCALATTR: return "LOCALATTR";
1747            case LOCALMRKP: return "LOCALMRKP";
1748            case ORDERED: return "ordered";
1749            case REFR: return "REFR";
1750            case TBLCOL: return "TBLCOL";
1751            case TBLCOLGP: return "TBLCOLGP";
1752            case TBLDATA: return "TBLDATA";
1753            case TBLHDR: return "TBLHDR";
1754            case TBLROW: return "TBLROW";
1755            case TBODY: return "tbody";
1756            case TFOOT: return "tfoot";
1757            case THEAD: return "thead";
1758            case UNORDERED: return "unordered";
1759            case NULL: return null;
1760            default: return "?";
1761          }
1762    }
1763
1764
1765}