001 002package ca.uhn.fhir.model.dstu2.valueset; 003 004import ca.uhn.fhir.model.api.*; 005import java.util.HashMap; 006import java.util.Map; 007 008public enum ResourceTypeEnum { 009 010 /** 011 * Display: <b>Account</b><br> 012 * Code Value: <b>Account</b> 013 * 014 * A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centres, etc. 015 */ 016 ACCOUNT("Account", "http://hl7.org/fhir/resource-types"), 017 018 /** 019 * Display: <b>AllergyIntolerance</b><br> 020 * Code Value: <b>AllergyIntolerance</b> 021 * 022 * Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. 023 */ 024 ALLERGYINTOLERANCE("AllergyIntolerance", "http://hl7.org/fhir/resource-types"), 025 026 /** 027 * Display: <b>Appointment</b><br> 028 * Code Value: <b>Appointment</b> 029 * 030 * 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). 031 */ 032 APPOINTMENT("Appointment", "http://hl7.org/fhir/resource-types"), 033 034 /** 035 * Display: <b>AppointmentResponse</b><br> 036 * Code Value: <b>AppointmentResponse</b> 037 * 038 * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. 039 */ 040 APPOINTMENTRESPONSE("AppointmentResponse", "http://hl7.org/fhir/resource-types"), 041 042 /** 043 * Display: <b>AuditEvent</b><br> 044 * Code Value: <b>AuditEvent</b> 045 * 046 * A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. 047 */ 048 AUDITEVENT("AuditEvent", "http://hl7.org/fhir/resource-types"), 049 050 /** 051 * Display: <b>Basic</b><br> 052 * Code Value: <b>Basic</b> 053 * 054 * 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. 055 */ 056 BASIC("Basic", "http://hl7.org/fhir/resource-types"), 057 058 /** 059 * Display: <b>Binary</b><br> 060 * Code Value: <b>Binary</b> 061 * 062 * A binary resource can contain any content, whether text, image, pdf, zip archive, etc. 063 */ 064 BINARY("Binary", "http://hl7.org/fhir/resource-types"), 065 066 /** 067 * Display: <b>BodySite</b><br> 068 * Code Value: <b>BodySite</b> 069 * 070 * Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case. 071 */ 072 BODYSITE("BodySite", "http://hl7.org/fhir/resource-types"), 073 074 /** 075 * Display: <b>Bundle</b><br> 076 * Code Value: <b>Bundle</b> 077 * 078 * A container for a collection of resources. 079 */ 080 BUNDLE("Bundle", "http://hl7.org/fhir/resource-types"), 081 082 /** 083 * Display: <b>CarePlan</b><br> 084 * Code Value: <b>CarePlan</b> 085 * 086 * 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. 087 */ 088 CAREPLAN("CarePlan", "http://hl7.org/fhir/resource-types"), 089 090 /** 091 * Display: <b>Claim</b><br> 092 * Code Value: <b>Claim</b> 093 * 094 * A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. 095 */ 096 CLAIM("Claim", "http://hl7.org/fhir/resource-types"), 097 098 /** 099 * Display: <b>ClaimResponse</b><br> 100 * Code Value: <b>ClaimResponse</b> 101 * 102 * This resource provides the adjudication details from the processing of a Claim resource. 103 */ 104 CLAIMRESPONSE("ClaimResponse", "http://hl7.org/fhir/resource-types"), 105 106 /** 107 * Display: <b>ClinicalImpression</b><br> 108 * Code Value: <b>ClinicalImpression</b> 109 * 110 * 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. 111 */ 112 CLINICALIMPRESSION("ClinicalImpression", "http://hl7.org/fhir/resource-types"), 113 114 /** 115 * Display: <b>Communication</b><br> 116 * Code Value: <b>Communication</b> 117 * 118 * An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. 119 */ 120 COMMUNICATION("Communication", "http://hl7.org/fhir/resource-types"), 121 122 /** 123 * Display: <b>CommunicationRequest</b><br> 124 * Code Value: <b>CommunicationRequest</b> 125 * 126 * 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. 127 */ 128 COMMUNICATIONREQUEST("CommunicationRequest", "http://hl7.org/fhir/resource-types"), 129 130 /** 131 * Display: <b>Composition</b><br> 132 * Code Value: <b>Composition</b> 133 * 134 * A set of healthcare-related information that is assembled together into a single logical document 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. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained. 135 */ 136 COMPOSITION("Composition", "http://hl7.org/fhir/resource-types"), 137 138 /** 139 * Display: <b>ConceptMap</b><br> 140 * Code Value: <b>ConceptMap</b> 141 * 142 * A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. 143 */ 144 CONCEPTMAP("ConceptMap", "http://hl7.org/fhir/resource-types"), 145 146 /** 147 * Display: <b>Condition</b><br> 148 * Code Value: <b>Condition</b> 149 * 150 * Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a diagnosis during an encounter; populating a problem list or a summary statement, such as a discharge summary. 151 */ 152 CONDITION("Condition", "http://hl7.org/fhir/resource-types"), 153 154 /** 155 * Display: <b>Conformance</b><br> 156 * Code Value: <b>Conformance</b> 157 * 158 * A conformance statement is a set of capabilities of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation. 159 */ 160 CONFORMANCE("Conformance", "http://hl7.org/fhir/resource-types"), 161 162 /** 163 * Display: <b>Contract</b><br> 164 * Code Value: <b>Contract</b> 165 * 166 * A formal agreement between parties regarding the conduct of business, exchange of information or other matters. 167 */ 168 CONTRACT("Contract", "http://hl7.org/fhir/resource-types"), 169 170 /** 171 * Display: <b>Coverage</b><br> 172 * Code Value: <b>Coverage</b> 173 * 174 * Financial instrument which may be used to pay for or reimburse health care products and services. 175 */ 176 COVERAGE("Coverage", "http://hl7.org/fhir/resource-types"), 177 178 /** 179 * Display: <b>DataElement</b><br> 180 * Code Value: <b>DataElement</b> 181 * 182 * The formal description of a single piece of information that can be gathered and reported. 183 */ 184 DATAELEMENT("DataElement", "http://hl7.org/fhir/resource-types"), 185 186 /** 187 * Display: <b>DetectedIssue</b><br> 188 * Code Value: <b>DetectedIssue</b> 189 * 190 * 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. 191 */ 192 DETECTEDISSUE("DetectedIssue", "http://hl7.org/fhir/resource-types"), 193 194 /** 195 * Display: <b>Device</b><br> 196 * Code Value: <b>Device</b> 197 * 198 * This resource identifies an instance 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. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non-medical devices may include items such as a machine, cellphone, computer, application, etc. 199 */ 200 DEVICE("Device", "http://hl7.org/fhir/resource-types"), 201 202 /** 203 * Display: <b>DeviceComponent</b><br> 204 * Code Value: <b>DeviceComponent</b> 205 * 206 * Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. 207 */ 208 DEVICECOMPONENT("DeviceComponent", "http://hl7.org/fhir/resource-types"), 209 210 /** 211 * Display: <b>DeviceMetric</b><br> 212 * Code Value: <b>DeviceMetric</b> 213 * 214 * Describes a measurement, calculation or setting capability of a medical device. 215 */ 216 DEVICEMETRIC("DeviceMetric", "http://hl7.org/fhir/resource-types"), 217 218 /** 219 * Display: <b>DeviceUseRequest</b><br> 220 * Code Value: <b>DeviceUseRequest</b> 221 * 222 * 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. 223 */ 224 DEVICEUSEREQUEST("DeviceUseRequest", "http://hl7.org/fhir/resource-types"), 225 226 /** 227 * Display: <b>DeviceUseStatement</b><br> 228 * Code Value: <b>DeviceUseStatement</b> 229 * 230 * 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. 231 */ 232 DEVICEUSESTATEMENT("DeviceUseStatement", "http://hl7.org/fhir/resource-types"), 233 234 /** 235 * Display: <b>DiagnosticOrder</b><br> 236 * Code Value: <b>DiagnosticOrder</b> 237 * 238 * A record of a request for a diagnostic investigation service to be performed. 239 */ 240 DIAGNOSTICORDER("DiagnosticOrder", "http://hl7.org/fhir/resource-types"), 241 242 /** 243 * Display: <b>DiagnosticReport</b><br> 244 * Code Value: <b>DiagnosticReport</b> 245 * 246 * 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. 247 */ 248 DIAGNOSTICREPORT("DiagnosticReport", "http://hl7.org/fhir/resource-types"), 249 250 /** 251 * Display: <b>DocumentManifest</b><br> 252 * Code Value: <b>DocumentManifest</b> 253 * 254 * A manifest that defines a set of documents. 255 */ 256 DOCUMENTMANIFEST("DocumentManifest", "http://hl7.org/fhir/resource-types"), 257 258 /** 259 * Display: <b>DocumentReference</b><br> 260 * Code Value: <b>DocumentReference</b> 261 * 262 * A reference to a document . 263 */ 264 DOCUMENTREFERENCE("DocumentReference", "http://hl7.org/fhir/resource-types"), 265 266 /** 267 * Display: <b>DomainResource</b><br> 268 * Code Value: <b>DomainResource</b> 269 * 270 * --- Abstract Type! ---A resource that includes narrative, extensions, and contained resources. 271 */ 272 DOMAINRESOURCE("DomainResource", "http://hl7.org/fhir/resource-types"), 273 274 /** 275 * Display: <b>EligibilityRequest</b><br> 276 * Code Value: <b>EligibilityRequest</b> 277 * 278 * This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. 279 */ 280 ELIGIBILITYREQUEST("EligibilityRequest", "http://hl7.org/fhir/resource-types"), 281 282 /** 283 * Display: <b>EligibilityResponse</b><br> 284 * Code Value: <b>EligibilityResponse</b> 285 * 286 * This resource provides eligibility and plan details from the processing of an Eligibility resource. 287 */ 288 ELIGIBILITYRESPONSE("EligibilityResponse", "http://hl7.org/fhir/resource-types"), 289 290 /** 291 * Display: <b>Encounter</b><br> 292 * Code Value: <b>Encounter</b> 293 * 294 * 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. 295 */ 296 ENCOUNTER("Encounter", "http://hl7.org/fhir/resource-types"), 297 298 /** 299 * Display: <b>EnrollmentRequest</b><br> 300 * Code Value: <b>EnrollmentRequest</b> 301 * 302 * This resource provides the insurance enrollment details to the insurer regarding a specified coverage. 303 */ 304 ENROLLMENTREQUEST("EnrollmentRequest", "http://hl7.org/fhir/resource-types"), 305 306 /** 307 * Display: <b>EnrollmentResponse</b><br> 308 * Code Value: <b>EnrollmentResponse</b> 309 * 310 * This resource provides enrollment and plan details from the processing of an Enrollment resource. 311 */ 312 ENROLLMENTRESPONSE("EnrollmentResponse", "http://hl7.org/fhir/resource-types"), 313 314 /** 315 * Display: <b>EpisodeOfCare</b><br> 316 * Code Value: <b>EpisodeOfCare</b> 317 * 318 * 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. 319 */ 320 EPISODEOFCARE("EpisodeOfCare", "http://hl7.org/fhir/resource-types"), 321 322 /** 323 * Display: <b>ExplanationOfBenefit</b><br> 324 * Code Value: <b>ExplanationOfBenefit</b> 325 * 326 * 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. 327 */ 328 EXPLANATIONOFBENEFIT("ExplanationOfBenefit", "http://hl7.org/fhir/resource-types"), 329 330 /** 331 * Display: <b>FamilyMemberHistory</b><br> 332 * Code Value: <b>FamilyMemberHistory</b> 333 * 334 * Significant health events and conditions for a person related to the patient relevant in the context of care for the patient. 335 */ 336 FAMILYMEMBERHISTORY("FamilyMemberHistory", "http://hl7.org/fhir/resource-types"), 337 338 /** 339 * Display: <b>Flag</b><br> 340 * Code Value: <b>Flag</b> 341 * 342 * Prospective warnings of potential issues when providing care to the patient. 343 */ 344 FLAG("Flag", "http://hl7.org/fhir/resource-types"), 345 346 /** 347 * Display: <b>Goal</b><br> 348 * Code Value: <b>Goal</b> 349 * 350 * 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. 351 */ 352 GOAL("Goal", "http://hl7.org/fhir/resource-types"), 353 354 /** 355 * Display: <b>Group</b><br> 356 * Code Value: <b>Group</b> 357 * 358 * 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. 359 */ 360 GROUP("Group", "http://hl7.org/fhir/resource-types"), 361 362 /** 363 * Display: <b>HealthcareService</b><br> 364 * Code Value: <b>HealthcareService</b> 365 * 366 * The details of a healthcare service available at a location. 367 */ 368 HEALTHCARESERVICE("HealthcareService", "http://hl7.org/fhir/resource-types"), 369 370 /** 371 * Display: <b>ImagingObjectSelection</b><br> 372 * Code Value: <b>ImagingObjectSelection</b> 373 * 374 * A manifest of a set of DICOM Service-Object Pair Instances (SOP Instances). The referenced SOP Instances (images or other content) are for a single patient, and may be from one or more studies. The referenced SOP Instances have been selected for a purpose, such as quality assurance, conference, or consult. Reflecting that range of purposes, typical ImagingObjectSelection resources may include all SOP Instances in a study (perhaps for sharing through a Health Information Exchange); key images from multiple studies (for reference by a referring or treating physician); a multi-frame ultrasound instance ("cine" video clip) and a set of measurements taken from that instance (for inclusion in a teaching file); and so on. 375 */ 376 IMAGINGOBJECTSELECTION("ImagingObjectSelection", "http://hl7.org/fhir/resource-types"), 377 378 /** 379 * Display: <b>ImagingStudy</b><br> 380 * Code Value: <b>ImagingStudy</b> 381 * 382 * 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. 383 */ 384 IMAGINGSTUDY("ImagingStudy", "http://hl7.org/fhir/resource-types"), 385 386 /** 387 * Display: <b>Immunization</b><br> 388 * Code Value: <b>Immunization</b> 389 * 390 * Describes the event of a patient being administered a vaccination or a record of a vaccination as reported by a patient, a clinician or another party and may include vaccine reaction information and what vaccination protocol was followed. 391 */ 392 IMMUNIZATION("Immunization", "http://hl7.org/fhir/resource-types"), 393 394 /** 395 * Display: <b>ImmunizationRecommendation</b><br> 396 * Code Value: <b>ImmunizationRecommendation</b> 397 * 398 * A patient's point-in-time immunization and recommendation (i.e. forecasting a patient's immunization eligibility according to a published schedule) with optional supporting justification. 399 */ 400 IMMUNIZATIONRECOMMENDATION("ImmunizationRecommendation", "http://hl7.org/fhir/resource-types"), 401 402 /** 403 * Display: <b>ImplementationGuide</b><br> 404 * Code Value: <b>ImplementationGuide</b> 405 * 406 * A set of rules or how FHIR is used to solve a particular problem. 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. 407 */ 408 IMPLEMENTATIONGUIDE("ImplementationGuide", "http://hl7.org/fhir/resource-types"), 409 410 /** 411 * Display: <b>List</b><br> 412 * Code Value: <b>List</b> 413 * 414 * A set of information summarized from a list of other resources. 415 */ 416 LIST("List", "http://hl7.org/fhir/resource-types"), 417 418 /** 419 * Display: <b>Location</b><br> 420 * Code Value: <b>Location</b> 421 * 422 * Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. 423 */ 424 LOCATION("Location", "http://hl7.org/fhir/resource-types"), 425 426 /** 427 * Display: <b>Media</b><br> 428 * Code Value: <b>Media</b> 429 * 430 * A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. 431 */ 432 MEDIA("Media", "http://hl7.org/fhir/resource-types"), 433 434 /** 435 * Display: <b>Medication</b><br> 436 * Code Value: <b>Medication</b> 437 * 438 * This resource is primarily used for the identification and definition of a medication. It covers the ingredients and the packaging for a medication. 439 */ 440 MEDICATION("Medication", "http://hl7.org/fhir/resource-types"), 441 442 /** 443 * Display: <b>MedicationAdministration</b><br> 444 * Code Value: <b>MedicationAdministration</b> 445 * 446 * 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. 447 */ 448 MEDICATIONADMINISTRATION("MedicationAdministration", "http://hl7.org/fhir/resource-types"), 449 450 /** 451 * Display: <b>MedicationDispense</b><br> 452 * Code Value: <b>MedicationDispense</b> 453 * 454 * 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. 455 */ 456 MEDICATIONDISPENSE("MedicationDispense", "http://hl7.org/fhir/resource-types"), 457 458 /** 459 * Display: <b>MedicationOrder</b><br> 460 * Code Value: <b>MedicationOrder</b> 461 * 462 * An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient settings as well as for care plans, etc. 463 */ 464 MEDICATIONORDER("MedicationOrder", "http://hl7.org/fhir/resource-types"), 465 466 /** 467 * Display: <b>MedicationStatement</b><br> 468 * Code Value: <b>MedicationStatement</b> 469 * 470 * A record of a medication that is being consumed by a patient. A MedicationStatement 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 e.g. the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains The primary difference between a medication statement and a medication administration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medication statement 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 statement 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. 471 */ 472 MEDICATIONSTATEMENT("MedicationStatement", "http://hl7.org/fhir/resource-types"), 473 474 /** 475 * Display: <b>MessageHeader</b><br> 476 * Code Value: <b>MessageHeader</b> 477 * 478 * 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. 479 */ 480 MESSAGEHEADER("MessageHeader", "http://hl7.org/fhir/resource-types"), 481 482 /** 483 * Display: <b>NamingSystem</b><br> 484 * Code Value: <b>NamingSystem</b> 485 * 486 * 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. 487 */ 488 NAMINGSYSTEM("NamingSystem", "http://hl7.org/fhir/resource-types"), 489 490 /** 491 * Display: <b>NutritionOrder</b><br> 492 * Code Value: <b>NutritionOrder</b> 493 * 494 * A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. 495 */ 496 NUTRITIONORDER("NutritionOrder", "http://hl7.org/fhir/resource-types"), 497 498 /** 499 * Display: <b>Observation</b><br> 500 * Code Value: <b>Observation</b> 501 * 502 * Measurements and simple assertions made about a patient, device or other subject. 503 */ 504 OBSERVATION("Observation", "http://hl7.org/fhir/resource-types"), 505 506 /** 507 * Display: <b>OperationDefinition</b><br> 508 * Code Value: <b>OperationDefinition</b> 509 * 510 * A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). 511 */ 512 OPERATIONDEFINITION("OperationDefinition", "http://hl7.org/fhir/resource-types"), 513 514 /** 515 * Display: <b>OperationOutcome</b><br> 516 * Code Value: <b>OperationOutcome</b> 517 * 518 * A collection of error, warning or information messages that result from a system action. 519 */ 520 OPERATIONOUTCOME("OperationOutcome", "http://hl7.org/fhir/resource-types"), 521 522 /** 523 * Display: <b>Order</b><br> 524 * Code Value: <b>Order</b> 525 * 526 * A request to perform an action. 527 */ 528 ORDER("Order", "http://hl7.org/fhir/resource-types"), 529 530 /** 531 * Display: <b>OrderResponse</b><br> 532 * Code Value: <b>OrderResponse</b> 533 * 534 * A response to an order. 535 */ 536 ORDERRESPONSE("OrderResponse", "http://hl7.org/fhir/resource-types"), 537 538 /** 539 * Display: <b>Organization</b><br> 540 * Code Value: <b>Organization</b> 541 * 542 * 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, etc. 543 */ 544 ORGANIZATION("Organization", "http://hl7.org/fhir/resource-types"), 545 546 /** 547 * Display: <b>Parameters</b><br> 548 * Code Value: <b>Parameters</b> 549 * 550 * This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it. 551 */ 552 PARAMETERS("Parameters", "http://hl7.org/fhir/resource-types"), 553 554 /** 555 * Display: <b>Patient</b><br> 556 * Code Value: <b>Patient</b> 557 * 558 * Demographics and other administrative information about an individual or animal receiving care or other health-related services. 559 */ 560 PATIENT("Patient", "http://hl7.org/fhir/resource-types"), 561 562 /** 563 * Display: <b>PaymentNotice</b><br> 564 * Code Value: <b>PaymentNotice</b> 565 * 566 * This resource provides the status of the payment for goods and services rendered, and the request and response resource references. 567 */ 568 PAYMENTNOTICE("PaymentNotice", "http://hl7.org/fhir/resource-types"), 569 570 /** 571 * Display: <b>PaymentReconciliation</b><br> 572 * Code Value: <b>PaymentReconciliation</b> 573 * 574 * This resource provides payment details and claim references supporting a bulk payment. 575 */ 576 PAYMENTRECONCILIATION("PaymentReconciliation", "http://hl7.org/fhir/resource-types"), 577 578 /** 579 * Display: <b>Person</b><br> 580 * Code Value: <b>Person</b> 581 * 582 * Demographics and administrative information about a person independent of a specific health-related context. 583 */ 584 PERSON("Person", "http://hl7.org/fhir/resource-types"), 585 586 /** 587 * Display: <b>Practitioner</b><br> 588 * Code Value: <b>Practitioner</b> 589 * 590 * A person who is directly or indirectly involved in the provisioning of healthcare. 591 */ 592 PRACTITIONER("Practitioner", "http://hl7.org/fhir/resource-types"), 593 594 /** 595 * Display: <b>Procedure</b><br> 596 * Code Value: <b>Procedure</b> 597 * 598 * An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy. 599 */ 600 PROCEDURE("Procedure", "http://hl7.org/fhir/resource-types"), 601 602 /** 603 * Display: <b>ProcedureRequest</b><br> 604 * Code Value: <b>ProcedureRequest</b> 605 * 606 * A request for a procedure to be performed. May be a proposal or an order. 607 */ 608 PROCEDUREREQUEST("ProcedureRequest", "http://hl7.org/fhir/resource-types"), 609 610 /** 611 * Display: <b>ProcessRequest</b><br> 612 * Code Value: <b>ProcessRequest</b> 613 * 614 * This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. 615 */ 616 PROCESSREQUEST("ProcessRequest", "http://hl7.org/fhir/resource-types"), 617 618 /** 619 * Display: <b>ProcessResponse</b><br> 620 * Code Value: <b>ProcessResponse</b> 621 * 622 * This resource provides processing status, errors and notes from the processing of a resource. 623 */ 624 PROCESSRESPONSE("ProcessResponse", "http://hl7.org/fhir/resource-types"), 625 626 /** 627 * Display: <b>Provenance</b><br> 628 * Code Value: <b>Provenance</b> 629 * 630 * 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. 631 */ 632 PROVENANCE("Provenance", "http://hl7.org/fhir/resource-types"), 633 634 /** 635 * Display: <b>Questionnaire</b><br> 636 * Code Value: <b>Questionnaire</b> 637 * 638 * A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. 639 */ 640 QUESTIONNAIRE("Questionnaire", "http://hl7.org/fhir/resource-types"), 641 642 /** 643 * Display: <b>QuestionnaireResponse</b><br> 644 * Code Value: <b>QuestionnaireResponse</b> 645 * 646 * 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 underlying questions. 647 */ 648 QUESTIONNAIRERESPONSE("QuestionnaireResponse", "http://hl7.org/fhir/resource-types"), 649 650 /** 651 * Display: <b>ReferralRequest</b><br> 652 * Code Value: <b>ReferralRequest</b> 653 * 654 * Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organization. 655 */ 656 REFERRALREQUEST("ReferralRequest", "http://hl7.org/fhir/resource-types"), 657 658 /** 659 * Display: <b>RelatedPerson</b><br> 660 * Code Value: <b>RelatedPerson</b> 661 * 662 * 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. 663 */ 664 RELATEDPERSON("RelatedPerson", "http://hl7.org/fhir/resource-types"), 665 666 /** 667 * Display: <b>Resource</b><br> 668 * Code Value: <b>Resource</b> 669 * 670 * --- Abstract Type! ---This is the base resource type for everything. 671 */ 672 RESOURCE("Resource", "http://hl7.org/fhir/resource-types"), 673 674 /** 675 * Display: <b>RiskAssessment</b><br> 676 * Code Value: <b>RiskAssessment</b> 677 * 678 * An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. 679 */ 680 RISKASSESSMENT("RiskAssessment", "http://hl7.org/fhir/resource-types"), 681 682 /** 683 * Display: <b>Schedule</b><br> 684 * Code Value: <b>Schedule</b> 685 * 686 * A container for slot(s) of time that may be available for booking appointments. 687 */ 688 SCHEDULE("Schedule", "http://hl7.org/fhir/resource-types"), 689 690 /** 691 * Display: <b>SearchParameter</b><br> 692 * Code Value: <b>SearchParameter</b> 693 * 694 * A search parameter that defines a named search item that can be used to search/filter on a resource. 695 */ 696 SEARCHPARAMETER("SearchParameter", "http://hl7.org/fhir/resource-types"), 697 698 /** 699 * Display: <b>Slot</b><br> 700 * Code Value: <b>Slot</b> 701 * 702 * A slot of time on a schedule that may be available for booking appointments. 703 */ 704 SLOT("Slot", "http://hl7.org/fhir/resource-types"), 705 706 /** 707 * Display: <b>Specimen</b><br> 708 * Code Value: <b>Specimen</b> 709 * 710 * A sample to be used for analysis. 711 */ 712 SPECIMEN("Specimen", "http://hl7.org/fhir/resource-types"), 713 714 /** 715 * Display: <b>StructureDefinition</b><br> 716 * Code Value: <b>StructureDefinition</b> 717 * 718 * 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. 719 */ 720 STRUCTUREDEFINITION("StructureDefinition", "http://hl7.org/fhir/resource-types"), 721 722 /** 723 * Display: <b>Subscription</b><br> 724 * Code Value: <b>Subscription</b> 725 * 726 * The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. 727 */ 728 SUBSCRIPTION("Subscription", "http://hl7.org/fhir/resource-types"), 729 730 /** 731 * Display: <b>Substance</b><br> 732 * Code Value: <b>Substance</b> 733 * 734 * A homogeneous material with a definite composition. 735 */ 736 SUBSTANCE("Substance", "http://hl7.org/fhir/resource-types"), 737 738 /** 739 * Display: <b>SupplyDelivery</b><br> 740 * Code Value: <b>SupplyDelivery</b> 741 * 742 * Record of delivery of what is supplied. 743 */ 744 SUPPLYDELIVERY("SupplyDelivery", "http://hl7.org/fhir/resource-types"), 745 746 /** 747 * Display: <b>SupplyRequest</b><br> 748 * Code Value: <b>SupplyRequest</b> 749 * 750 * A record of a request for a medication, substance or device used in the healthcare setting. 751 */ 752 SUPPLYREQUEST("SupplyRequest", "http://hl7.org/fhir/resource-types"), 753 754 /** 755 * Display: <b>TestScript</b><br> 756 * Code Value: <b>TestScript</b> 757 * 758 * TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification. 759 */ 760 TESTSCRIPT("TestScript", "http://hl7.org/fhir/resource-types"), 761 762 /** 763 * Display: <b>ValueSet</b><br> 764 * Code Value: <b>ValueSet</b> 765 * 766 * A value set specifies a set of codes drawn from one or more code systems. 767 */ 768 VALUESET("ValueSet", "http://hl7.org/fhir/resource-types"), 769 770 /** 771 * Display: <b>VisionPrescription</b><br> 772 * Code Value: <b>VisionPrescription</b> 773 * 774 * An authorization for the supply of glasses and/or contact lenses to a patient. 775 */ 776 VISIONPRESCRIPTION("VisionPrescription", "http://hl7.org/fhir/resource-types"), 777 778 ; 779 780 /** 781 * Identifier for this Value Set: 782 * 783 */ 784 public static final String VALUESET_IDENTIFIER = ""; 785 786 /** 787 * Name for this Value Set: 788 * ResourceType 789 */ 790 public static final String VALUESET_NAME = "ResourceType"; 791 792 private static Map<String, ResourceTypeEnum> CODE_TO_ENUM = new HashMap<String, ResourceTypeEnum>(); 793 private static Map<String, Map<String, ResourceTypeEnum>> SYSTEM_TO_CODE_TO_ENUM = new HashMap<String, Map<String, ResourceTypeEnum>>(); 794 795 private final String myCode; 796 private final String mySystem; 797 798 static { 799 for (ResourceTypeEnum next : ResourceTypeEnum.values()) { 800 CODE_TO_ENUM.put(next.getCode(), next); 801 802 if (!SYSTEM_TO_CODE_TO_ENUM.containsKey(next.getSystem())) { 803 SYSTEM_TO_CODE_TO_ENUM.put(next.getSystem(), new HashMap<String, ResourceTypeEnum>()); 804 } 805 SYSTEM_TO_CODE_TO_ENUM.get(next.getSystem()).put(next.getCode(), next); 806 } 807 } 808 809 /** 810 * Returns the code associated with this enumerated value 811 */ 812 public String getCode() { 813 return myCode; 814 } 815 816 /** 817 * Returns the code system associated with this enumerated value 818 */ 819 public String getSystem() { 820 return mySystem; 821 } 822 823 /** 824 * Returns the enumerated value associated with this code 825 */ 826 public static ResourceTypeEnum forCode(String theCode) { 827 ResourceTypeEnum retVal = CODE_TO_ENUM.get(theCode); 828 return retVal; 829 } 830 831 /** 832 * Converts codes to their respective enumerated values 833 */ 834 public static final IValueSetEnumBinder<ResourceTypeEnum> VALUESET_BINDER = new IValueSetEnumBinder<ResourceTypeEnum>() { 835 @Override 836 public String toCodeString(ResourceTypeEnum theEnum) { 837 return theEnum.getCode(); 838 } 839 840 @Override 841 public String toSystemString(ResourceTypeEnum theEnum) { 842 return theEnum.getSystem(); 843 } 844 845 @Override 846 public ResourceTypeEnum fromCodeString(String theCodeString) { 847 return CODE_TO_ENUM.get(theCodeString); 848 } 849 850 @Override 851 public ResourceTypeEnum fromCodeString(String theCodeString, String theSystemString) { 852 Map<String, ResourceTypeEnum> map = SYSTEM_TO_CODE_TO_ENUM.get(theSystemString); 853 if (map == null) { 854 return null; 855 } 856 return map.get(theCodeString); 857 } 858 859 }; 860 861 /** 862 * Constructor 863 */ 864 ResourceTypeEnum(String theCode, String theSystem) { 865 myCode = theCode; 866 mySystem = theSystem; 867 } 868 869 870}