@@ -144,8 +144,8 @@ class File(Container):
144144 It contains a list of :py:class:`hl7.Batch`
145145 instances. It may contain FHS/FTS :py:class:`hl7.Segment` instances.
146146
147- Files may or may not be wrapped in FHS/FTS segements
148- deliniating the start/end of the batch. These are optional.
147+ Files may or may not be wrapped in FHS/FTS segments
148+ delineating the start/end of the batch. These are optional.
149149 """
150150
151151 def __init__ (
@@ -209,7 +209,7 @@ def __str__(self):
209209 """Join a the child batches into a single string, separated
210210 by the self.separator. This method acts recursively, calling
211211 the children's __unicode__ method. Thus ``unicode()`` is the
212- approriate method for turning the python-hl7 representation of
212+ appropriate method for turning the python-hl7 representation of
213213 HL7 into a standard string.
214214
215215 If this batch has FHS/FTS segments, they will be added to the
@@ -235,8 +235,8 @@ class Batch(Container):
235235 It contains a list of :py:class:`hl7.Message` instances.
236236 It may contain BHS/BTS :py:class:`hl7.Segment` instances.
237237
238- Batches may or may not be wrapped in BHS/BTS segements
239- deliniating the start/end of the batch. These are optional.
238+ Batches may or may not be wrapped in BHS/BTS segments
239+ delineating the start/end of the batch. These are optional.
240240 """
241241
242242 def __init__ (
@@ -300,7 +300,7 @@ def __str__(self):
300300 """Join a the child messages into a single string, separated
301301 by the self.separator. This method acts recursively, calling
302302 the children's __unicode__ method. Thus ``unicode()`` is the
303- approriate method for turning the python-hl7 representation of
303+ appropriate method for turning the python-hl7 representation of
304304 HL7 into a standard string.
305305
306306 If this batch has BHS/BTS segments, they will be added to the
@@ -557,11 +557,11 @@ def create_ack(
557557
558558 msh .assign_field (str (source_msh (1 )), 1 )
559559 msh .assign_field (str (source_msh (2 )), 2 )
560- # Sending application is source receving application
560+ # Sending application is source receiving application
561561 msh .assign_field (
562562 str (application ) if application is not None else str (source_msh (5 )), 3
563563 )
564- # Sending facility is source receving facility
564+ # Sending facility is source receiving facility
565565 msh .assign_field (
566566 str (facility ) if facility is not None else str (source_msh (6 )), 4
567567 )
@@ -592,7 +592,7 @@ def __str__(self):
592592 """Join a the child containers into a single string, separated
593593 by the self.separator. This method acts recursively, calling
594594 the children's __unicode__ method. Thus ``unicode()`` is the
595- approriate method for turning the python-hl7 representation of
595+ appropriate method for turning the python-hl7 representation of
596596 HL7 into a standard string.
597597
598598 >>> str(hl7.parse(message)) == message
0 commit comments