def METHOD_NAME(self, client):
    poller = client.begin_recognize_identity_documents_from_url(self.identity_document_url_jpg, include_field_elements=True)
    result = poller.result()
    assert len(result) == 1
    id_document = result[0]
    self.assertFormPagesHasValues(id_document.pages)
    for field in id_document.fields.values():
        if field.name == "CountryRegion":
            assert field.value ==  "USA"
            continue
        elif field.name == "Region":
            assert field.value ==  "Washington"
        else:
            self.assertFieldElementsHasValues(field.value_data.field_elements, id_document.page_range.first_page_number)