def METHOD_NAME(requests, resource):
    response = requests.post('Patient/', json=resource, raise_for_status=True)
    patient = json_or_http_error(response)
    _check_id(patient)
    return patient