001package org.hl7.fhir.r5.model.codesystems;
002
003/*
004 * #%L
005 * org.hl7.fhir.r5
006 * %%
007 * Copyright (C) 2014 - 2019 Health Level 7
008 * %%
009 * Licensed under the Apache License, Version 2.0 (the "License");
010 * you may not use this file except in compliance with the License.
011 * You may obtain a copy of the License at
012 * 
013 *      http://www.apache.org/licenses/LICENSE-2.0
014 * 
015 * Unless required by applicable law or agreed to in writing, software
016 * distributed under the License is distributed on an "AS IS" BASIS,
017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
018 * See the License for the specific language governing permissions and
019 * limitations under the License.
020 * #L%
021 */
022
023/*
024  Copyright (c) 2011+, HL7, Inc.
025  All rights reserved.
026  
027  Redistribution and use in source and binary forms, with or without modification, 
028  are permitted provided that the following conditions are met:
029  
030   * Redistributions of source code must retain the above copyright notice, this 
031     list of conditions and the following disclaimer.
032   * Redistributions in binary form must reproduce the above copyright notice, 
033     this list of conditions and the following disclaimer in the documentation 
034     and/or other materials provided with the distribution.
035   * Neither the name of HL7 nor the names of its contributors may be used to 
036     endorse or promote products derived from this software without specific 
037     prior written permission.
038  
039  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
040  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
041  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
042  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
043  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
044  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
045  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
046  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
047  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
048  POSSIBILITY OF SUCH DAMAGE.
049  
050*/
051
052// Generated on Thu, Oct 17, 2019 09:42+1100 for FHIR v4.1.0
053
054
055import org.hl7.fhir.exceptions.FHIRException;
056
057public enum ResourceTypes {
058
059        /**
060         * A financial tool for tracking value accrued for a particular purpose.  In the healthcare field, used to track charges for a patient, cost centers, etc.
061         */
062        ACCOUNT, 
063        /**
064         * This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.
065         */
066        ACTIVITYDEFINITION, 
067        /**
068         * A pharmaceutical product described in terms of its composition and dose form.
069         */
070        ADMINISTRABLEPRODUCTDEFINITION, 
071        /**
072         * An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research subject.  The unintended effects may require additional monitoring, treatment or hospitalization or may result in death.  The AdverseEvent resource also extends to potential or avoided events that could have had such effects.
073         */
074        ADVERSEEVENT, 
075        /**
076         * Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
077         */
078        ALLERGYINTOLERANCE, 
079        /**
080         * A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).
081         */
082        APPOINTMENT, 
083        /**
084         * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.
085         */
086        APPOINTMENTRESPONSE, 
087        /**
088         * A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis.
089         */
090        AUDITEVENT, 
091        /**
092         * Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
093         */
094        BASIC, 
095        /**
096         * A resource that represents the data of a single raw artifact as digital content accessible in its native format.  A Binary resource can contain any content, whether text, image, pdf, zip archive, etc.
097         */
098        BINARY, 
099        /**
100         * A material substance originating from a biological entity intended to be transplanted or infused
101into another (possibly the same) biological entity.
102         */
103        BIOLOGICALLYDERIVEDPRODUCT, 
104        /**
105         * Record details about an anatomical structure.  This resource may be used when a coded concept does not provide the necessary detail needed for the use case.
106         */
107        BODYSTRUCTURE, 
108        /**
109         * A container for a collection of resources.
110         */
111        BUNDLE, 
112        /**
113         * A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.
114         */
115        CAPABILITYSTATEMENT, 
116        /**
117         * A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.
118         */
119        CAPABILITYSTATEMENT2, 
120        /**
121         * Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.
122         */
123        CAREPLAN, 
124        /**
125         * The Care Team includes all the people and organizations who plan to participate in the coordination and delivery of care.
126         */
127        CARETEAM, 
128        /**
129         * Catalog entries are wrappers that contextualize items included in a catalog.
130         */
131        CATALOGENTRY, 
132        /**
133         * The resource ChargeItem describes the provision of healthcare provider products for a certain patient, therefore referring not only to the product, but containing in addition details of the provision, like date, time, amounts and participating organizations and persons. Main Usage of the ChargeItem is to enable the billing process and internal cost allocation.
134         */
135        CHARGEITEM, 
136        /**
137         * The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system.
138         */
139        CHARGEITEMDEFINITION, 
140        /**
141         * A provider issued list of professional services and products which have been provided, or are to be provided, to a patient which is sent to an insurer for reimbursement.
142         */
143        CLAIM, 
144        /**
145         * This resource provides the adjudication details from the processing of a Claim resource.
146         */
147        CLAIMRESPONSE, 
148        /**
149         * A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter,  but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score.
150         */
151        CLINICALIMPRESSION, 
152        /**
153         * A single item of clinical particulars - an indication, contraindication, interaction etc. for a medicinal product.
154         */
155        CLINICALUSEISSUE, 
156        /**
157         * The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content.
158         */
159        CODESYSTEM, 
160        /**
161         * An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition.
162         */
163        COMMUNICATION, 
164        /**
165         * A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.
166         */
167        COMMUNICATIONREQUEST, 
168        /**
169         * A compartment definition that defines how resources are accessed on a server.
170         */
171        COMPARTMENTDEFINITION, 
172        /**
173         * A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).
174         */
175        COMPOSITION, 
176        /**
177         * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models.
178         */
179        CONCEPTMAP, 
180        /**
181         * A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.
182         */
183        CONDITION, 
184        /**
185         * A definition of a condition and information relevant to managing it.
186         */
187        CONDITIONDEFINITION, 
188        /**
189         * A record of a healthcare consumer’s  choices  or choices made on their behalf by a third party, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.
190         */
191        CONSENT, 
192        /**
193         * Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.
194         */
195        CONTRACT, 
196        /**
197         * Financial instrument which may be used to reimburse or pay for health care products and services. Includes both insurance and self-payment.
198         */
199        COVERAGE, 
200        /**
201         * The CoverageEligibilityRequest provides patient and insurance coverage information to an insurer for them to respond, in the form of an CoverageEligibilityResponse, with information regarding whether the stated coverage is valid and in-force and optionally to provide the insurance details of the policy.
202         */
203        COVERAGEELIGIBILITYREQUEST, 
204        /**
205         * This resource provides eligibility and plan details from the processing of an CoverageEligibilityRequest resource.
206         */
207        COVERAGEELIGIBILITYRESPONSE, 
208        /**
209         * Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.
210         */
211        DETECTEDISSUE, 
212        /**
213         * A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.
214         */
215        DEVICE, 
216        /**
217         * The characteristics, operational status and capabilities of a medical-related component of a medical device.
218         */
219        DEVICEDEFINITION, 
220        /**
221         * Describes a measurement, calculation or setting capability of a medical device.
222         */
223        DEVICEMETRIC, 
224        /**
225         * Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.
226         */
227        DEVICEREQUEST, 
228        /**
229         * A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.
230         */
231        DEVICEUSESTATEMENT, 
232        /**
233         * The findings and interpretation of diagnostic  tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.
234         */
235        DIAGNOSTICREPORT, 
236        /**
237         * A collection of documents compiled for a purpose together with metadata that applies to the collection.
238         */
239        DOCUMENTMANIFEST, 
240        /**
241         * A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this "document" encompasses *any* seralized object with a mime-type, so includes formal patient centric documents (CDA), clniical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare.  The DocumentReference resource provides metadata about the document so that the document can be discovered and managed.  The actual content may be inline base64 encoded data or provided by direct reference.
242         */
243        DOCUMENTREFERENCE, 
244        /**
245         * A resource that includes narrative, extensions, and contained resources.
246         */
247        DOMAINRESOURCE, 
248        /**
249         * An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
250         */
251        ENCOUNTER, 
252        /**
253         * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information.
254         */
255        ENDPOINT, 
256        /**
257         * This resource provides the insurance enrollment details to the insurer regarding a specified coverage.
258         */
259        ENROLLMENTREQUEST, 
260        /**
261         * This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource.
262         */
263        ENROLLMENTRESPONSE, 
264        /**
265         * An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.
266         */
267        EPISODEOFCARE, 
268        /**
269         * The EventDefinition resource provides a reusable description of when a particular event can occur.
270         */
271        EVENTDEFINITION, 
272        /**
273         * This represents statistics, certainty, both the intended and actual population, and evidence variables.
274         */
275        EVIDENCE, 
276        /**
277         * The EvidenceVariable resource describes a "PICO" element that knowledge (evidence, assertion, recommendation) is about.
278         */
279        EVIDENCEVARIABLE, 
280        /**
281         * Example of workflow instance.
282         */
283        EXAMPLESCENARIO, 
284        /**
285         * This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.
286         */
287        EXPLANATIONOFBENEFIT, 
288        /**
289         * Significant health conditions for a person related to the patient relevant in the context of care for the patient.
290         */
291        FAMILYMEMBERHISTORY, 
292        /**
293         * Prospective warnings of potential issues when providing care to the patient.
294         */
295        FLAG, 
296        /**
297         * Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc.
298         */
299        GOAL, 
300        /**
301         * A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.
302         */
303        GRAPHDEFINITION, 
304        /**
305         * Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively, and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization.
306         */
307        GROUP, 
308        /**
309         * A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken.
310         */
311        GUIDANCERESPONSE, 
312        /**
313         * The details of a healthcare service available at a location.
314         */
315        HEALTHCARESERVICE, 
316        /**
317         * Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities.
318         */
319        IMAGINGSTUDY, 
320        /**
321         * Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.
322         */
323        IMMUNIZATION, 
324        /**
325         * Describes a comparison of an immunization event against published recommendations to determine if the administration is "valid" in relation to those  recommendations.
326         */
327        IMMUNIZATIONEVALUATION, 
328        /**
329         * A patient's point-in-time set of recommendations (i.e. forecasting) according to a published schedule with optional supporting justification.
330         */
331        IMMUNIZATIONRECOMMENDATION, 
332        /**
333         * A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. This resource is used to gather all the parts of an implementation guide into a logical whole and to publish a computable definition of all the parts.
334         */
335        IMPLEMENTATIONGUIDE, 
336        /**
337         * An ingredient of a manufactured item or pharmaceutical product.
338         */
339        INGREDIENT, 
340        /**
341         * Details of a Health Insurance product/plan provided by an organization.
342         */
343        INSURANCEPLAN, 
344        /**
345         * Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.
346         */
347        INVOICE, 
348        /**
349         * The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets.
350         */
351        LIBRARY, 
352        /**
353         * Identifies two or more records (resource instances) that refer to the same real-world "occurrence".
354         */
355        LINKAGE, 
356        /**
357         * A list is a curated collection of resources.
358         */
359        LIST, 
360        /**
361         * Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.
362         */
363        LOCATION, 
364        /**
365         * The manufactured item as contained in the packaged medicinal product.
366         */
367        MANUFACTUREDITEMDEFINITION, 
368        /**
369         * The Measure resource provides the definition of a quality measure.
370         */
371        MEASURE, 
372        /**
373         * The MeasureReport resource contains the results of the calculation of a measure; and optionally a reference to the resources involved in that calculation.
374         */
375        MEASUREREPORT, 
376        /**
377         * This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.
378         */
379        MEDICATION, 
380        /**
381         * Describes the event of a patient consuming or otherwise being administered a medication.  This may be as simple as swallowing a tablet or it may be a long running infusion.  Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner.
382         */
383        MEDICATIONADMINISTRATION, 
384        /**
385         * Indicates that a medication product is to be or has been dispensed for a named person/patient.  This includes a description of the medication product (supply) provided and the instructions for administering the medication.  The medication dispense is the result of a pharmacy system responding to a medication order.
386         */
387        MEDICATIONDISPENSE, 
388        /**
389         * Information about a medication that is used to support knowledge.
390         */
391        MEDICATIONKNOWLEDGE, 
392        /**
393         * An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.
394         */
395        MEDICATIONREQUEST, 
396        /**
397         * A record of a medication that is being consumed by a patient.   A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay.   The medication information may come from sources such as the patient's memory, from a prescription bottle,  or from a list of medications the patient, clinician or other party maintains. 
398
399The primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication.  A medicationusage is often, if not always, less specific.  There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise.  As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains.  Medication administration is more formal and is not missing detailed information.
400         */
401        MEDICATIONUSAGE, 
402        /**
403         * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use).
404         */
405        MEDICINALPRODUCTDEFINITION, 
406        /**
407         * Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.
408         */
409        MESSAGEDEFINITION, 
410        /**
411         * The header for a message exchange that is either requesting or responding to an action.  The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.
412         */
413        MESSAGEHEADER, 
414        /**
415         * Raw data describing a biological sequence.
416         */
417        MOLECULARSEQUENCE, 
418        /**
419         * A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc.  Represents a "System" used within the Identifier and Coding data types.
420         */
421        NAMINGSYSTEM, 
422        /**
423         * A record of food or fluid that is being consumed by a patient.   A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed.   The consumption information may come from sources such as the patient's memory, from a nutrition label,  or from a clinician documenting observed intake.
424         */
425        NUTRITIONINTAKE, 
426        /**
427         * A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.
428         */
429        NUTRITIONORDER, 
430        /**
431         * Measurements and simple assertions made about a patient, device or other subject.
432         */
433        OBSERVATION, 
434        /**
435         * Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.
436         */
437        OBSERVATIONDEFINITION, 
438        /**
439         * A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).
440         */
441        OPERATIONDEFINITION, 
442        /**
443         * A collection of error, warning, or information messages that result from a system action.
444         */
445        OPERATIONOUTCOME, 
446        /**
447         * A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action.  Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.
448         */
449        ORGANIZATION, 
450        /**
451         * Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship.
452         */
453        ORGANIZATIONAFFILIATION, 
454        /**
455         * A medicinal product in a container or package.
456         */
457        PACKAGEDPRODUCTDEFINITION, 
458        /**
459         * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it.
460         */
461        PARAMETERS, 
462        /**
463         * Demographics and other administrative information about an individual or animal receiving care or other health-related services.
464         */
465        PATIENT, 
466        /**
467         * This resource provides the status of the payment for goods and services rendered, and the request and response resource references.
468         */
469        PAYMENTNOTICE, 
470        /**
471         * This resource provides the details including amount of a payment and allocates the payment items being paid.
472         */
473        PAYMENTRECONCILIATION, 
474        /**
475         * Demographics and administrative information about a person independent of a specific health-related context.
476         */
477        PERSON, 
478        /**
479         * This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical artifacts such as clinical decision support rules, order sets and protocols.
480         */
481        PLANDEFINITION, 
482        /**
483         * A person who is directly or indirectly involved in the provisioning of healthcare.
484         */
485        PRACTITIONER, 
486        /**
487         * A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.
488         */
489        PRACTITIONERROLE, 
490        /**
491         * An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.
492         */
493        PROCEDURE, 
494        /**
495         * Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
496         */
497        PROVENANCE, 
498        /**
499         * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
500         */
501        QUESTIONNAIRE, 
502        /**
503         * A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.
504         */
505        QUESTIONNAIRERESPONSE, 
506        /**
507         * The regulatory authorization of a medicinal product.
508         */
509        REGULATEDAUTHORIZATION, 
510        /**
511         * Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.
512         */
513        RELATEDPERSON, 
514        /**
515         * A group of related requests that can be used to capture intended activities that have inter-dependencies such as "give this medication after that one".
516         */
517        REQUESTGROUP, 
518        /**
519         * A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge.  This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques.  A ResearchStudy involves the gathering of information about human or animal subjects.
520         */
521        RESEARCHSTUDY, 
522        /**
523         * A physical entity which is the primary unit of operational and/or administrative interest in a study.
524         */
525        RESEARCHSUBJECT, 
526        /**
527         * This is the base resource type for everything.
528         */
529        RESOURCE, 
530        /**
531         * An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.
532         */
533        RISKASSESSMENT, 
534        /**
535         * A container for slots of time that may be available for booking appointments.
536         */
537        SCHEDULE, 
538        /**
539         * A search parameter that defines a named search item that can be used to search/filter on a resource.
540         */
541        SEARCHPARAMETER, 
542        /**
543         * A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.
544         */
545        SERVICEREQUEST, 
546        /**
547         * A slot of time on a schedule that may be available for booking appointments.
548         */
549        SLOT, 
550        /**
551         * A sample to be used for analysis.
552         */
553        SPECIMEN, 
554        /**
555         * A kind of specimen with associated set of requirements.
556         */
557        SPECIMENDEFINITION, 
558        /**
559         * A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions and constraints on resources and data types.
560         */
561        STRUCTUREDEFINITION, 
562        /**
563         * A Map of relationships between 2 structures that can be used to transform data.
564         */
565        STRUCTUREMAP, 
566        /**
567         * The subscription resource describes a particular client's request to be notified about a Topic.
568         */
569        SUBSCRIPTION, 
570        /**
571         * A homogeneous material with a definite composition.
572         */
573        SUBSTANCE, 
574        /**
575         * The detailed description of a substance, typically at a level beyond what is used for prescribing.
576         */
577        SUBSTANCEDEFINITION, 
578        /**
579         * Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction.
580         */
581        SUBSTANCENUCLEICACID, 
582        /**
583         * Todo.
584         */
585        SUBSTANCEPOLYMER, 
586        /**
587         * A SubstanceProtein is defined as a single unit of a linear amino acid sequence, or a combination of subunits that are either covalently linked or have a defined invariant stoichiometric relationship. This includes all synthetic, recombinant and purified SubstanceProteins of defined sequence, whether the use is therapeutic or prophylactic. This set of elements will be used to describe albumins, coagulation factors, cytokines, growth factors, peptide/SubstanceProtein hormones, enzymes, toxins, toxoids, recombinant vaccines, and immunomodulators.
588         */
589        SUBSTANCEPROTEIN, 
590        /**
591         * Todo.
592         */
593        SUBSTANCEREFERENCEINFORMATION, 
594        /**
595         * Source material shall capture information on the taxonomic and anatomical origins as well as the fraction of a material that can result in or can be modified to form a substance. This set of data elements shall be used to define polymer substances isolated from biological matrices. Taxonomic and anatomical origins shall be described using a controlled vocabulary as required. This information is captured for naturally derived polymers ( . starch) and structurally diverse substances. For Organisms belonging to the Kingdom Plantae the Substance level defines the fresh material of a single species or infraspecies, the Herbal Drug and the Herbal preparation. For Herbal preparations, the fraction information will be captured at the Substance information level and additional information for herbal extracts will be captured at the Specified Substance Group 1 information level. See for further explanation the Substance Class: Structurally Diverse and the herbal annex.
596         */
597        SUBSTANCESOURCEMATERIAL, 
598        /**
599         * Record of delivery of what is supplied.
600         */
601        SUPPLYDELIVERY, 
602        /**
603         * A record of a request for a medication, substance or device used in the healthcare setting.
604         */
605        SUPPLYREQUEST, 
606        /**
607         * A task to be performed.
608         */
609        TASK, 
610        /**
611         * A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.
612         */
613        TERMINOLOGYCAPABILITIES, 
614        /**
615         * A summary of information based on the results of executing a TestScript.
616         */
617        TESTREPORT, 
618        /**
619         * A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
620         */
621        TESTSCRIPT, 
622        /**
623         * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic.
624         */
625        TOPIC, 
626        /**
627         * A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html).
628         */
629        VALUESET, 
630        /**
631         * Describes validation requirements, source(s), status and dates for one or more elements.
632         */
633        VERIFICATIONRESULT, 
634        /**
635         * An authorization for the provision of glasses and/or contact lenses to a patient.
636         */
637        VISIONPRESCRIPTION, 
638        /**
639         * added to help the parsers
640         */
641        NULL;
642        public static ResourceTypes fromCode(String codeString) throws FHIRException {
643            if (codeString == null || "".equals(codeString))
644                return null;
645        if ("Account".equals(codeString))
646          return ACCOUNT;
647        if ("ActivityDefinition".equals(codeString))
648          return ACTIVITYDEFINITION;
649        if ("AdministrableProductDefinition".equals(codeString))
650          return ADMINISTRABLEPRODUCTDEFINITION;
651        if ("AdverseEvent".equals(codeString))
652          return ADVERSEEVENT;
653        if ("AllergyIntolerance".equals(codeString))
654          return ALLERGYINTOLERANCE;
655        if ("Appointment".equals(codeString))
656          return APPOINTMENT;
657        if ("AppointmentResponse".equals(codeString))
658          return APPOINTMENTRESPONSE;
659        if ("AuditEvent".equals(codeString))
660          return AUDITEVENT;
661        if ("Basic".equals(codeString))
662          return BASIC;
663        if ("Binary".equals(codeString))
664          return BINARY;
665        if ("BiologicallyDerivedProduct".equals(codeString))
666          return BIOLOGICALLYDERIVEDPRODUCT;
667        if ("BodyStructure".equals(codeString))
668          return BODYSTRUCTURE;
669        if ("Bundle".equals(codeString))
670          return BUNDLE;
671        if ("CapabilityStatement".equals(codeString))
672          return CAPABILITYSTATEMENT;
673        if ("CapabilityStatement2".equals(codeString))
674          return CAPABILITYSTATEMENT2;
675        if ("CarePlan".equals(codeString))
676          return CAREPLAN;
677        if ("CareTeam".equals(codeString))
678          return CARETEAM;
679        if ("CatalogEntry".equals(codeString))
680          return CATALOGENTRY;
681        if ("ChargeItem".equals(codeString))
682          return CHARGEITEM;
683        if ("ChargeItemDefinition".equals(codeString))
684          return CHARGEITEMDEFINITION;
685        if ("Claim".equals(codeString))
686          return CLAIM;
687        if ("ClaimResponse".equals(codeString))
688          return CLAIMRESPONSE;
689        if ("ClinicalImpression".equals(codeString))
690          return CLINICALIMPRESSION;
691        if ("ClinicalUseIssue".equals(codeString))
692          return CLINICALUSEISSUE;
693        if ("CodeSystem".equals(codeString))
694          return CODESYSTEM;
695        if ("Communication".equals(codeString))
696          return COMMUNICATION;
697        if ("CommunicationRequest".equals(codeString))
698          return COMMUNICATIONREQUEST;
699        if ("CompartmentDefinition".equals(codeString))
700          return COMPARTMENTDEFINITION;
701        if ("Composition".equals(codeString))
702          return COMPOSITION;
703        if ("ConceptMap".equals(codeString))
704          return CONCEPTMAP;
705        if ("Condition".equals(codeString))
706          return CONDITION;
707        if ("ConditionDefinition".equals(codeString))
708          return CONDITIONDEFINITION;
709        if ("Consent".equals(codeString))
710          return CONSENT;
711        if ("Contract".equals(codeString))
712          return CONTRACT;
713        if ("Coverage".equals(codeString))
714          return COVERAGE;
715        if ("CoverageEligibilityRequest".equals(codeString))
716          return COVERAGEELIGIBILITYREQUEST;
717        if ("CoverageEligibilityResponse".equals(codeString))
718          return COVERAGEELIGIBILITYRESPONSE;
719        if ("DetectedIssue".equals(codeString))
720          return DETECTEDISSUE;
721        if ("Device".equals(codeString))
722          return DEVICE;
723        if ("DeviceDefinition".equals(codeString))
724          return DEVICEDEFINITION;
725        if ("DeviceMetric".equals(codeString))
726          return DEVICEMETRIC;
727        if ("DeviceRequest".equals(codeString))
728          return DEVICEREQUEST;
729        if ("DeviceUseStatement".equals(codeString))
730          return DEVICEUSESTATEMENT;
731        if ("DiagnosticReport".equals(codeString))
732          return DIAGNOSTICREPORT;
733        if ("DocumentManifest".equals(codeString))
734          return DOCUMENTMANIFEST;
735        if ("DocumentReference".equals(codeString))
736          return DOCUMENTREFERENCE;
737        if ("DomainResource".equals(codeString))
738          return DOMAINRESOURCE;
739        if ("Encounter".equals(codeString))
740          return ENCOUNTER;
741        if ("Endpoint".equals(codeString))
742          return ENDPOINT;
743        if ("EnrollmentRequest".equals(codeString))
744          return ENROLLMENTREQUEST;
745        if ("EnrollmentResponse".equals(codeString))
746          return ENROLLMENTRESPONSE;
747        if ("EpisodeOfCare".equals(codeString))
748          return EPISODEOFCARE;
749        if ("EventDefinition".equals(codeString))
750          return EVENTDEFINITION;
751        if ("Evidence".equals(codeString))
752          return EVIDENCE;
753        if ("EvidenceVariable".equals(codeString))
754          return EVIDENCEVARIABLE;
755        if ("ExampleScenario".equals(codeString))
756          return EXAMPLESCENARIO;
757        if ("ExplanationOfBenefit".equals(codeString))
758          return EXPLANATIONOFBENEFIT;
759        if ("FamilyMemberHistory".equals(codeString))
760          return FAMILYMEMBERHISTORY;
761        if ("Flag".equals(codeString))
762          return FLAG;
763        if ("Goal".equals(codeString))
764          return GOAL;
765        if ("GraphDefinition".equals(codeString))
766          return GRAPHDEFINITION;
767        if ("Group".equals(codeString))
768          return GROUP;
769        if ("GuidanceResponse".equals(codeString))
770          return GUIDANCERESPONSE;
771        if ("HealthcareService".equals(codeString))
772          return HEALTHCARESERVICE;
773        if ("ImagingStudy".equals(codeString))
774          return IMAGINGSTUDY;
775        if ("Immunization".equals(codeString))
776          return IMMUNIZATION;
777        if ("ImmunizationEvaluation".equals(codeString))
778          return IMMUNIZATIONEVALUATION;
779        if ("ImmunizationRecommendation".equals(codeString))
780          return IMMUNIZATIONRECOMMENDATION;
781        if ("ImplementationGuide".equals(codeString))
782          return IMPLEMENTATIONGUIDE;
783        if ("Ingredient".equals(codeString))
784          return INGREDIENT;
785        if ("InsurancePlan".equals(codeString))
786          return INSURANCEPLAN;
787        if ("Invoice".equals(codeString))
788          return INVOICE;
789        if ("Library".equals(codeString))
790          return LIBRARY;
791        if ("Linkage".equals(codeString))
792          return LINKAGE;
793        if ("List".equals(codeString))
794          return LIST;
795        if ("Location".equals(codeString))
796          return LOCATION;
797        if ("ManufacturedItemDefinition".equals(codeString))
798          return MANUFACTUREDITEMDEFINITION;
799        if ("Measure".equals(codeString))
800          return MEASURE;
801        if ("MeasureReport".equals(codeString))
802          return MEASUREREPORT;
803        if ("Medication".equals(codeString))
804          return MEDICATION;
805        if ("MedicationAdministration".equals(codeString))
806          return MEDICATIONADMINISTRATION;
807        if ("MedicationDispense".equals(codeString))
808          return MEDICATIONDISPENSE;
809        if ("MedicationKnowledge".equals(codeString))
810          return MEDICATIONKNOWLEDGE;
811        if ("MedicationRequest".equals(codeString))
812          return MEDICATIONREQUEST;
813        if ("MedicationUsage".equals(codeString))
814          return MEDICATIONUSAGE;
815        if ("MedicinalProductDefinition".equals(codeString))
816          return MEDICINALPRODUCTDEFINITION;
817        if ("MessageDefinition".equals(codeString))
818          return MESSAGEDEFINITION;
819        if ("MessageHeader".equals(codeString))
820          return MESSAGEHEADER;
821        if ("MolecularSequence".equals(codeString))
822          return MOLECULARSEQUENCE;
823        if ("NamingSystem".equals(codeString))
824          return NAMINGSYSTEM;
825        if ("NutritionIntake".equals(codeString))
826          return NUTRITIONINTAKE;
827        if ("NutritionOrder".equals(codeString))
828          return NUTRITIONORDER;
829        if ("Observation".equals(codeString))
830          return OBSERVATION;
831        if ("ObservationDefinition".equals(codeString))
832          return OBSERVATIONDEFINITION;
833        if ("OperationDefinition".equals(codeString))
834          return OPERATIONDEFINITION;
835        if ("OperationOutcome".equals(codeString))
836          return OPERATIONOUTCOME;
837        if ("Organization".equals(codeString))
838          return ORGANIZATION;
839        if ("OrganizationAffiliation".equals(codeString))
840          return ORGANIZATIONAFFILIATION;
841        if ("PackagedProductDefinition".equals(codeString))
842          return PACKAGEDPRODUCTDEFINITION;
843        if ("Parameters".equals(codeString))
844          return PARAMETERS;
845        if ("Patient".equals(codeString))
846          return PATIENT;
847        if ("PaymentNotice".equals(codeString))
848          return PAYMENTNOTICE;
849        if ("PaymentReconciliation".equals(codeString))
850          return PAYMENTRECONCILIATION;
851        if ("Person".equals(codeString))
852          return PERSON;
853        if ("PlanDefinition".equals(codeString))
854          return PLANDEFINITION;
855        if ("Practitioner".equals(codeString))
856          return PRACTITIONER;
857        if ("PractitionerRole".equals(codeString))
858          return PRACTITIONERROLE;
859        if ("Procedure".equals(codeString))
860          return PROCEDURE;
861        if ("Provenance".equals(codeString))
862          return PROVENANCE;
863        if ("Questionnaire".equals(codeString))
864          return QUESTIONNAIRE;
865        if ("QuestionnaireResponse".equals(codeString))
866          return QUESTIONNAIRERESPONSE;
867        if ("RegulatedAuthorization".equals(codeString))
868          return REGULATEDAUTHORIZATION;
869        if ("RelatedPerson".equals(codeString))
870          return RELATEDPERSON;
871        if ("RequestGroup".equals(codeString))
872          return REQUESTGROUP;
873        if ("ResearchStudy".equals(codeString))
874          return RESEARCHSTUDY;
875        if ("ResearchSubject".equals(codeString))
876          return RESEARCHSUBJECT;
877        if ("Resource".equals(codeString))
878          return RESOURCE;
879        if ("RiskAssessment".equals(codeString))
880          return RISKASSESSMENT;
881        if ("Schedule".equals(codeString))
882          return SCHEDULE;
883        if ("SearchParameter".equals(codeString))
884          return SEARCHPARAMETER;
885        if ("ServiceRequest".equals(codeString))
886          return SERVICEREQUEST;
887        if ("Slot".equals(codeString))
888          return SLOT;
889        if ("Specimen".equals(codeString))
890          return SPECIMEN;
891        if ("SpecimenDefinition".equals(codeString))
892          return SPECIMENDEFINITION;
893        if ("StructureDefinition".equals(codeString))
894          return STRUCTUREDEFINITION;
895        if ("StructureMap".equals(codeString))
896          return STRUCTUREMAP;
897        if ("Subscription".equals(codeString))
898          return SUBSCRIPTION;
899        if ("Substance".equals(codeString))
900          return SUBSTANCE;
901        if ("SubstanceDefinition".equals(codeString))
902          return SUBSTANCEDEFINITION;
903        if ("SubstanceNucleicAcid".equals(codeString))
904          return SUBSTANCENUCLEICACID;
905        if ("SubstancePolymer".equals(codeString))
906          return SUBSTANCEPOLYMER;
907        if ("SubstanceProtein".equals(codeString))
908          return SUBSTANCEPROTEIN;
909        if ("SubstanceReferenceInformation".equals(codeString))
910          return SUBSTANCEREFERENCEINFORMATION;
911        if ("SubstanceSourceMaterial".equals(codeString))
912          return SUBSTANCESOURCEMATERIAL;
913        if ("SupplyDelivery".equals(codeString))
914          return SUPPLYDELIVERY;
915        if ("SupplyRequest".equals(codeString))
916          return SUPPLYREQUEST;
917        if ("Task".equals(codeString))
918          return TASK;
919        if ("TerminologyCapabilities".equals(codeString))
920          return TERMINOLOGYCAPABILITIES;
921        if ("TestReport".equals(codeString))
922          return TESTREPORT;
923        if ("TestScript".equals(codeString))
924          return TESTSCRIPT;
925        if ("Topic".equals(codeString))
926          return TOPIC;
927        if ("ValueSet".equals(codeString))
928          return VALUESET;
929        if ("VerificationResult".equals(codeString))
930          return VERIFICATIONRESULT;
931        if ("VisionPrescription".equals(codeString))
932          return VISIONPRESCRIPTION;
933        throw new FHIRException("Unknown ResourceTypes code '"+codeString+"'");
934        }
935        public String toCode() {
936          switch (this) {
937            case ACCOUNT: return "Account";
938            case ACTIVITYDEFINITION: return "ActivityDefinition";
939            case ADMINISTRABLEPRODUCTDEFINITION: return "AdministrableProductDefinition";
940            case ADVERSEEVENT: return "AdverseEvent";
941            case ALLERGYINTOLERANCE: return "AllergyIntolerance";
942            case APPOINTMENT: return "Appointment";
943            case APPOINTMENTRESPONSE: return "AppointmentResponse";
944            case AUDITEVENT: return "AuditEvent";
945            case BASIC: return "Basic";
946            case BINARY: return "Binary";
947            case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct";
948            case BODYSTRUCTURE: return "BodyStructure";
949            case BUNDLE: return "Bundle";
950            case CAPABILITYSTATEMENT: return "CapabilityStatement";
951            case CAPABILITYSTATEMENT2: return "CapabilityStatement2";
952            case CAREPLAN: return "CarePlan";
953            case CARETEAM: return "CareTeam";
954            case CATALOGENTRY: return "CatalogEntry";
955            case CHARGEITEM: return "ChargeItem";
956            case CHARGEITEMDEFINITION: return "ChargeItemDefinition";
957            case CLAIM: return "Claim";
958            case CLAIMRESPONSE: return "ClaimResponse";
959            case CLINICALIMPRESSION: return "ClinicalImpression";
960            case CLINICALUSEISSUE: return "ClinicalUseIssue";
961            case CODESYSTEM: return "CodeSystem";
962            case COMMUNICATION: return "Communication";
963            case COMMUNICATIONREQUEST: return "CommunicationRequest";
964            case COMPARTMENTDEFINITION: return "CompartmentDefinition";
965            case COMPOSITION: return "Composition";
966            case CONCEPTMAP: return "ConceptMap";
967            case CONDITION: return "Condition";
968            case CONDITIONDEFINITION: return "ConditionDefinition";
969            case CONSENT: return "Consent";
970            case CONTRACT: return "Contract";
971            case COVERAGE: return "Coverage";
972            case COVERAGEELIGIBILITYREQUEST: return "CoverageEligibilityRequest";
973            case COVERAGEELIGIBILITYRESPONSE: return "CoverageEligibilityResponse";
974            case DETECTEDISSUE: return "DetectedIssue";
975            case DEVICE: return "Device";
976            case DEVICEDEFINITION: return "DeviceDefinition";
977            case DEVICEMETRIC: return "DeviceMetric";
978            case DEVICEREQUEST: return "DeviceRequest";
979            case DEVICEUSESTATEMENT: return "DeviceUseStatement";
980            case DIAGNOSTICREPORT: return "DiagnosticReport";
981            case DOCUMENTMANIFEST: return "DocumentManifest";
982            case DOCUMENTREFERENCE: return "DocumentReference";
983            case DOMAINRESOURCE: return "DomainResource";
984            case ENCOUNTER: return "Encounter";
985            case ENDPOINT: return "Endpoint";
986            case ENROLLMENTREQUEST: return "EnrollmentRequest";
987            case ENROLLMENTRESPONSE: return "EnrollmentResponse";
988            case EPISODEOFCARE: return "EpisodeOfCare";
989            case EVENTDEFINITION: return "EventDefinition";
990            case EVIDENCE: return "Evidence";
991            case EVIDENCEVARIABLE: return "EvidenceVariable";
992            case EXAMPLESCENARIO: return "ExampleScenario";
993            case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit";
994            case FAMILYMEMBERHISTORY: return "FamilyMemberHistory";
995            case FLAG: return "Flag";
996            case GOAL: return "Goal";
997            case GRAPHDEFINITION: return "GraphDefinition";
998            case GROUP: return "Group";
999            case GUIDANCERESPONSE: return "GuidanceResponse";
1000            case HEALTHCARESERVICE: return "HealthcareService";
1001            case IMAGINGSTUDY: return "ImagingStudy";
1002            case IMMUNIZATION: return "Immunization";
1003            case IMMUNIZATIONEVALUATION: return "ImmunizationEvaluation";
1004            case IMMUNIZATIONRECOMMENDATION: return "ImmunizationRecommendation";
1005            case IMPLEMENTATIONGUIDE: return "ImplementationGuide";
1006            case INGREDIENT: return "Ingredient";
1007            case INSURANCEPLAN: return "InsurancePlan";
1008            case INVOICE: return "Invoice";
1009            case LIBRARY: return "Library";
1010            case LINKAGE: return "Linkage";
1011            case LIST: return "List";
1012            case LOCATION: return "Location";
1013            case MANUFACTUREDITEMDEFINITION: return "ManufacturedItemDefinition";
1014            case MEASURE: return "Measure";
1015            case MEASUREREPORT: return "MeasureReport";
1016            case MEDICATION: return "Medication";
1017            case MEDICATIONADMINISTRATION: return "MedicationAdministration";
1018            case MEDICATIONDISPENSE: return "MedicationDispense";
1019            case MEDICATIONKNOWLEDGE: return "MedicationKnowledge";
1020            case MEDICATIONREQUEST: return "MedicationRequest";
1021            case MEDICATIONUSAGE: return "MedicationUsage";
1022            case MEDICINALPRODUCTDEFINITION: return "MedicinalProductDefinition";
1023            case MESSAGEDEFINITION: return "MessageDefinition";
1024            case MESSAGEHEADER: return "MessageHeader";
1025            case MOLECULARSEQUENCE: return "MolecularSequence";
1026            case NAMINGSYSTEM: return "NamingSystem";
1027            case NUTRITIONINTAKE: return "NutritionIntake";
1028            case NUTRITIONORDER: return "NutritionOrder";
1029            case OBSERVATION: return "Observation";
1030            case OBSERVATIONDEFINITION: return "ObservationDefinition";
1031            case OPERATIONDEFINITION: return "OperationDefinition";
1032            case OPERATIONOUTCOME: return "OperationOutcome";
1033            case ORGANIZATION: return "Organization";
1034            case ORGANIZATIONAFFILIATION: return "OrganizationAffiliation";
1035            case PACKAGEDPRODUCTDEFINITION: return "PackagedProductDefinition";
1036            case PARAMETERS: return "Parameters";
1037            case PATIENT: return "Patient";
1038            case PAYMENTNOTICE: return "PaymentNotice";
1039            case PAYMENTRECONCILIATION: return "PaymentReconciliation";
1040            case PERSON: return "Person";
1041            case PLANDEFINITION: return "PlanDefinition";
1042            case PRACTITIONER: return "Practitioner";
1043            case PRACTITIONERROLE: return "PractitionerRole";
1044            case PROCEDURE: return "Procedure";
1045            case PROVENANCE: return "Provenance";
1046            case QUESTIONNAIRE: return "Questionnaire";
1047            case QUESTIONNAIRERESPONSE: return "QuestionnaireResponse";
1048            case REGULATEDAUTHORIZATION: return "RegulatedAuthorization";
1049            case RELATEDPERSON: return "RelatedPerson";
1050            case REQUESTGROUP: return "RequestGroup";
1051            case RESEARCHSTUDY: return "ResearchStudy";
1052            case RESEARCHSUBJECT: return "ResearchSubject";
1053            case RESOURCE: return "Resource";
1054            case RISKASSESSMENT: return "RiskAssessment";
1055            case SCHEDULE: return "Schedule";
1056            case SEARCHPARAMETER: return "SearchParameter";
1057            case SERVICEREQUEST: return "ServiceRequest";
1058            case SLOT: return "Slot";
1059            case SPECIMEN: return "Specimen";
1060            case SPECIMENDEFINITION: return "SpecimenDefinition";
1061            case STRUCTUREDEFINITION: return "StructureDefinition";
1062            case STRUCTUREMAP: return "StructureMap";
1063            case SUBSCRIPTION: return "Subscription";
1064            case SUBSTANCE: return "Substance";
1065            case SUBSTANCEDEFINITION: return "SubstanceDefinition";
1066            case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid";
1067            case SUBSTANCEPOLYMER: return "SubstancePolymer";
1068            case SUBSTANCEPROTEIN: return "SubstanceProtein";
1069            case SUBSTANCEREFERENCEINFORMATION: return "SubstanceReferenceInformation";
1070            case SUBSTANCESOURCEMATERIAL: return "SubstanceSourceMaterial";
1071            case SUPPLYDELIVERY: return "SupplyDelivery";
1072            case SUPPLYREQUEST: return "SupplyRequest";
1073            case TASK: return "Task";
1074            case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities";
1075            case TESTREPORT: return "TestReport";
1076            case TESTSCRIPT: return "TestScript";
1077            case TOPIC: return "Topic";
1078            case VALUESET: return "ValueSet";
1079            case VERIFICATIONRESULT: return "VerificationResult";
1080            case VISIONPRESCRIPTION: return "VisionPrescription";
1081            default: return "?";
1082          }
1083        }
1084        public String getSystem() {
1085          return "http://hl7.org/fhir/resource-types";
1086        }
1087        public String getDefinition() {
1088          switch (this) {
1089            case ACCOUNT: return "A financial tool for tracking value accrued for a particular purpose.  In the healthcare field, used to track charges for a patient, cost centers, etc.";
1090            case ACTIVITYDEFINITION: return "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.";
1091            case ADMINISTRABLEPRODUCTDEFINITION: return "A pharmaceutical product described in terms of its composition and dose form.";
1092            case ADVERSEEVENT: return "An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research subject.  The unintended effects may require additional monitoring, treatment or hospitalization or may result in death.  The AdverseEvent resource also extends to potential or avoided events that could have had such effects.";
1093            case ALLERGYINTOLERANCE: return "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.";
1094            case APPOINTMENT: return "A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).";
1095            case APPOINTMENTRESPONSE: return "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.";
1096            case AUDITEVENT: return "A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis.";
1097            case BASIC: return "Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.";
1098            case BINARY: return "A resource that represents the data of a single raw artifact as digital content accessible in its native format.  A Binary resource can contain any content, whether text, image, pdf, zip archive, etc.";
1099            case BIOLOGICALLYDERIVEDPRODUCT: return "A material substance originating from a biological entity intended to be transplanted or infused\ninto another (possibly the same) biological entity.";
1100            case BODYSTRUCTURE: return "Record details about an anatomical structure.  This resource may be used when a coded concept does not provide the necessary detail needed for the use case.";
1101            case BUNDLE: return "A container for a collection of resources.";
1102            case CAPABILITYSTATEMENT: return "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.";
1103            case CAPABILITYSTATEMENT2: return "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.";
1104            case CAREPLAN: return "Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.";
1105            case CARETEAM: return "The Care Team includes all the people and organizations who plan to participate in the coordination and delivery of care.";
1106            case CATALOGENTRY: return "Catalog entries are wrappers that contextualize items included in a catalog.";
1107            case CHARGEITEM: return "The resource ChargeItem describes the provision of healthcare provider products for a certain patient, therefore referring not only to the product, but containing in addition details of the provision, like date, time, amounts and participating organizations and persons. Main Usage of the ChargeItem is to enable the billing process and internal cost allocation.";
1108            case CHARGEITEMDEFINITION: return "The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system.";
1109            case CLAIM: return "A provider issued list of professional services and products which have been provided, or are to be provided, to a patient which is sent to an insurer for reimbursement.";
1110            case CLAIMRESPONSE: return "This resource provides the adjudication details from the processing of a Claim resource.";
1111            case CLINICALIMPRESSION: return "A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter,  but this varies greatly depending on the clinical workflow. This resource is called \"ClinicalImpression\" rather than \"ClinicalAssessment\" to avoid confusion with the recording of assessment tools such as Apgar score.";
1112            case CLINICALUSEISSUE: return "A single item of clinical particulars - an indication, contraindication, interaction etc. for a medicinal product.";
1113            case CODESYSTEM: return "The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content.";
1114            case COMMUNICATION: return "An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition.";
1115            case COMMUNICATIONREQUEST: return "A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.";
1116            case COMPARTMENTDEFINITION: return "A compartment definition that defines how resources are accessed on a server.";
1117            case COMPOSITION: return "A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).";
1118            case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models.";
1119            case CONDITION: return "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.";
1120            case CONDITIONDEFINITION: return "A definition of a condition and information relevant to managing it.";
1121            case CONSENT: return "A record of a healthcare consumer’s  choices  or choices made on their behalf by a third party, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.";
1122            case CONTRACT: return "Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.";
1123            case COVERAGE: return "Financial instrument which may be used to reimburse or pay for health care products and services. Includes both insurance and self-payment.";
1124            case COVERAGEELIGIBILITYREQUEST: return "The CoverageEligibilityRequest provides patient and insurance coverage information to an insurer for them to respond, in the form of an CoverageEligibilityResponse, with information regarding whether the stated coverage is valid and in-force and optionally to provide the insurance details of the policy.";
1125            case COVERAGEELIGIBILITYRESPONSE: return "This resource provides eligibility and plan details from the processing of an CoverageEligibilityRequest resource.";
1126            case DETECTEDISSUE: return "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.";
1127            case DEVICE: return "A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.";
1128            case DEVICEDEFINITION: return "The characteristics, operational status and capabilities of a medical-related component of a medical device.";
1129            case DEVICEMETRIC: return "Describes a measurement, calculation or setting capability of a medical device.";
1130            case DEVICEREQUEST: return "Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.";
1131            case DEVICEUSESTATEMENT: return "A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.";
1132            case DIAGNOSTICREPORT: return "The findings and interpretation of diagnostic  tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.";
1133            case DOCUMENTMANIFEST: return "A collection of documents compiled for a purpose together with metadata that applies to the collection.";
1134            case DOCUMENTREFERENCE: return "A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this \"document\" encompasses *any* seralized object with a mime-type, so includes formal patient centric documents (CDA), clniical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare.  The DocumentReference resource provides metadata about the document so that the document can be discovered and managed.  The actual content may be inline base64 encoded data or provided by direct reference.";
1135            case DOMAINRESOURCE: return "A resource that includes narrative, extensions, and contained resources.";
1136            case ENCOUNTER: return "An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.";
1137            case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information.";
1138            case ENROLLMENTREQUEST: return "This resource provides the insurance enrollment details to the insurer regarding a specified coverage.";
1139            case ENROLLMENTRESPONSE: return "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource.";
1140            case EPISODEOFCARE: return "An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.";
1141            case EVENTDEFINITION: return "The EventDefinition resource provides a reusable description of when a particular event can occur.";
1142            case EVIDENCE: return "This represents statistics, certainty, both the intended and actual population, and evidence variables.";
1143            case EVIDENCEVARIABLE: return "The EvidenceVariable resource describes a \"PICO\" element that knowledge (evidence, assertion, recommendation) is about.";
1144            case EXAMPLESCENARIO: return "Example of workflow instance.";
1145            case EXPLANATIONOFBENEFIT: return "This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.";
1146            case FAMILYMEMBERHISTORY: return "Significant health conditions for a person related to the patient relevant in the context of care for the patient.";
1147            case FLAG: return "Prospective warnings of potential issues when providing care to the patient.";
1148            case GOAL: return "Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc.";
1149            case GRAPHDEFINITION: return "A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.";
1150            case GROUP: return "Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively, and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization.";
1151            case GUIDANCERESPONSE: return "A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken.";
1152            case HEALTHCARESERVICE: return "The details of a healthcare service available at a location.";
1153            case IMAGINGSTUDY: return "Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities.";
1154            case IMMUNIZATION: return "Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.";
1155            case IMMUNIZATIONEVALUATION: return "Describes a comparison of an immunization event against published recommendations to determine if the administration is \"valid\" in relation to those  recommendations.";
1156            case IMMUNIZATIONRECOMMENDATION: return "A patient's point-in-time set of recommendations (i.e. forecasting) according to a published schedule with optional supporting justification.";
1157            case IMPLEMENTATIONGUIDE: return "A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. This resource is used to gather all the parts of an implementation guide into a logical whole and to publish a computable definition of all the parts.";
1158            case INGREDIENT: return "An ingredient of a manufactured item or pharmaceutical product.";
1159            case INSURANCEPLAN: return "Details of a Health Insurance product/plan provided by an organization.";
1160            case INVOICE: return "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.";
1161            case LIBRARY: return "The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets.";
1162            case LINKAGE: return "Identifies two or more records (resource instances) that refer to the same real-world \"occurrence\".";
1163            case LIST: return "A list is a curated collection of resources.";
1164            case LOCATION: return "Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.";
1165            case MANUFACTUREDITEMDEFINITION: return "The manufactured item as contained in the packaged medicinal product.";
1166            case MEASURE: return "The Measure resource provides the definition of a quality measure.";
1167            case MEASUREREPORT: return "The MeasureReport resource contains the results of the calculation of a measure; and optionally a reference to the resources involved in that calculation.";
1168            case MEDICATION: return "This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.";
1169            case MEDICATIONADMINISTRATION: return "Describes the event of a patient consuming or otherwise being administered a medication.  This may be as simple as swallowing a tablet or it may be a long running infusion.  Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner.";
1170            case MEDICATIONDISPENSE: return "Indicates that a medication product is to be or has been dispensed for a named person/patient.  This includes a description of the medication product (supply) provided and the instructions for administering the medication.  The medication dispense is the result of a pharmacy system responding to a medication order.";
1171            case MEDICATIONKNOWLEDGE: return "Information about a medication that is used to support knowledge.";
1172            case MEDICATIONREQUEST: return "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.";
1173            case MEDICATIONUSAGE: return "A record of a medication that is being consumed by a patient.   A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay.   The medication information may come from sources such as the patient's memory, from a prescription bottle,  or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication.  A medicationusage is often, if not always, less specific.  There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise.  As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains.  Medication administration is more formal and is not missing detailed information.";
1174            case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use).";
1175            case MESSAGEDEFINITION: return "Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.";
1176            case MESSAGEHEADER: return "The header for a message exchange that is either requesting or responding to an action.  The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.";
1177            case MOLECULARSEQUENCE: return "Raw data describing a biological sequence.";
1178            case NAMINGSYSTEM: return "A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc.  Represents a \"System\" used within the Identifier and Coding data types.";
1179            case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient.   A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed.   The consumption information may come from sources such as the patient's memory, from a nutrition label,  or from a clinician documenting observed intake.";
1180            case NUTRITIONORDER: return "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.";
1181            case OBSERVATION: return "Measurements and simple assertions made about a patient, device or other subject.";
1182            case OBSERVATIONDEFINITION: return "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.";
1183            case OPERATIONDEFINITION: return "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).";
1184            case OPERATIONOUTCOME: return "A collection of error, warning, or information messages that result from a system action.";
1185            case ORGANIZATION: return "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action.  Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.";
1186            case ORGANIZATIONAFFILIATION: return "Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship.";
1187            case PACKAGEDPRODUCTDEFINITION: return "A medicinal product in a container or package.";
1188            case PARAMETERS: return "This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it.";
1189            case PATIENT: return "Demographics and other administrative information about an individual or animal receiving care or other health-related services.";
1190            case PAYMENTNOTICE: return "This resource provides the status of the payment for goods and services rendered, and the request and response resource references.";
1191            case PAYMENTRECONCILIATION: return "This resource provides the details including amount of a payment and allocates the payment items being paid.";
1192            case PERSON: return "Demographics and administrative information about a person independent of a specific health-related context.";
1193            case PLANDEFINITION: return "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical artifacts such as clinical decision support rules, order sets and protocols.";
1194            case PRACTITIONER: return "A person who is directly or indirectly involved in the provisioning of healthcare.";
1195            case PRACTITIONERROLE: return "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.";
1196            case PROCEDURE: return "An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.";
1197            case PROVENANCE: return "Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.";
1198            case QUESTIONNAIRE: return "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.";
1199            case QUESTIONNAIRERESPONSE: return "A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.";
1200            case REGULATEDAUTHORIZATION: return "The regulatory authorization of a medicinal product.";
1201            case RELATEDPERSON: return "Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.";
1202            case REQUESTGROUP: return "A group of related requests that can be used to capture intended activities that have inter-dependencies such as \"give this medication after that one\".";
1203            case RESEARCHSTUDY: return "A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge.  This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques.  A ResearchStudy involves the gathering of information about human or animal subjects.";
1204            case RESEARCHSUBJECT: return "A physical entity which is the primary unit of operational and/or administrative interest in a study.";
1205            case RESOURCE: return "This is the base resource type for everything.";
1206            case RISKASSESSMENT: return "An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.";
1207            case SCHEDULE: return "A container for slots of time that may be available for booking appointments.";
1208            case SEARCHPARAMETER: return "A search parameter that defines a named search item that can be used to search/filter on a resource.";
1209            case SERVICEREQUEST: return "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.";
1210            case SLOT: return "A slot of time on a schedule that may be available for booking appointments.";
1211            case SPECIMEN: return "A sample to be used for analysis.";
1212            case SPECIMENDEFINITION: return "A kind of specimen with associated set of requirements.";
1213            case STRUCTUREDEFINITION: return "A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions and constraints on resources and data types.";
1214            case STRUCTUREMAP: return "A Map of relationships between 2 structures that can be used to transform data.";
1215            case SUBSCRIPTION: return "The subscription resource describes a particular client's request to be notified about a Topic.";
1216            case SUBSTANCE: return "A homogeneous material with a definite composition.";
1217            case SUBSTANCEDEFINITION: return "The detailed description of a substance, typically at a level beyond what is used for prescribing.";
1218            case SUBSTANCENUCLEICACID: return "Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction.";
1219            case SUBSTANCEPOLYMER: return "Todo.";
1220            case SUBSTANCEPROTEIN: return "A SubstanceProtein is defined as a single unit of a linear amino acid sequence, or a combination of subunits that are either covalently linked or have a defined invariant stoichiometric relationship. This includes all synthetic, recombinant and purified SubstanceProteins of defined sequence, whether the use is therapeutic or prophylactic. This set of elements will be used to describe albumins, coagulation factors, cytokines, growth factors, peptide/SubstanceProtein hormones, enzymes, toxins, toxoids, recombinant vaccines, and immunomodulators.";
1221            case SUBSTANCEREFERENCEINFORMATION: return "Todo.";
1222            case SUBSTANCESOURCEMATERIAL: return "Source material shall capture information on the taxonomic and anatomical origins as well as the fraction of a material that can result in or can be modified to form a substance. This set of data elements shall be used to define polymer substances isolated from biological matrices. Taxonomic and anatomical origins shall be described using a controlled vocabulary as required. This information is captured for naturally derived polymers ( . starch) and structurally diverse substances. For Organisms belonging to the Kingdom Plantae the Substance level defines the fresh material of a single species or infraspecies, the Herbal Drug and the Herbal preparation. For Herbal preparations, the fraction information will be captured at the Substance information level and additional information for herbal extracts will be captured at the Specified Substance Group 1 information level. See for further explanation the Substance Class: Structurally Diverse and the herbal annex.";
1223            case SUPPLYDELIVERY: return "Record of delivery of what is supplied.";
1224            case SUPPLYREQUEST: return "A record of a request for a medication, substance or device used in the healthcare setting.";
1225            case TASK: return "A task to be performed.";
1226            case TERMINOLOGYCAPABILITIES: return "A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.";
1227            case TESTREPORT: return "A summary of information based on the results of executing a TestScript.";
1228            case TESTSCRIPT: return "A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.";
1229            case TOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic.";
1230            case VALUESET: return "A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html).";
1231            case VERIFICATIONRESULT: return "Describes validation requirements, source(s), status and dates for one or more elements.";
1232            case VISIONPRESCRIPTION: return "An authorization for the provision of glasses and/or contact lenses to a patient.";
1233            default: return "?";
1234          }
1235        }
1236        public String getDisplay() {
1237          switch (this) {
1238            case ACCOUNT: return "Account";
1239            case ACTIVITYDEFINITION: return "ActivityDefinition";
1240            case ADMINISTRABLEPRODUCTDEFINITION: return "AdministrableProductDefinition";
1241            case ADVERSEEVENT: return "AdverseEvent";
1242            case ALLERGYINTOLERANCE: return "AllergyIntolerance";
1243            case APPOINTMENT: return "Appointment";
1244            case APPOINTMENTRESPONSE: return "AppointmentResponse";
1245            case AUDITEVENT: return "AuditEvent";
1246            case BASIC: return "Basic";
1247            case BINARY: return "Binary";
1248            case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct";
1249            case BODYSTRUCTURE: return "BodyStructure";
1250            case BUNDLE: return "Bundle";
1251            case CAPABILITYSTATEMENT: return "CapabilityStatement";
1252            case CAPABILITYSTATEMENT2: return "CapabilityStatement2";
1253            case CAREPLAN: return "CarePlan";
1254            case CARETEAM: return "CareTeam";
1255            case CATALOGENTRY: return "CatalogEntry";
1256            case CHARGEITEM: return "ChargeItem";
1257            case CHARGEITEMDEFINITION: return "ChargeItemDefinition";
1258            case CLAIM: return "Claim";
1259            case CLAIMRESPONSE: return "ClaimResponse";
1260            case CLINICALIMPRESSION: return "ClinicalImpression";
1261            case CLINICALUSEISSUE: return "ClinicalUseIssue";
1262            case CODESYSTEM: return "CodeSystem";
1263            case COMMUNICATION: return "Communication";
1264            case COMMUNICATIONREQUEST: return "CommunicationRequest";
1265            case COMPARTMENTDEFINITION: return "CompartmentDefinition";
1266            case COMPOSITION: return "Composition";
1267            case CONCEPTMAP: return "ConceptMap";
1268            case CONDITION: return "Condition";
1269            case CONDITIONDEFINITION: return "ConditionDefinition";
1270            case CONSENT: return "Consent";
1271            case CONTRACT: return "Contract";
1272            case COVERAGE: return "Coverage";
1273            case COVERAGEELIGIBILITYREQUEST: return "CoverageEligibilityRequest";
1274            case COVERAGEELIGIBILITYRESPONSE: return "CoverageEligibilityResponse";
1275            case DETECTEDISSUE: return "DetectedIssue";
1276            case DEVICE: return "Device";
1277            case DEVICEDEFINITION: return "DeviceDefinition";
1278            case DEVICEMETRIC: return "DeviceMetric";
1279            case DEVICEREQUEST: return "DeviceRequest";
1280            case DEVICEUSESTATEMENT: return "DeviceUseStatement";
1281            case DIAGNOSTICREPORT: return "DiagnosticReport";
1282            case DOCUMENTMANIFEST: return "DocumentManifest";
1283            case DOCUMENTREFERENCE: return "DocumentReference";
1284            case DOMAINRESOURCE: return "DomainResource";
1285            case ENCOUNTER: return "Encounter";
1286            case ENDPOINT: return "Endpoint";
1287            case ENROLLMENTREQUEST: return "EnrollmentRequest";
1288            case ENROLLMENTRESPONSE: return "EnrollmentResponse";
1289            case EPISODEOFCARE: return "EpisodeOfCare";
1290            case EVENTDEFINITION: return "EventDefinition";
1291            case EVIDENCE: return "Evidence";
1292            case EVIDENCEVARIABLE: return "EvidenceVariable";
1293            case EXAMPLESCENARIO: return "ExampleScenario";
1294            case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit";
1295            case FAMILYMEMBERHISTORY: return "FamilyMemberHistory";
1296            case FLAG: return "Flag";
1297            case GOAL: return "Goal";
1298            case GRAPHDEFINITION: return "GraphDefinition";
1299            case GROUP: return "Group";
1300            case GUIDANCERESPONSE: return "GuidanceResponse";
1301            case HEALTHCARESERVICE: return "HealthcareService";
1302            case IMAGINGSTUDY: return "ImagingStudy";
1303            case IMMUNIZATION: return "Immunization";
1304            case IMMUNIZATIONEVALUATION: return "ImmunizationEvaluation";
1305            case IMMUNIZATIONRECOMMENDATION: return "ImmunizationRecommendation";
1306            case IMPLEMENTATIONGUIDE: return "ImplementationGuide";
1307            case INGREDIENT: return "Ingredient";
1308            case INSURANCEPLAN: return "InsurancePlan";
1309            case INVOICE: return "Invoice";
1310            case LIBRARY: return "Library";
1311            case LINKAGE: return "Linkage";
1312            case LIST: return "List";
1313            case LOCATION: return "Location";
1314            case MANUFACTUREDITEMDEFINITION: return "ManufacturedItemDefinition";
1315            case MEASURE: return "Measure";
1316            case MEASUREREPORT: return "MeasureReport";
1317            case MEDICATION: return "Medication";
1318            case MEDICATIONADMINISTRATION: return "MedicationAdministration";
1319            case MEDICATIONDISPENSE: return "MedicationDispense";
1320            case MEDICATIONKNOWLEDGE: return "MedicationKnowledge";
1321            case MEDICATIONREQUEST: return "MedicationRequest";
1322            case MEDICATIONUSAGE: return "MedicationUsage";
1323            case MEDICINALPRODUCTDEFINITION: return "MedicinalProductDefinition";
1324            case MESSAGEDEFINITION: return "MessageDefinition";
1325            case MESSAGEHEADER: return "MessageHeader";
1326            case MOLECULARSEQUENCE: return "MolecularSequence";
1327            case NAMINGSYSTEM: return "NamingSystem";
1328            case NUTRITIONINTAKE: return "NutritionIntake";
1329            case NUTRITIONORDER: return "NutritionOrder";
1330            case OBSERVATION: return "Observation";
1331            case OBSERVATIONDEFINITION: return "ObservationDefinition";
1332            case OPERATIONDEFINITION: return "OperationDefinition";
1333            case OPERATIONOUTCOME: return "OperationOutcome";
1334            case ORGANIZATION: return "Organization";
1335            case ORGANIZATIONAFFILIATION: return "OrganizationAffiliation";
1336            case PACKAGEDPRODUCTDEFINITION: return "PackagedProductDefinition";
1337            case PARAMETERS: return "Parameters";
1338            case PATIENT: return "Patient";
1339            case PAYMENTNOTICE: return "PaymentNotice";
1340            case PAYMENTRECONCILIATION: return "PaymentReconciliation";
1341            case PERSON: return "Person";
1342            case PLANDEFINITION: return "PlanDefinition";
1343            case PRACTITIONER: return "Practitioner";
1344            case PRACTITIONERROLE: return "PractitionerRole";
1345            case PROCEDURE: return "Procedure";
1346            case PROVENANCE: return "Provenance";
1347            case QUESTIONNAIRE: return "Questionnaire";
1348            case QUESTIONNAIRERESPONSE: return "QuestionnaireResponse";
1349            case REGULATEDAUTHORIZATION: return "RegulatedAuthorization";
1350            case RELATEDPERSON: return "RelatedPerson";
1351            case REQUESTGROUP: return "RequestGroup";
1352            case RESEARCHSTUDY: return "ResearchStudy";
1353            case RESEARCHSUBJECT: return "ResearchSubject";
1354            case RESOURCE: return "Resource";
1355            case RISKASSESSMENT: return "RiskAssessment";
1356            case SCHEDULE: return "Schedule";
1357            case SEARCHPARAMETER: return "SearchParameter";
1358            case SERVICEREQUEST: return "ServiceRequest";
1359            case SLOT: return "Slot";
1360            case SPECIMEN: return "Specimen";
1361            case SPECIMENDEFINITION: return "SpecimenDefinition";
1362            case STRUCTUREDEFINITION: return "StructureDefinition";
1363            case STRUCTUREMAP: return "StructureMap";
1364            case SUBSCRIPTION: return "Subscription";
1365            case SUBSTANCE: return "Substance";
1366            case SUBSTANCEDEFINITION: return "SubstanceDefinition";
1367            case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid";
1368            case SUBSTANCEPOLYMER: return "SubstancePolymer";
1369            case SUBSTANCEPROTEIN: return "SubstanceProtein";
1370            case SUBSTANCEREFERENCEINFORMATION: return "SubstanceReferenceInformation";
1371            case SUBSTANCESOURCEMATERIAL: return "SubstanceSourceMaterial";
1372            case SUPPLYDELIVERY: return "SupplyDelivery";
1373            case SUPPLYREQUEST: return "SupplyRequest";
1374            case TASK: return "Task";
1375            case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities";
1376            case TESTREPORT: return "TestReport";
1377            case TESTSCRIPT: return "TestScript";
1378            case TOPIC: return "Topic";
1379            case VALUESET: return "ValueSet";
1380            case VERIFICATIONRESULT: return "VerificationResult";
1381            case VISIONPRESCRIPTION: return "VisionPrescription";
1382            default: return "?";
1383          }
1384    }
1385
1386
1387}
1388