Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2"""python-hl7 is a simple library for parsing messages of Health Level 7 

3(HL7) version 2.x into Python objects. 

4 

5* Documentation: http://python-hl7.readthedocs.org 

6* Source Code: http://github.com/johnpaulett/python-hl7 

7""" 

8from .version import get_version 

9 

10__version__ = get_version() 

11__author__ = 'John Paulett' 

12__email__ = 'john -at- paulett.org' 

13__license__ = 'BSD' 

14__copyright__ = 'Copyright 2011, John Paulett <john -at- paulett.org>' 

15 

16#: This is the HL7 Null value. It means that a field is present and blank. 

17NULL = '""' 

18 

19from .parser import parse 

20from .containers import Sequence, Container, Message, Segment, Field, Repetition, Component, Factory 

21from .accessor import Accessor 

22from .util import ishl7, isfile, split_file, generate_message_control_id 

23from .datatypes import parse_datetime 

24 

25__all__ = [ 

26 "parse", 

27 "Sequence", "Container", "Message", "Segment", "Field", "Repetition", "Component", "Factory", 

28 "Accessor", 

29 "ishl7", "isfile", "split_file", "generate_message_control_id", 

30 "parse_datetime", 

31]