Module Gnumed.business.gmXdtMappings

GNUmed German xDT mapping data.

This maps xDT fields in various ways.

Functions

def xdt_8date2iso(date=None)
Expand source code
def xdt_8date2iso(date=None):
        """DDMMYYYY -> YYYY-MM-DD"""
        return '%s-%s-%s' % (date[-4:], date[2:4], date[:2])

DDMMYYYY -> YYYY-MM-DD