Package org.projecthusky.common.model
Class Organization
java.lang.Object
org.projecthusky.common.basetypes.OrganizationBaseType
org.projecthusky.common.model.Organization
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OrganizationAt
The class Organization contains all necessary fields for an organization such as a company or an association. This
class also provides mapping methods to other data types.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.projecthusky.common.basetypes.OrganizationBaseType
OrganizationBaseType.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionOrganization
(OrganizationBaseType baseType) Instantiates a new instance from the given base type.Organization
(POCDMT000040CustodianOrganization hl7CdaR2Value) Instantiates a new instance from the given HL7 CDA R2 data type.Organization
(POCDMT000040Organization hl7CdaR2Value) Instantiates a new instance from the given HL7 CDA R2 data type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ON
createHl7CdaR2On
(NameBaseType baseType) Creates the HL7 CDA R2 data type from the string name.Gets the HL7 CDA R2 data type from the given base type.Gets the HL7 CDA R2 data type from the given base type.Gets the HL7 CDA R2 data type from the given base type.Gets the HL7 CDA R2 data type from the given base type.Gets the HL7 CDA R2 data type from the given base type.createHl7CdaR2Pocdmt000040InformationRecipient
(POCDMT000040InformationRecipient base, OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.Gets the HL7 CDA R2 data type from the given base type.createHl7CdaR2Pocdmt000040Organization
(POCDMT000040Organization base, OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.static OrganizationBaseType
createOrganizationBaseType
(POCDMT000040CustodianOrganization hl7CdaR2Value) Creates the base type from the given HL7 CDA R2 value.static OrganizationBaseType
createOrganizationBaseType
(POCDMT000040Organization hl7CdaR2Value) Creates the base type from the given HL7 CDA R2 value.Gets the HL7 CDA R2 data type from the current instance.Gets the HL7 CDA R2 data type from the current instance.Gets the HL7 CDA R2 data type from the current instance.Gets the HL7 CDA R2 data type from the current instance.Gets the HL7 CDA R2 data type from the current instance.Gets the HL7 CDA R2 data type from the current instance.void
set
(OrganizationBaseType baseType) Sets the fields of the current instance by the given base type.void
set
(POCDMT000040Organization hl7CdaR2Value) Sets the fields of the current instance by the given HL7 CDA R2 data type.Methods inherited from class org.projecthusky.common.basetypes.OrganizationBaseType
addAddress, addIdentificator, addName, addTelecom, builder, clearAddressList, clearIdentificatorList, clearNameList, clearTelecomList, contains, contains, contains, contains, equals, getAddressList, getIdentificatorList, getNameList, getNullFlavor, getPrimaryAddress, getPrimaryIdentificator, getPrimaryName, getPrimaryTelecom, getTelecomList, hashCode, isNullFlavor, setAddressList, setIdentificatorList, setNameList, setNullFlavor, setPrimaryAddress, setPrimaryIdentificator, setPrimaryName, setPrimaryTelecom, setTelecomList, toString
-
Constructor Details
-
Organization
Instantiates a new instance from the given HL7 CDA R2 data type.- Parameters:
hl7CdaR2Value
- the HL7 CDA R2 data type
-
Organization
Instantiates a new instance from the given HL7 CDA R2 data type.- Parameters:
hl7CdaR2Value
- the HL7 CDA R2 data type
-
Organization
Instantiates a new instance from the given base type.- Parameters:
baseType
- the base type
-
-
Method Details
-
createHl7CdaR2On
Creates the HL7 CDA R2 data type from the string name.- Parameters:
baseType
- the base type- Returns:
- the HL7 CDA R2 data typed value
-
createOrganizationBaseType
public static OrganizationBaseType createOrganizationBaseType(POCDMT000040CustodianOrganization hl7CdaR2Value) Creates the base type from the given HL7 CDA R2 value.- Parameters:
hl7CdaR2Value
- the HL7 CDA R2 value- Returns:
- the base type
-
createOrganizationBaseType
public static OrganizationBaseType createOrganizationBaseType(POCDMT000040Organization hl7CdaR2Value) Creates the base type from the given HL7 CDA R2 value.- Parameters:
hl7CdaR2Value
- the HL7 CDA R2 value- Returns:
- the base type
-
createHl7CdaR2Pocdmt000040Custodian
Gets the HL7 CDA R2 data type from the given base type.- Parameters:
baseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040Custodian
public POCDMT000040Custodian createHl7CdaR2Pocdmt000040Custodian(POCDMT000040Custodian base, OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
base
- the custodian to be used as basebaseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040InformationRecipient
public POCDMT000040InformationRecipient createHl7CdaR2Pocdmt000040InformationRecipient(OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
baseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040InformationRecipient
public POCDMT000040InformationRecipient createHl7CdaR2Pocdmt000040InformationRecipient(POCDMT000040InformationRecipient base, OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
base
- the recipient to be used as basebaseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040Organization
public POCDMT000040Organization createHl7CdaR2Pocdmt000040Organization(OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
baseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040Organization
public POCDMT000040Organization createHl7CdaR2Pocdmt000040Organization(POCDMT000040Organization base, OrganizationBaseType baseType) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
base
- the organization to be used as basebaseType
- the base type- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040AssignedAuthor
Gets the HL7 CDA R2 data type from the given base type.- Returns:
- the CDA R2 data type
-
createHl7CdaR2Pocdmt000040AssignedAuthor
public POCDMT000040AssignedAuthor createHl7CdaR2Pocdmt000040AssignedAuthor(POCDMT000040AssignedAuthor base) Gets the HL7 CDA R2 data type from the given base type.- Parameters:
base
- the assigned author to be used as base- Returns:
- the CDA R2 data type
-
getHl7CdaR2Pocdmt000040Custodian
Gets the HL7 CDA R2 data type from the current instance.- Returns:
- the HL7 CDA R2 data type
-
getHl7CdaR2Pocdmt000040Custodian
Gets the HL7 CDA R2 data type from the current instance.- Parameters:
base
- the custodian to be used as base (e.g. containing templateIds)- Returns:
- the HL7 CDA R2 data type
-
getHl7CdaR2Pocdmt000040InformationRecipient
Gets the HL7 CDA R2 data type from the current instance.- Returns:
- the HL7 CDA R2 data type
-
getHl7CdaR2Pocdmt000040InformationRecipient
public POCDMT000040InformationRecipient getHl7CdaR2Pocdmt000040InformationRecipient(POCDMT000040InformationRecipient base) Gets the HL7 CDA R2 data type from the current instance.- Parameters:
base
- the recipient to be used as base (e.g. containing templateIds)- Returns:
- the HL7 CDA R2 data type
-
getHl7CdaR2Pocdmt000040Organization
Gets the HL7 CDA R2 data type from the current instance.- Returns:
- the HL7 CDA R2 data type
-
getHl7CdaR2Pocdmt000040Organization
Gets the HL7 CDA R2 data type from the current instance.- Parameters:
base
- the Organization to be used as base (e.g. containing templateIds)- Returns:
- the HL7 CDA R2 data type
-
set
Sets the fields of the current instance by the given HL7 CDA R2 data type.- Parameters:
hl7CdaR2Value
- the HL7 CDA R2 data typed value
-
set
Sets the fields of the current instance by the given base type.- Parameters:
baseType
- the base type
-