Package de.gematik.ncpeh.api.request
Record Class IdentifyPatientRequest
java.lang.Object
java.lang.Record
de.gematik.ncpeh.api.request.IdentifyPatientRequest
public record IdentifyPatientRequest(RequestBase baseParameter, PatientId patientId, LocalDate birthDateTime, String hcidNcpCountryA, String hcidNcpCountryB, Set<SubjectId> additionalLivingSubjectId, EuCountryCode patientAddressCountry)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifyPatientRequest(RequestBase baseParameter, PatientId patientId, LocalDate birthDateTime, String hcidNcpCountryA, String hcidNcpCountryB, Set<SubjectId> additionalLivingSubjectId, EuCountryCode patientAddressCountry) Creates an instance of aIdentifyPatientRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalLivingSubjectIdrecord component.Returns the value of thebaseParameterrecord component.Returns the value of thebirthDateTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehcidNcpCountryArecord component.Returns the value of thehcidNcpCountryBrecord component.Returns the value of thepatientAddressCountryrecord component.Returns the value of thepatientIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdentifyPatientRequest
public IdentifyPatientRequest(RequestBase baseParameter, PatientId patientId, LocalDate birthDateTime, String hcidNcpCountryA, String hcidNcpCountryB, Set<SubjectId> additionalLivingSubjectId, EuCountryCode patientAddressCountry) Creates an instance of aIdentifyPatientRequestrecord class.- Parameters:
baseParameter- the value for thebaseParameterrecord componentpatientId- the value for thepatientIdrecord componentbirthDateTime- the value for thebirthDateTimerecord componenthcidNcpCountryA- the value for thehcidNcpCountryArecord componenthcidNcpCountryB- the value for thehcidNcpCountryBrecord componentadditionalLivingSubjectId- the value for theadditionalLivingSubjectIdrecord componentpatientAddressCountry- the value for thepatientAddressCountryrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
baseParameter
Returns the value of thebaseParameterrecord component.- Returns:
- the value of the
baseParameterrecord component
-
patientId
Returns the value of thepatientIdrecord component.- Returns:
- the value of the
patientIdrecord component
-
birthDateTime
Returns the value of thebirthDateTimerecord component.- Returns:
- the value of the
birthDateTimerecord component
-
hcidNcpCountryA
Returns the value of thehcidNcpCountryArecord component.- Returns:
- the value of the
hcidNcpCountryArecord component
-
hcidNcpCountryB
Returns the value of thehcidNcpCountryBrecord component.- Returns:
- the value of the
hcidNcpCountryBrecord component
-
additionalLivingSubjectId
Returns the value of theadditionalLivingSubjectIdrecord component.- Returns:
- the value of the
additionalLivingSubjectIdrecord component
-
patientAddressCountry
Returns the value of thepatientAddressCountryrecord component.- Returns:
- the value of the
patientAddressCountryrecord component
-