Class Group
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Group
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class Group extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Group Resource (administrative.group)Definition: 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.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Group
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroup.CharacteristicBlock class for child element: Group.characteristic ()static classGroup.MemberBlock class for child element: Group.member ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamACTUALFluent Client search parameter constant for actualstatic ca.uhn.fhir.rest.gclient.TokenClientParamCHARACTERISTICFluent Client search parameter constant for characteristicstatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>CHARACTERISTIC_VALUEFluent Client search parameter constant for characteristic-valuestatic ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.TokenClientParamEXCLUDEFluent Client search parameter constant for excludestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_MEMBERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamMEMBERFluent Client search parameter constant for memberstatic StringSP_ACTUALSearch parameter constant for actualstatic StringSP_CHARACTERISTICSearch parameter constant for characteristicstatic StringSP_CHARACTERISTIC_VALUESearch parameter constant for characteristic-valuestatic StringSP_CODESearch parameter constant for codestatic StringSP_EXCLUDESearch parameter constant for excludestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_MEMBERSearch parameter constant for memberstatic StringSP_TYPESearch parameter constant for typestatic StringSP_VALUESearch parameter constant for valuestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamVALUEFluent Client search parameter constant for value-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group.CharacteristicaddCharacteristic()Adds and returns a new value for characteristic ()GroupaddCharacteristic(Group.Characteristic theValue)Adds a given new value for characteristic ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)GroupaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)Group.MemberaddMember()Adds and returns a new value for member ()GroupaddMember(Group.Member theValue)Adds a given new value for member ()BooleangetActual()Gets the value(s) for actual ().ca.uhn.fhir.model.primitive.BooleanDtgetActualElement()Gets the value(s) for actual ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<Group.Characteristic>getCharacteristic()Gets the value(s) for characteristic ().Group.CharacteristicgetCharacteristicFirstRep()Gets the first repetition for characteristic (), creating it if it does not already exist.CodeableConceptDtgetCode()Gets the value(s) for code ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.List<Group.Member>getMember()Gets the value(s) for member ().Group.MembergetMemberFirstRep()Gets the first repetition for member (), creating it if it does not already exist.StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().IntegergetQuantity()Gets the value(s) for quantity ().ca.uhn.fhir.model.primitive.UnsignedIntDtgetQuantityElement()Gets the value(s) for quantity ().StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()StringgetType()Gets the value(s) for type (class).ca.uhn.fhir.model.primitive.BoundCodeDt<GroupTypeEnum>getTypeElement()Gets the value(s) for type (class).booleanisEmpty()GroupsetActual(boolean theBoolean)Sets the value for actual ()GroupsetActual(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for actual ()GroupsetCharacteristic(List<Group.Characteristic> theValue)Sets the value(s) for characteristic ()GroupsetCode(CodeableConceptDt theValue)Sets the value(s) for code ()GroupsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)GroupsetMember(List<Group.Member> theValue)Sets the value(s) for member ()GroupsetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()GroupsetName(String theString)Sets the value for name ()GroupsetQuantity(int theInteger)Sets the value for quantity ()GroupsetQuantity(ca.uhn.fhir.model.primitive.UnsignedIntDt theValue)Sets the value(s) for quantity ()GroupsetType(GroupTypeEnum theValue)Sets the value(s) for type (class)GroupsetType(ca.uhn.fhir.model.primitive.BoundCodeDt<GroupTypeEnum> theValue)Sets the value(s) for type (class)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription: The type of resources the group contains
Type: token
Path: Group.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: The type of resources the group contains
Type: token
Path: Group.type
-
SP_CODE
public static final String SP_CODE
Search parameter constant for codeDescription: The kind of resources contained
Type: token
Path: Group.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: The kind of resources contained
Type: token
Path: Group.code
-
SP_ACTUAL
public static final String SP_ACTUAL
Search parameter constant for actualDescription:
Type: token
Path: Group.actual
- See Also:
- Constant Field Values
-
ACTUAL
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTUAL
Fluent Client search parameter constant for actualDescription:
Type: token
Path: Group.actual
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Group.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Group.identifier
-
SP_MEMBER
public static final String SP_MEMBER
Search parameter constant for memberDescription:
Type: reference
Path: Group.member.entity
- See Also:
- Constant Field Values
-
MEMBER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEMBER
Fluent Client search parameter constant for memberDescription:
Type: reference
Path: Group.member.entity
-
SP_CHARACTERISTIC
public static final String SP_CHARACTERISTIC
Search parameter constant for characteristicDescription:
Type: token
Path: Group.characteristic.code
- See Also:
- Constant Field Values
-
CHARACTERISTIC
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHARACTERISTIC
Fluent Client search parameter constant for characteristicDescription:
Type: token
Path: Group.characteristic.code
-
SP_VALUE
public static final String SP_VALUE
Search parameter constant for valueDescription:
Type: token
Path: Group.characteristic.value[x]
- See Also:
- Constant Field Values
-
VALUE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VALUE
Fluent Client search parameter constant for valueDescription:
Type: token
Path: Group.characteristic.value[x]
-
SP_EXCLUDE
public static final String SP_EXCLUDE
Search parameter constant for excludeDescription:
Type: token
Path: Group.characteristic.exclude
- See Also:
- Constant Field Values
-
EXCLUDE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXCLUDE
Fluent Client search parameter constant for excludeDescription:
Type: token
Path: Group.characteristic.exclude
-
SP_CHARACTERISTIC_VALUE
public static final String SP_CHARACTERISTIC_VALUE
Search parameter constant for characteristic-valueDescription: A composite of both characteristic and value
Type: composite
Path: characteristic & value
- See Also:
- Constant Field Values
-
CHARACTERISTIC_VALUE
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> CHARACTERISTIC_VALUE
Fluent Client search parameter constant for characteristic-valueDescription: A composite of both characteristic and value
Type: composite
Path: characteristic & value
-
INCLUDE_MEMBER
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEMBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Group:member".
-
-
Constructor Detail
-
Group
public Group()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: A unique business identifier for this group
-
setIdentifier
public Group setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: A unique business identifier for this group
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: A unique business identifier for this group
-
addIdentifier
public Group addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: A unique business identifier for this group
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: A unique business identifier for this group
-
getTypeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<GroupTypeEnum> getTypeElement()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition: Identifies the broad classification of the kind of resources the group includes
-
getType
public String getType()
Gets the value(s) for type (class). creating it if it does not exist. This method may returnnull.Definition: Identifies the broad classification of the kind of resources the group includes
-
setType
public Group setType(ca.uhn.fhir.model.primitive.BoundCodeDt<GroupTypeEnum> theValue)
Sets the value(s) for type (class)Definition: Identifies the broad classification of the kind of resources the group includes
-
setType
public Group setType(GroupTypeEnum theValue)
Sets the value(s) for type (class)Definition: Identifies the broad classification of the kind of resources the group includes
-
getActualElement
public ca.uhn.fhir.model.primitive.BooleanDt getActualElement()
Gets the value(s) for actual (). creating it if it does not exist. Will not returnnull.Definition: If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
-
getActual
public Boolean getActual()
Gets the value(s) for actual (). creating it if it does not exist. This method may returnnull.Definition: If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
-
setActual
public Group setActual(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for actual ()Definition: If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
-
setActual
public Group setActual(boolean theBoolean)
Sets the value for actual ()Definition: If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
-
getCode
public CodeableConceptDt getCode()
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull.Definition: Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc.
-
setCode
public Group setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()Definition: Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc.
-
getNameElement
public ca.uhn.fhir.model.primitive.StringDt getNameElement()
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: A label assigned to the group for human identification and communication
-
getName
public String getName()
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull.Definition: A label assigned to the group for human identification and communication
-
setName
public Group setName(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for name ()Definition: A label assigned to the group for human identification and communication
-
setName
public Group setName(String theString)
Sets the value for name ()Definition: A label assigned to the group for human identification and communication
-
getQuantityElement
public ca.uhn.fhir.model.primitive.UnsignedIntDt getQuantityElement()
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull.Definition: A count of the number of resource instances that are part of the group
-
getQuantity
public Integer getQuantity()
Gets the value(s) for quantity (). creating it if it does not exist. This method may returnnull.Definition: A count of the number of resource instances that are part of the group
-
setQuantity
public Group setQuantity(ca.uhn.fhir.model.primitive.UnsignedIntDt theValue)
Sets the value(s) for quantity ()Definition: A count of the number of resource instances that are part of the group
-
setQuantity
public Group setQuantity(int theInteger)
Sets the value for quantity ()Definition: A count of the number of resource instances that are part of the group
-
getCharacteristic
public List<Group.Characteristic> getCharacteristic()
Gets the value(s) for characteristic (). creating it if it does not exist. Will not returnnull.Definition: Identifies the traits shared by members of the group
-
setCharacteristic
public Group setCharacteristic(List<Group.Characteristic> theValue)
Sets the value(s) for characteristic ()Definition: Identifies the traits shared by members of the group
-
addCharacteristic
public Group.Characteristic addCharacteristic()
Adds and returns a new value for characteristic ()Definition: Identifies the traits shared by members of the group
-
addCharacteristic
public Group addCharacteristic(Group.Characteristic theValue)
Adds a given new value for characteristic ()Definition: Identifies the traits shared by members of the group
- Parameters:
theValue- The characteristic to add (must not benull)
-
getCharacteristicFirstRep
public Group.Characteristic getCharacteristicFirstRep()
Gets the first repetition for characteristic (), creating it if it does not already exist.Definition: Identifies the traits shared by members of the group
-
getMember
public List<Group.Member> getMember()
Gets the value(s) for member (). creating it if it does not exist. Will not returnnull.Definition: Identifies the resource instances that are members of the group.
-
setMember
public Group setMember(List<Group.Member> theValue)
Sets the value(s) for member ()Definition: Identifies the resource instances that are members of the group.
-
addMember
public Group.Member addMember()
Adds and returns a new value for member ()Definition: Identifies the resource instances that are members of the group.
-
addMember
public Group addMember(Group.Member theValue)
Adds a given new value for member ()Definition: Identifies the resource instances that are members of the group.
- Parameters:
theValue- The member to add (must not benull)
-
getMemberFirstRep
public Group.Member getMemberFirstRep()
Gets the first repetition for member (), creating it if it does not already exist.Definition: Identifies the resource instances that are members of the group.
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-