Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
ASTM patient record.

:param type: Record Type ID. Always ``P``.
:type type: str

:param seq: Sequence Number. Required.
:type seq: int

:param practice_id: Practice Assigned Patient ID. Required. Length: 12.
:type practice_id: str(more...)

src/a/s/astm-0.5.0/astm/tests/test_omnilab.py   astm(Download)
    def test_patient_response(self):
        data = 'P|1|12120001|117118112||White^Nicky||19601218|M|||||||0||||||||||CHIR'
        patient = omnilab.server.Patient(*decode_record(data))
        self.assertEqual(patient.type, 'P')
        self.assertEqual(patient.seq, 1)