use of se.riv.clinicalprocess.healthcond.certificate.certificatestatusupdateforcareresponder.v1.CertificateStatusUpdateForCareType in project webcert by sklintyg.
the class NotificationWSClientTest method createRequest.
private CertificateStatusUpdateForCareType createRequest() {
CertificateStatusUpdateForCareType res = new CertificateStatusUpdateForCareType();
res.setIntyg(new Intyg());
res.getIntyg().setIntygsId(new IntygId());
res.getIntyg().getIntygsId().setExtension("intygsId");
return res;
}
use of se.riv.clinicalprocess.healthcond.certificate.certificatestatusupdateforcareresponder.v1.CertificateStatusUpdateForCareType in project webcert by sklintyg.
the class NotificationRouteBuilder method initializeJaxbMessageDataFormatV3.
// CHECKSTYLE:OFF LineLength
private JaxbDataFormat initializeJaxbMessageDataFormatV3() throws JAXBException {
// We need to register DatePeriodType with the JAXBContext explicitly for some reason.
JaxbDataFormat jaxbMessageDataFormatV3 = new JaxbDataFormat(JAXBContext.newInstance(CertificateStatusUpdateForCareType.class, DatePeriodType.class, PartialDateType.class));
jaxbMessageDataFormatV3.setPartClass("se.riv.clinicalprocess.healthcond.certificate.certificatestatusupdateforcareresponder.v3.CertificateStatusUpdateForCareType");
jaxbMessageDataFormatV3.setPartNamespace(new QName("urn:riv:clinicalprocess:healthcond:certificate:CertificateStatusUpdateForCareResponder:3", "CertificateStatusUpdateForCare"));
return jaxbMessageDataFormatV3;
}
Aggregations