

def implClinicalImpression1(self, inst):
    self.assertEqual(inst.date.date, FHIRDate('2014-12-06T22:33:00+11:00').date)
    self.assertEqual(inst.date.as_json(), '2014-12-06T22:33:00+11:00')
    self.assertEqual(inst.description, 'This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident')
    self.assertEqual(inst.finding[0].item.coding[0].code, '850.0')
    self.assertEqual(inst.finding[0].item.coding[0].system, 'http://hl7.org/fhir/sid/icd-9')
    self.assertEqual(inst.id, 'example')
    self.assertEqual(inst.investigations[0].code.text, 'Initial Examination')
    self.assertEqual(inst.status, 'completed')
    self.assertEqual(inst.summary, 'provisional diagnoses of laceration of head and traumatic brain injury (TBI)')
    self.assertEqual(inst.text.status, 'generated')

dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/clinicalimpression_tests.py ClinicalImpressionTests.implClinicalImpression1/original