
org.hl7.fhir.r4b.model.TestScript Maven / Gradle / Ivy
The newest version!
package org.hl7.fhir.r4b.model;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, \
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this \
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, \
this list of conditions and the following disclaimer in the documentation \
and/or other materials provided with the distribution.
* Neither the name of HL7 nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Mon, Jun 13, 2022 17:19+0300 for FHIR v4.3.0
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.r4b.model.Enumerations.*;
import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.instance.model.api.ICompositeType;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block;
/**
* A structured set of tests against a FHIR server or client implementation to
* determine compliance against the FHIR specification.
*/
@ResourceDef(name = "TestScript", profile = "http://hl7.org/fhir/StructureDefinition/TestScript")
public class TestScript extends CanonicalResource {
public enum AssertionDirectionType {
/**
* The assertion is evaluated on the response. This is the default value.
*/
RESPONSE,
/**
* The assertion is evaluated on the request.
*/
REQUEST,
/**
* added to help the parsers with the generic types
*/
NULL;
public static AssertionDirectionType fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("response".equals(codeString))
return RESPONSE;
if ("request".equals(codeString))
return REQUEST;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown AssertionDirectionType code '" + codeString + "'");
}
public String toCode() {
switch (this) {
case RESPONSE:
return "response";
case REQUEST:
return "request";
case NULL:
return null;
default:
return "?";
}
}
public String getSystem() {
switch (this) {
case RESPONSE:
return "http://hl7.org/fhir/assert-direction-codes";
case REQUEST:
return "http://hl7.org/fhir/assert-direction-codes";
case NULL:
return null;
default:
return "?";
}
}
public String getDefinition() {
switch (this) {
case RESPONSE:
return "The assertion is evaluated on the response. This is the default value.";
case REQUEST:
return "The assertion is evaluated on the request.";
case NULL:
return null;
default:
return "?";
}
}
public String getDisplay() {
switch (this) {
case RESPONSE:
return "response";
case REQUEST:
return "request";
case NULL:
return null;
default:
return "?";
}
}
}
public static class AssertionDirectionTypeEnumFactory implements EnumFactory {
public AssertionDirectionType fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("response".equals(codeString))
return AssertionDirectionType.RESPONSE;
if ("request".equals(codeString))
return AssertionDirectionType.REQUEST;
throw new IllegalArgumentException("Unknown AssertionDirectionType code '" + codeString + "'");
}
public Enumeration fromType(PrimitiveType> code) throws FHIRException {
if (code == null)
return null;
if (code.isEmpty())
return new Enumeration(this, AssertionDirectionType.NULL, code);
String codeString = code.asStringValue();
if (codeString == null || "".equals(codeString))
return new Enumeration(this, AssertionDirectionType.NULL, code);
if ("response".equals(codeString))
return new Enumeration(this, AssertionDirectionType.RESPONSE, code);
if ("request".equals(codeString))
return new Enumeration(this, AssertionDirectionType.REQUEST, code);
throw new FHIRException("Unknown AssertionDirectionType code '" + codeString + "'");
}
public String toCode(AssertionDirectionType code) {
if (code == AssertionDirectionType.NULL)
return null;
if (code == AssertionDirectionType.RESPONSE)
return "response";
if (code == AssertionDirectionType.REQUEST)
return "request";
return "?";
}
public String toSystem(AssertionDirectionType code) {
return code.getSystem();
}
}
public enum AssertionOperatorType {
/**
* Default value. Equals comparison.
*/
EQUALS,
/**
* Not equals comparison.
*/
NOTEQUALS,
/**
* Compare value within a known set of values.
*/
IN,
/**
* Compare value not within a known set of values.
*/
NOTIN,
/**
* Compare value to be greater than a known value.
*/
GREATERTHAN,
/**
* Compare value to be less than a known value.
*/
LESSTHAN,
/**
* Compare value is empty.
*/
EMPTY,
/**
* Compare value is not empty.
*/
NOTEMPTY,
/**
* Compare value string contains a known value.
*/
CONTAINS,
/**
* Compare value string does not contain a known value.
*/
NOTCONTAINS,
/**
* Evaluate the FHIRPath expression as a boolean condition.
*/
EVAL,
/**
* added to help the parsers with the generic types
*/
NULL;
public static AssertionOperatorType fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("equals".equals(codeString))
return EQUALS;
if ("notEquals".equals(codeString))
return NOTEQUALS;
if ("in".equals(codeString))
return IN;
if ("notIn".equals(codeString))
return NOTIN;
if ("greaterThan".equals(codeString))
return GREATERTHAN;
if ("lessThan".equals(codeString))
return LESSTHAN;
if ("empty".equals(codeString))
return EMPTY;
if ("notEmpty".equals(codeString))
return NOTEMPTY;
if ("contains".equals(codeString))
return CONTAINS;
if ("notContains".equals(codeString))
return NOTCONTAINS;
if ("eval".equals(codeString))
return EVAL;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown AssertionOperatorType code '" + codeString + "'");
}
public String toCode() {
switch (this) {
case EQUALS:
return "equals";
case NOTEQUALS:
return "notEquals";
case IN:
return "in";
case NOTIN:
return "notIn";
case GREATERTHAN:
return "greaterThan";
case LESSTHAN:
return "lessThan";
case EMPTY:
return "empty";
case NOTEMPTY:
return "notEmpty";
case CONTAINS:
return "contains";
case NOTCONTAINS:
return "notContains";
case EVAL:
return "eval";
case NULL:
return null;
default:
return "?";
}
}
public String getSystem() {
switch (this) {
case EQUALS:
return "http://hl7.org/fhir/assert-operator-codes";
case NOTEQUALS:
return "http://hl7.org/fhir/assert-operator-codes";
case IN:
return "http://hl7.org/fhir/assert-operator-codes";
case NOTIN:
return "http://hl7.org/fhir/assert-operator-codes";
case GREATERTHAN:
return "http://hl7.org/fhir/assert-operator-codes";
case LESSTHAN:
return "http://hl7.org/fhir/assert-operator-codes";
case EMPTY:
return "http://hl7.org/fhir/assert-operator-codes";
case NOTEMPTY:
return "http://hl7.org/fhir/assert-operator-codes";
case CONTAINS:
return "http://hl7.org/fhir/assert-operator-codes";
case NOTCONTAINS:
return "http://hl7.org/fhir/assert-operator-codes";
case EVAL:
return "http://hl7.org/fhir/assert-operator-codes";
case NULL:
return null;
default:
return "?";
}
}
public String getDefinition() {
switch (this) {
case EQUALS:
return "Default value. Equals comparison.";
case NOTEQUALS:
return "Not equals comparison.";
case IN:
return "Compare value within a known set of values.";
case NOTIN:
return "Compare value not within a known set of values.";
case GREATERTHAN:
return "Compare value to be greater than a known value.";
case LESSTHAN:
return "Compare value to be less than a known value.";
case EMPTY:
return "Compare value is empty.";
case NOTEMPTY:
return "Compare value is not empty.";
case CONTAINS:
return "Compare value string contains a known value.";
case NOTCONTAINS:
return "Compare value string does not contain a known value.";
case EVAL:
return "Evaluate the FHIRPath expression as a boolean condition.";
case NULL:
return null;
default:
return "?";
}
}
public String getDisplay() {
switch (this) {
case EQUALS:
return "equals";
case NOTEQUALS:
return "notEquals";
case IN:
return "in";
case NOTIN:
return "notIn";
case GREATERTHAN:
return "greaterThan";
case LESSTHAN:
return "lessThan";
case EMPTY:
return "empty";
case NOTEMPTY:
return "notEmpty";
case CONTAINS:
return "contains";
case NOTCONTAINS:
return "notContains";
case EVAL:
return "evaluate";
case NULL:
return null;
default:
return "?";
}
}
}
public static class AssertionOperatorTypeEnumFactory implements EnumFactory {
public AssertionOperatorType fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("equals".equals(codeString))
return AssertionOperatorType.EQUALS;
if ("notEquals".equals(codeString))
return AssertionOperatorType.NOTEQUALS;
if ("in".equals(codeString))
return AssertionOperatorType.IN;
if ("notIn".equals(codeString))
return AssertionOperatorType.NOTIN;
if ("greaterThan".equals(codeString))
return AssertionOperatorType.GREATERTHAN;
if ("lessThan".equals(codeString))
return AssertionOperatorType.LESSTHAN;
if ("empty".equals(codeString))
return AssertionOperatorType.EMPTY;
if ("notEmpty".equals(codeString))
return AssertionOperatorType.NOTEMPTY;
if ("contains".equals(codeString))
return AssertionOperatorType.CONTAINS;
if ("notContains".equals(codeString))
return AssertionOperatorType.NOTCONTAINS;
if ("eval".equals(codeString))
return AssertionOperatorType.EVAL;
throw new IllegalArgumentException("Unknown AssertionOperatorType code '" + codeString + "'");
}
public Enumeration fromType(PrimitiveType> code) throws FHIRException {
if (code == null)
return null;
if (code.isEmpty())
return new Enumeration(this, AssertionOperatorType.NULL, code);
String codeString = code.asStringValue();
if (codeString == null || "".equals(codeString))
return new Enumeration(this, AssertionOperatorType.NULL, code);
if ("equals".equals(codeString))
return new Enumeration(this, AssertionOperatorType.EQUALS, code);
if ("notEquals".equals(codeString))
return new Enumeration(this, AssertionOperatorType.NOTEQUALS, code);
if ("in".equals(codeString))
return new Enumeration(this, AssertionOperatorType.IN, code);
if ("notIn".equals(codeString))
return new Enumeration(this, AssertionOperatorType.NOTIN, code);
if ("greaterThan".equals(codeString))
return new Enumeration(this, AssertionOperatorType.GREATERTHAN, code);
if ("lessThan".equals(codeString))
return new Enumeration(this, AssertionOperatorType.LESSTHAN, code);
if ("empty".equals(codeString))
return new Enumeration(this, AssertionOperatorType.EMPTY, code);
if ("notEmpty".equals(codeString))
return new Enumeration(this, AssertionOperatorType.NOTEMPTY, code);
if ("contains".equals(codeString))
return new Enumeration(this, AssertionOperatorType.CONTAINS, code);
if ("notContains".equals(codeString))
return new Enumeration(this, AssertionOperatorType.NOTCONTAINS, code);
if ("eval".equals(codeString))
return new Enumeration(this, AssertionOperatorType.EVAL, code);
throw new FHIRException("Unknown AssertionOperatorType code '" + codeString + "'");
}
public String toCode(AssertionOperatorType code) {
if (code == AssertionOperatorType.NULL)
return null;
if (code == AssertionOperatorType.EQUALS)
return "equals";
if (code == AssertionOperatorType.NOTEQUALS)
return "notEquals";
if (code == AssertionOperatorType.IN)
return "in";
if (code == AssertionOperatorType.NOTIN)
return "notIn";
if (code == AssertionOperatorType.GREATERTHAN)
return "greaterThan";
if (code == AssertionOperatorType.LESSTHAN)
return "lessThan";
if (code == AssertionOperatorType.EMPTY)
return "empty";
if (code == AssertionOperatorType.NOTEMPTY)
return "notEmpty";
if (code == AssertionOperatorType.CONTAINS)
return "contains";
if (code == AssertionOperatorType.NOTCONTAINS)
return "notContains";
if (code == AssertionOperatorType.EVAL)
return "eval";
return "?";
}
public String toSystem(AssertionOperatorType code) {
return code.getSystem();
}
}
public enum AssertionResponseTypes {
/**
* Response code is 200.
*/
OKAY,
/**
* Response code is 201.
*/
CREATED,
/**
* Response code is 204.
*/
NOCONTENT,
/**
* Response code is 304.
*/
NOTMODIFIED,
/**
* Response code is 400.
*/
BAD,
/**
* Response code is 403.
*/
FORBIDDEN,
/**
* Response code is 404.
*/
NOTFOUND,
/**
* Response code is 405.
*/
METHODNOTALLOWED,
/**
* Response code is 409.
*/
CONFLICT,
/**
* Response code is 410.
*/
GONE,
/**
* Response code is 412.
*/
PRECONDITIONFAILED,
/**
* Response code is 422.
*/
UNPROCESSABLE,
/**
* added to help the parsers with the generic types
*/
NULL;
public static AssertionResponseTypes fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("okay".equals(codeString))
return OKAY;
if ("created".equals(codeString))
return CREATED;
if ("noContent".equals(codeString))
return NOCONTENT;
if ("notModified".equals(codeString))
return NOTMODIFIED;
if ("bad".equals(codeString))
return BAD;
if ("forbidden".equals(codeString))
return FORBIDDEN;
if ("notFound".equals(codeString))
return NOTFOUND;
if ("methodNotAllowed".equals(codeString))
return METHODNOTALLOWED;
if ("conflict".equals(codeString))
return CONFLICT;
if ("gone".equals(codeString))
return GONE;
if ("preconditionFailed".equals(codeString))
return PRECONDITIONFAILED;
if ("unprocessable".equals(codeString))
return UNPROCESSABLE;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown AssertionResponseTypes code '" + codeString + "'");
}
public String toCode() {
switch (this) {
case OKAY:
return "okay";
case CREATED:
return "created";
case NOCONTENT:
return "noContent";
case NOTMODIFIED:
return "notModified";
case BAD:
return "bad";
case FORBIDDEN:
return "forbidden";
case NOTFOUND:
return "notFound";
case METHODNOTALLOWED:
return "methodNotAllowed";
case CONFLICT:
return "conflict";
case GONE:
return "gone";
case PRECONDITIONFAILED:
return "preconditionFailed";
case UNPROCESSABLE:
return "unprocessable";
case NULL:
return null;
default:
return "?";
}
}
public String getSystem() {
switch (this) {
case OKAY:
return "http://hl7.org/fhir/assert-response-code-types";
case CREATED:
return "http://hl7.org/fhir/assert-response-code-types";
case NOCONTENT:
return "http://hl7.org/fhir/assert-response-code-types";
case NOTMODIFIED:
return "http://hl7.org/fhir/assert-response-code-types";
case BAD:
return "http://hl7.org/fhir/assert-response-code-types";
case FORBIDDEN:
return "http://hl7.org/fhir/assert-response-code-types";
case NOTFOUND:
return "http://hl7.org/fhir/assert-response-code-types";
case METHODNOTALLOWED:
return "http://hl7.org/fhir/assert-response-code-types";
case CONFLICT:
return "http://hl7.org/fhir/assert-response-code-types";
case GONE:
return "http://hl7.org/fhir/assert-response-code-types";
case PRECONDITIONFAILED:
return "http://hl7.org/fhir/assert-response-code-types";
case UNPROCESSABLE:
return "http://hl7.org/fhir/assert-response-code-types";
case NULL:
return null;
default:
return "?";
}
}
public String getDefinition() {
switch (this) {
case OKAY:
return "Response code is 200.";
case CREATED:
return "Response code is 201.";
case NOCONTENT:
return "Response code is 204.";
case NOTMODIFIED:
return "Response code is 304.";
case BAD:
return "Response code is 400.";
case FORBIDDEN:
return "Response code is 403.";
case NOTFOUND:
return "Response code is 404.";
case METHODNOTALLOWED:
return "Response code is 405.";
case CONFLICT:
return "Response code is 409.";
case GONE:
return "Response code is 410.";
case PRECONDITIONFAILED:
return "Response code is 412.";
case UNPROCESSABLE:
return "Response code is 422.";
case NULL:
return null;
default:
return "?";
}
}
public String getDisplay() {
switch (this) {
case OKAY:
return "okay";
case CREATED:
return "created";
case NOCONTENT:
return "noContent";
case NOTMODIFIED:
return "notModified";
case BAD:
return "bad";
case FORBIDDEN:
return "forbidden";
case NOTFOUND:
return "notFound";
case METHODNOTALLOWED:
return "methodNotAllowed";
case CONFLICT:
return "conflict";
case GONE:
return "gone";
case PRECONDITIONFAILED:
return "preconditionFailed";
case UNPROCESSABLE:
return "unprocessable";
case NULL:
return null;
default:
return "?";
}
}
}
public static class AssertionResponseTypesEnumFactory implements EnumFactory {
public AssertionResponseTypes fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("okay".equals(codeString))
return AssertionResponseTypes.OKAY;
if ("created".equals(codeString))
return AssertionResponseTypes.CREATED;
if ("noContent".equals(codeString))
return AssertionResponseTypes.NOCONTENT;
if ("notModified".equals(codeString))
return AssertionResponseTypes.NOTMODIFIED;
if ("bad".equals(codeString))
return AssertionResponseTypes.BAD;
if ("forbidden".equals(codeString))
return AssertionResponseTypes.FORBIDDEN;
if ("notFound".equals(codeString))
return AssertionResponseTypes.NOTFOUND;
if ("methodNotAllowed".equals(codeString))
return AssertionResponseTypes.METHODNOTALLOWED;
if ("conflict".equals(codeString))
return AssertionResponseTypes.CONFLICT;
if ("gone".equals(codeString))
return AssertionResponseTypes.GONE;
if ("preconditionFailed".equals(codeString))
return AssertionResponseTypes.PRECONDITIONFAILED;
if ("unprocessable".equals(codeString))
return AssertionResponseTypes.UNPROCESSABLE;
throw new IllegalArgumentException("Unknown AssertionResponseTypes code '" + codeString + "'");
}
public Enumeration fromType(PrimitiveType> code) throws FHIRException {
if (code == null)
return null;
if (code.isEmpty())
return new Enumeration(this, AssertionResponseTypes.NULL, code);
String codeString = code.asStringValue();
if (codeString == null || "".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.NULL, code);
if ("okay".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.OKAY, code);
if ("created".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.CREATED, code);
if ("noContent".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.NOCONTENT, code);
if ("notModified".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.NOTMODIFIED, code);
if ("bad".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.BAD, code);
if ("forbidden".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.FORBIDDEN, code);
if ("notFound".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.NOTFOUND, code);
if ("methodNotAllowed".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.METHODNOTALLOWED, code);
if ("conflict".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.CONFLICT, code);
if ("gone".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.GONE, code);
if ("preconditionFailed".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.PRECONDITIONFAILED, code);
if ("unprocessable".equals(codeString))
return new Enumeration(this, AssertionResponseTypes.UNPROCESSABLE, code);
throw new FHIRException("Unknown AssertionResponseTypes code '" + codeString + "'");
}
public String toCode(AssertionResponseTypes code) {
if (code == AssertionResponseTypes.NULL)
return null;
if (code == AssertionResponseTypes.OKAY)
return "okay";
if (code == AssertionResponseTypes.CREATED)
return "created";
if (code == AssertionResponseTypes.NOCONTENT)
return "noContent";
if (code == AssertionResponseTypes.NOTMODIFIED)
return "notModified";
if (code == AssertionResponseTypes.BAD)
return "bad";
if (code == AssertionResponseTypes.FORBIDDEN)
return "forbidden";
if (code == AssertionResponseTypes.NOTFOUND)
return "notFound";
if (code == AssertionResponseTypes.METHODNOTALLOWED)
return "methodNotAllowed";
if (code == AssertionResponseTypes.CONFLICT)
return "conflict";
if (code == AssertionResponseTypes.GONE)
return "gone";
if (code == AssertionResponseTypes.PRECONDITIONFAILED)
return "preconditionFailed";
if (code == AssertionResponseTypes.UNPROCESSABLE)
return "unprocessable";
return "?";
}
public String toSystem(AssertionResponseTypes code) {
return code.getSystem();
}
}
public enum FHIRDefinedType {
/**
* An address expressed using postal conventions (as opposed to GPS or other
* location definition formats). This data type may be used to convey addresses
* for use in delivering mail as well as for visiting locations which might not
* be valid for mail delivery. There are a variety of postal address formats
* defined around the world.
*/
ADDRESS,
/**
* A duration of time during which an organism (or a process) has existed.
*/
AGE,
/**
* A text note which also contains information about who made the statement and
* when.
*/
ANNOTATION,
/**
* For referring to data content defined in other formats.
*/
ATTACHMENT,
/**
* Base definition for all elements that are defined inside a resource - but not
* those in a data type.
*/
BACKBONEELEMENT,
/**
* A concept that may be defined by a formal reference to a terminology or
* ontology or may be provided by text.
*/
CODEABLECONCEPT,
/**
* A reference to a resource (by instance), or instead, a reference to a cencept
* defined in a terminology or ontology (by class).
*/
CODEABLEREFERENCE,
/**
* A reference to a code defined by a terminology system.
*/
CODING,
/**
* Specifies contact information for a person or organization.
*/
CONTACTDETAIL,
/**
* Details for all kinds of technology mediated contact points for a person or
* organization, including telephone, email, etc.
*/
CONTACTPOINT,
/**
* A contributor to the content of a knowledge asset, including authors,
* editors, reviewers, and endorsers.
*/
CONTRIBUTOR,
/**
* A measured amount (or an amount that can potentially be measured). Note that
* measured amounts include amounts that are not precisely quantified, including
* amounts involving arbitrary units and floating currencies.
*/
COUNT,
/**
* Describes a required data item for evaluation in terms of the type of data,
* and optional code or date-based filters of the data.
*/
DATAREQUIREMENT,
/**
* The base class for all re-useable types defined as part of the FHIR
* Specification.
*/
DATATYPE,
/**
* A length - a value with a unit that is a physical distance.
*/
DISTANCE,
/**
* Indicates how the medication is/was taken or should be taken by the patient.
*/
DOSAGE,
/**
* A length of time.
*/
DURATION,
/**
* Base definition for all elements in a resource.
*/
ELEMENT,
/**
* Captures constraints on each element within the resource, profile, or
* extension.
*/
ELEMENTDEFINITION,
/**
* A expression that is evaluated in a specified context and returns a value.
* The context of use of the expression must specify the context in which the
* expression is evaluated, and how the result of the expression is used.
*/
EXPRESSION,
/**
* Optional Extension Element - found in all resources.
*/
EXTENSION,
/**
* A human's name with the ability to identify parts and usage.
*/
HUMANNAME,
/**
* An identifier - identifies some entity uniquely and unambiguously. Typically
* this is used for business identifiers.
*/
IDENTIFIER,
/**
* The marketing status describes the date when a medicinal product is actually
* put on the market or the date as of which it is no longer available.
*/
MARKETINGSTATUS,
/**
* The metadata about a resource. This is content in the resource that is
* maintained by the infrastructure. Changes to the content might not always be
* associated with version changes to the resource.
*/
META,
/**
* An amount of economic utility in some recognized currency.
*/
MONEY,
/**
*
*/
MONEYQUANTITY,
/**
* A human-readable summary of the resource conveying the essential clinical and
* business information for the resource.
*/
NARRATIVE,
/**
* The parameters to the module. This collection specifies both the input and
* output parameters. Input parameters are provided by the caller as part of the
* $evaluate operation. Output parameters are included in the GuidanceResponse.
*/
PARAMETERDEFINITION,
/**
* A time period defined by a start and end date and optionally time.
*/
PERIOD,
/**
* A populatioof people with some set of grouping criteria.
*/
POPULATION,
/**
* The marketing status describes the date when a medicinal product is actually
* put on the market or the date as of which it is no longer available.
*/
PRODCHARACTERISTIC,
/**
* The shelf-life and storage information for a medicinal product item or
* container can be described using this class.
*/
PRODUCTSHELFLIFE,
/**
* A measured amount (or an amount that can potentially be measured). Note that
* measured amounts include amounts that are not precisely quantified, including
* amounts involving arbitrary units and floating currencies.
*/
QUANTITY,
/**
* A set of ordered Quantities defined by a low and high limit.
*/
RANGE,
/**
* A relationship of two Quantity values - expressed as a numerator and a
* denominator.
*/
RATIO,
/**
* A range of ratios expressed as a low and high numerator and a denominator.
*/
RATIORANGE,
/**
* A reference from one resource to another.
*/
REFERENCE,
/**
* Related artifacts such as additional documentation, justification, or
* bibliographic references.
*/
RELATEDARTIFACT,
/**
* A series of measurements taken by a device, with upper and lower limits.
* There may be more than one dimension in the data.
*/
SAMPLEDDATA,
/**
* A signature along with supporting context. The signature may be a digital
* signature that is cryptographic in nature, or some other signature acceptable
* to the domain. This other signature may be as simple as a graphical image
* representing a hand-written signature, or a signature ceremony Different
* signature approaches have different utilities.
*/
SIGNATURE,
/**
*
*/
SIMPLEQUANTITY,
/**
* Specifies an event that may occur multiple times. Timing schedules are used
* to record when things are planned, expected or requested to occur. The most
* common usage is in dosage instructions for medications. They are also used
* when planning care of various kinds, and may be used for reporting the
* schedule to which past regular activities were carried out.
*/
TIMING,
/**
* A description of a triggering event. Triggering events can be named events,
* data events, or periodic, as determined by the type element.
*/
TRIGGERDEFINITION,
/**
* Specifies clinical/business/etc. metadata that can be used to retrieve, index
* and/or categorize an artifact. This metadata can either be specific to the
* applicable population (e.g., age category, DRG) or the specific context of
* care (e.g., venue, care setting, provider of care).
*/
USAGECONTEXT,
/**
* A stream of bytes
*/
BASE64BINARY,
/**
* Value of \"true\" or \"false\"
*/
BOOLEAN,
/**
* A URI that is a reference to a canonical URL on a FHIR resource
*/
CANONICAL,
/**
* A string which has at least one character and no leading or trailing
* whitespace and where there is no whitespace other than single spaces in the
* contents
*/
CODE,
/**
* A date or partial date (e.g. just year or year + month). There is no time
* zone. The format is a union of the schema types gYear, gYearMonth and date.
* Dates SHALL be valid dates.
*/
DATE,
/**
* A date, date-time or partial date (e.g. just year or year + month). If hours
* and minutes are specified, a time zone SHALL be populated. The format is a
* union of the schema types gYear, gYearMonth, date and dateTime. Seconds must
* be provided due to schema type constraints but may be zero-filled and may be
* ignored. Dates SHALL be valid dates.
*/
DATETIME,
/**
* A rational number with implicit precision
*/
DECIMAL,
/**
* Any combination of letters, numerals, \"-\" and \".\", with a length limit of
* 64 characters. (This might be an integer, an unprefixed OID, UUID or any
* other identifier pattern that meets these constraints.) Ids are
* case-insensitive.
*/
ID,
/**
* An instant in time - known at least to the second
*/
INSTANT,
/**
* A whole number
*/
INTEGER,
/**
* A string that may contain Github Flavored Markdown syntax for optional
* processing by a mark down presentation engine
*/
MARKDOWN,
/**
* An OID represented as a URI
*/
OID,
/**
* An integer with a value that is positive (e.g. >0)
*/
POSITIVEINT,
/**
* A sequence of Unicode characters
*/
STRING,
/**
* A time during the day, with no date specified
*/
TIME,
/**
* An integer with a value that is not negative (e.g. >= 0)
*/
UNSIGNEDINT,
/**
* String of characters used to identify a name or a resource
*/
URI,
/**
* A URI that is a literal reference
*/
URL,
/**
* A UUID, represented as a URI
*/
UUID,
/**
* XHTML format, as defined by W3C, but restricted usage (mainly, no active
* content)
*/
XHTML,
/**
* --- Abstract Type! ---This is the base resource type for everything.
*/
RESOURCE,
/**
* 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.
*/
BINARY,
/**
* A container for a collection of resources.
*/
BUNDLE,
/**
* --- Abstract Type! ---A resource that includes narrative, extensions, and
* contained resources.
*/
DOMAINRESOURCE,
/**
* 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.
*/
ACCOUNT,
/**
* This resource allows for the definition of some activity to be performed,
* independent of a particular patient, practitioner, or other performance
* context.
*/
ACTIVITYDEFINITION,
/**
* A medicinal product in the final form which is suitable for administering to
* a patient (after any mixing of multiple components, dissolution etc. has been
* performed).
*/
ADMINISTRABLEPRODUCTDEFINITION,
/**
* Actual or potential/avoided event causing unintended physical injury
* resulting from or contributed to by medical care, a research study or other
* healthcare setting factors that requires additional monitoring, treatment, or
* hospitalization, or that results in death.
*/
ADVERSEEVENT,
/**
* Risk of harmful or undesirable, physiological response which is unique to an
* individual and associated with exposure to a substance.
*/
ALLERGYINTOLERANCE,
/**
* 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).
*/
APPOINTMENT,
/**
* A reply to an appointment request for a patient and/or practitioner(s), such
* as a confirmation or rejection.
*/
APPOINTMENTRESPONSE,
/**
* 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.
*/
AUDITEVENT,
/**
* 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.
*/
BASIC,
/**
* A material substance originating from a biological entity intended to be
* transplanted or infused\ninto another (possibly the same) biological entity.
*/
BIOLOGICALLYDERIVEDPRODUCT,
/**
* 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.
*/
BODYSTRUCTURE,
/**
* 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.
*/
CAPABILITYSTATEMENT,
/**
* 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.
*/
CAREPLAN,
/**
* The Care Team includes all the people and organizations who plan to
* participate in the coordination and delivery of care for a patient.
*/
CARETEAM,
/**
* Catalog entries are wrappers that contextualize items included in a catalog.
*/
CATALOGENTRY,
/**
* 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.
*/
CHARGEITEM,
/**
* 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.
*/
CHARGEITEMDEFINITION,
/**
* The Citation Resource enables reference to any knowledge artifact for
* purposes of identification and attribution. The Citation Resource supports
* existing reference structures and developing publication practices such as
* versioning, expressing complex contributorship roles, and referencing
* computable resources.
*/
CITATION,
/**
* 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.
*/
CLAIM,
/**
* This resource provides the adjudication details from the processing of a
* Claim resource.
*/
CLAIMRESPONSE,
/**
* 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.
*/
CLINICALIMPRESSION,
/**
* A single issue - either an indication, contraindication, interaction or an
* undesirable effect for a medicinal product, medication, device or procedure.
*/
CLINICALUSEDEFINITION,
/**
* 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.
*/
CODESYSTEM,
/**
* An occurrence of information being transmitted; e.g. an alert that was sent
* to a responsible provider, a public health agency that was notified about a
* reportable condition.
*/
COMMUNICATION,
/**
* 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.
*/
COMMUNICATIONREQUEST,
/**
* A compartment definition that defines how resources are accessed on a server.
*/
COMPARTMENTDEFINITION,
/**
* 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.).
*/
COMPOSITION,
/**
* 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.
*/
CONCEPTMAP,
/**
* A clinical condition, problem, diagnosis, or other event, situation, issue,
* or clinical concept that has risen to a level of concern.
*/
CONDITION,
/**
* A record of a healthcare consumer’s choices, 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.
*/
CONSENT,
/**
* Legally enforceable, formally recorded unilateral or bilateral directive
* i.e., a policy or agreement.
*/
CONTRACT,
/**
* Financial instrument which may be used to reimburse or pay for health care
* products and services. Includes both insurance and self-payment.
*/
COVERAGE,
/**
* 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.
*/
COVERAGEELIGIBILITYREQUEST,
/**
* This resource provides eligibility and plan details from the processing of an
* CoverageEligibilityRequest resource.
*/
COVERAGEELIGIBILITYRESPONSE,
/**
* 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.
*/
DETECTEDISSUE,
/**
* 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.
*/
DEVICE,
/**
* The characteristics, operational status and capabilities of a medical-related
* component of a medical device.
*/
DEVICEDEFINITION,
/**
* Describes a measurement, calculation or setting capability of a medical
* device.
*/
DEVICEMETRIC,
/**
* 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.
*/
DEVICEREQUEST,
/**
* 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.
*/
DEVICEUSESTATEMENT,
/**
* 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.
*/
DIAGNOSTICREPORT,
/**
* A collection of documents compiled for a purpose together with metadata that
* applies to the collection.
*/
DOCUMENTMANIFEST,
/**
* A reference to a document of any kind for any purpose. Provides metadata
* about the document so that the document can be discovered and managed. The
* scope of a document is any seralized object with a mime-type, so includes
* formal patient centric documents (CDA), cliical notes, scanned paper, and
* non-patient specific documents like policy text.
*/
DOCUMENTREFERENCE,
/**
* 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.
*/
ENCOUNTER,
/**
* 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.
*/
ENDPOINT,
/**
* This resource provides the insurance enrollment details to the insurer
* regarding a specified coverage.
*/
ENROLLMENTREQUEST,
/**
* This resource provides enrollment and plan details from the processing of an
* EnrollmentRequest resource.
*/
ENROLLMENTRESPONSE,
/**
* 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.
*/
EPISODEOFCARE,
/**
* The EventDefinition resource provides a reusable description of when a
* particular event can occur.
*/
EVENTDEFINITION,
/**
* The Evidence Resource provides a machine-interpretable expression of an
* evidence concept including the evidence variables (eg population,
* exposures/interventions, comparators, outcomes, measured variables,
* confounding variables), the statistics, and the certainty of this evidence.
*/
EVIDENCE,
/**
* The EvidenceReport Resource is a specialized container for a collection of
* resources and codable concepts, adapted to support compositions of Evidence,
* EvidenceVariable, and Citation resources and related concepts.
*/
EVIDENCEREPORT,
/**
* The EvidenceVariable resource describes an element that knowledge (Evidence)
* is about.
*/
EVIDENCEVARIABLE,
/**
* Example of workflow instance.
*/
EXAMPLESCENARIO,
/**
* 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.
*/
EXPLANATIONOFBENEFIT,
/**
* Significant health conditions for a person related to the patient relevant in
* the context of care for the patient.
*/
FAMILYMEMBERHISTORY,
/**
* Prospective warnings of potential issues when providing care to the patient.
*/
FLAG,
/**
* 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.
*/
GOAL,
/**
* 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.
*/
GRAPHDEFINITION,
/**
* 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.
*/
GROUP,
/**
* 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.
*/
GUIDANCERESPONSE,
/**
* The details of a healthcare service available at a location.
*/
HEALTHCARESERVICE,
/**
* 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.
*/
IMAGINGSTUDY,
/**
* 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.
*/
IMMUNIZATION,
/**
* Describes a comparison of an immunization event against published
* recommendations to determine if the administration is \"valid\" in relation
* to those recommendations.
*/
IMMUNIZATIONEVALUATION,
/**
* A patient's point-in-time set of recommendations (i.e. forecasting) according
* to a published schedule with optional supporting justification.
*/
IMMUNIZATIONRECOMMENDATION,
/**
* 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.
*/
IMPLEMENTATIONGUIDE,
/**
* An ingredient of a manufactured item or pharmaceutical product.
*/
INGREDIENT,
/**
* Details of a Health Insurance product/plan provided by an organization.
*/
INSURANCEPLAN,
/**
* Invoice containing collected ChargeItems from an Account with calculated
* individual and total price for Billing purpose.
*/
INVOICE,
/**
* 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.
*/
LIBRARY,
/**
* Identifies two or more records (resource instances) that refer to the same
* real-world \"occurrence\".
*/
LINKAGE,
/**
* A list is a curated collection of resources.
*/
LIST,
/**
* Details and position information for a physical place where services are
* provided and resources and participants may be stored, found, contained, or
* accommodated.
*/
LOCATION,
/**
* The definition and characteristics of a medicinal manufactured item, such as
* a tablet or capsule, as contained in a packaged medicinal product.
*/
MANUFACTUREDITEMDEFINITION,
/**
* The Measure resource provides the definition of a quality measure.
*/
MEASURE,
/**
* The MeasureReport resource contains the results of the calculation of a
* measure; and optionally a reference to the resources involved in that
* calculation.
*/
MEASUREREPORT,
/**
* A photo, video, or audio recording acquired or used in healthcare. The actual
* content may be inline or provided by direct reference.
*/
MEDIA,
/**
* 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.
*/
MEDICATION,
/**
* 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.
*/
MEDICATIONADMINISTRATION,
/**
* 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.
*/
MEDICATIONDISPENSE,
/**
* Information about a medication that is used to support knowledge.
*/
MEDICATIONKNOWLEDGE,
/**
* 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.
*/
MEDICATIONREQUEST,
/**
* 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 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 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.
*/
MEDICATIONSTATEMENT,
/**
* Detailed definition of a medicinal product, typically for uses other than
* direct patient care (e.g. regulatory use, drug catalogs).
*/
MEDICINALPRODUCTDEFINITION,
/**
* 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.
*/
MESSAGEDEFINITION,
/**
* 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.
*/
MESSAGEHEADER,
/**
* Raw data describing a biological sequence.
*/
MOLECULARSEQUENCE,
/**
* 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.
*/
NAMINGSYSTEM,
/**
* A request to supply a diet, formula feeding (enteral) or oral nutritional
* supplement to a patient/resident.
*/
NUTRITIONORDER,
/**
* A food or fluid product that is consumed by patients.
*/
NUTRITIONPRODUCT,
/**
* Measurements and simple assertions made about a patient, device or other
* subject.
*/
OBSERVATION,
/**
* Set of definitional characteristics for a kind of observation or measurement
* produced or consumed by an orderable health care service.
*/
OBSERVATIONDEFINITION,
/**
* A formal computable definition of an operation (on the RESTful interface) or
* a named query (using the search interaction).
*/
OPERATIONDEFINITION,
/**
* A collection of error, warning, or information messages that result from a
* system action.
*/
OPERATIONOUTCOME,
/**
* 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.
*/
ORGANIZATION,
/**
* Defines an affiliation/assotiation/relationship between 2 distinct
* oganizations, that is not a part-of relationship/sub-division relationship.
*/
ORGANIZATIONAFFILIATION,
/**
* A medically related item or items, in a container or package.
*/
PACKAGEDPRODUCTDEFINITION,
/**
* Demographics and other administrative information about an individual or
* animal receiving care or other health-related services.
*/
PATIENT,
/**
* This resource provides the status of the payment for goods and services
* rendered, and the request and response resource references.
*/
PAYMENTNOTICE,
/**
* This resource provides the details including amount of a payment and
* allocates the payment items being paid.
*/
PAYMENTRECONCILIATION,
/**
* Demographics and administrative information about a person independent of a
* specific health-related context.
*/
PERSON,
/**
* 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 and non-clinical
* artifacts such as clinical decision support rules, order sets, protocols, and
* drug quality specifications.
*/
PLANDEFINITION,
/**
* A person who is directly or indirectly involved in the provisioning of
* healthcare.
*/
PRACTITIONER,
/**
* A specific set of Roles/Locations/specialties/services that a practitioner
* may perform at an organization for a period of time.
*/
PRACTITIONERROLE,
/**
* 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.
*/
PROCEDURE,
/**
* 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.
*/
PROVENANCE,
/**
* 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.
*/
QUESTIONNAIRE,
/**
* 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.
*/
QUESTIONNAIRERESPONSE,
/**
* Regulatory approval, clearance or licencing related to a regulated product,
* treatment, facility or activity that is cited in a guidance, regulation, rule
* or legislative act. An example is Market Authorization relating to a
* Medicinal Product.
*/
REGULATEDAUTHORIZATION,
/**
* 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.
*/
RELATEDPERSON,
/**
* 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\".
*/
REQUESTGROUP,
/**
* The ResearchDefinition resource describes the conditional state (population
* and any exposures being compared within the population) and outcome (if
* specified) that the knowledge (evidence, assertion, recommendation) is about.
*/
RESEARCHDEFINITION,
/**
* The ResearchElementDefinition resource describes a \"PICO\" element that
* knowledge (evidence, assertion, recommendation) is about.
*/
RESEARCHELEMENTDEFINITION,
/**
* 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.
*/
RESEARCHSTUDY,
/**
* A physical entity which is the primary unit of operational and/or
* administrative interest in a study.
*/
RESEARCHSUBJECT,
/**
* An assessment of the likely outcome(s) for a patient or other subject as well
* as the likelihood of each outcome.
*/
RISKASSESSMENT,
/**
* A container for slots of time that may be available for booking appointments.
*/
SCHEDULE,
/**
* A search parameter that defines a named search item that can be used to
* search/filter on a resource.
*/
SEARCHPARAMETER,
/**
* A record of a request for service such as diagnostic investigations,
* treatments, or operations to be performed.
*/
SERVICEREQUEST,
/**
* A slot of time on a schedule that may be available for booking appointments.
*/
SLOT,
/**
* A sample to be used for analysis.
*/
SPECIMEN,
/**
* A kind of specimen with associated set of requirements.
*/
SPECIMENDEFINITION,
/**
* 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.
*/
STRUCTUREDEFINITION,
/**
* A Map of relationships between 2 structures that can be used to transform
* data.
*/
STRUCTUREMAP,
/**
* 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 can take an appropriate action.
*/
SUBSCRIPTION,
/**
* The SubscriptionStatus resource describes the state of a Subscription during
* notifications.
*/
SUBSCRIPTIONSTATUS,
/**
* Describes a stream of resource state changes identified by trigger criteria
* and annotated with labels useful to filter projections from this topic.
*/
SUBSCRIPTIONTOPIC,
/**
* A homogeneous material with a definite composition.
*/
SUBSTANCE,
/**
* The detailed description of a substance, typically at a level beyond what is
* used for prescribing.
*/
SUBSTANCEDEFINITION,
/**
* Record of delivery of what is supplied.
*/
SUPPLYDELIVERY,
/**
* A record of a request for a medication, substance or device used in the
* healthcare setting.
*/
SUPPLYREQUEST,
/**
* A task to be performed.
*/
TASK,
/**
* 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.
*/
TERMINOLOGYCAPABILITIES,
/**
* A summary of information based on the results of executing a TestScript.
*/
TESTREPORT,
/**
* A structured set of tests against a FHIR server or client implementation to
* determine compliance against the FHIR specification.
*/
TESTSCRIPT,
/**
* 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).
*/
VALUESET,
/**
* Describes validation requirements, source(s), status and dates for one or
* more elements.
*/
VERIFICATIONRESULT,
/**
* An authorization for the provision of glasses and/or contact lenses to a
* patient.
*/
VISIONPRESCRIPTION,
/**
* 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.
*/
PARAMETERS,
/**
* added to help the parsers with the generic types
*/
NULL;
public static FHIRDefinedType fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("Address".equals(codeString))
return ADDRESS;
if ("Age".equals(codeString))
return AGE;
if ("Annotation".equals(codeString))
return ANNOTATION;
if ("Attachment".equals(codeString))
return ATTACHMENT;
if ("BackboneElement".equals(codeString))
return BACKBONEELEMENT;
if ("CodeableConcept".equals(codeString))
return CODEABLECONCEPT;
if ("CodeableReference".equals(codeString))
return CODEABLEREFERENCE;
if ("Coding".equals(codeString))
return CODING;
if ("ContactDetail".equals(codeString))
return CONTACTDETAIL;
if ("ContactPoint".equals(codeString))
return CONTACTPOINT;
if ("Contributor".equals(codeString))
return CONTRIBUTOR;
if ("Count".equals(codeString))
return COUNT;
if ("DataRequirement".equals(codeString))
return DATAREQUIREMENT;
if ("DataType".equals(codeString))
return DATATYPE;
if ("Distance".equals(codeString))
return DISTANCE;
if ("Dosage".equals(codeString))
return DOSAGE;
if ("Duration".equals(codeString))
return DURATION;
if ("Element".equals(codeString))
return ELEMENT;
if ("ElementDefinition".equals(codeString))
return ELEMENTDEFINITION;
if ("Expression".equals(codeString))
return EXPRESSION;
if ("Extension".equals(codeString))
return EXTENSION;
if ("HumanName".equals(codeString))
return HUMANNAME;
if ("Identifier".equals(codeString))
return IDENTIFIER;
if ("MarketingStatus".equals(codeString))
return MARKETINGSTATUS;
if ("Meta".equals(codeString))
return META;
if ("Money".equals(codeString))
return MONEY;
if ("MoneyQuantity".equals(codeString))
return MONEYQUANTITY;
if ("Narrative".equals(codeString))
return NARRATIVE;
if ("ParameterDefinition".equals(codeString))
return PARAMETERDEFINITION;
if ("Period".equals(codeString))
return PERIOD;
if ("Population".equals(codeString))
return POPULATION;
if ("ProdCharacteristic".equals(codeString))
return PRODCHARACTERISTIC;
if ("ProductShelfLife".equals(codeString))
return PRODUCTSHELFLIFE;
if ("Quantity".equals(codeString))
return QUANTITY;
if ("Range".equals(codeString))
return RANGE;
if ("Ratio".equals(codeString))
return RATIO;
if ("RatioRange".equals(codeString))
return RATIORANGE;
if ("Reference".equals(codeString))
return REFERENCE;
if ("RelatedArtifact".equals(codeString))
return RELATEDARTIFACT;
if ("SampledData".equals(codeString))
return SAMPLEDDATA;
if ("Signature".equals(codeString))
return SIGNATURE;
if ("SimpleQuantity".equals(codeString))
return SIMPLEQUANTITY;
if ("Timing".equals(codeString))
return TIMING;
if ("TriggerDefinition".equals(codeString))
return TRIGGERDEFINITION;
if ("UsageContext".equals(codeString))
return USAGECONTEXT;
if ("base64Binary".equals(codeString))
return BASE64BINARY;
if ("boolean".equals(codeString))
return BOOLEAN;
if ("canonical".equals(codeString))
return CANONICAL;
if ("code".equals(codeString))
return CODE;
if ("date".equals(codeString))
return DATE;
if ("dateTime".equals(codeString))
return DATETIME;
if ("decimal".equals(codeString))
return DECIMAL;
if ("id".equals(codeString))
return ID;
if ("instant".equals(codeString))
return INSTANT;
if ("integer".equals(codeString))
return INTEGER;
if ("markdown".equals(codeString))
return MARKDOWN;
if ("oid".equals(codeString))
return OID;
if ("positiveInt".equals(codeString))
return POSITIVEINT;
if ("string".equals(codeString))
return STRING;
if ("time".equals(codeString))
return TIME;
if ("unsignedInt".equals(codeString))
return UNSIGNEDINT;
if ("uri".equals(codeString))
return URI;
if ("url".equals(codeString))
return URL;
if ("uuid".equals(codeString))
return UUID;
if ("xhtml".equals(codeString))
return XHTML;
if ("Resource".equals(codeString))
return RESOURCE;
if ("Binary".equals(codeString))
return BINARY;
if ("Bundle".equals(codeString))
return BUNDLE;
if ("DomainResource".equals(codeString))
return DOMAINRESOURCE;
if ("Account".equals(codeString))
return ACCOUNT;
if ("ActivityDefinition".equals(codeString))
return ACTIVITYDEFINITION;
if ("AdministrableProductDefinition".equals(codeString))
return ADMINISTRABLEPRODUCTDEFINITION;
if ("AdverseEvent".equals(codeString))
return ADVERSEEVENT;
if ("AllergyIntolerance".equals(codeString))
return ALLERGYINTOLERANCE;
if ("Appointment".equals(codeString))
return APPOINTMENT;
if ("AppointmentResponse".equals(codeString))
return APPOINTMENTRESPONSE;
if ("AuditEvent".equals(codeString))
return AUDITEVENT;
if ("Basic".equals(codeString))
return BASIC;
if ("BiologicallyDerivedProduct".equals(codeString))
return BIOLOGICALLYDERIVEDPRODUCT;
if ("BodyStructure".equals(codeString))
return BODYSTRUCTURE;
if ("CapabilityStatement".equals(codeString))
return CAPABILITYSTATEMENT;
if ("CarePlan".equals(codeString))
return CAREPLAN;
if ("CareTeam".equals(codeString))
return CARETEAM;
if ("CatalogEntry".equals(codeString))
return CATALOGENTRY;
if ("ChargeItem".equals(codeString))
return CHARGEITEM;
if ("ChargeItemDefinition".equals(codeString))
return CHARGEITEMDEFINITION;
if ("Citation".equals(codeString))
return CITATION;
if ("Claim".equals(codeString))
return CLAIM;
if ("ClaimResponse".equals(codeString))
return CLAIMRESPONSE;
if ("ClinicalImpression".equals(codeString))
return CLINICALIMPRESSION;
if ("ClinicalUseDefinition".equals(codeString))
return CLINICALUSEDEFINITION;
if ("CodeSystem".equals(codeString))
return CODESYSTEM;
if ("Communication".equals(codeString))
return COMMUNICATION;
if ("CommunicationRequest".equals(codeString))
return COMMUNICATIONREQUEST;
if ("CompartmentDefinition".equals(codeString))
return COMPARTMENTDEFINITION;
if ("Composition".equals(codeString))
return COMPOSITION;
if ("ConceptMap".equals(codeString))
return CONCEPTMAP;
if ("Condition".equals(codeString))
return CONDITION;
if ("Consent".equals(codeString))
return CONSENT;
if ("Contract".equals(codeString))
return CONTRACT;
if ("Coverage".equals(codeString))
return COVERAGE;
if ("CoverageEligibilityRequest".equals(codeString))
return COVERAGEELIGIBILITYREQUEST;
if ("CoverageEligibilityResponse".equals(codeString))
return COVERAGEELIGIBILITYRESPONSE;
if ("DetectedIssue".equals(codeString))
return DETECTEDISSUE;
if ("Device".equals(codeString))
return DEVICE;
if ("DeviceDefinition".equals(codeString))
return DEVICEDEFINITION;
if ("DeviceMetric".equals(codeString))
return DEVICEMETRIC;
if ("DeviceRequest".equals(codeString))
return DEVICEREQUEST;
if ("DeviceUseStatement".equals(codeString))
return DEVICEUSESTATEMENT;
if ("DiagnosticReport".equals(codeString))
return DIAGNOSTICREPORT;
if ("DocumentManifest".equals(codeString))
return DOCUMENTMANIFEST;
if ("DocumentReference".equals(codeString))
return DOCUMENTREFERENCE;
if ("Encounter".equals(codeString))
return ENCOUNTER;
if ("Endpoint".equals(codeString))
return ENDPOINT;
if ("EnrollmentRequest".equals(codeString))
return ENROLLMENTREQUEST;
if ("EnrollmentResponse".equals(codeString))
return ENROLLMENTRESPONSE;
if ("EpisodeOfCare".equals(codeString))
return EPISODEOFCARE;
if ("EventDefinition".equals(codeString))
return EVENTDEFINITION;
if ("Evidence".equals(codeString))
return EVIDENCE;
if ("EvidenceReport".equals(codeString))
return EVIDENCEREPORT;
if ("EvidenceVariable".equals(codeString))
return EVIDENCEVARIABLE;
if ("ExampleScenario".equals(codeString))
return EXAMPLESCENARIO;
if ("ExplanationOfBenefit".equals(codeString))
return EXPLANATIONOFBENEFIT;
if ("FamilyMemberHistory".equals(codeString))
return FAMILYMEMBERHISTORY;
if ("Flag".equals(codeString))
return FLAG;
if ("Goal".equals(codeString))
return GOAL;
if ("GraphDefinition".equals(codeString))
return GRAPHDEFINITION;
if ("Group".equals(codeString))
return GROUP;
if ("GuidanceResponse".equals(codeString))
return GUIDANCERESPONSE;
if ("HealthcareService".equals(codeString))
return HEALTHCARESERVICE;
if ("ImagingStudy".equals(codeString))
return IMAGINGSTUDY;
if ("Immunization".equals(codeString))
return IMMUNIZATION;
if ("ImmunizationEvaluation".equals(codeString))
return IMMUNIZATIONEVALUATION;
if ("ImmunizationRecommendation".equals(codeString))
return IMMUNIZATIONRECOMMENDATION;
if ("ImplementationGuide".equals(codeString))
return IMPLEMENTATIONGUIDE;
if ("Ingredient".equals(codeString))
return INGREDIENT;
if ("InsurancePlan".equals(codeString))
return INSURANCEPLAN;
if ("Invoice".equals(codeString))
return INVOICE;
if ("Library".equals(codeString))
return LIBRARY;
if ("Linkage".equals(codeString))
return LINKAGE;
if ("List".equals(codeString))
return LIST;
if ("Location".equals(codeString))
return LOCATION;
if ("ManufacturedItemDefinition".equals(codeString))
return MANUFACTUREDITEMDEFINITION;
if ("Measure".equals(codeString))
return MEASURE;
if ("MeasureReport".equals(codeString))
return MEASUREREPORT;
if ("Media".equals(codeString))
return MEDIA;
if ("Medication".equals(codeString))
return MEDICATION;
if ("MedicationAdministration".equals(codeString))
return MEDICATIONADMINISTRATION;
if ("MedicationDispense".equals(codeString))
return MEDICATIONDISPENSE;
if ("MedicationKnowledge".equals(codeString))
return MEDICATIONKNOWLEDGE;
if ("MedicationRequest".equals(codeString))
return MEDICATIONREQUEST;
if ("MedicationStatement".equals(codeString))
return MEDICATIONSTATEMENT;
if ("MedicinalProductDefinition".equals(codeString))
return MEDICINALPRODUCTDEFINITION;
if ("MessageDefinition".equals(codeString))
return MESSAGEDEFINITION;
if ("MessageHeader".equals(codeString))
return MESSAGEHEADER;
if ("MolecularSequence".equals(codeString))
return MOLECULARSEQUENCE;
if ("NamingSystem".equals(codeString))
return NAMINGSYSTEM;
if ("NutritionOrder".equals(codeString))
return NUTRITIONORDER;
if ("NutritionProduct".equals(codeString))
return NUTRITIONPRODUCT;
if ("Observation".equals(codeString))
return OBSERVATION;
if ("ObservationDefinition".equals(codeString))
return OBSERVATIONDEFINITION;
if ("OperationDefinition".equals(codeString))
return OPERATIONDEFINITION;
if ("OperationOutcome".equals(codeString))
return OPERATIONOUTCOME;
if ("Organization".equals(codeString))
return ORGANIZATION;
if ("OrganizationAffiliation".equals(codeString))
return ORGANIZATIONAFFILIATION;
if ("PackagedProductDefinition".equals(codeString))
return PACKAGEDPRODUCTDEFINITION;
if ("Patient".equals(codeString))
return PATIENT;
if ("PaymentNotice".equals(codeString))
return PAYMENTNOTICE;
if ("PaymentReconciliation".equals(codeString))
return PAYMENTRECONCILIATION;
if ("Person".equals(codeString))
return PERSON;
if ("PlanDefinition".equals(codeString))
return PLANDEFINITION;
if ("Practitioner".equals(codeString))
return PRACTITIONER;
if ("PractitionerRole".equals(codeString))
return PRACTITIONERROLE;
if ("Procedure".equals(codeString))
return PROCEDURE;
if ("Provenance".equals(codeString))
return PROVENANCE;
if ("Questionnaire".equals(codeString))
return QUESTIONNAIRE;
if ("QuestionnaireResponse".equals(codeString))
return QUESTIONNAIRERESPONSE;
if ("RegulatedAuthorization".equals(codeString))
return REGULATEDAUTHORIZATION;
if ("RelatedPerson".equals(codeString))
return RELATEDPERSON;
if ("RequestGroup".equals(codeString))
return REQUESTGROUP;
if ("ResearchDefinition".equals(codeString))
return RESEARCHDEFINITION;
if ("ResearchElementDefinition".equals(codeString))
return RESEARCHELEMENTDEFINITION;
if ("ResearchStudy".equals(codeString))
return RESEARCHSTUDY;
if ("ResearchSubject".equals(codeString))
return RESEARCHSUBJECT;
if ("RiskAssessment".equals(codeString))
return RISKASSESSMENT;
if ("Schedule".equals(codeString))
return SCHEDULE;
if ("SearchParameter".equals(codeString))
return SEARCHPARAMETER;
if ("ServiceRequest".equals(codeString))
return SERVICEREQUEST;
if ("Slot".equals(codeString))
return SLOT;
if ("Specimen".equals(codeString))
return SPECIMEN;
if ("SpecimenDefinition".equals(codeString))
return SPECIMENDEFINITION;
if ("StructureDefinition".equals(codeString))
return STRUCTUREDEFINITION;
if ("StructureMap".equals(codeString))
return STRUCTUREMAP;
if ("Subscription".equals(codeString))
return SUBSCRIPTION;
if ("SubscriptionStatus".equals(codeString))
return SUBSCRIPTIONSTATUS;
if ("SubscriptionTopic".equals(codeString))
return SUBSCRIPTIONTOPIC;
if ("Substance".equals(codeString))
return SUBSTANCE;
if ("SubstanceDefinition".equals(codeString))
return SUBSTANCEDEFINITION;
if ("SupplyDelivery".equals(codeString))
return SUPPLYDELIVERY;
if ("SupplyRequest".equals(codeString))
return SUPPLYREQUEST;
if ("Task".equals(codeString))
return TASK;
if ("TerminologyCapabilities".equals(codeString))
return TERMINOLOGYCAPABILITIES;
if ("TestReport".equals(codeString))
return TESTREPORT;
if ("TestScript".equals(codeString))
return TESTSCRIPT;
if ("ValueSet".equals(codeString))
return VALUESET;
if ("VerificationResult".equals(codeString))
return VERIFICATIONRESULT;
if ("VisionPrescription".equals(codeString))
return VISIONPRESCRIPTION;
if ("Parameters".equals(codeString))
return PARAMETERS;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown FHIRDefinedType code '" + codeString + "'");
}
public String toCode() {
switch (this) {
case ADDRESS:
return "Address";
case AGE:
return "Age";
case ANNOTATION:
return "Annotation";
case ATTACHMENT:
return "Attachment";
case BACKBONEELEMENT:
return "BackboneElement";
case CODEABLECONCEPT:
return "CodeableConcept";
case CODEABLEREFERENCE:
return "CodeableReference";
case CODING:
return "Coding";
case CONTACTDETAIL:
return "ContactDetail";
case CONTACTPOINT:
return "ContactPoint";
case CONTRIBUTOR:
return "Contributor";
case COUNT:
return "Count";
case DATAREQUIREMENT:
return "DataRequirement";
case DATATYPE:
return "DataType";
case DISTANCE:
return "Distance";
case DOSAGE:
return "Dosage";
case DURATION:
return "Duration";
case ELEMENT:
return "Element";
case ELEMENTDEFINITION:
return "ElementDefinition";
case EXPRESSION:
return "Expression";
case EXTENSION:
return "Extension";
case HUMANNAME:
return "HumanName";
case IDENTIFIER:
return "Identifier";
case MARKETINGSTATUS:
return "MarketingStatus";
case META:
return "Meta";
case MONEY:
return "Money";
case MONEYQUANTITY:
return "MoneyQuantity";
case NARRATIVE:
return "Narrative";
case PARAMETERDEFINITION:
return "ParameterDefinition";
case PERIOD:
return "Period";
case POPULATION:
return "Population";
case PRODCHARACTERISTIC:
return "ProdCharacteristic";
case PRODUCTSHELFLIFE:
return "ProductShelfLife";
case QUANTITY:
return "Quantity";
case RANGE:
return "Range";
case RATIO:
return "Ratio";
case RATIORANGE:
return "RatioRange";
case REFERENCE:
return "Reference";
case RELATEDARTIFACT:
return "RelatedArtifact";
case SAMPLEDDATA:
return "SampledData";
case SIGNATURE:
return "Signature";
case SIMPLEQUANTITY:
return "SimpleQuantity";
case TIMING:
return "Timing";
case TRIGGERDEFINITION:
return "TriggerDefinition";
case USAGECONTEXT:
return "UsageContext";
case BASE64BINARY:
return "base64Binary";
case BOOLEAN:
return "boolean";
case CANONICAL:
return "canonical";
case CODE:
return "code";
case DATE:
return "date";
case DATETIME:
return "dateTime";
case DECIMAL:
return "decimal";
case ID:
return "id";
case INSTANT:
return "instant";
case INTEGER:
return "integer";
case MARKDOWN:
return "markdown";
case OID:
return "oid";
case POSITIVEINT:
return "positiveInt";
case STRING:
return "string";
case TIME:
return "time";
case UNSIGNEDINT:
return "unsignedInt";
case URI:
return "uri";
case URL:
return "url";
case UUID:
return "uuid";
case XHTML:
return "xhtml";
case RESOURCE:
return "Resource";
case BINARY:
return "Binary";
case BUNDLE:
return "Bundle";
case DOMAINRESOURCE:
return "DomainResource";
case ACCOUNT:
return "Account";
case ACTIVITYDEFINITION:
return "ActivityDefinition";
case ADMINISTRABLEPRODUCTDEFINITION:
return "AdministrableProductDefinition";
case ADVERSEEVENT:
return "AdverseEvent";
case ALLERGYINTOLERANCE:
return "AllergyIntolerance";
case APPOINTMENT:
return "Appointment";
case APPOINTMENTRESPONSE:
return "AppointmentResponse";
case AUDITEVENT:
return "AuditEvent";
case BASIC:
return "Basic";
case BIOLOGICALLYDERIVEDPRODUCT:
return "BiologicallyDerivedProduct";
case BODYSTRUCTURE:
return "BodyStructure";
case CAPABILITYSTATEMENT:
return "CapabilityStatement";
case CAREPLAN:
return "CarePlan";
case CARETEAM:
return "CareTeam";
case CATALOGENTRY:
return "CatalogEntry";
case CHARGEITEM:
return "ChargeItem";
case CHARGEITEMDEFINITION:
return "ChargeItemDefinition";
case CITATION:
return "Citation";
case CLAIM:
return "Claim";
case CLAIMRESPONSE:
return "ClaimResponse";
case CLINICALIMPRESSION:
return "ClinicalImpression";
case CLINICALUSEDEFINITION:
return "ClinicalUseDefinition";
case CODESYSTEM:
return "CodeSystem";
case COMMUNICATION:
return "Communication";
case COMMUNICATIONREQUEST:
return "CommunicationRequest";
case COMPARTMENTDEFINITION:
return "CompartmentDefinition";
case COMPOSITION:
return "Composition";
case CONCEPTMAP:
return "ConceptMap";
case CONDITION:
return "Condition";
case CONSENT:
return "Consent";
case CONTRACT:
return "Contract";
case COVERAGE:
return "Coverage";
case COVERAGEELIGIBILITYREQUEST:
return "CoverageEligibilityRequest";
case COVERAGEELIGIBILITYRESPONSE:
return "CoverageEligibilityResponse";
case DETECTEDISSUE:
return "DetectedIssue";
case DEVICE:
return "Device";
case DEVICEDEFINITION:
return "DeviceDefinition";
case DEVICEMETRIC:
return "DeviceMetric";
case DEVICEREQUEST:
return "DeviceRequest";
case DEVICEUSESTATEMENT:
return "DeviceUseStatement";
case DIAGNOSTICREPORT:
return "DiagnosticReport";
case DOCUMENTMANIFEST:
return "DocumentManifest";
case DOCUMENTREFERENCE:
return "DocumentReference";
case ENCOUNTER:
return "Encounter";
case ENDPOINT:
return "Endpoint";
case ENROLLMENTREQUEST:
return "EnrollmentRequest";
case ENROLLMENTRESPONSE:
return "EnrollmentResponse";
case EPISODEOFCARE:
return "EpisodeOfCare";
case EVENTDEFINITION:
return "EventDefinition";
case EVIDENCE:
return "Evidence";
case EVIDENCEREPORT:
return "EvidenceReport";
case EVIDENCEVARIABLE:
return "EvidenceVariable";
case EXAMPLESCENARIO:
return "ExampleScenario";
case EXPLANATIONOFBENEFIT:
return "ExplanationOfBenefit";
case FAMILYMEMBERHISTORY:
return "FamilyMemberHistory";
case FLAG:
return "Flag";
case GOAL:
return "Goal";
case GRAPHDEFINITION:
return "GraphDefinition";
case GROUP:
return "Group";
case GUIDANCERESPONSE:
return "GuidanceResponse";
case HEALTHCARESERVICE:
return "HealthcareService";
case IMAGINGSTUDY:
return "ImagingStudy";
case IMMUNIZATION:
return "Immunization";
case IMMUNIZATIONEVALUATION:
return "ImmunizationEvaluation";
case IMMUNIZATIONRECOMMENDATION:
return "ImmunizationRecommendation";
case IMPLEMENTATIONGUIDE:
return "ImplementationGuide";
case INGREDIENT:
return "Ingredient";
case INSURANCEPLAN:
return "InsurancePlan";
case INVOICE:
return "Invoice";
case LIBRARY:
return "Library";
case LINKAGE:
return "Linkage";
case LIST:
return "List";
case LOCATION:
return "Location";
case MANUFACTUREDITEMDEFINITION:
return "ManufacturedItemDefinition";
case MEASURE:
return "Measure";
case MEASUREREPORT:
return "MeasureReport";
case MEDIA:
return "Media";
case MEDICATION:
return "Medication";
case MEDICATIONADMINISTRATION:
return "MedicationAdministration";
case MEDICATIONDISPENSE:
return "MedicationDispense";
case MEDICATIONKNOWLEDGE:
return "MedicationKnowledge";
case MEDICATIONREQUEST:
return "MedicationRequest";
case MEDICATIONSTATEMENT:
return "MedicationStatement";
case MEDICINALPRODUCTDEFINITION:
return "MedicinalProductDefinition";
case MESSAGEDEFINITION:
return "MessageDefinition";
case MESSAGEHEADER:
return "MessageHeader";
case MOLECULARSEQUENCE:
return "MolecularSequence";
case NAMINGSYSTEM:
return "NamingSystem";
case NUTRITIONORDER:
return "NutritionOrder";
case NUTRITIONPRODUCT:
return "NutritionProduct";
case OBSERVATION:
return "Observation";
case OBSERVATIONDEFINITION:
return "ObservationDefinition";
case OPERATIONDEFINITION:
return "OperationDefinition";
case OPERATIONOUTCOME:
return "OperationOutcome";
case ORGANIZATION:
return "Organization";
case ORGANIZATIONAFFILIATION:
return "OrganizationAffiliation";
case PACKAGEDPRODUCTDEFINITION:
return "PackagedProductDefinition";
case PATIENT:
return "Patient";
case PAYMENTNOTICE:
return "PaymentNotice";
case PAYMENTRECONCILIATION:
return "PaymentReconciliation";
case PERSON:
return "Person";
case PLANDEFINITION:
return "PlanDefinition";
case PRACTITIONER:
return "Practitioner";
case PRACTITIONERROLE:
return "PractitionerRole";
case PROCEDURE:
return "Procedure";
case PROVENANCE:
return "Provenance";
case QUESTIONNAIRE:
return "Questionnaire";
case QUESTIONNAIRERESPONSE:
return "QuestionnaireResponse";
case REGULATEDAUTHORIZATION:
return "RegulatedAuthorization";
case RELATEDPERSON:
return "RelatedPerson";
case REQUESTGROUP:
return "RequestGroup";
case RESEARCHDEFINITION:
return "ResearchDefinition";
case RESEARCHELEMENTDEFINITION:
return "ResearchElementDefinition";
case RESEARCHSTUDY:
return "ResearchStudy";
case RESEARCHSUBJECT:
return "ResearchSubject";
case RISKASSESSMENT:
return "RiskAssessment";
case SCHEDULE:
return "Schedule";
case SEARCHPARAMETER:
return "SearchParameter";
case SERVICEREQUEST:
return "ServiceRequest";
case SLOT:
return "Slot";
case SPECIMEN:
return "Specimen";
case SPECIMENDEFINITION:
return "SpecimenDefinition";
case STRUCTUREDEFINITION:
return "StructureDefinition";
case STRUCTUREMAP:
return "StructureMap";
case SUBSCRIPTION:
return "Subscription";
case SUBSCRIPTIONSTATUS:
return "SubscriptionStatus";
case SUBSCRIPTIONTOPIC:
return "SubscriptionTopic";
case SUBSTANCE:
return "Substance";
case SUBSTANCEDEFINITION:
return "SubstanceDefinition";
case SUPPLYDELIVERY:
return "SupplyDelivery";
case SUPPLYREQUEST:
return "SupplyRequest";
case TASK:
return "Task";
case TERMINOLOGYCAPABILITIES:
return "TerminologyCapabilities";
case TESTREPORT:
return "TestReport";
case TESTSCRIPT:
return "TestScript";
case VALUESET:
return "ValueSet";
case VERIFICATIONRESULT:
return "VerificationResult";
case VISIONPRESCRIPTION:
return "VisionPrescription";
case PARAMETERS:
return "Parameters";
case NULL:
return null;
default:
return "?";
}
}
public String getSystem() {
switch (this) {
case ADDRESS:
return "http://hl7.org/fhir/data-types";
case AGE:
return "http://hl7.org/fhir/data-types";
case ANNOTATION:
return "http://hl7.org/fhir/data-types";
case ATTACHMENT:
return "http://hl7.org/fhir/data-types";
case BACKBONEELEMENT:
return "http://hl7.org/fhir/data-types";
case CODEABLECONCEPT:
return "http://hl7.org/fhir/data-types";
case CODEABLEREFERENCE:
return "http://hl7.org/fhir/data-types";
case CODING:
return "http://hl7.org/fhir/data-types";
case CONTACTDETAIL:
return "http://hl7.org/fhir/data-types";
case CONTACTPOINT:
return "http://hl7.org/fhir/data-types";
case CONTRIBUTOR:
return "http://hl7.org/fhir/data-types";
case COUNT:
return "http://hl7.org/fhir/data-types";
case DATAREQUIREMENT:
return "http://hl7.org/fhir/data-types";
case DATATYPE:
return "http://hl7.org/fhir/data-types";
case DISTANCE:
return "http://hl7.org/fhir/data-types";
case DOSAGE:
return "http://hl7.org/fhir/data-types";
case DURATION:
return "http://hl7.org/fhir/data-types";
case ELEMENT:
return "http://hl7.org/fhir/data-types";
case ELEMENTDEFINITION:
return "http://hl7.org/fhir/data-types";
case EXPRESSION:
return "http://hl7.org/fhir/data-types";
case EXTENSION:
return "http://hl7.org/fhir/data-types";
case HUMANNAME:
return "http://hl7.org/fhir/data-types";
case IDENTIFIER:
return "http://hl7.org/fhir/data-types";
case MARKETINGSTATUS:
return "http://hl7.org/fhir/data-types";
case META:
return "http://hl7.org/fhir/data-types";
case MONEY:
return "http://hl7.org/fhir/data-types";
case MONEYQUANTITY:
return "http://hl7.org/fhir/data-types";
case NARRATIVE:
return "http://hl7.org/fhir/data-types";
case PARAMETERDEFINITION:
return "http://hl7.org/fhir/data-types";
case PERIOD:
return "http://hl7.org/fhir/data-types";
case POPULATION:
return "http://hl7.org/fhir/data-types";
case PRODCHARACTERISTIC:
return "http://hl7.org/fhir/data-types";
case PRODUCTSHELFLIFE:
return "http://hl7.org/fhir/data-types";
case QUANTITY:
return "http://hl7.org/fhir/data-types";
case RANGE:
return "http://hl7.org/fhir/data-types";
case RATIO:
return "http://hl7.org/fhir/data-types";
case RATIORANGE:
return "http://hl7.org/fhir/data-types";
case REFERENCE:
return "http://hl7.org/fhir/data-types";
case RELATEDARTIFACT:
return "http://hl7.org/fhir/data-types";
case SAMPLEDDATA:
return "http://hl7.org/fhir/data-types";
case SIGNATURE:
return "http://hl7.org/fhir/data-types";
case SIMPLEQUANTITY:
return "http://hl7.org/fhir/data-types";
case TIMING:
return "http://hl7.org/fhir/data-types";
case TRIGGERDEFINITION:
return "http://hl7.org/fhir/data-types";
case USAGECONTEXT:
return "http://hl7.org/fhir/data-types";
case BASE64BINARY:
return "http://hl7.org/fhir/data-types";
case BOOLEAN:
return "http://hl7.org/fhir/data-types";
case CANONICAL:
return "http://hl7.org/fhir/data-types";
case CODE:
return "http://hl7.org/fhir/data-types";
case DATE:
return "http://hl7.org/fhir/data-types";
case DATETIME:
return "http://hl7.org/fhir/data-types";
case DECIMAL:
return "http://hl7.org/fhir/data-types";
case ID:
return "http://hl7.org/fhir/data-types";
case INSTANT:
return "http://hl7.org/fhir/data-types";
case INTEGER:
return "http://hl7.org/fhir/data-types";
case MARKDOWN:
return "http://hl7.org/fhir/data-types";
case OID:
return "http://hl7.org/fhir/data-types";
case POSITIVEINT:
return "http://hl7.org/fhir/data-types";
case STRING:
return "http://hl7.org/fhir/data-types";
case TIME:
return "http://hl7.org/fhir/data-types";
case UNSIGNEDINT:
return "http://hl7.org/fhir/data-types";
case URI:
return "http://hl7.org/fhir/data-types";
case URL:
return "http://hl7.org/fhir/data-types";
case UUID:
return "http://hl7.org/fhir/data-types";
case XHTML:
return "http://hl7.org/fhir/data-types";
case RESOURCE:
return "http://hl7.org/fhir/resource-types";
case BINARY:
return "http://hl7.org/fhir/resource-types";
case BUNDLE:
return "http://hl7.org/fhir/resource-types";
case DOMAINRESOURCE:
return "http://hl7.org/fhir/resource-types";
case ACCOUNT:
return "http://hl7.org/fhir/resource-types";
case ACTIVITYDEFINITION:
return "http://hl7.org/fhir/resource-types";
case ADMINISTRABLEPRODUCTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case ADVERSEEVENT:
return "http://hl7.org/fhir/resource-types";
case ALLERGYINTOLERANCE:
return "http://hl7.org/fhir/resource-types";
case APPOINTMENT:
return "http://hl7.org/fhir/resource-types";
case APPOINTMENTRESPONSE:
return "http://hl7.org/fhir/resource-types";
case AUDITEVENT:
return "http://hl7.org/fhir/resource-types";
case BASIC:
return "http://hl7.org/fhir/resource-types";
case BIOLOGICALLYDERIVEDPRODUCT:
return "http://hl7.org/fhir/resource-types";
case BODYSTRUCTURE:
return "http://hl7.org/fhir/resource-types";
case CAPABILITYSTATEMENT:
return "http://hl7.org/fhir/resource-types";
case CAREPLAN:
return "http://hl7.org/fhir/resource-types";
case CARETEAM:
return "http://hl7.org/fhir/resource-types";
case CATALOGENTRY:
return "http://hl7.org/fhir/resource-types";
case CHARGEITEM:
return "http://hl7.org/fhir/resource-types";
case CHARGEITEMDEFINITION:
return "http://hl7.org/fhir/resource-types";
case CITATION:
return "http://hl7.org/fhir/resource-types";
case CLAIM:
return "http://hl7.org/fhir/resource-types";
case CLAIMRESPONSE:
return "http://hl7.org/fhir/resource-types";
case CLINICALIMPRESSION:
return "http://hl7.org/fhir/resource-types";
case CLINICALUSEDEFINITION:
return "http://hl7.org/fhir/resource-types";
case CODESYSTEM:
return "http://hl7.org/fhir/resource-types";
case COMMUNICATION:
return "http://hl7.org/fhir/resource-types";
case COMMUNICATIONREQUEST:
return "http://hl7.org/fhir/resource-types";
case COMPARTMENTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case COMPOSITION:
return "http://hl7.org/fhir/resource-types";
case CONCEPTMAP:
return "http://hl7.org/fhir/resource-types";
case CONDITION:
return "http://hl7.org/fhir/resource-types";
case CONSENT:
return "http://hl7.org/fhir/resource-types";
case CONTRACT:
return "http://hl7.org/fhir/resource-types";
case COVERAGE:
return "http://hl7.org/fhir/resource-types";
case COVERAGEELIGIBILITYREQUEST:
return "http://hl7.org/fhir/resource-types";
case COVERAGEELIGIBILITYRESPONSE:
return "http://hl7.org/fhir/resource-types";
case DETECTEDISSUE:
return "http://hl7.org/fhir/resource-types";
case DEVICE:
return "http://hl7.org/fhir/resource-types";
case DEVICEDEFINITION:
return "http://hl7.org/fhir/resource-types";
case DEVICEMETRIC:
return "http://hl7.org/fhir/resource-types";
case DEVICEREQUEST:
return "http://hl7.org/fhir/resource-types";
case DEVICEUSESTATEMENT:
return "http://hl7.org/fhir/resource-types";
case DIAGNOSTICREPORT:
return "http://hl7.org/fhir/resource-types";
case DOCUMENTMANIFEST:
return "http://hl7.org/fhir/resource-types";
case DOCUMENTREFERENCE:
return "http://hl7.org/fhir/resource-types";
case ENCOUNTER:
return "http://hl7.org/fhir/resource-types";
case ENDPOINT:
return "http://hl7.org/fhir/resource-types";
case ENROLLMENTREQUEST:
return "http://hl7.org/fhir/resource-types";
case ENROLLMENTRESPONSE:
return "http://hl7.org/fhir/resource-types";
case EPISODEOFCARE:
return "http://hl7.org/fhir/resource-types";
case EVENTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case EVIDENCE:
return "http://hl7.org/fhir/resource-types";
case EVIDENCEREPORT:
return "http://hl7.org/fhir/resource-types";
case EVIDENCEVARIABLE:
return "http://hl7.org/fhir/resource-types";
case EXAMPLESCENARIO:
return "http://hl7.org/fhir/resource-types";
case EXPLANATIONOFBENEFIT:
return "http://hl7.org/fhir/resource-types";
case FAMILYMEMBERHISTORY:
return "http://hl7.org/fhir/resource-types";
case FLAG:
return "http://hl7.org/fhir/resource-types";
case GOAL:
return "http://hl7.org/fhir/resource-types";
case GRAPHDEFINITION:
return "http://hl7.org/fhir/resource-types";
case GROUP:
return "http://hl7.org/fhir/resource-types";
case GUIDANCERESPONSE:
return "http://hl7.org/fhir/resource-types";
case HEALTHCARESERVICE:
return "http://hl7.org/fhir/resource-types";
case IMAGINGSTUDY:
return "http://hl7.org/fhir/resource-types";
case IMMUNIZATION:
return "http://hl7.org/fhir/resource-types";
case IMMUNIZATIONEVALUATION:
return "http://hl7.org/fhir/resource-types";
case IMMUNIZATIONRECOMMENDATION:
return "http://hl7.org/fhir/resource-types";
case IMPLEMENTATIONGUIDE:
return "http://hl7.org/fhir/resource-types";
case INGREDIENT:
return "http://hl7.org/fhir/resource-types";
case INSURANCEPLAN:
return "http://hl7.org/fhir/resource-types";
case INVOICE:
return "http://hl7.org/fhir/resource-types";
case LIBRARY:
return "http://hl7.org/fhir/resource-types";
case LINKAGE:
return "http://hl7.org/fhir/resource-types";
case LIST:
return "http://hl7.org/fhir/resource-types";
case LOCATION:
return "http://hl7.org/fhir/resource-types";
case MANUFACTUREDITEMDEFINITION:
return "http://hl7.org/fhir/resource-types";
case MEASURE:
return "http://hl7.org/fhir/resource-types";
case MEASUREREPORT:
return "http://hl7.org/fhir/resource-types";
case MEDIA:
return "http://hl7.org/fhir/resource-types";
case MEDICATION:
return "http://hl7.org/fhir/resource-types";
case MEDICATIONADMINISTRATION:
return "http://hl7.org/fhir/resource-types";
case MEDICATIONDISPENSE:
return "http://hl7.org/fhir/resource-types";
case MEDICATIONKNOWLEDGE:
return "http://hl7.org/fhir/resource-types";
case MEDICATIONREQUEST:
return "http://hl7.org/fhir/resource-types";
case MEDICATIONSTATEMENT:
return "http://hl7.org/fhir/resource-types";
case MEDICINALPRODUCTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case MESSAGEDEFINITION:
return "http://hl7.org/fhir/resource-types";
case MESSAGEHEADER:
return "http://hl7.org/fhir/resource-types";
case MOLECULARSEQUENCE:
return "http://hl7.org/fhir/resource-types";
case NAMINGSYSTEM:
return "http://hl7.org/fhir/resource-types";
case NUTRITIONORDER:
return "http://hl7.org/fhir/resource-types";
case NUTRITIONPRODUCT:
return "http://hl7.org/fhir/resource-types";
case OBSERVATION:
return "http://hl7.org/fhir/resource-types";
case OBSERVATIONDEFINITION:
return "http://hl7.org/fhir/resource-types";
case OPERATIONDEFINITION:
return "http://hl7.org/fhir/resource-types";
case OPERATIONOUTCOME:
return "http://hl7.org/fhir/resource-types";
case ORGANIZATION:
return "http://hl7.org/fhir/resource-types";
case ORGANIZATIONAFFILIATION:
return "http://hl7.org/fhir/resource-types";
case PACKAGEDPRODUCTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case PATIENT:
return "http://hl7.org/fhir/resource-types";
case PAYMENTNOTICE:
return "http://hl7.org/fhir/resource-types";
case PAYMENTRECONCILIATION:
return "http://hl7.org/fhir/resource-types";
case PERSON:
return "http://hl7.org/fhir/resource-types";
case PLANDEFINITION:
return "http://hl7.org/fhir/resource-types";
case PRACTITIONER:
return "http://hl7.org/fhir/resource-types";
case PRACTITIONERROLE:
return "http://hl7.org/fhir/resource-types";
case PROCEDURE:
return "http://hl7.org/fhir/resource-types";
case PROVENANCE:
return "http://hl7.org/fhir/resource-types";
case QUESTIONNAIRE:
return "http://hl7.org/fhir/resource-types";
case QUESTIONNAIRERESPONSE:
return "http://hl7.org/fhir/resource-types";
case REGULATEDAUTHORIZATION:
return "http://hl7.org/fhir/resource-types";
case RELATEDPERSON:
return "http://hl7.org/fhir/resource-types";
case REQUESTGROUP:
return "http://hl7.org/fhir/resource-types";
case RESEARCHDEFINITION:
return "http://hl7.org/fhir/resource-types";
case RESEARCHELEMENTDEFINITION:
return "http://hl7.org/fhir/resource-types";
case RESEARCHSTUDY:
return "http://hl7.org/fhir/resource-types";
case RESEARCHSUBJECT:
return "http://hl7.org/fhir/resource-types";
case RISKASSESSMENT:
return "http://hl7.org/fhir/resource-types";
case SCHEDULE:
return "http://hl7.org/fhir/resource-types";
case SEARCHPARAMETER:
return "http://hl7.org/fhir/resource-types";
case SERVICEREQUEST:
return "http://hl7.org/fhir/resource-types";
case SLOT:
return "http://hl7.org/fhir/resource-types";
case SPECIMEN:
return "http://hl7.org/fhir/resource-types";
case SPECIMENDEFINITION:
return "http://hl7.org/fhir/resource-types";
case STRUCTUREDEFINITION:
return "http://hl7.org/fhir/resource-types";
case STRUCTUREMAP:
return "http://hl7.org/fhir/resource-types";
case SUBSCRIPTION:
return "http://hl7.org/fhir/resource-types";
case SUBSCRIPTIONSTATUS:
return "http://hl7.org/fhir/resource-types";
case SUBSCRIPTIONTOPIC:
return "http://hl7.org/fhir/resource-types";
case SUBSTANCE:
return "http://hl7.org/fhir/resource-types";
case SUBSTANCEDEFINITION:
return "http://hl7.org/fhir/resource-types";
case SUPPLYDELIVERY:
return "http://hl7.org/fhir/resource-types";
case SUPPLYREQUEST:
return "http://hl7.org/fhir/resource-types";
case TASK:
return "http://hl7.org/fhir/resource-types";
case TERMINOLOGYCAPABILITIES:
return "http://hl7.org/fhir/resource-types";
case TESTREPORT:
return "http://hl7.org/fhir/resource-types";
case TESTSCRIPT:
return "http://hl7.org/fhir/resource-types";
case VALUESET:
return "http://hl7.org/fhir/resource-types";
case VERIFICATIONRESULT:
return "http://hl7.org/fhir/resource-types";
case VISIONPRESCRIPTION:
return "http://hl7.org/fhir/resource-types";
case PARAMETERS:
return "http://hl7.org/fhir/resource-types";
case NULL:
return null;
default:
return "?";
}
}
public String getDefinition() {
switch (this) {
case ADDRESS:
return "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.";
case AGE:
return "A duration of time during which an organism (or a process) has existed.";
case ANNOTATION:
return "A text note which also contains information about who made the statement and when.";
case ATTACHMENT:
return "For referring to data content defined in other formats.";
case BACKBONEELEMENT:
return "Base definition for all elements that are defined inside a resource - but not those in a data type.";
case CODEABLECONCEPT:
return "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.";
case CODEABLEREFERENCE:
return "A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class).";
case CODING:
return "A reference to a code defined by a terminology system.";
case CONTACTDETAIL:
return "Specifies contact information for a person or organization.";
case CONTACTPOINT:
return "Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.";
case CONTRIBUTOR:
return "A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.";
case COUNT:
return "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.";
case DATAREQUIREMENT:
return "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.";
case DATATYPE:
return "The base class for all re-useable types defined as part of the FHIR Specification.";
case DISTANCE:
return "A length - a value with a unit that is a physical distance.";
case DOSAGE:
return "Indicates how the medication is/was taken or should be taken by the patient.";
case DURATION:
return "A length of time.";
case ELEMENT:
return "Base definition for all elements in a resource.";
case ELEMENTDEFINITION:
return "Captures constraints on each element within the resource, profile, or extension.";
case EXPRESSION:
return "A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.";
case EXTENSION:
return "Optional Extension Element - found in all resources.";
case HUMANNAME:
return "A human's name with the ability to identify parts and usage.";
case IDENTIFIER:
return "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.";
case MARKETINGSTATUS:
return "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.";
case META:
return "The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.";
case MONEY:
return "An amount of economic utility in some recognized currency.";
case MONEYQUANTITY:
return "";
case NARRATIVE:
return "A human-readable summary of the resource conveying the essential clinical and business information for the resource.";
case PARAMETERDEFINITION:
return "The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.";
case PERIOD:
return "A time period defined by a start and end date and optionally time.";
case POPULATION:
return "A populatioof people with some set of grouping criteria.";
case PRODCHARACTERISTIC:
return "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.";
case PRODUCTSHELFLIFE:
return "The shelf-life and storage information for a medicinal product item or container can be described using this class.";
case QUANTITY:
return "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.";
case RANGE:
return "A set of ordered Quantities defined by a low and high limit.";
case RATIO:
return "A relationship of two Quantity values - expressed as a numerator and a denominator.";
case RATIORANGE:
return "A range of ratios expressed as a low and high numerator and a denominator.";
case REFERENCE:
return "A reference from one resource to another.";
case RELATEDARTIFACT:
return "Related artifacts such as additional documentation, justification, or bibliographic references.";
case SAMPLEDDATA:
return "A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.";
case SIGNATURE:
return "A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.";
case SIMPLEQUANTITY:
return "";
case TIMING:
return "Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.";
case TRIGGERDEFINITION:
return "A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.";
case USAGECONTEXT:
return "Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).";
case BASE64BINARY:
return "A stream of bytes";
case BOOLEAN:
return "Value of \"true\" or \"false\"";
case CANONICAL:
return "A URI that is a reference to a canonical URL on a FHIR resource";
case CODE:
return "A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents";
case DATE:
return "A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.";
case DATETIME:
return "A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.";
case DECIMAL:
return "A rational number with implicit precision";
case ID:
return "Any combination of letters, numerals, \"-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.";
case INSTANT:
return "An instant in time - known at least to the second";
case INTEGER:
return "A whole number";
case MARKDOWN:
return "A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine";
case OID:
return "An OID represented as a URI";
case POSITIVEINT:
return "An integer with a value that is positive (e.g. >0)";
case STRING:
return "A sequence of Unicode characters";
case TIME:
return "A time during the day, with no date specified";
case UNSIGNEDINT:
return "An integer with a value that is not negative (e.g. >= 0)";
case URI:
return "String of characters used to identify a name or a resource";
case URL:
return "A URI that is a literal reference";
case UUID:
return "A UUID, represented as a URI";
case XHTML:
return "XHTML format, as defined by W3C, but restricted usage (mainly, no active content)";
case RESOURCE:
return "--- Abstract Type! ---This is the base resource type for everything.";
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.";
case BUNDLE:
return "A container for a collection of resources.";
case DOMAINRESOURCE:
return "--- Abstract Type! ---A resource that includes narrative, extensions, and contained resources.";
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.";
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.";
case ADMINISTRABLEPRODUCTDEFINITION:
return "A medicinal product in the final form which is suitable for administering to a patient (after any mixing of multiple components, dissolution etc. has been performed).";
case ADVERSEEVENT:
return "Actual or potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death.";
case ALLERGYINTOLERANCE:
return "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.";
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).";
case APPOINTMENTRESPONSE:
return "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.";
case AUDITEVENT:
return "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.";
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.";
case BIOLOGICALLYDERIVEDPRODUCT:
return "A material substance originating from a biological entity intended to be transplanted or infused\ninto another (possibly the same) biological entity.";
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.";
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.";
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.";
case CARETEAM:
return "The Care Team includes all the people and organizations who plan to participate in the coordination and delivery of care for a patient.";
case CATALOGENTRY:
return "Catalog entries are wrappers that contextualize items included in a catalog.";
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.";
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.";
case CITATION:
return "The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources.";
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.";
case CLAIMRESPONSE:
return "This resource provides the adjudication details from the processing of a Claim resource.";
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.";
case CLINICALUSEDEFINITION:
return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure.";
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.";
case COMMUNICATION:
return "An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency that was notified about a reportable condition.";
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.";
case COMPARTMENTDEFINITION:
return "A compartment definition that defines how resources are accessed on a server.";
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.).";
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.";
case CONDITION:
return "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.";
case CONSENT:
return "A record of a healthcare consumer’s choices, 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.";
case CONTRACT:
return "Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.";
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.";
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.";
case COVERAGEELIGIBILITYRESPONSE:
return "This resource provides eligibility and plan details from the processing of an CoverageEligibilityRequest resource.";
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.";
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.";
case DEVICEDEFINITION:
return "The characteristics, operational status and capabilities of a medical-related component of a medical device.";
case DEVICEMETRIC:
return "Describes a measurement, calculation or setting capability of a medical device.";
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.";
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.";
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.";
case DOCUMENTMANIFEST:
return "A collection of documents compiled for a purpose together with metadata that applies to the collection.";
case DOCUMENTREFERENCE:
return "A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text.";
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.";
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.";
case ENROLLMENTREQUEST:
return "This resource provides the insurance enrollment details to the insurer regarding a specified coverage.";
case ENROLLMENTRESPONSE:
return "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource.";
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.";
case EVENTDEFINITION:
return "The EventDefinition resource provides a reusable description of when a particular event can occur.";
case EVIDENCE:
return "The Evidence Resource provides a machine-interpretable expression of an evidence concept including the evidence variables (eg population, exposures/interventions, comparators, outcomes, measured variables, confounding variables), the statistics, and the certainty of this evidence.";
case EVIDENCEREPORT:
return "The EvidenceReport Resource is a specialized container for a collection of resources and codable concepts, adapted to support compositions of Evidence, EvidenceVariable, and Citation resources and related concepts.";
case EVIDENCEVARIABLE:
return "The EvidenceVariable resource describes an element that knowledge (Evidence) is about.";
case EXAMPLESCENARIO:
return "Example of workflow instance.";
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.";
case FAMILYMEMBERHISTORY:
return "Significant health conditions for a person related to the patient relevant in the context of care for the patient.";
case FLAG:
return "Prospective warnings of potential issues when providing care to the patient.";
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.";
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.";
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.";
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.";
case HEALTHCARESERVICE:
return "The details of a healthcare service available at a location.";
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.";
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.";
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.";
case IMMUNIZATIONRECOMMENDATION:
return "A patient's point-in-time set of recommendations (i.e. forecasting) according to a published schedule with optional supporting justification.";
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.";
case INGREDIENT:
return "An ingredient of a manufactured item or pharmaceutical product.";
case INSURANCEPLAN:
return "Details of a Health Insurance product/plan provided by an organization.";
case INVOICE:
return "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.";
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.";
case LINKAGE:
return "Identifies two or more records (resource instances) that refer to the same real-world \"occurrence\".";
case LIST:
return "A list is a curated collection of resources.";
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.";
case MANUFACTUREDITEMDEFINITION:
return "The definition and characteristics of a medicinal manufactured item, such as a tablet or capsule, as contained in a packaged medicinal product.";
case MEASURE:
return "The Measure resource provides the definition of a quality measure.";
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.";
case MEDIA:
return "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.";
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.";
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.";
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.";
case MEDICATIONKNOWLEDGE:
return "Information about a medication that is used to support knowledge.";
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.";
case MEDICATIONSTATEMENT:
return "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 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 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.";
case MEDICINALPRODUCTDEFINITION:
return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs).";
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.";
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.";
case MOLECULARSEQUENCE:
return "Raw data describing a biological sequence.";
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.";
case NUTRITIONORDER:
return "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.";
case NUTRITIONPRODUCT:
return "A food or fluid product that is consumed by patients.";
case OBSERVATION:
return "Measurements and simple assertions made about a patient, device or other subject.";
case OBSERVATIONDEFINITION:
return "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.";
case OPERATIONDEFINITION:
return "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).";
case OPERATIONOUTCOME:
return "A collection of error, warning, or information messages that result from a system action.";
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.";
case ORGANIZATIONAFFILIATION:
return "Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship.";
case PACKAGEDPRODUCTDEFINITION:
return "A medically related item or items, in a container or package.";
case PATIENT:
return "Demographics and other administrative information about an individual or animal receiving care or other health-related services.";
case PAYMENTNOTICE:
return "This resource provides the status of the payment for goods and services rendered, and the request and response resource references.";
case PAYMENTRECONCILIATION:
return "This resource provides the details including amount of a payment and allocates the payment items being paid.";
case PERSON:
return "Demographics and administrative information about a person independent of a specific health-related context.";
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 and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications.";
case PRACTITIONER:
return "A person who is directly or indirectly involved in the provisioning of healthcare.";
case PRACTITIONERROLE:
return "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.";
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.";
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.";
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.";
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.";
case REGULATEDAUTHORIZATION:
return "Regulatory approval, clearance or licencing related to a regulated product, treatment, facility or activity that is cited in a guidance, regulation, rule or legislative act. An example is Market Authorization relating to a Medicinal Product.";
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.";
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\".";
case RESEARCHDEFINITION:
return "The ResearchDefinition resource describes the conditional state (population and any exposures being compared within the population) and outcome (if specified) that the knowledge (evidence, assertion, recommendation) is about.";
case RESEARCHELEMENTDEFINITION:
return "The ResearchElementDefinition resource describes a \"PICO\" element that knowledge (evidence, assertion, recommendation) is about.";
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.";
case RESEARCHSUBJECT:
return "A physical entity which is the primary unit of operational and/or administrative interest in a study.";
case RISKASSESSMENT:
return "An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.";
case SCHEDULE:
return "A container for slots of time that may be available for booking appointments.";
case SEARCHPARAMETER:
return "A search parameter that defines a named search item that can be used to search/filter on a resource.";
case SERVICEREQUEST:
return "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.";
case SLOT:
return "A slot of time on a schedule that may be available for booking appointments.";
case SPECIMEN:
return "A sample to be used for analysis.";
case SPECIMENDEFINITION:
return "A kind of specimen with associated set of requirements.";
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.";
case STRUCTUREMAP:
return "A Map of relationships between 2 structures that can be used to transform data.";
case SUBSCRIPTION:
return "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 can take an appropriate action.";
case SUBSCRIPTIONSTATUS:
return "The SubscriptionStatus resource describes the state of a Subscription during notifications.";
case SUBSCRIPTIONTOPIC:
return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic.";
case SUBSTANCE:
return "A homogeneous material with a definite composition.";
case SUBSTANCEDEFINITION:
return "The detailed description of a substance, typically at a level beyond what is used for prescribing.";
case SUPPLYDELIVERY:
return "Record of delivery of what is supplied.";
case SUPPLYREQUEST:
return "A record of a request for a medication, substance or device used in the healthcare setting.";
case TASK:
return "A task to be performed.";
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.";
case TESTREPORT:
return "A summary of information based on the results of executing a TestScript.";
case TESTSCRIPT:
return "A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.";
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).";
case VERIFICATIONRESULT:
return "Describes validation requirements, source(s), status and dates for one or more elements.";
case VISIONPRESCRIPTION:
return "An authorization for the provision of glasses and/or contact lenses to a patient.";
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.";
case NULL:
return null;
default:
return "?";
}
}
public String getDisplay() {
switch (this) {
case ADDRESS:
return "Address";
case AGE:
return "Age";
case ANNOTATION:
return "Annotation";
case ATTACHMENT:
return "Attachment";
case BACKBONEELEMENT:
return "BackboneElement";
case CODEABLECONCEPT:
return "CodeableConcept";
case CODEABLEREFERENCE:
return "CodeableReference";
case CODING:
return "Coding";
case CONTACTDETAIL:
return "ContactDetail";
case CONTACTPOINT:
return "ContactPoint";
case CONTRIBUTOR:
return "Contributor";
case COUNT:
return "Count";
case DATAREQUIREMENT:
return "DataRequirement";
case DATATYPE:
return "DataType";
case DISTANCE:
return "Distance";
case DOSAGE:
return "Dosage";
case DURATION:
return "Duration";
case ELEMENT:
return "Element";
case ELEMENTDEFINITION:
return "ElementDefinition";
case EXPRESSION:
return "Expression";
case EXTENSION:
return "Extension";
case HUMANNAME:
return "HumanName";
case IDENTIFIER:
return "Identifier";
case MARKETINGSTATUS:
return "MarketingStatus";
case META:
return "Meta";
case MONEY:
return "Money";
case MONEYQUANTITY:
return "MoneyQuantity";
case NARRATIVE:
return "Narrative";
case PARAMETERDEFINITION:
return "ParameterDefinition";
case PERIOD:
return "Period";
case POPULATION:
return "Population";
case PRODCHARACTERISTIC:
return "ProdCharacteristic";
case PRODUCTSHELFLIFE:
return "ProductShelfLife";
case QUANTITY:
return "Quantity";
case RANGE:
return "Range";
case RATIO:
return "Ratio";
case RATIORANGE:
return "RatioRange";
case REFERENCE:
return "Reference";
case RELATEDARTIFACT:
return "RelatedArtifact";
case SAMPLEDDATA:
return "SampledData";
case SIGNATURE:
return "Signature";
case SIMPLEQUANTITY:
return "SimpleQuantity";
case TIMING:
return "Timing";
case TRIGGERDEFINITION:
return "TriggerDefinition";
case USAGECONTEXT:
return "UsageContext";
case BASE64BINARY:
return "base64Binary";
case BOOLEAN:
return "boolean";
case CANONICAL:
return "canonical";
case CODE:
return "code";
case DATE:
return "date";
case DATETIME:
return "dateTime";
case DECIMAL:
return "decimal";
case ID:
return "id";
case INSTANT:
return "instant";
case INTEGER:
return "integer";
case MARKDOWN:
return "markdown";
case OID:
return "oid";
case POSITIVEINT:
return "positiveInt";
case STRING:
return "string";
case TIME:
return "time";
case UNSIGNEDINT:
return "unsignedInt";
case URI:
return "uri";
case URL:
return "url";
case UUID:
return "uuid";
case XHTML:
return "XHTML";
case RESOURCE:
return "Resource";
case BINARY:
return "Binary";
case BUNDLE:
return "Bundle";
case DOMAINRESOURCE:
return "DomainResource";
case ACCOUNT:
return "Account";
case ACTIVITYDEFINITION:
return "ActivityDefinition";
case ADMINISTRABLEPRODUCTDEFINITION:
return "AdministrableProductDefinition";
case ADVERSEEVENT:
return "AdverseEvent";
case ALLERGYINTOLERANCE:
return "AllergyIntolerance";
case APPOINTMENT:
return "Appointment";
case APPOINTMENTRESPONSE:
return "AppointmentResponse";
case AUDITEVENT:
return "AuditEvent";
case BASIC:
return "Basic";
case BIOLOGICALLYDERIVEDPRODUCT:
return "BiologicallyDerivedProduct";
case BODYSTRUCTURE:
return "BodyStructure";
case CAPABILITYSTATEMENT:
return "CapabilityStatement";
case CAREPLAN:
return "CarePlan";
case CARETEAM:
return "CareTeam";
case CATALOGENTRY:
return "CatalogEntry";
case CHARGEITEM:
return "ChargeItem";
case CHARGEITEMDEFINITION:
return "ChargeItemDefinition";
case CITATION:
return "Citation";
case CLAIM:
return "Claim";
case CLAIMRESPONSE:
return "ClaimResponse";
case CLINICALIMPRESSION:
return "ClinicalImpression";
case CLINICALUSEDEFINITION:
return "ClinicalUseDefinition";
case CODESYSTEM:
return "CodeSystem";
case COMMUNICATION:
return "Communication";
case COMMUNICATIONREQUEST:
return "CommunicationRequest";
case COMPARTMENTDEFINITION:
return "CompartmentDefinition";
case COMPOSITION:
return "Composition";
case CONCEPTMAP:
return "ConceptMap";
case CONDITION:
return "Condition";
case CONSENT:
return "Consent";
case CONTRACT:
return "Contract";
case COVERAGE:
return "Coverage";
case COVERAGEELIGIBILITYREQUEST:
return "CoverageEligibilityRequest";
case COVERAGEELIGIBILITYRESPONSE:
return "CoverageEligibilityResponse";
case DETECTEDISSUE:
return "DetectedIssue";
case DEVICE:
return "Device";
case DEVICEDEFINITION:
return "DeviceDefinition";
case DEVICEMETRIC:
return "DeviceMetric";
case DEVICEREQUEST:
return "DeviceRequest";
case DEVICEUSESTATEMENT:
return "DeviceUseStatement";
case DIAGNOSTICREPORT:
return "DiagnosticReport";
case DOCUMENTMANIFEST:
return "DocumentManifest";
case DOCUMENTREFERENCE:
return "DocumentReference";
case ENCOUNTER:
return "Encounter";
case ENDPOINT:
return "Endpoint";
case ENROLLMENTREQUEST:
return "EnrollmentRequest";
case ENROLLMENTRESPONSE:
return "EnrollmentResponse";
case EPISODEOFCARE:
return "EpisodeOfCare";
case EVENTDEFINITION:
return "EventDefinition";
case EVIDENCE:
return "Evidence";
case EVIDENCEREPORT:
return "EvidenceReport";
case EVIDENCEVARIABLE:
return "EvidenceVariable";
case EXAMPLESCENARIO:
return "ExampleScenario";
case EXPLANATIONOFBENEFIT:
return "ExplanationOfBenefit";
case FAMILYMEMBERHISTORY:
return "FamilyMemberHistory";
case FLAG:
return "Flag";
case GOAL:
return "Goal";
case GRAPHDEFINITION:
return "GraphDefinition";
case GROUP:
return "Group";
case GUIDANCERESPONSE:
return "GuidanceResponse";
case HEALTHCARESERVICE:
return "HealthcareService";
case IMAGINGSTUDY:
return "ImagingStudy";
case IMMUNIZATION:
return "Immunization";
case IMMUNIZATIONEVALUATION:
return "ImmunizationEvaluation";
case IMMUNIZATIONRECOMMENDATION:
return "ImmunizationRecommendation";
case IMPLEMENTATIONGUIDE:
return "ImplementationGuide";
case INGREDIENT:
return "Ingredient";
case INSURANCEPLAN:
return "InsurancePlan";
case INVOICE:
return "Invoice";
case LIBRARY:
return "Library";
case LINKAGE:
return "Linkage";
case LIST:
return "List";
case LOCATION:
return "Location";
case MANUFACTUREDITEMDEFINITION:
return "ManufacturedItemDefinition";
case MEASURE:
return "Measure";
case MEASUREREPORT:
return "MeasureReport";
case MEDIA:
return "Media";
case MEDICATION:
return "Medication";
case MEDICATIONADMINISTRATION:
return "MedicationAdministration";
case MEDICATIONDISPENSE:
return "MedicationDispense";
case MEDICATIONKNOWLEDGE:
return "MedicationKnowledge";
case MEDICATIONREQUEST:
return "MedicationRequest";
case MEDICATIONSTATEMENT:
return "MedicationStatement";
case MEDICINALPRODUCTDEFINITION:
return "MedicinalProductDefinition";
case MESSAGEDEFINITION:
return "MessageDefinition";
case MESSAGEHEADER:
return "MessageHeader";
case MOLECULARSEQUENCE:
return "MolecularSequence";
case NAMINGSYSTEM:
return "NamingSystem";
case NUTRITIONORDER:
return "NutritionOrder";
case NUTRITIONPRODUCT:
return "NutritionProduct";
case OBSERVATION:
return "Observation";
case OBSERVATIONDEFINITION:
return "ObservationDefinition";
case OPERATIONDEFINITION:
return "OperationDefinition";
case OPERATIONOUTCOME:
return "OperationOutcome";
case ORGANIZATION:
return "Organization";
case ORGANIZATIONAFFILIATION:
return "OrganizationAffiliation";
case PACKAGEDPRODUCTDEFINITION:
return "PackagedProductDefinition";
case PATIENT:
return "Patient";
case PAYMENTNOTICE:
return "PaymentNotice";
case PAYMENTRECONCILIATION:
return "PaymentReconciliation";
case PERSON:
return "Person";
case PLANDEFINITION:
return "PlanDefinition";
case PRACTITIONER:
return "Practitioner";
case PRACTITIONERROLE:
return "PractitionerRole";
case PROCEDURE:
return "Procedure";
case PROVENANCE:
return "Provenance";
case QUESTIONNAIRE:
return "Questionnaire";
case QUESTIONNAIRERESPONSE:
return "QuestionnaireResponse";
case REGULATEDAUTHORIZATION:
return "RegulatedAuthorization";
case RELATEDPERSON:
return "RelatedPerson";
case REQUESTGROUP:
return "RequestGroup";
case RESEARCHDEFINITION:
return "ResearchDefinition";
case RESEARCHELEMENTDEFINITION:
return "ResearchElementDefinition";
case RESEARCHSTUDY:
return "ResearchStudy";
case RESEARCHSUBJECT:
return "ResearchSubject";
case RISKASSESSMENT:
return "RiskAssessment";
case SCHEDULE:
return "Schedule";
case SEARCHPARAMETER:
return "SearchParameter";
case SERVICEREQUEST:
return "ServiceRequest";
case SLOT:
return "Slot";
case SPECIMEN:
return "Specimen";
case SPECIMENDEFINITION:
return "SpecimenDefinition";
case STRUCTUREDEFINITION:
return "StructureDefinition";
case STRUCTUREMAP:
return "StructureMap";
case SUBSCRIPTION:
return "Subscription";
case SUBSCRIPTIONSTATUS:
return "SubscriptionStatus";
case SUBSCRIPTIONTOPIC:
return "SubscriptionTopic";
case SUBSTANCE:
return "Substance";
case SUBSTANCEDEFINITION:
return "SubstanceDefinition";
case SUPPLYDELIVERY:
return "SupplyDelivery";
case SUPPLYREQUEST:
return "SupplyRequest";
case TASK:
return "Task";
case TERMINOLOGYCAPABILITIES:
return "TerminologyCapabilities";
case TESTREPORT:
return "TestReport";
case TESTSCRIPT:
return "TestScript";
case VALUESET:
return "ValueSet";
case VERIFICATIONRESULT:
return "VerificationResult";
case VISIONPRESCRIPTION:
return "VisionPrescription";
case PARAMETERS:
return "Parameters";
case NULL:
return null;
default:
return "?";
}
}
}
public static class FHIRDefinedTypeEnumFactory implements EnumFactory {
public FHIRDefinedType fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("Address".equals(codeString))
return FHIRDefinedType.ADDRESS;
if ("Age".equals(codeString))
return FHIRDefinedType.AGE;
if ("Annotation".equals(codeString))
return FHIRDefinedType.ANNOTATION;
if ("Attachment".equals(codeString))
return FHIRDefinedType.ATTACHMENT;
if ("BackboneElement".equals(codeString))
return FHIRDefinedType.BACKBONEELEMENT;
if ("CodeableConcept".equals(codeString))
return FHIRDefinedType.CODEABLECONCEPT;
if ("CodeableReference".equals(codeString))
return FHIRDefinedType.CODEABLEREFERENCE;
if ("Coding".equals(codeString))
return FHIRDefinedType.CODING;
if ("ContactDetail".equals(codeString))
return FHIRDefinedType.CONTACTDETAIL;
if ("ContactPoint".equals(codeString))
return FHIRDefinedType.CONTACTPOINT;
if ("Contributor".equals(codeString))
return FHIRDefinedType.CONTRIBUTOR;
if ("Count".equals(codeString))
return FHIRDefinedType.COUNT;
if ("DataRequirement".equals(codeString))
return FHIRDefinedType.DATAREQUIREMENT;
if ("DataType".equals(codeString))
return FHIRDefinedType.DATATYPE;
if ("Distance".equals(codeString))
return FHIRDefinedType.DISTANCE;
if ("Dosage".equals(codeString))
return FHIRDefinedType.DOSAGE;
if ("Duration".equals(codeString))
return FHIRDefinedType.DURATION;
if ("Element".equals(codeString))
return FHIRDefinedType.ELEMENT;
if ("ElementDefinition".equals(codeString))
return FHIRDefinedType.ELEMENTDEFINITION;
if ("Expression".equals(codeString))
return FHIRDefinedType.EXPRESSION;
if ("Extension".equals(codeString))
return FHIRDefinedType.EXTENSION;
if ("HumanName".equals(codeString))
return FHIRDefinedType.HUMANNAME;
if ("Identifier".equals(codeString))
return FHIRDefinedType.IDENTIFIER;
if ("MarketingStatus".equals(codeString))
return FHIRDefinedType.MARKETINGSTATUS;
if ("Meta".equals(codeString))
return FHIRDefinedType.META;
if ("Money".equals(codeString))
return FHIRDefinedType.MONEY;
if ("MoneyQuantity".equals(codeString))
return FHIRDefinedType.MONEYQUANTITY;
if ("Narrative".equals(codeString))
return FHIRDefinedType.NARRATIVE;
if ("ParameterDefinition".equals(codeString))
return FHIRDefinedType.PARAMETERDEFINITION;
if ("Period".equals(codeString))
return FHIRDefinedType.PERIOD;
if ("Population".equals(codeString))
return FHIRDefinedType.POPULATION;
if ("ProdCharacteristic".equals(codeString))
return FHIRDefinedType.PRODCHARACTERISTIC;
if ("ProductShelfLife".equals(codeString))
return FHIRDefinedType.PRODUCTSHELFLIFE;
if ("Quantity".equals(codeString))
return FHIRDefinedType.QUANTITY;
if ("Range".equals(codeString))
return FHIRDefinedType.RANGE;
if ("Ratio".equals(codeString))
return FHIRDefinedType.RATIO;
if ("RatioRange".equals(codeString))
return FHIRDefinedType.RATIORANGE;
if ("Reference".equals(codeString))
return FHIRDefinedType.REFERENCE;
if ("RelatedArtifact".equals(codeString))
return FHIRDefinedType.RELATEDARTIFACT;
if ("SampledData".equals(codeString))
return FHIRDefinedType.SAMPLEDDATA;
if ("Signature".equals(codeString))
return FHIRDefinedType.SIGNATURE;
if ("SimpleQuantity".equals(codeString))
return FHIRDefinedType.SIMPLEQUANTITY;
if ("Timing".equals(codeString))
return FHIRDefinedType.TIMING;
if ("TriggerDefinition".equals(codeString))
return FHIRDefinedType.TRIGGERDEFINITION;
if ("UsageContext".equals(codeString))
return FHIRDefinedType.USAGECONTEXT;
if ("base64Binary".equals(codeString))
return FHIRDefinedType.BASE64BINARY;
if ("boolean".equals(codeString))
return FHIRDefinedType.BOOLEAN;
if ("canonical".equals(codeString))
return FHIRDefinedType.CANONICAL;
if ("code".equals(codeString))
return FHIRDefinedType.CODE;
if ("date".equals(codeString))
return FHIRDefinedType.DATE;
if ("dateTime".equals(codeString))
return FHIRDefinedType.DATETIME;
if ("decimal".equals(codeString))
return FHIRDefinedType.DECIMAL;
if ("id".equals(codeString))
return FHIRDefinedType.ID;
if ("instant".equals(codeString))
return FHIRDefinedType.INSTANT;
if ("integer".equals(codeString))
return FHIRDefinedType.INTEGER;
if ("markdown".equals(codeString))
return FHIRDefinedType.MARKDOWN;
if ("oid".equals(codeString))
return FHIRDefinedType.OID;
if ("positiveInt".equals(codeString))
return FHIRDefinedType.POSITIVEINT;
if ("string".equals(codeString))
return FHIRDefinedType.STRING;
if ("time".equals(codeString))
return FHIRDefinedType.TIME;
if ("unsignedInt".equals(codeString))
return FHIRDefinedType.UNSIGNEDINT;
if ("uri".equals(codeString))
return FHIRDefinedType.URI;
if ("url".equals(codeString))
return FHIRDefinedType.URL;
if ("uuid".equals(codeString))
return FHIRDefinedType.UUID;
if ("xhtml".equals(codeString))
return FHIRDefinedType.XHTML;
if ("Resource".equals(codeString))
return FHIRDefinedType.RESOURCE;
if ("Binary".equals(codeString))
return FHIRDefinedType.BINARY;
if ("Bundle".equals(codeString))
return FHIRDefinedType.BUNDLE;
if ("DomainResource".equals(codeString))
return FHIRDefinedType.DOMAINRESOURCE;
if ("Account".equals(codeString))
return FHIRDefinedType.ACCOUNT;
if ("ActivityDefinition".equals(codeString))
return FHIRDefinedType.ACTIVITYDEFINITION;
if ("AdministrableProductDefinition".equals(codeString))
return FHIRDefinedType.ADMINISTRABLEPRODUCTDEFINITION;
if ("AdverseEvent".equals(codeString))
return FHIRDefinedType.ADVERSEEVENT;
if ("AllergyIntolerance".equals(codeString))
return FHIRDefinedType.ALLERGYINTOLERANCE;
if ("Appointment".equals(codeString))
return FHIRDefinedType.APPOINTMENT;
if ("AppointmentResponse".equals(codeString))
return FHIRDefinedType.APPOINTMENTRESPONSE;
if ("AuditEvent".equals(codeString))
return FHIRDefinedType.AUDITEVENT;
if ("Basic".equals(codeString))
return FHIRDefinedType.BASIC;
if ("BiologicallyDerivedProduct".equals(codeString))
return FHIRDefinedType.BIOLOGICALLYDERIVEDPRODUCT;
if ("BodyStructure".equals(codeString))
return FHIRDefinedType.BODYSTRUCTURE;
if ("CapabilityStatement".equals(codeString))
return FHIRDefinedType.CAPABILITYSTATEMENT;
if ("CarePlan".equals(codeString))
return FHIRDefinedType.CAREPLAN;
if ("CareTeam".equals(codeString))
return FHIRDefinedType.CARETEAM;
if ("CatalogEntry".equals(codeString))
return FHIRDefinedType.CATALOGENTRY;
if ("ChargeItem".equals(codeString))
return FHIRDefinedType.CHARGEITEM;
if ("ChargeItemDefinition".equals(codeString))
return FHIRDefinedType.CHARGEITEMDEFINITION;
if ("Citation".equals(codeString))
return FHIRDefinedType.CITATION;
if ("Claim".equals(codeString))
return FHIRDefinedType.CLAIM;
if ("ClaimResponse".equals(codeString))
return FHIRDefinedType.CLAIMRESPONSE;
if ("ClinicalImpression".equals(codeString))
return FHIRDefinedType.CLINICALIMPRESSION;
if ("ClinicalUseDefinition".equals(codeString))
return FHIRDefinedType.CLINICALUSEDEFINITION;
if ("CodeSystem".equals(codeString))
return FHIRDefinedType.CODESYSTEM;
if ("Communication".equals(codeString))
return FHIRDefinedType.COMMUNICATION;
if ("CommunicationRequest".equals(codeString))
return FHIRDefinedType.COMMUNICATIONREQUEST;
if ("CompartmentDefinition".equals(codeString))
return FHIRDefinedType.COMPARTMENTDEFINITION;
if ("Composition".equals(codeString))
return FHIRDefinedType.COMPOSITION;
if ("ConceptMap".equals(codeString))
return FHIRDefinedType.CONCEPTMAP;
if ("Condition".equals(codeString))
return FHIRDefinedType.CONDITION;
if ("Consent".equals(codeString))
return FHIRDefinedType.CONSENT;
if ("Contract".equals(codeString))
return FHIRDefinedType.CONTRACT;
if ("Coverage".equals(codeString))
return FHIRDefinedType.COVERAGE;
if ("CoverageEligibilityRequest".equals(codeString))
return FHIRDefinedType.COVERAGEELIGIBILITYREQUEST;
if ("CoverageEligibilityResponse".equals(codeString))
return FHIRDefinedType.COVERAGEELIGIBILITYRESPONSE;
if ("DetectedIssue".equals(codeString))
return FHIRDefinedType.DETECTEDISSUE;
if ("Device".equals(codeString))
return FHIRDefinedType.DEVICE;
if ("DeviceDefinition".equals(codeString))
return FHIRDefinedType.DEVICEDEFINITION;
if ("DeviceMetric".equals(codeString))
return FHIRDefinedType.DEVICEMETRIC;
if ("DeviceRequest".equals(codeString))
return FHIRDefinedType.DEVICEREQUEST;
if ("DeviceUseStatement".equals(codeString))
return FHIRDefinedType.DEVICEUSESTATEMENT;
if ("DiagnosticReport".equals(codeString))
return FHIRDefinedType.DIAGNOSTICREPORT;
if ("DocumentManifest".equals(codeString))
return FHIRDefinedType.DOCUMENTMANIFEST;
if ("DocumentReference".equals(codeString))
return FHIRDefinedType.DOCUMENTREFERENCE;
if ("Encounter".equals(codeString))
return FHIRDefinedType.ENCOUNTER;
if ("Endpoint".equals(codeString))
return FHIRDefinedType.ENDPOINT;
if ("EnrollmentRequest".equals(codeString))
return FHIRDefinedType.ENROLLMENTREQUEST;
if ("EnrollmentResponse".equals(codeString))
return FHIRDefinedType.ENROLLMENTRESPONSE;
if ("EpisodeOfCare".equals(codeString))
return FHIRDefinedType.EPISODEOFCARE;
if ("EventDefinition".equals(codeString))
return FHIRDefinedType.EVENTDEFINITION;
if ("Evidence".equals(codeString))
return FHIRDefinedType.EVIDENCE;
if ("EvidenceReport".equals(codeString))
return FHIRDefinedType.EVIDENCEREPORT;
if ("EvidenceVariable".equals(codeString))
return FHIRDefinedType.EVIDENCEVARIABLE;
if ("ExampleScenario".equals(codeString))
return FHIRDefinedType.EXAMPLESCENARIO;
if ("ExplanationOfBenefit".equals(codeString))
return FHIRDefinedType.EXPLANATIONOFBENEFIT;
if ("FamilyMemberHistory".equals(codeString))
return FHIRDefinedType.FAMILYMEMBERHISTORY;
if ("Flag".equals(codeString))
return FHIRDefinedType.FLAG;
if ("Goal".equals(codeString))
return FHIRDefinedType.GOAL;
if ("GraphDefinition".equals(codeString))
return FHIRDefinedType.GRAPHDEFINITION;
if ("Group".equals(codeString))
return FHIRDefinedType.GROUP;
if ("GuidanceResponse".equals(codeString))
return FHIRDefinedType.GUIDANCERESPONSE;
if ("HealthcareService".equals(codeString))
return FHIRDefinedType.HEALTHCARESERVICE;
if ("ImagingStudy".equals(codeString))
return FHIRDefinedType.IMAGINGSTUDY;
if ("Immunization".equals(codeString))
return FHIRDefinedType.IMMUNIZATION;
if ("ImmunizationEvaluation".equals(codeString))
return FHIRDefinedType.IMMUNIZATIONEVALUATION;
if ("ImmunizationRecommendation".equals(codeString))
return FHIRDefinedType.IMMUNIZATIONRECOMMENDATION;
if ("ImplementationGuide".equals(codeString))
return FHIRDefinedType.IMPLEMENTATIONGUIDE;
if ("Ingredient".equals(codeString))
return FHIRDefinedType.INGREDIENT;
if ("InsurancePlan".equals(codeString))
return FHIRDefinedType.INSURANCEPLAN;
if ("Invoice".equals(codeString))
return FHIRDefinedType.INVOICE;
if ("Library".equals(codeString))
return FHIRDefinedType.LIBRARY;
if ("Linkage".equals(codeString))
return FHIRDefinedType.LINKAGE;
if ("List".equals(codeString))
return FHIRDefinedType.LIST;
if ("Location".equals(codeString))
return FHIRDefinedType.LOCATION;
if ("ManufacturedItemDefinition".equals(codeString))
return FHIRDefinedType.MANUFACTUREDITEMDEFINITION;
if ("Measure".equals(codeString))
return FHIRDefinedType.MEASURE;
if ("MeasureReport".equals(codeString))
return FHIRDefinedType.MEASUREREPORT;
if ("Media".equals(codeString))
return FHIRDefinedType.MEDIA;
if ("Medication".equals(codeString))
return FHIRDefinedType.MEDICATION;
if ("MedicationAdministration".equals(codeString))
return FHIRDefinedType.MEDICATIONADMINISTRATION;
if ("MedicationDispense".equals(codeString))
return FHIRDefinedType.MEDICATIONDISPENSE;
if ("MedicationKnowledge".equals(codeString))
return FHIRDefinedType.MEDICATIONKNOWLEDGE;
if ("MedicationRequest".equals(codeString))
return FHIRDefinedType.MEDICATIONREQUEST;
if ("MedicationStatement".equals(codeString))
return FHIRDefinedType.MEDICATIONSTATEMENT;
if ("MedicinalProductDefinition".equals(codeString))
return FHIRDefinedType.MEDICINALPRODUCTDEFINITION;
if ("MessageDefinition".equals(codeString))
return FHIRDefinedType.MESSAGEDEFINITION;
if ("MessageHeader".equals(codeString))
return FHIRDefinedType.MESSAGEHEADER;
if ("MolecularSequence".equals(codeString))
return FHIRDefinedType.MOLECULARSEQUENCE;
if ("NamingSystem".equals(codeString))
return FHIRDefinedType.NAMINGSYSTEM;
if ("NutritionOrder".equals(codeString))
return FHIRDefinedType.NUTRITIONORDER;
if ("NutritionProduct".equals(codeString))
return FHIRDefinedType.NUTRITIONPRODUCT;
if ("Observation".equals(codeString))
return FHIRDefinedType.OBSERVATION;
if ("ObservationDefinition".equals(codeString))
return FHIRDefinedType.OBSERVATIONDEFINITION;
if ("OperationDefinition".equals(codeString))
return FHIRDefinedType.OPERATIONDEFINITION;
if ("OperationOutcome".equals(codeString))
return FHIRDefinedType.OPERATIONOUTCOME;
if ("Organization".equals(codeString))
return FHIRDefinedType.ORGANIZATION;
if ("OrganizationAffiliation".equals(codeString))
return FHIRDefinedType.ORGANIZATIONAFFILIATION;
if ("PackagedProductDefinition".equals(codeString))
return FHIRDefinedType.PACKAGEDPRODUCTDEFINITION;
if ("Patient".equals(codeString))
return FHIRDefinedType.PATIENT;
if ("PaymentNotice".equals(codeString))
return FHIRDefinedType.PAYMENTNOTICE;
if ("PaymentReconciliation".equals(codeString))
return FHIRDefinedType.PAYMENTRECONCILIATION;
if ("Person".equals(codeString))
return FHIRDefinedType.PERSON;
if ("PlanDefinition".equals(codeString))
return FHIRDefinedType.PLANDEFINITION;
if ("Practitioner".equals(codeString))
return FHIRDefinedType.PRACTITIONER;
if ("PractitionerRole".equals(codeString))
return FHIRDefinedType.PRACTITIONERROLE;
if ("Procedure".equals(codeString))
return FHIRDefinedType.PROCEDURE;
if ("Provenance".equals(codeString))
return FHIRDefinedType.PROVENANCE;
if ("Questionnaire".equals(codeString))
return FHIRDefinedType.QUESTIONNAIRE;
if ("QuestionnaireResponse".equals(codeString))
return FHIRDefinedType.QUESTIONNAIRERESPONSE;
if ("RegulatedAuthorization".equals(codeString))
return FHIRDefinedType.REGULATEDAUTHORIZATION;
if ("RelatedPerson".equals(codeString))
return FHIRDefinedType.RELATEDPERSON;
if ("RequestGroup".equals(codeString))
return FHIRDefinedType.REQUESTGROUP;
if ("ResearchDefinition".equals(codeString))
return FHIRDefinedType.RESEARCHDEFINITION;
if ("ResearchElementDefinition".equals(codeString))
return FHIRDefinedType.RESEARCHELEMENTDEFINITION;
if ("ResearchStudy".equals(codeString))
return FHIRDefinedType.RESEARCHSTUDY;
if ("ResearchSubject".equals(codeString))
return FHIRDefinedType.RESEARCHSUBJECT;
if ("RiskAssessment".equals(codeString))
return FHIRDefinedType.RISKASSESSMENT;
if ("Schedule".equals(codeString))
return FHIRDefinedType.SCHEDULE;
if ("SearchParameter".equals(codeString))
return FHIRDefinedType.SEARCHPARAMETER;
if ("ServiceRequest".equals(codeString))
return FHIRDefinedType.SERVICEREQUEST;
if ("Slot".equals(codeString))
return FHIRDefinedType.SLOT;
if ("Specimen".equals(codeString))
return FHIRDefinedType.SPECIMEN;
if ("SpecimenDefinition".equals(codeString))
return FHIRDefinedType.SPECIMENDEFINITION;
if ("StructureDefinition".equals(codeString))
return FHIRDefinedType.STRUCTUREDEFINITION;
if ("StructureMap".equals(codeString))
return FHIRDefinedType.STRUCTUREMAP;
if ("Subscription".equals(codeString))
return FHIRDefinedType.SUBSCRIPTION;
if ("SubscriptionStatus".equals(codeString))
return FHIRDefinedType.SUBSCRIPTIONSTATUS;
if ("SubscriptionTopic".equals(codeString))
return FHIRDefinedType.SUBSCRIPTIONTOPIC;
if ("Substance".equals(codeString))
return FHIRDefinedType.SUBSTANCE;
if ("SubstanceDefinition".equals(codeString))
return FHIRDefinedType.SUBSTANCEDEFINITION;
if ("SupplyDelivery".equals(codeString))
return FHIRDefinedType.SUPPLYDELIVERY;
if ("SupplyRequest".equals(codeString))
return FHIRDefinedType.SUPPLYREQUEST;
if ("Task".equals(codeString))
return FHIRDefinedType.TASK;
if ("TerminologyCapabilities".equals(codeString))
return FHIRDefinedType.TERMINOLOGYCAPABILITIES;
if ("TestReport".equals(codeString))
return FHIRDefinedType.TESTREPORT;
if ("TestScript".equals(codeString))
return FHIRDefinedType.TESTSCRIPT;
if ("ValueSet".equals(codeString))
return FHIRDefinedType.VALUESET;
if ("VerificationResult".equals(codeString))
return FHIRDefinedType.VERIFICATIONRESULT;
if ("VisionPrescription".equals(codeString))
return FHIRDefinedType.VISIONPRESCRIPTION;
if ("Parameters".equals(codeString))
return FHIRDefinedType.PARAMETERS;
throw new IllegalArgumentException("Unknown FHIRDefinedType code '" + codeString + "'");
}
public Enumeration fromType(PrimitiveType> code) throws FHIRException {
if (code == null)
return null;
if (code.isEmpty())
return new Enumeration(this, FHIRDefinedType.NULL, code);
String codeString = code.asStringValue();
if (codeString == null || "".equals(codeString))
return new Enumeration(this, FHIRDefinedType.NULL, code);
if ("Address".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ADDRESS, code);
if ("Age".equals(codeString))
return new Enumeration(this, FHIRDefinedType.AGE, code);
if ("Annotation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ANNOTATION, code);
if ("Attachment".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ATTACHMENT, code);
if ("BackboneElement".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BACKBONEELEMENT, code);
if ("CodeableConcept".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CODEABLECONCEPT, code);
if ("CodeableReference".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CODEABLEREFERENCE, code);
if ("Coding".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CODING, code);
if ("ContactDetail".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONTACTDETAIL, code);
if ("ContactPoint".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONTACTPOINT, code);
if ("Contributor".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONTRIBUTOR, code);
if ("Count".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COUNT, code);
if ("DataRequirement".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DATAREQUIREMENT, code);
if ("DataType".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DATATYPE, code);
if ("Distance".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DISTANCE, code);
if ("Dosage".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DOSAGE, code);
if ("Duration".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DURATION, code);
if ("Element".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ELEMENT, code);
if ("ElementDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ELEMENTDEFINITION, code);
if ("Expression".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EXPRESSION, code);
if ("Extension".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EXTENSION, code);
if ("HumanName".equals(codeString))
return new Enumeration(this, FHIRDefinedType.HUMANNAME, code);
if ("Identifier".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IDENTIFIER, code);
if ("MarketingStatus".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MARKETINGSTATUS, code);
if ("Meta".equals(codeString))
return new Enumeration(this, FHIRDefinedType.META, code);
if ("Money".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MONEY, code);
if ("MoneyQuantity".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MONEYQUANTITY, code);
if ("Narrative".equals(codeString))
return new Enumeration(this, FHIRDefinedType.NARRATIVE, code);
if ("ParameterDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PARAMETERDEFINITION, code);
if ("Period".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PERIOD, code);
if ("Population".equals(codeString))
return new Enumeration(this, FHIRDefinedType.POPULATION, code);
if ("ProdCharacteristic".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PRODCHARACTERISTIC, code);
if ("ProductShelfLife".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PRODUCTSHELFLIFE, code);
if ("Quantity".equals(codeString))
return new Enumeration(this, FHIRDefinedType.QUANTITY, code);
if ("Range".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RANGE, code);
if ("Ratio".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RATIO, code);
if ("RatioRange".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RATIORANGE, code);
if ("Reference".equals(codeString))
return new Enumeration(this, FHIRDefinedType.REFERENCE, code);
if ("RelatedArtifact".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RELATEDARTIFACT, code);
if ("SampledData".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SAMPLEDDATA, code);
if ("Signature".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SIGNATURE, code);
if ("SimpleQuantity".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SIMPLEQUANTITY, code);
if ("Timing".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TIMING, code);
if ("TriggerDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TRIGGERDEFINITION, code);
if ("UsageContext".equals(codeString))
return new Enumeration(this, FHIRDefinedType.USAGECONTEXT, code);
if ("base64Binary".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BASE64BINARY, code);
if ("boolean".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BOOLEAN, code);
if ("canonical".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CANONICAL, code);
if ("code".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CODE, code);
if ("date".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DATE, code);
if ("dateTime".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DATETIME, code);
if ("decimal".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DECIMAL, code);
if ("id".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ID, code);
if ("instant".equals(codeString))
return new Enumeration(this, FHIRDefinedType.INSTANT, code);
if ("integer".equals(codeString))
return new Enumeration(this, FHIRDefinedType.INTEGER, code);
if ("markdown".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MARKDOWN, code);
if ("oid".equals(codeString))
return new Enumeration(this, FHIRDefinedType.OID, code);
if ("positiveInt".equals(codeString))
return new Enumeration(this, FHIRDefinedType.POSITIVEINT, code);
if ("string".equals(codeString))
return new Enumeration(this, FHIRDefinedType.STRING, code);
if ("time".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TIME, code);
if ("unsignedInt".equals(codeString))
return new Enumeration(this, FHIRDefinedType.UNSIGNEDINT, code);
if ("uri".equals(codeString))
return new Enumeration(this, FHIRDefinedType.URI, code);
if ("url".equals(codeString))
return new Enumeration(this, FHIRDefinedType.URL, code);
if ("uuid".equals(codeString))
return new Enumeration(this, FHIRDefinedType.UUID, code);
if ("xhtml".equals(codeString))
return new Enumeration(this, FHIRDefinedType.XHTML, code);
if ("Resource".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RESOURCE, code);
if ("Binary".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BINARY, code);
if ("Bundle".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BUNDLE, code);
if ("DomainResource".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DOMAINRESOURCE, code);
if ("Account".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ACCOUNT, code);
if ("ActivityDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ACTIVITYDEFINITION, code);
if ("AdministrableProductDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ADMINISTRABLEPRODUCTDEFINITION, code);
if ("AdverseEvent".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ADVERSEEVENT, code);
if ("AllergyIntolerance".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ALLERGYINTOLERANCE, code);
if ("Appointment".equals(codeString))
return new Enumeration(this, FHIRDefinedType.APPOINTMENT, code);
if ("AppointmentResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.APPOINTMENTRESPONSE, code);
if ("AuditEvent".equals(codeString))
return new Enumeration(this, FHIRDefinedType.AUDITEVENT, code);
if ("Basic".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BASIC, code);
if ("BiologicallyDerivedProduct".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BIOLOGICALLYDERIVEDPRODUCT, code);
if ("BodyStructure".equals(codeString))
return new Enumeration(this, FHIRDefinedType.BODYSTRUCTURE, code);
if ("CapabilityStatement".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CAPABILITYSTATEMENT, code);
if ("CarePlan".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CAREPLAN, code);
if ("CareTeam".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CARETEAM, code);
if ("CatalogEntry".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CATALOGENTRY, code);
if ("ChargeItem".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CHARGEITEM, code);
if ("ChargeItemDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CHARGEITEMDEFINITION, code);
if ("Citation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CITATION, code);
if ("Claim".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CLAIM, code);
if ("ClaimResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CLAIMRESPONSE, code);
if ("ClinicalImpression".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CLINICALIMPRESSION, code);
if ("ClinicalUseDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CLINICALUSEDEFINITION, code);
if ("CodeSystem".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CODESYSTEM, code);
if ("Communication".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COMMUNICATION, code);
if ("CommunicationRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COMMUNICATIONREQUEST, code);
if ("CompartmentDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COMPARTMENTDEFINITION, code);
if ("Composition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COMPOSITION, code);
if ("ConceptMap".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONCEPTMAP, code);
if ("Condition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONDITION, code);
if ("Consent".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONSENT, code);
if ("Contract".equals(codeString))
return new Enumeration(this, FHIRDefinedType.CONTRACT, code);
if ("Coverage".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COVERAGE, code);
if ("CoverageEligibilityRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COVERAGEELIGIBILITYREQUEST, code);
if ("CoverageEligibilityResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.COVERAGEELIGIBILITYRESPONSE, code);
if ("DetectedIssue".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DETECTEDISSUE, code);
if ("Device".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DEVICE, code);
if ("DeviceDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DEVICEDEFINITION, code);
if ("DeviceMetric".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DEVICEMETRIC, code);
if ("DeviceRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DEVICEREQUEST, code);
if ("DeviceUseStatement".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DEVICEUSESTATEMENT, code);
if ("DiagnosticReport".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DIAGNOSTICREPORT, code);
if ("DocumentManifest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DOCUMENTMANIFEST, code);
if ("DocumentReference".equals(codeString))
return new Enumeration(this, FHIRDefinedType.DOCUMENTREFERENCE, code);
if ("Encounter".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ENCOUNTER, code);
if ("Endpoint".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ENDPOINT, code);
if ("EnrollmentRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ENROLLMENTREQUEST, code);
if ("EnrollmentResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ENROLLMENTRESPONSE, code);
if ("EpisodeOfCare".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EPISODEOFCARE, code);
if ("EventDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EVENTDEFINITION, code);
if ("Evidence".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EVIDENCE, code);
if ("EvidenceReport".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EVIDENCEREPORT, code);
if ("EvidenceVariable".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EVIDENCEVARIABLE, code);
if ("ExampleScenario".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EXAMPLESCENARIO, code);
if ("ExplanationOfBenefit".equals(codeString))
return new Enumeration(this, FHIRDefinedType.EXPLANATIONOFBENEFIT, code);
if ("FamilyMemberHistory".equals(codeString))
return new Enumeration(this, FHIRDefinedType.FAMILYMEMBERHISTORY, code);
if ("Flag".equals(codeString))
return new Enumeration(this, FHIRDefinedType.FLAG, code);
if ("Goal".equals(codeString))
return new Enumeration(this, FHIRDefinedType.GOAL, code);
if ("GraphDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.GRAPHDEFINITION, code);
if ("Group".equals(codeString))
return new Enumeration(this, FHIRDefinedType.GROUP, code);
if ("GuidanceResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.GUIDANCERESPONSE, code);
if ("HealthcareService".equals(codeString))
return new Enumeration(this, FHIRDefinedType.HEALTHCARESERVICE, code);
if ("ImagingStudy".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IMAGINGSTUDY, code);
if ("Immunization".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IMMUNIZATION, code);
if ("ImmunizationEvaluation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IMMUNIZATIONEVALUATION, code);
if ("ImmunizationRecommendation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IMMUNIZATIONRECOMMENDATION, code);
if ("ImplementationGuide".equals(codeString))
return new Enumeration(this, FHIRDefinedType.IMPLEMENTATIONGUIDE, code);
if ("Ingredient".equals(codeString))
return new Enumeration(this, FHIRDefinedType.INGREDIENT, code);
if ("InsurancePlan".equals(codeString))
return new Enumeration(this, FHIRDefinedType.INSURANCEPLAN, code);
if ("Invoice".equals(codeString))
return new Enumeration(this, FHIRDefinedType.INVOICE, code);
if ("Library".equals(codeString))
return new Enumeration(this, FHIRDefinedType.LIBRARY, code);
if ("Linkage".equals(codeString))
return new Enumeration(this, FHIRDefinedType.LINKAGE, code);
if ("List".equals(codeString))
return new Enumeration(this, FHIRDefinedType.LIST, code);
if ("Location".equals(codeString))
return new Enumeration(this, FHIRDefinedType.LOCATION, code);
if ("ManufacturedItemDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MANUFACTUREDITEMDEFINITION, code);
if ("Measure".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEASURE, code);
if ("MeasureReport".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEASUREREPORT, code);
if ("Media".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDIA, code);
if ("Medication".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATION, code);
if ("MedicationAdministration".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATIONADMINISTRATION, code);
if ("MedicationDispense".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATIONDISPENSE, code);
if ("MedicationKnowledge".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATIONKNOWLEDGE, code);
if ("MedicationRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATIONREQUEST, code);
if ("MedicationStatement".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICATIONSTATEMENT, code);
if ("MedicinalProductDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MEDICINALPRODUCTDEFINITION, code);
if ("MessageDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MESSAGEDEFINITION, code);
if ("MessageHeader".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MESSAGEHEADER, code);
if ("MolecularSequence".equals(codeString))
return new Enumeration(this, FHIRDefinedType.MOLECULARSEQUENCE, code);
if ("NamingSystem".equals(codeString))
return new Enumeration(this, FHIRDefinedType.NAMINGSYSTEM, code);
if ("NutritionOrder".equals(codeString))
return new Enumeration(this, FHIRDefinedType.NUTRITIONORDER, code);
if ("NutritionProduct".equals(codeString))
return new Enumeration(this, FHIRDefinedType.NUTRITIONPRODUCT, code);
if ("Observation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.OBSERVATION, code);
if ("ObservationDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.OBSERVATIONDEFINITION, code);
if ("OperationDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.OPERATIONDEFINITION, code);
if ("OperationOutcome".equals(codeString))
return new Enumeration(this, FHIRDefinedType.OPERATIONOUTCOME, code);
if ("Organization".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ORGANIZATION, code);
if ("OrganizationAffiliation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.ORGANIZATIONAFFILIATION, code);
if ("PackagedProductDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PACKAGEDPRODUCTDEFINITION, code);
if ("Patient".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PATIENT, code);
if ("PaymentNotice".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PAYMENTNOTICE, code);
if ("PaymentReconciliation".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PAYMENTRECONCILIATION, code);
if ("Person".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PERSON, code);
if ("PlanDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PLANDEFINITION, code);
if ("Practitioner".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PRACTITIONER, code);
if ("PractitionerRole".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PRACTITIONERROLE, code);
if ("Procedure".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PROCEDURE, code);
if ("Provenance".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PROVENANCE, code);
if ("Questionnaire".equals(codeString))
return new Enumeration(this, FHIRDefinedType.QUESTIONNAIRE, code);
if ("QuestionnaireResponse".equals(codeString))
return new Enumeration(this, FHIRDefinedType.QUESTIONNAIRERESPONSE, code);
if ("RegulatedAuthorization".equals(codeString))
return new Enumeration(this, FHIRDefinedType.REGULATEDAUTHORIZATION, code);
if ("RelatedPerson".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RELATEDPERSON, code);
if ("RequestGroup".equals(codeString))
return new Enumeration(this, FHIRDefinedType.REQUESTGROUP, code);
if ("ResearchDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RESEARCHDEFINITION, code);
if ("ResearchElementDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RESEARCHELEMENTDEFINITION, code);
if ("ResearchStudy".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RESEARCHSTUDY, code);
if ("ResearchSubject".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RESEARCHSUBJECT, code);
if ("RiskAssessment".equals(codeString))
return new Enumeration(this, FHIRDefinedType.RISKASSESSMENT, code);
if ("Schedule".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SCHEDULE, code);
if ("SearchParameter".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SEARCHPARAMETER, code);
if ("ServiceRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SERVICEREQUEST, code);
if ("Slot".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SLOT, code);
if ("Specimen".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SPECIMEN, code);
if ("SpecimenDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SPECIMENDEFINITION, code);
if ("StructureDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.STRUCTUREDEFINITION, code);
if ("StructureMap".equals(codeString))
return new Enumeration(this, FHIRDefinedType.STRUCTUREMAP, code);
if ("Subscription".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUBSCRIPTION, code);
if ("SubscriptionStatus".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUBSCRIPTIONSTATUS, code);
if ("SubscriptionTopic".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUBSCRIPTIONTOPIC, code);
if ("Substance".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUBSTANCE, code);
if ("SubstanceDefinition".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUBSTANCEDEFINITION, code);
if ("SupplyDelivery".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUPPLYDELIVERY, code);
if ("SupplyRequest".equals(codeString))
return new Enumeration(this, FHIRDefinedType.SUPPLYREQUEST, code);
if ("Task".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TASK, code);
if ("TerminologyCapabilities".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TERMINOLOGYCAPABILITIES, code);
if ("TestReport".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TESTREPORT, code);
if ("TestScript".equals(codeString))
return new Enumeration(this, FHIRDefinedType.TESTSCRIPT, code);
if ("ValueSet".equals(codeString))
return new Enumeration(this, FHIRDefinedType.VALUESET, code);
if ("VerificationResult".equals(codeString))
return new Enumeration(this, FHIRDefinedType.VERIFICATIONRESULT, code);
if ("VisionPrescription".equals(codeString))
return new Enumeration(this, FHIRDefinedType.VISIONPRESCRIPTION, code);
if ("Parameters".equals(codeString))
return new Enumeration(this, FHIRDefinedType.PARAMETERS, code);
throw new FHIRException("Unknown FHIRDefinedType code '" + codeString + "'");
}
public String toCode(FHIRDefinedType code) {
if (code == FHIRDefinedType.NULL)
return null;
if (code == FHIRDefinedType.ADDRESS)
return "Address";
if (code == FHIRDefinedType.AGE)
return "Age";
if (code == FHIRDefinedType.ANNOTATION)
return "Annotation";
if (code == FHIRDefinedType.ATTACHMENT)
return "Attachment";
if (code == FHIRDefinedType.BACKBONEELEMENT)
return "BackboneElement";
if (code == FHIRDefinedType.CODEABLECONCEPT)
return "CodeableConcept";
if (code == FHIRDefinedType.CODEABLEREFERENCE)
return "CodeableReference";
if (code == FHIRDefinedType.CODING)
return "Coding";
if (code == FHIRDefinedType.CONTACTDETAIL)
return "ContactDetail";
if (code == FHIRDefinedType.CONTACTPOINT)
return "ContactPoint";
if (code == FHIRDefinedType.CONTRIBUTOR)
return "Contributor";
if (code == FHIRDefinedType.COUNT)
return "Count";
if (code == FHIRDefinedType.DATAREQUIREMENT)
return "DataRequirement";
if (code == FHIRDefinedType.DATATYPE)
return "DataType";
if (code == FHIRDefinedType.DISTANCE)
return "Distance";
if (code == FHIRDefinedType.DOSAGE)
return "Dosage";
if (code == FHIRDefinedType.DURATION)
return "Duration";
if (code == FHIRDefinedType.ELEMENT)
return "Element";
if (code == FHIRDefinedType.ELEMENTDEFINITION)
return "ElementDefinition";
if (code == FHIRDefinedType.EXPRESSION)
return "Expression";
if (code == FHIRDefinedType.EXTENSION)
return "Extension";
if (code == FHIRDefinedType.HUMANNAME)
return "HumanName";
if (code == FHIRDefinedType.IDENTIFIER)
return "Identifier";
if (code == FHIRDefinedType.MARKETINGSTATUS)
return "MarketingStatus";
if (code == FHIRDefinedType.META)
return "Meta";
if (code == FHIRDefinedType.MONEY)
return "Money";
if (code == FHIRDefinedType.MONEYQUANTITY)
return "MoneyQuantity";
if (code == FHIRDefinedType.NARRATIVE)
return "Narrative";
if (code == FHIRDefinedType.PARAMETERDEFINITION)
return "ParameterDefinition";
if (code == FHIRDefinedType.PERIOD)
return "Period";
if (code == FHIRDefinedType.POPULATION)
return "Population";
if (code == FHIRDefinedType.PRODCHARACTERISTIC)
return "ProdCharacteristic";
if (code == FHIRDefinedType.PRODUCTSHELFLIFE)
return "ProductShelfLife";
if (code == FHIRDefinedType.QUANTITY)
return "Quantity";
if (code == FHIRDefinedType.RANGE)
return "Range";
if (code == FHIRDefinedType.RATIO)
return "Ratio";
if (code == FHIRDefinedType.RATIORANGE)
return "RatioRange";
if (code == FHIRDefinedType.REFERENCE)
return "Reference";
if (code == FHIRDefinedType.RELATEDARTIFACT)
return "RelatedArtifact";
if (code == FHIRDefinedType.SAMPLEDDATA)
return "SampledData";
if (code == FHIRDefinedType.SIGNATURE)
return "Signature";
if (code == FHIRDefinedType.SIMPLEQUANTITY)
return "SimpleQuantity";
if (code == FHIRDefinedType.TIMING)
return "Timing";
if (code == FHIRDefinedType.TRIGGERDEFINITION)
return "TriggerDefinition";
if (code == FHIRDefinedType.USAGECONTEXT)
return "UsageContext";
if (code == FHIRDefinedType.BASE64BINARY)
return "base64Binary";
if (code == FHIRDefinedType.BOOLEAN)
return "boolean";
if (code == FHIRDefinedType.CANONICAL)
return "canonical";
if (code == FHIRDefinedType.CODE)
return "code";
if (code == FHIRDefinedType.DATE)
return "date";
if (code == FHIRDefinedType.DATETIME)
return "dateTime";
if (code == FHIRDefinedType.DECIMAL)
return "decimal";
if (code == FHIRDefinedType.ID)
return "id";
if (code == FHIRDefinedType.INSTANT)
return "instant";
if (code == FHIRDefinedType.INTEGER)
return "integer";
if (code == FHIRDefinedType.MARKDOWN)
return "markdown";
if (code == FHIRDefinedType.OID)
return "oid";
if (code == FHIRDefinedType.POSITIVEINT)
return "positiveInt";
if (code == FHIRDefinedType.STRING)
return "string";
if (code == FHIRDefinedType.TIME)
return "time";
if (code == FHIRDefinedType.UNSIGNEDINT)
return "unsignedInt";
if (code == FHIRDefinedType.URI)
return "uri";
if (code == FHIRDefinedType.URL)
return "url";
if (code == FHIRDefinedType.UUID)
return "uuid";
if (code == FHIRDefinedType.XHTML)
return "xhtml";
if (code == FHIRDefinedType.RESOURCE)
return "Resource";
if (code == FHIRDefinedType.BINARY)
return "Binary";
if (code == FHIRDefinedType.BUNDLE)
return "Bundle";
if (code == FHIRDefinedType.DOMAINRESOURCE)
return "DomainResource";
if (code == FHIRDefinedType.ACCOUNT)
return "Account";
if (code == FHIRDefinedType.ACTIVITYDEFINITION)
return "ActivityDefinition";
if (code == FHIRDefinedType.ADMINISTRABLEPRODUCTDEFINITION)
return "AdministrableProductDefinition";
if (code == FHIRDefinedType.ADVERSEEVENT)
return "AdverseEvent";
if (code == FHIRDefinedType.ALLERGYINTOLERANCE)
return "AllergyIntolerance";
if (code == FHIRDefinedType.APPOINTMENT)
return "Appointment";
if (code == FHIRDefinedType.APPOINTMENTRESPONSE)
return "AppointmentResponse";
if (code == FHIRDefinedType.AUDITEVENT)
return "AuditEvent";
if (code == FHIRDefinedType.BASIC)
return "Basic";
if (code == FHIRDefinedType.BIOLOGICALLYDERIVEDPRODUCT)
return "BiologicallyDerivedProduct";
if (code == FHIRDefinedType.BODYSTRUCTURE)
return "BodyStructure";
if (code == FHIRDefinedType.CAPABILITYSTATEMENT)
return "CapabilityStatement";
if (code == FHIRDefinedType.CAREPLAN)
return "CarePlan";
if (code == FHIRDefinedType.CARETEAM)
return "CareTeam";
if (code == FHIRDefinedType.CATALOGENTRY)
return "CatalogEntry";
if (code == FHIRDefinedType.CHARGEITEM)
return "ChargeItem";
if (code == FHIRDefinedType.CHARGEITEMDEFINITION)
return "ChargeItemDefinition";
if (code == FHIRDefinedType.CITATION)
return "Citation";
if (code == FHIRDefinedType.CLAIM)
return "Claim";
if (code == FHIRDefinedType.CLAIMRESPONSE)
return "ClaimResponse";
if (code == FHIRDefinedType.CLINICALIMPRESSION)
return "ClinicalImpression";
if (code == FHIRDefinedType.CLINICALUSEDEFINITION)
return "ClinicalUseDefinition";
if (code == FHIRDefinedType.CODESYSTEM)
return "CodeSystem";
if (code == FHIRDefinedType.COMMUNICATION)
return "Communication";
if (code == FHIRDefinedType.COMMUNICATIONREQUEST)
return "CommunicationRequest";
if (code == FHIRDefinedType.COMPARTMENTDEFINITION)
return "CompartmentDefinition";
if (code == FHIRDefinedType.COMPOSITION)
return "Composition";
if (code == FHIRDefinedType.CONCEPTMAP)
return "ConceptMap";
if (code == FHIRDefinedType.CONDITION)
return "Condition";
if (code == FHIRDefinedType.CONSENT)
return "Consent";
if (code == FHIRDefinedType.CONTRACT)
return "Contract";
if (code == FHIRDefinedType.COVERAGE)
return "Coverage";
if (code == FHIRDefinedType.COVERAGEELIGIBILITYREQUEST)
return "CoverageEligibilityRequest";
if (code == FHIRDefinedType.COVERAGEELIGIBILITYRESPONSE)
return "CoverageEligibilityResponse";
if (code == FHIRDefinedType.DETECTEDISSUE)
return "DetectedIssue";
if (code == FHIRDefinedType.DEVICE)
return "Device";
if (code == FHIRDefinedType.DEVICEDEFINITION)
return "DeviceDefinition";
if (code == FHIRDefinedType.DEVICEMETRIC)
return "DeviceMetric";
if (code == FHIRDefinedType.DEVICEREQUEST)
return "DeviceRequest";
if (code == FHIRDefinedType.DEVICEUSESTATEMENT)
return "DeviceUseStatement";
if (code == FHIRDefinedType.DIAGNOSTICREPORT)
return "DiagnosticReport";
if (code == FHIRDefinedType.DOCUMENTMANIFEST)
return "DocumentManifest";
if (code == FHIRDefinedType.DOCUMENTREFERENCE)
return "DocumentReference";
if (code == FHIRDefinedType.ENCOUNTER)
return "Encounter";
if (code == FHIRDefinedType.ENDPOINT)
return "Endpoint";
if (code == FHIRDefinedType.ENROLLMENTREQUEST)
return "EnrollmentRequest";
if (code == FHIRDefinedType.ENROLLMENTRESPONSE)
return "EnrollmentResponse";
if (code == FHIRDefinedType.EPISODEOFCARE)
return "EpisodeOfCare";
if (code == FHIRDefinedType.EVENTDEFINITION)
return "EventDefinition";
if (code == FHIRDefinedType.EVIDENCE)
return "Evidence";
if (code == FHIRDefinedType.EVIDENCEREPORT)
return "EvidenceReport";
if (code == FHIRDefinedType.EVIDENCEVARIABLE)
return "EvidenceVariable";
if (code == FHIRDefinedType.EXAMPLESCENARIO)
return "ExampleScenario";
if (code == FHIRDefinedType.EXPLANATIONOFBENEFIT)
return "ExplanationOfBenefit";
if (code == FHIRDefinedType.FAMILYMEMBERHISTORY)
return "FamilyMemberHistory";
if (code == FHIRDefinedType.FLAG)
return "Flag";
if (code == FHIRDefinedType.GOAL)
return "Goal";
if (code == FHIRDefinedType.GRAPHDEFINITION)
return "GraphDefinition";
if (code == FHIRDefinedType.GROUP)
return "Group";
if (code == FHIRDefinedType.GUIDANCERESPONSE)
return "GuidanceResponse";
if (code == FHIRDefinedType.HEALTHCARESERVICE)
return "HealthcareService";
if (code == FHIRDefinedType.IMAGINGSTUDY)
return "ImagingStudy";
if (code == FHIRDefinedType.IMMUNIZATION)
return "Immunization";
if (code == FHIRDefinedType.IMMUNIZATIONEVALUATION)
return "ImmunizationEvaluation";
if (code == FHIRDefinedType.IMMUNIZATIONRECOMMENDATION)
return "ImmunizationRecommendation";
if (code == FHIRDefinedType.IMPLEMENTATIONGUIDE)
return "ImplementationGuide";
if (code == FHIRDefinedType.INGREDIENT)
return "Ingredient";
if (code == FHIRDefinedType.INSURANCEPLAN)
return "InsurancePlan";
if (code == FHIRDefinedType.INVOICE)
return "Invoice";
if (code == FHIRDefinedType.LIBRARY)
return "Library";
if (code == FHIRDefinedType.LINKAGE)
return "Linkage";
if (code == FHIRDefinedType.LIST)
return "List";
if (code == FHIRDefinedType.LOCATION)
return "Location";
if (code == FHIRDefinedType.MANUFACTUREDITEMDEFINITION)
return "ManufacturedItemDefinition";
if (code == FHIRDefinedType.MEASURE)
return "Measure";
if (code == FHIRDefinedType.MEASUREREPORT)
return "MeasureReport";
if (code == FHIRDefinedType.MEDIA)
return "Media";
if (code == FHIRDefinedType.MEDICATION)
return "Medication";
if (code == FHIRDefinedType.MEDICATIONADMINISTRATION)
return "MedicationAdministration";
if (code == FHIRDefinedType.MEDICATIONDISPENSE)
return "MedicationDispense";
if (code == FHIRDefinedType.MEDICATIONKNOWLEDGE)
return "MedicationKnowledge";
if (code == FHIRDefinedType.MEDICATIONREQUEST)
return "MedicationRequest";
if (code == FHIRDefinedType.MEDICATIONSTATEMENT)
return "MedicationStatement";
if (code == FHIRDefinedType.MEDICINALPRODUCTDEFINITION)
return "MedicinalProductDefinition";
if (code == FHIRDefinedType.MESSAGEDEFINITION)
return "MessageDefinition";
if (code == FHIRDefinedType.MESSAGEHEADER)
return "MessageHeader";
if (code == FHIRDefinedType.MOLECULARSEQUENCE)
return "MolecularSequence";
if (code == FHIRDefinedType.NAMINGSYSTEM)
return "NamingSystem";
if (code == FHIRDefinedType.NUTRITIONORDER)
return "NutritionOrder";
if (code == FHIRDefinedType.NUTRITIONPRODUCT)
return "NutritionProduct";
if (code == FHIRDefinedType.OBSERVATION)
return "Observation";
if (code == FHIRDefinedType.OBSERVATIONDEFINITION)
return "ObservationDefinition";
if (code == FHIRDefinedType.OPERATIONDEFINITION)
return "OperationDefinition";
if (code == FHIRDefinedType.OPERATIONOUTCOME)
return "OperationOutcome";
if (code == FHIRDefinedType.ORGANIZATION)
return "Organization";
if (code == FHIRDefinedType.ORGANIZATIONAFFILIATION)
return "OrganizationAffiliation";
if (code == FHIRDefinedType.PACKAGEDPRODUCTDEFINITION)
return "PackagedProductDefinition";
if (code == FHIRDefinedType.PATIENT)
return "Patient";
if (code == FHIRDefinedType.PAYMENTNOTICE)
return "PaymentNotice";
if (code == FHIRDefinedType.PAYMENTRECONCILIATION)
return "PaymentReconciliation";
if (code == FHIRDefinedType.PERSON)
return "Person";
if (code == FHIRDefinedType.PLANDEFINITION)
return "PlanDefinition";
if (code == FHIRDefinedType.PRACTITIONER)
return "Practitioner";
if (code == FHIRDefinedType.PRACTITIONERROLE)
return "PractitionerRole";
if (code == FHIRDefinedType.PROCEDURE)
return "Procedure";
if (code == FHIRDefinedType.PROVENANCE)
return "Provenance";
if (code == FHIRDefinedType.QUESTIONNAIRE)
return "Questionnaire";
if (code == FHIRDefinedType.QUESTIONNAIRERESPONSE)
return "QuestionnaireResponse";
if (code == FHIRDefinedType.REGULATEDAUTHORIZATION)
return "RegulatedAuthorization";
if (code == FHIRDefinedType.RELATEDPERSON)
return "RelatedPerson";
if (code == FHIRDefinedType.REQUESTGROUP)
return "RequestGroup";
if (code == FHIRDefinedType.RESEARCHDEFINITION)
return "ResearchDefinition";
if (code == FHIRDefinedType.RESEARCHELEMENTDEFINITION)
return "ResearchElementDefinition";
if (code == FHIRDefinedType.RESEARCHSTUDY)
return "ResearchStudy";
if (code == FHIRDefinedType.RESEARCHSUBJECT)
return "ResearchSubject";
if (code == FHIRDefinedType.RISKASSESSMENT)
return "RiskAssessment";
if (code == FHIRDefinedType.SCHEDULE)
return "Schedule";
if (code == FHIRDefinedType.SEARCHPARAMETER)
return "SearchParameter";
if (code == FHIRDefinedType.SERVICEREQUEST)
return "ServiceRequest";
if (code == FHIRDefinedType.SLOT)
return "Slot";
if (code == FHIRDefinedType.SPECIMEN)
return "Specimen";
if (code == FHIRDefinedType.SPECIMENDEFINITION)
return "SpecimenDefinition";
if (code == FHIRDefinedType.STRUCTUREDEFINITION)
return "StructureDefinition";
if (code == FHIRDefinedType.STRUCTUREMAP)
return "StructureMap";
if (code == FHIRDefinedType.SUBSCRIPTION)
return "Subscription";
if (code == FHIRDefinedType.SUBSCRIPTIONSTATUS)
return "SubscriptionStatus";
if (code == FHIRDefinedType.SUBSCRIPTIONTOPIC)
return "SubscriptionTopic";
if (code == FHIRDefinedType.SUBSTANCE)
return "Substance";
if (code == FHIRDefinedType.SUBSTANCEDEFINITION)
return "SubstanceDefinition";
if (code == FHIRDefinedType.SUPPLYDELIVERY)
return "SupplyDelivery";
if (code == FHIRDefinedType.SUPPLYREQUEST)
return "SupplyRequest";
if (code == FHIRDefinedType.TASK)
return "Task";
if (code == FHIRDefinedType.TERMINOLOGYCAPABILITIES)
return "TerminologyCapabilities";
if (code == FHIRDefinedType.TESTREPORT)
return "TestReport";
if (code == FHIRDefinedType.TESTSCRIPT)
return "TestScript";
if (code == FHIRDefinedType.VALUESET)
return "ValueSet";
if (code == FHIRDefinedType.VERIFICATIONRESULT)
return "VerificationResult";
if (code == FHIRDefinedType.VISIONPRESCRIPTION)
return "VisionPrescription";
if (code == FHIRDefinedType.PARAMETERS)
return "Parameters";
return "?";
}
public String toSystem(FHIRDefinedType code) {
return code.getSystem();
}
}
public enum TestScriptRequestMethodCode {
/**
* HTTP DELETE operation.
*/
DELETE,
/**
* HTTP GET operation.
*/
GET,
/**
* HTTP OPTIONS operation.
*/
OPTIONS,
/**
* HTTP PATCH operation.
*/
PATCH,
/**
* HTTP POST operation.
*/
POST,
/**
* HTTP PUT operation.
*/
PUT,
/**
* HTTP HEAD operation.
*/
HEAD,
/**
* added to help the parsers with the generic types
*/
NULL;
public static TestScriptRequestMethodCode fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("delete".equals(codeString))
return DELETE;
if ("get".equals(codeString))
return GET;
if ("options".equals(codeString))
return OPTIONS;
if ("patch".equals(codeString))
return PATCH;
if ("post".equals(codeString))
return POST;
if ("put".equals(codeString))
return PUT;
if ("head".equals(codeString))
return HEAD;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown TestScriptRequestMethodCode code '" + codeString + "'");
}
public String toCode() {
switch (this) {
case DELETE:
return "delete";
case GET:
return "get";
case OPTIONS:
return "options";
case PATCH:
return "patch";
case POST:
return "post";
case PUT:
return "put";
case HEAD:
return "head";
case NULL:
return null;
default:
return "?";
}
}
public String getSystem() {
switch (this) {
case DELETE:
return "http://hl7.org/fhir/http-operations";
case GET:
return "http://hl7.org/fhir/http-operations";
case OPTIONS:
return "http://hl7.org/fhir/http-operations";
case PATCH:
return "http://hl7.org/fhir/http-operations";
case POST:
return "http://hl7.org/fhir/http-operations";
case PUT:
return "http://hl7.org/fhir/http-operations";
case HEAD:
return "http://hl7.org/fhir/http-operations";
case NULL:
return null;
default:
return "?";
}
}
public String getDefinition() {
switch (this) {
case DELETE:
return "HTTP DELETE operation.";
case GET:
return "HTTP GET operation.";
case OPTIONS:
return "HTTP OPTIONS operation.";
case PATCH:
return "HTTP PATCH operation.";
case POST:
return "HTTP POST operation.";
case PUT:
return "HTTP PUT operation.";
case HEAD:
return "HTTP HEAD operation.";
case NULL:
return null;
default:
return "?";
}
}
public String getDisplay() {
switch (this) {
case DELETE:
return "DELETE";
case GET:
return "GET";
case OPTIONS:
return "OPTIONS";
case PATCH:
return "PATCH";
case POST:
return "POST";
case PUT:
return "PUT";
case HEAD:
return "HEAD";
case NULL:
return null;
default:
return "?";
}
}
}
public static class TestScriptRequestMethodCodeEnumFactory implements EnumFactory {
public TestScriptRequestMethodCode fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("delete".equals(codeString))
return TestScriptRequestMethodCode.DELETE;
if ("get".equals(codeString))
return TestScriptRequestMethodCode.GET;
if ("options".equals(codeString))
return TestScriptRequestMethodCode.OPTIONS;
if ("patch".equals(codeString))
return TestScriptRequestMethodCode.PATCH;
if ("post".equals(codeString))
return TestScriptRequestMethodCode.POST;
if ("put".equals(codeString))
return TestScriptRequestMethodCode.PUT;
if ("head".equals(codeString))
return TestScriptRequestMethodCode.HEAD;
throw new IllegalArgumentException("Unknown TestScriptRequestMethodCode code '" + codeString + "'");
}
public Enumeration