

def testEnrollmentRequest1(self):
    inst = self.instantiate_from('enrollmentrequest-example.json')
    self.assertIsNotNone(inst, 'Must have instantiated a EnrollmentRequest instance')
    self.implEnrollmentRequest1(inst)
    js = inst.as_json()
    self.assertEqual('EnrollmentRequest', js['resourceType'])
    inst2 = enrollmentrequest.EnrollmentRequest(js)
    self.implEnrollmentRequest1(inst2)

dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/enrollmentrequest_tests.py EnrollmentRequestTests.testEnrollmentRequest1/original