(
    domain: str,
    case_id: str,
    case_property: str,
)
Delete the OpenMRS identifier on the case.
Delete the OpenMRS identifier on the case.
Delete the OpenMRS identifier on the case .
def delete_case_property(
    domain: str,
    case_id: str,
    case_property: str,
):
    """
    Delete the OpenMRS identifier on the case.
    """
    members = dict(inspect.getmembers(CaseBlock.__init__.__code__))
    case_block_args = members['co_varnames']
    if case_property in case_block_args:
        case_block_kwargs = {case_property: None}
    else:
        case_block_kwargs = {"update": {case_property: None}}
    case_block = CaseBlock.deprecated_init(case_id=case_id, create=False, **case_block_kwargs)
    submit_case_blocks([case_block.as_text()], domain, xmlns=XMLNS_OPENMRS)
def delete_case_property ( domain : str , case_id : str , case_property : str , ) : members = dict ( inspect . getmembers ( CaseBlock . __init__ . __code__ ) ) case_block_args = members [ 'co_varnames' ] if case_property in case_block_args : case_block_kwargs = { case_property : None } else : case_block_kwargs = { "update" : { case_property : None } } case_block = CaseBlock . deprecated_init ( case_id = case_id , create = False , * * case_block_kwargs ) submit_case_blocks ( [ case_block . as_text ( ) ] , domain , xmlns = XMLNS_OPENMRS )