Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/hl7/__init__.py : 100%

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.
5* Documentation: http://python-hl7.readthedocs.org
6* Source Code: http://github.com/johnpaulett/python-hl7
7"""
8from .version import get_version
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>'
16#: This is the HL7 Null value. It means that a field is present and blank.
17NULL = '""'
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
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]