public class CompartmentDefinition extends MetadataResource
| Modifier and Type | Class and Description |
|---|---|
static class |
CompartmentDefinition.CompartmentDefinitionResourceComponent |
static class |
CompartmentDefinition.CompartmentType |
static class |
CompartmentDefinition.CompartmentTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Enumeration<CompartmentDefinition.CompartmentType> |
code
Which compartment this definition describes.
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static StringClientParam |
DESCRIPTION
Fluent Client search parameter constant for description
|
static TokenClientParam |
JURISDICTION
Fluent Client search parameter constant for jurisdiction
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static StringClientParam |
PUBLISHER
Fluent Client search parameter constant for publisher
|
protected MarkdownType |
purpose
Explaination of why this compartment definition is needed and why it has been designed as it has.
|
protected List<CompartmentDefinition.CompartmentDefinitionResourceComponent> |
resource
Information about how a resource is related to the compartment.
|
static TokenClientParam |
RESOURCE
Fluent Client search parameter constant for resource
|
protected BooleanType |
search
Whether the search syntax is supported,.
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_DESCRIPTION
Search parameter: description
|
static String |
SP_JURISDICTION
Search parameter: jurisdiction
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_PUBLISHER
Search parameter: publisher
|
static String |
SP_RESOURCE
Search parameter: resource
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_TITLE
Search parameter: title
|
static String |
SP_URL
Search parameter: url
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static StringClientParam |
TITLE
Fluent Client search parameter constant for title
|
static UriClientParam |
URL
Fluent Client search parameter constant for url
|
contact, date, description, experimental, jurisdiction, name, publisher, status, title, url, useContext, versioncontained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
CompartmentDefinition()
Constructor
|
CompartmentDefinition(UriType url,
StringType name,
Enumeration<Enumerations.PublicationStatus> status,
Enumeration<CompartmentDefinition.CompartmentType> code,
BooleanType search)
Constructor
|
copyValues, getVersion, getVersionElement, hasVersion, hasVersionElement, setVersion, setVersionElement, toStringaddContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected MarkdownType purpose
protected Enumeration<CompartmentDefinition.CompartmentType> code
protected BooleanType search
protected List<CompartmentDefinition.CompartmentDefinitionResourceComponent> resource
public static final String SP_DATE
Description: The compartment definition publication date
Type: date
Path: CompartmentDefinition.date
public static final DateClientParam DATE
Description: The compartment definition publication date
Type: date
Path: CompartmentDefinition.date
public static final String SP_CODE
Description: Patient | Encounter | RelatedPerson | Practitioner | Device
Type: token
Path: CompartmentDefinition.code
public static final TokenClientParam CODE
Description: Patient | Encounter | RelatedPerson | Practitioner | Device
Type: token
Path: CompartmentDefinition.code
public static final String SP_RESOURCE
Description: Name of resource type
Type: token
Path: CompartmentDefinition.resource.code
public static final TokenClientParam RESOURCE
Description: Name of resource type
Type: token
Path: CompartmentDefinition.resource.code
public static final String SP_JURISDICTION
Description: Intended jurisdiction for the compartment definition
Type: token
Path: CompartmentDefinition.jurisdiction
public static final TokenClientParam JURISDICTION
Description: Intended jurisdiction for the compartment definition
Type: token
Path: CompartmentDefinition.jurisdiction
public static final String SP_NAME
Description: Computationally friendly name of the compartment definition
Type: string
Path: CompartmentDefinition.name
public static final StringClientParam NAME
Description: Computationally friendly name of the compartment definition
Type: string
Path: CompartmentDefinition.name
public static final String SP_DESCRIPTION
Description: The description of the compartment definition
Type: string
Path: CompartmentDefinition.description
public static final StringClientParam DESCRIPTION
Description: The description of the compartment definition
Type: string
Path: CompartmentDefinition.description
public static final String SP_PUBLISHER
Description: Name of the publisher of the compartment definition
Type: string
Path: CompartmentDefinition.publisher
public static final StringClientParam PUBLISHER
Description: Name of the publisher of the compartment definition
Type: string
Path: CompartmentDefinition.publisher
public static final String SP_TITLE
Description: The human-friendly name of the compartment definition
Type: string
Path: CompartmentDefinition.title
public static final StringClientParam TITLE
Description: The human-friendly name of the compartment definition
Type: string
Path: CompartmentDefinition.title
public static final String SP_URL
Description: The uri that identifies the compartment definition
Type: uri
Path: CompartmentDefinition.url
public static final UriClientParam URL
Description: The uri that identifies the compartment definition
Type: uri
Path: CompartmentDefinition.url
public static final String SP_STATUS
Description: The current status of the compartment definition
Type: token
Path: CompartmentDefinition.status
public static final TokenClientParam STATUS
Description: The current status of the compartment definition
Type: token
Path: CompartmentDefinition.status
public CompartmentDefinition()
public CompartmentDefinition(UriType url, StringType name, Enumeration<Enumerations.PublicationStatus> status, Enumeration<CompartmentDefinition.CompartmentType> code, BooleanType search)
public UriType getUrlElement()
getUrlElement in class MetadataResourceMetadataResource.url (An absolute URI that is used to identify this compartment definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this compartment definition is (or will be) published. The URL SHOULD include the major version of the compartment definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
hasUrlElement in class MetadataResourcepublic boolean hasUrl()
hasUrl in class MetadataResourcepublic CompartmentDefinition setUrlElement(UriType value)
setUrlElement in class MetadataResourcevalue - MetadataResource.url (An absolute URI that is used to identify this compartment definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this compartment definition is (or will be) published. The URL SHOULD include the major version of the compartment definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic String getUrl()
getUrl in class MetadataResourcepublic CompartmentDefinition setUrl(String value)
setUrl in class MetadataResourcevalue - An absolute URI that is used to identify this compartment definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this compartment definition is (or will be) published. The URL SHOULD include the major version of the compartment definition. For more information see [Technical and Business Versions](resource.html#versions).public StringType getNameElement()
getNameElement in class MetadataResourceMetadataResource.name (A natural language name identifying the compartment definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
hasNameElement in class MetadataResourcepublic boolean hasName()
hasName in class MetadataResourcepublic CompartmentDefinition setNameElement(StringType value)
setNameElement in class MetadataResourcevalue - MetadataResource.name (A natural language name identifying the compartment definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
getName in class MetadataResourcepublic CompartmentDefinition setName(String value)
setName in class MetadataResourcevalue - A natural language name identifying the compartment definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.public StringType getTitleElement()
getTitleElement in class MetadataResourceMetadataResource.title (A short, descriptive, user-friendly title for the compartment definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the valuepublic boolean hasTitleElement()
hasTitleElement in class MetadataResourcepublic boolean hasTitle()
hasTitle in class MetadataResourcepublic CompartmentDefinition setTitleElement(StringType value)
setTitleElement in class MetadataResourcevalue - MetadataResource.title (A short, descriptive, user-friendly title for the compartment definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the valuepublic String getTitle()
getTitle in class MetadataResourcepublic CompartmentDefinition setTitle(String value)
setTitle in class MetadataResourcevalue - A short, descriptive, user-friendly title for the compartment definition.public Enumeration<Enumerations.PublicationStatus> getStatusElement()
getStatusElement in class MetadataResourceMetadataResource.status (The status of this compartment definition. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
hasStatusElement in class MetadataResourcepublic boolean hasStatus()
hasStatus in class MetadataResourcepublic CompartmentDefinition setStatusElement(Enumeration<Enumerations.PublicationStatus> value)
setStatusElement in class MetadataResourcevalue - MetadataResource.status (The status of this compartment definition. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Enumerations.PublicationStatus getStatus()
getStatus in class MetadataResourcepublic CompartmentDefinition setStatus(Enumerations.PublicationStatus value)
setStatus in class MetadataResourcevalue - The status of this compartment definition. Enables tracking the life-cycle of the content.public BooleanType getExperimentalElement()
getExperimentalElement in class MetadataResourceMetadataResource.experimental (A boolean value to indicate that this compartment definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the valuepublic boolean hasExperimentalElement()
hasExperimentalElement in class MetadataResourcepublic boolean hasExperimental()
hasExperimental in class MetadataResourcepublic CompartmentDefinition setExperimentalElement(BooleanType value)
setExperimentalElement in class MetadataResourcevalue - MetadataResource.experimental (A boolean value to indicate that this compartment definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the valuepublic boolean getExperimental()
getExperimental in class MetadataResourcepublic CompartmentDefinition setExperimental(boolean value)
setExperimental in class MetadataResourcevalue - A boolean value to indicate that this compartment definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.public DateTimeType getDateElement()
getDateElement in class MetadataResourceMetadataResource.date (The date (and optionally time) when the compartment definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the compartment definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic boolean hasDateElement()
hasDateElement in class MetadataResourcepublic boolean hasDate()
hasDate in class MetadataResourcepublic CompartmentDefinition setDateElement(DateTimeType value)
setDateElement in class MetadataResourcevalue - MetadataResource.date (The date (and optionally time) when the compartment definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the compartment definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic Date getDate()
getDate in class MetadataResourcepublic CompartmentDefinition setDate(Date value)
setDate in class MetadataResourcevalue - The date (and optionally time) when the compartment definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the compartment definition changes.public StringType getPublisherElement()
getPublisherElement in class MetadataResourceMetadataResource.publisher (The name of the individual or organization that published the compartment definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic boolean hasPublisherElement()
hasPublisherElement in class MetadataResourcepublic boolean hasPublisher()
hasPublisher in class MetadataResourcepublic CompartmentDefinition setPublisherElement(StringType value)
setPublisherElement in class MetadataResourcevalue - MetadataResource.publisher (The name of the individual or organization that published the compartment definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic String getPublisher()
getPublisher in class MetadataResourcepublic CompartmentDefinition setPublisher(String value)
setPublisher in class MetadataResourcevalue - The name of the individual or organization that published the compartment definition.public List<ContactDetail> getContact()
getContact in class MetadataResourceMetadataResource.contact (Contact details to assist a user in finding and communicating with the publisher.)public CompartmentDefinition setContact(List<ContactDetail> theContact)
setContact in class MetadataResourcethis for easy method chainingpublic boolean hasContact()
hasContact in class MetadataResourcepublic ContactDetail addContact()
addContact in class MetadataResourcepublic CompartmentDefinition addContact(ContactDetail t)
addContact in class MetadataResourcepublic ContactDetail getContactFirstRep()
getContactFirstRep in class MetadataResourceMetadataResource.contact, creating it if it does not already existpublic MarkdownType getDescriptionElement()
getDescriptionElement in class MetadataResourceMetadataResource.description (A free text natural language description of the compartment definition from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
hasDescriptionElement in class MetadataResourcepublic boolean hasDescription()
hasDescription in class MetadataResourcepublic CompartmentDefinition setDescriptionElement(MarkdownType value)
setDescriptionElement in class MetadataResourcevalue - MetadataResource.description (A free text natural language description of the compartment definition from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
getDescription in class MetadataResourcepublic CompartmentDefinition setDescription(String value)
setDescription in class MetadataResourcevalue - A free text natural language description of the compartment definition from a consumer's perspective.public MarkdownType getPurposeElement()
purpose (Explaination of why this compartment definition is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the valuepublic boolean hasPurposeElement()
public boolean hasPurpose()
public CompartmentDefinition setPurposeElement(MarkdownType value)
value - purpose (Explaination of why this compartment definition is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the valuepublic String getPurpose()
public CompartmentDefinition setPurpose(String value)
value - Explaination of why this compartment definition is needed and why it has been designed as it has.public List<UsageContext> getUseContext()
getUseContext in class MetadataResourceMetadataResource.useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate compartment definition instances.)public CompartmentDefinition setUseContext(List<UsageContext> theUseContext)
setUseContext in class MetadataResourcethis for easy method chainingpublic boolean hasUseContext()
hasUseContext in class MetadataResourcepublic UsageContext addUseContext()
addUseContext in class MetadataResourcepublic CompartmentDefinition addUseContext(UsageContext t)
addUseContext in class MetadataResourcepublic UsageContext getUseContextFirstRep()
getUseContextFirstRep in class MetadataResourceMetadataResource.useContext, creating it if it does not already existpublic List<CodeableConcept> getJurisdiction()
getJurisdiction in class MetadataResourceMetadataResource.jurisdiction (A legal or geographic region in which the compartment definition is intended to be used.)public CompartmentDefinition setJurisdiction(List<CodeableConcept> theJurisdiction)
setJurisdiction in class MetadataResourcethis for easy method chainingpublic boolean hasJurisdiction()
hasJurisdiction in class MetadataResourcepublic CodeableConcept addJurisdiction()
addJurisdiction in class MetadataResourcepublic CompartmentDefinition addJurisdiction(CodeableConcept t)
addJurisdiction in class MetadataResourcepublic CodeableConcept getJurisdictionFirstRep()
getJurisdictionFirstRep in class MetadataResourceMetadataResource.jurisdiction, creating it if it does not already existpublic Enumeration<CompartmentDefinition.CompartmentType> getCodeElement()
code (Which compartment this definition describes.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic boolean hasCodeElement()
public boolean hasCode()
public CompartmentDefinition setCodeElement(Enumeration<CompartmentDefinition.CompartmentType> value)
value - code (Which compartment this definition describes.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic CompartmentDefinition.CompartmentType getCode()
public CompartmentDefinition setCode(CompartmentDefinition.CompartmentType value)
value - Which compartment this definition describes.public BooleanType getSearchElement()
search (Whether the search syntax is supported,.). This is the underlying object with id, value and extensions. The accessor "getSearch" gives direct access to the valuepublic boolean hasSearchElement()
public boolean hasSearch()
public CompartmentDefinition setSearchElement(BooleanType value)
value - search (Whether the search syntax is supported,.). This is the underlying object with id, value and extensions. The accessor "getSearch" gives direct access to the valuepublic boolean getSearch()
public CompartmentDefinition setSearch(boolean value)
value - Whether the search syntax is supported,.public List<CompartmentDefinition.CompartmentDefinitionResourceComponent> getResource()
resource (Information about how a resource is related to the compartment.)public CompartmentDefinition setResource(List<CompartmentDefinition.CompartmentDefinitionResourceComponent> theResource)
this for easy method chainingpublic boolean hasResource()
public CompartmentDefinition.CompartmentDefinitionResourceComponent addResource()
public CompartmentDefinition addResource(CompartmentDefinition.CompartmentDefinitionResourceComponent t)
public CompartmentDefinition.CompartmentDefinitionResourceComponent getResourceFirstRep()
resource, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class MetadataResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class MetadataResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class MetadataResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class MetadataResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class MetadataResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class MetadataResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class MetadataResourceFHIRExceptionpublic String fhirType()
fhirType in class MetadataResourcepublic CompartmentDefinition copy()
copy in class MetadataResourceprotected CompartmentDefinition typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class MetadataResourcepublic boolean equalsShallow(Base other)
equalsShallow in class MetadataResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class MetadataResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.