
Package org.hl7.fhir.r5.openehr
Class ITEM_TABLE
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
public class ITEM_TABLE
extends ITEM_STRUCTURE
implements org.hl7.fhir.instance.model.api.ICompositeType
Logical relational database style table data structure, in which columns are named and ordered with respect to each other. Implemented using Cluster-per-row encoding. Each row Cluster must have an identical number of Elements, each of which in turn must have identical names and value types in the corresponding positions in each row. Some columns may be designated key' columns, containing key data for each row, in the manner of relational tables. This allows row-naming, where each row represents a body site, a blood antigen etc. All values in a column have the same data type. Used for representing any data which is logically a table of values, such as blood pressure, most protocols, many blood tests etc. Misuse: Not to be used for time-based data, which should be represented with the temporal class HISTORY. The table may be empty.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionPhysical representation of the table as a list of CLUSTERs, each containing the data of one row of the table.Fields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRows()copy()voidcopyValues(ITEM_TABLE dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanhasRows()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setRowsList(List<CLUSTER> theRows) protected ITEM_TABLEMethods inherited from class org.hl7.fhir.r5.openehr.ITEM_STRUCTURE
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.DATA_STRUCTURE
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.PATHABLE
addLinks, addLinks, copyValues, getArchetype_details, getArchetype_node_id, getArchetype_node_idElement, getFeeder_audit, getLinksFirstRep, getLinksList, getName, getUid, hasArchetype_details, hasArchetype_node_id, hasArchetype_node_idElement, hasFeeder_audit, hasLinks, hasName, hasUid, setArchetype_details, setArchetype_node_id, setArchetype_node_idElement, setFeeder_audit, setLinksList, setName, setUidMethods inherited from class org.hl7.fhir.r5.openehr.Any
copyValuesMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
rowsList
Physical representation of the table as a list of CLUSTERs, each containing the data of one row of the table.
-
-
Constructor Details
-
ITEM_TABLE
public ITEM_TABLE()Constructor
-
-
Method Details
-
getRowsList
- Returns:
-
(Physical representation of the table as a list of CLUSTERs, each containing the data of one row of the table.)
invalid reference
#rows
-
setRowsList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRows
-
addRows
-
addRows
-
getRowsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#rows
-
listChildren
- Overrides:
listChildrenin classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classITEM_STRUCTURE- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classITEM_STRUCTURE
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classPATHABLE
-
equalsShallow
- Overrides:
equalsShallowin classPATHABLE
-
isEmpty
-