public class Routing extends Object implements Serializable
Routing is a type used besides common input and is added in version 2.3 of the interface. It allows NIP-PIN to determine the HIO in case it isn’t defined explicitly in the WS-Addressing 'To' element. The routing consists of the following elements: Care Receiver: the member of the HIO, it is to this HIO the message is routed too. o SSIN: the national number of the care receiver, should always be present and can only be omitted in very rare case (e.g. new born). o RegNrWithMut: the registration number of the care receiver, optional when the SSIN is provided. Must be combined with the mutuality since the number is only unique with a mutuality. o Mutuality: the 3 digit code of the mutuality (e.g. 203, 100, …). Must be used with reg nr with mut, but can also be used with SSIN to override the mutuality the message should arrive. Reference Date: The date for which the membership should be resolve, this must be a date within the period of the business request. See the relevant service catalogue for the specific rule. Period: If the business request has a fixed period length, this can be omitted. In case the business request has a variable period it must be provided. See the relevant service catalogue for the specific rules.
Constructor and Description |
---|
Routing() |
Routing(CareReceiverId careReceiver,
org.joda.time.DateTime referenceDate)
create Routing based on a CareReceiver without period.
|
Routing(CareReceiverId careReceiver,
org.joda.time.DateTime referenceDate,
Period period)
create Routing based on a CareReceiver with all parameters.
|
Routing(Subject subject,
org.joda.time.DateTime referenceDate)
create Routing based on a subject without period.
|
Routing(Subject subject,
org.joda.time.DateTime referenceDate,
Period period)
create Routing based on a subject with all parameters.
|
Modifier and Type | Method and Description |
---|---|
CareReceiverId |
getCareReceiver() |
Period |
getPeriod() |
org.joda.time.DateTime |
getReferenceDate() |
Subject |
getSubject() |
void |
setCareReceiver(CareReceiverId careReceiver) |
void |
setPeriod(Period period) |
void |
setReferenceDate(org.joda.time.DateTime referenceDate) |
void |
setSubject(Subject subject) |
public Routing()
public Routing(CareReceiverId careReceiver, org.joda.time.DateTime referenceDate)
careReceiver
- referenceDate
- public Routing(CareReceiverId careReceiver, org.joda.time.DateTime referenceDate, Period period)
careReceiver
- referenceDate
- period
- public Routing(Subject subject, org.joda.time.DateTime referenceDate)
subject
- referenceDate
- public CareReceiverId getCareReceiver()
public void setCareReceiver(CareReceiverId careReceiver)
careReceiver
- the careReceiver to setpublic Subject getSubject()
public void setSubject(Subject subject)
subject
- the subject to setpublic org.joda.time.DateTime getReferenceDate()
public void setReferenceDate(org.joda.time.DateTime referenceDate)
referenceDate
- the referenceDate to setpublic Period getPeriod()
public void setPeriod(Period period)
period
- the period to set
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.