public static class Profile.ExtensionDefn extends BaseIdentifiableElement implements IResourceBlock
Definition: An extension defined as part of the profile
| Constructor and Description |
|---|
Profile.ExtensionDefn() |
| Modifier and Type | Method and Description |
|---|---|
StringDt |
addContext()
Adds and returns a new value for context (Where the extension can be used in instances)
|
Profile.ExtensionDefn |
addContext(String theString)
Adds a new value for context (Where the extension can be used in instances)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
CodeDt |
getCode()
Gets the value(s) for code (Identifies the extension in this profile).
|
List<StringDt> |
getContext()
Gets the value(s) for context (Where the extension can be used in instances).
|
StringDt |
getContextFirstRep()
Gets the first repetition for context (Where the extension can be used in instances),
creating it if it does not already exist.
|
BoundCodeDt<ExtensionContextEnum> |
getContextType()
Gets the value(s) for contextType (resource | datatype | mapping | extension).
|
Profile.StructureElementDefinition |
getDefinition()
Gets the value(s) for definition (Definition of the extension and its content).
|
StringDt |
getDisplay()
Gets the value(s) for display (Use this name when displaying the value).
|
boolean |
isEmpty() |
Profile.ExtensionDefn |
setCode(CodeDt theValue)
Sets the value(s) for code (Identifies the extension in this profile)
|
Profile.ExtensionDefn |
setCode(String theCode)
Sets the value for code (Identifies the extension in this profile)
|
Profile.ExtensionDefn |
setContext(List<StringDt> theValue)
Sets the value(s) for context (Where the extension can be used in instances)
|
Profile.ExtensionDefn |
setContextType(BoundCodeDt<ExtensionContextEnum> theValue)
Sets the value(s) for contextType (resource | datatype | mapping | extension)
|
Profile.ExtensionDefn |
setContextType(ExtensionContextEnum theValue)
Sets the value(s) for contextType (resource | datatype | mapping | extension)
|
Profile.ExtensionDefn |
setDefinition(Profile.StructureElementDefinition theValue)
Sets the value(s) for definition (Definition of the extension and its content)
|
Profile.ExtensionDefn |
setDisplay(String theString)
Sets the value for display (Use this name when displaying the value)
|
Profile.ExtensionDefn |
setDisplay(StringDt theValue)
Sets the value(s) for display (Use this name when displaying the value)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic CodeDt getCode()
null.
Definition: A unique code (within the profile) used to identify the extension
public Profile.ExtensionDefn setCode(CodeDt theValue)
Definition: A unique code (within the profile) used to identify the extension
public Profile.ExtensionDefn setCode(String theCode)
Definition: A unique code (within the profile) used to identify the extension
public StringDt getDisplay()
null.
Definition: Defined so that applications can use this name when displaying the value of the extension to the user
public Profile.ExtensionDefn setDisplay(StringDt theValue)
Definition: Defined so that applications can use this name when displaying the value of the extension to the user
public Profile.ExtensionDefn setDisplay(String theString)
Definition: Defined so that applications can use this name when displaying the value of the extension to the user
public BoundCodeDt<ExtensionContextEnum> getContextType()
null.
Definition: Identifies the type of context to which the extension applies
public Profile.ExtensionDefn setContextType(BoundCodeDt<ExtensionContextEnum> theValue)
Definition: Identifies the type of context to which the extension applies
public Profile.ExtensionDefn setContextType(ExtensionContextEnum theValue)
Definition: Identifies the type of context to which the extension applies
public List<StringDt> getContext()
null.
Definition: Identifies the types of resource or data type elements to which the extension can be applied
public Profile.ExtensionDefn setContext(List<StringDt> theValue)
Definition: Identifies the types of resource or data type elements to which the extension can be applied
public StringDt addContext()
Definition: Identifies the types of resource or data type elements to which the extension can be applied
public StringDt getContextFirstRep()
Definition: Identifies the types of resource or data type elements to which the extension can be applied
public Profile.ExtensionDefn addContext(String theString)
Definition: Identifies the types of resource or data type elements to which the extension can be applied
public Profile.StructureElementDefinition getDefinition()
null.
Definition: Definition of the extension and its content
public Profile.ExtensionDefn setDefinition(Profile.StructureElementDefinition theValue)
Definition: Definition of the extension and its content
Copyright © 2014 University Health Network. All rights reserved.