コード例 #1
0
ファイル: base_datatypes.py プロジェクト: weiyd/hl7apy
 def to_er7(self, encoding_chars=None):
     if encoding_chars is None:
         encoding_chars = get_default_encoding_chars('2.7')
     return self._escape_value(self.value, encoding_chars)
コード例 #2
0
ファイル: parser.py プロジェクト: dbunskoek/hl7apy
def _get_encoding_chars(encoding_chars):
    if encoding_chars is None:
        encoding_chars = get_default_encoding_chars()
    check_encoding_chars(encoding_chars)
    return encoding_chars
コード例 #3
0
def _get_encoding_chars(encoding_chars):
    if encoding_chars is None:
        return get_default_encoding_chars()
    check_encoding_chars(encoding_chars)
    return encoding_chars
コード例 #4
0
ファイル: parser.py プロジェクト: crs4/hl7apy
def _get_encoding_chars(encoding_chars, version):
    if encoding_chars is None:
        return get_default_encoding_chars(version)
    check_encoding_chars(encoding_chars)
    return encoding_chars