java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
org.openehealth.ipf.commons.ihe.hl7v2.definitions.pdq.v25.segment.QPD
All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class QPD extends AbstractSegment

Represents an HL7 QPD message segment used in IHE PDQ. The fields contained in this segment:

  • QPD-1: Message Query Name (CE)
  • QPD-2: Query Tag (ST)
  • QPD-3: Query Input Parameter List (QIP)
  • QPD-4: Parameters for Fuzzy Search (NM)
  • QPD-5: Algorithm Name
  • QPD-6. Algorithm Version
  • QPD-7: Algorithm Description
  • QPD-8: What Domains Returned (CX)
See Also:
  • Constructor Details

    • QPD

      public QPD(Group parentGroup, ModelClassFactory modelFactory)
      Creates a QPD (Query Parameter Definition) segment object which belongs to the given message
  • Method Details

    • getMessageQueryName

      public CE getMessageQueryName()
      Returns Message Query Name (QPD-1).
    • getQpd1_MessageQueryName

      public CE getQpd1_MessageQueryName()
      Returns Message Query Name (QPD-1).
    • getQueryTag

      public ST getQueryTag()
      Returns Query Tag (QPD-2).
    • getQpd2_QueryTag

      public ST getQpd2_QueryTag()
      Returns Query Tag (QPD-2).
    • getDemographicsFields

      public QIP getDemographicsFields(int rep)
      Returns a specific repetition of Demographics Fields (QPD-3).
    • getQpd3_DemographicsFields

      public QIP getQpd3_DemographicsFields(int rep)
      Returns a specific repetition of Demographics Fields (QPD-3).
    • getDemographicsFields

      public QIP[] getDemographicsFields()
      Returns Demographics Fields (QPD-3).
    • getQpd3_DemographicsFields

      public QIP[] getQpd3_DemographicsFields()
      Returns Demographics Fields (QPD-3).
    • getDemographicsFieldsReps

      public int getDemographicsFieldsReps()
      Returns count of Demographics Fields (QPD-3).
    • getQpd3_DemographicsFieldsReps

      public int getQpd3_DemographicsFieldsReps()
      Returns count of Demographics Fields (QPD-3).
    • insertDemographicsFieldsReps

      public QIP insertDemographicsFieldsReps(int rep) throws HL7Exception
      Inserts a repetition of Demographics Fields (QPD-3).
      Throws:
      HL7Exception
    • insertQpd3_DemographicsFieldsReps

      public QIP insertQpd3_DemographicsFieldsReps(int rep) throws HL7Exception
      Inserts a repetition of Demographics Fields (QPD-3).
      Throws:
      HL7Exception
    • removeDemographicsFieldsReps

      public QIP removeDemographicsFieldsReps(int rep) throws HL7Exception
      Removes a repetition of Demographics Fields (QPD-3).
      Throws:
      HL7Exception
    • removeQpd3_DemographicsFieldsReps

      public QIP removeQpd3_DemographicsFieldsReps(int rep) throws HL7Exception
      Removes a repetition of Demographics Fields (QPD-3).
      Throws:
      HL7Exception
    • getSearchConfidenceThreshold

      public NM getSearchConfidenceThreshold()
      Returns Search Confidence Threshold (QPD-4).
    • getQpd4_SearchConfidenceThreshold

      public NM getQpd4_SearchConfidenceThreshold()
      Returns Search Confidence Threshold (QPD-4).
    • getAlgorithmName

      public ST getAlgorithmName()
      Returns Algorithm Name (QPD-5).
    • getQpd5_AlgorithmName

      public ST getQpd5_AlgorithmName()
      Returns Algorithm Name (QPD-5).
    • getAlgorithmVersion

      public ST getAlgorithmVersion()
      Returns Algorithm Version (QPD-6).
    • getQpd6_AlgorithmVersion

      public ST getQpd6_AlgorithmVersion()
      Returns Algorithm Version (QPD-6).
    • AlgorithmDescription

      public ST AlgorithmDescription()
      Returns Algorithm Description (QPD-7).
    • getQpd7_AlgorithmDescription

      public ST getQpd7_AlgorithmDescription()
      Returns Algorithm Description (QPD-7).
    • getWhatDomainsReturned

      public CX getWhatDomainsReturned(int rep)
      Returns a specific repetition of What Domains to be returned (QPD-8).
    • getQpd8_WhatDomainsReturned

      public CX getQpd8_WhatDomainsReturned(int rep)
      Returns a specific repetition of What Domains to be returned (QPD-8).
    • getWhatDomainsReturned

      public CX[] getWhatDomainsReturned()
      Returns What Domains to be returned (QPD-8).
    • getQpd8_WhatDomainsReturned

      public CX[] getQpd8_WhatDomainsReturned()
      Returns What Domains to be returned (QPD-8).
    • getWhatDomainsReturnedReps

      public int getWhatDomainsReturnedReps()
      Returns count of What Domains to be returned (QPD-8).
    • getQpd8_WhatDomainsReturnedReps

      public int getQpd8_WhatDomainsReturnedReps()
      Returns count of What Domains to be returned (QPD-8).
    • insertWhatDomainsReturnedReps

      public CX insertWhatDomainsReturnedReps(int rep) throws HL7Exception
      Inserts a repetition of What Domains to be returned (QPD-8).
      Throws:
      HL7Exception
    • insertQpd8_WhatDomainsReturnedReps

      public CX insertQpd8_WhatDomainsReturnedReps(int rep) throws HL7Exception
      Inserts a repetition of What Domains to be returned (QPD-8).
      Throws:
      HL7Exception
    • removeWhatDomainsReturnedReps

      public CX removeWhatDomainsReturnedReps(int rep) throws HL7Exception
      Removes a repetition of What Domains to be returned (QPD-8).
      Throws:
      HL7Exception
    • removeQpd8_WhatDomainsReturnedReps

      public CX removeQpd8_WhatDomainsReturnedReps(int rep) throws HL7Exception
      Removes a repetition of What Domains to be returned (QPD-8).
      Throws:
      HL7Exception
    • createNewTypeWithoutReflection

      protected Type createNewTypeWithoutReflection(int field)
      Overrides:
      createNewTypeWithoutReflection in class AbstractSegment