Search in sources :

Example 1 with IVXBTS

use of net.ihe.gazelle.hl7v3.datatypes.IVXBTS in project MobileAccessGateway by i4mi.

the class PMIRRequestConverter method transform.

public static IVXBTS transform(DateTimeType date) {
    IVXBTS result = new IVXBTS();
    result.setValue(date.getAsV3());
    return result;
}
Also used : IVXBTS(net.ihe.gazelle.hl7v3.datatypes.IVXBTS)

Example 2 with IVXBTS

use of net.ihe.gazelle.hl7v3.datatypes.IVXBTS in project MobileAccessGateway by i4mi.

the class Iti78RequestConverter method transformDay.

public IVXBTS transformDay(Date date) {
    DateType dt = new DateType(date);
    IVXBTS result = new IVXBTS();
    result.setValue(dt.asStringValue().replace("-", ""));
    return result;
}
Also used : IVXBTS(net.ihe.gazelle.hl7v3.datatypes.IVXBTS) DateType(org.hl7.fhir.r4.model.DateType)

Aggregations

IVXBTS (net.ihe.gazelle.hl7v3.datatypes.IVXBTS)2 DateType (org.hl7.fhir.r4.model.DateType)1