You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have got an issue from the customer that the vaccination module (using Husky) does not display the correct family name.
We could see that Husky uses the first name given in the list of names, see FhirPatient#getConvenienceName() HumanName humanName = this.getNameFirstRep();
Our customer has a case where the first name is the maiden name and not the actual family name (after marriage).
I have attached an example where you can see on line 47ff that there are two names. For the family name in line 52, there is the qualifier "BR" indicating that it is the maiden name. Husky should look through all names to take the one which does not contain the BR qualier.
After first analysis, I am however not sure that if we can solve this issue on Husky itself or if we need to handover to IPF because the BR qualifier is not given into the PRPAIN201306UV02Type (or rather the PRPAMT201310UV02Person with the PN class). It would be nice to get a 2nd opinion on it.
This prefix shall be not used here. After I removed it (and fixed the namespace declaration of ns1 in the first line, where you have ( instead of urn:hl7-org:v3), the following code:
public void testHusky() throws Exception {
InputStream inputStream = PixV3QueryResponseTransformerTest.class.getClassLoader().getResourceAsStream("iti47-response-1.xml");
PRPAIN201306UV02Type msg = HL7V3Transformer.unmarshallMessage(PRPAIN201306UV02Type.class, inputStream);
List<PN> names = msg.controlActProcess.subject.get(0).registrationEvent.subject1.patient.patientPerson.name;
for (PN name : names) {
for (EnFamily family : name.getFamily()) {
String value = String.join(" ", family.getListStringValues());
if ("BR".equals(family.qualifier)) {
System.out.println(value + " is a birth name");
} else {
System.out.println(value + " is not a birth name");
}
}
}
}
delivers as expected:
DAHLER-CASALI is not a birth name
Schuhmacher is a birth name
have got an issue from the customer that the vaccination module (using Husky) does not display the correct family name.
We could see that Husky uses the first name given in the list of names, see FhirPatient#getConvenienceName()
HumanName humanName = this.getNameFirstRep();
Our customer has a case where the first name is the maiden name and not the actual family name (after marriage).
I have attached an example where you can see on line 47ff that there are two names. For the family name in line 52, there is the qualifier "BR" indicating that it is the maiden name. Husky should look through all names to take the one which does not contain the BR qualier.
After first analysis, I am however not sure that if we can solve this issue on Husky itself or if we need to handover to IPF because the BR qualifier is not given into the PRPAIN201306UV02Type (or rather the PRPAMT201310UV02Person with the PN class). It would be nice to get a 2nd opinion on it.
Example PDQ response
The text was updated successfully, but these errors were encountered: