Class Telecom

All Implemented Interfaces:
Serializable

public class Telecom extends TelecomBaseType
The class Telecom contains all necessary fields for mean of communication such as a eMail, phone or website. This class also provides mapping methods to other data types.
See Also:
  • Constructor Details

    • Telecom

      public Telecom()
      Instantiates a new telecom. Default constructor.
    • Telecom

      public Telecom(TEL hl7CdaR2Value)
      Instantiates a new instance from the given HL7 CDA R2 data type.
      Parameters:
      hl7CdaR2Value - the HL7 CDA R2 data type
    • Telecom

      public Telecom(TelecomBaseType baseType)
      Instantiates a new instance from the given base type.
      Parameters:
      baseType - the base type
  • Method Details

    • createHl7CdaR2Tel

      public static TEL createHl7CdaR2Tel(TelecomBaseType baseType)
      Creates the HL7 CDA R2 data type from the given base type.
      Parameters:
      baseType - the base type
      Returns:
      the HL7 CDA R2 data typed value
    • createTelecomBaseType

      public static TelecomBaseType createTelecomBaseType(TEL hl7CdaR2Value)
      Creates the base type from the given HL7 CDA R2 value.
      Parameters:
      hl7CdaR2Value - the HL7 CDA R2 value
      Returns:
      the base type
    • getHl7CdaR2Tel

      public TEL getHl7CdaR2Tel()
      Gets the HL7 CDA R2 data type from the current instance.
      Returns:
      the HL7 CDA R2 data type
    • set

      public void set(TEL hl7CdaR2Value)
      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

      public void set(TelecomBaseType baseType)
      Sets the fields of the current instance by the given base type.
      Parameters:
      baseType - the base type