(self)
return {
            "cc_path_client": {
                "case_id_attr": "case_id",
                "child_type": "pact_careplan_goal",
            },
            "pact_careplan_goal": {
                'type_name': _("Goal"),
                'open_sortkeys': [['date_followup', 'asc']],
                'closed_sortkeys': [['closed_on', 'desc']],

                # should get these automatically from xmlns
                "app_id": PACT_CLOUD_APP_ID,
                "edit_module_id": "1",
                "edit_form_id": "3",
                "create_module_id": "1",
                "create_form_id": "0",
                "case_id_attr": "case_id_goal",
                "child_type": "pact_careplan_task",
                "description_property": "description",

                #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/create",
                #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/update"
            },
            "pact_careplan_task": {
                'type_name': _("Task"),
                'open_sortkeys': [['date_followup', 'asc']],
                'closed_sortkeys': [['closed_on', 'desc']],
               
                'app_id': PACT_CLOUD_APP_ID,
                "edit_module_id": "1",
                "edit_form_id": "2",
                "create_module_id": "1",
                "create_form_id": "1",
                "case_id_attr": "case_id_task",
                "description_property": "description",

                #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/create",
                #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/update"
            },
        }
For Care Plan module
For Care Plan module
For Care Plan module
def related_type_info(self):
        """For Care Plan module"""
        PACT_CLOUD_APP_ID = "615bff7178e2a14eeddd2cddbed60b79" 

        return {
            "cc_path_client": {
                "case_id_attr": "case_id",
                "child_type": "pact_careplan_goal",
            },
            "pact_careplan_goal": {
                'type_name': _("Goal"),
                'open_sortkeys': [['date_followup', 'asc']],
                'closed_sortkeys': [['closed_on', 'desc']],

                # should get these automatically from xmlns
                "app_id": PACT_CLOUD_APP_ID,
                "edit_module_id": "1",
                "edit_form_id": "3",
                "create_module_id": "1",
                "create_form_id": "0",
                "case_id_attr": "case_id_goal",
                "child_type": "pact_careplan_task",
                "description_property": "description",

                #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/create",
                #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/update"
            },
            "pact_careplan_task": {
                'type_name': _("Task"),
                'open_sortkeys': [['date_followup', 'asc']],
                'closed_sortkeys': [['closed_on', 'desc']],
               
                'app_id': PACT_CLOUD_APP_ID,
                "edit_module_id": "1",
                "edit_form_id": "2",
                "create_module_id": "1",
                "create_form_id": "1",
                "case_id_attr": "case_id_task",
                "description_property": "description",

                #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/create",
                #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/update"
            },
        }
def related_type_info ( self ) : PACT_CLOUD_APP_ID = "615bff7178e2a14eeddd2cddbed60b79" return { "cc_path_client" : { "case_id_attr" : "case_id" , "child_type" : "pact_careplan_goal" , } , "pact_careplan_goal" : { 'type_name' : _ ( "Goal" ) , 'open_sortkeys' : [ [ 'date_followup' , 'asc' ] ] , 'closed_sortkeys' : [ [ 'closed_on' , 'desc' ] ] , # should get these automatically from xmlns "app_id" : PACT_CLOUD_APP_ID , "edit_module_id" : "1" , "edit_form_id" : "3" , "create_module_id" : "1" , "create_form_id" : "0" , "case_id_attr" : "case_id_goal" , "child_type" : "pact_careplan_task" , "description_property" : "description" , #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/create", #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/goal/update" } , "pact_careplan_task" : { 'type_name' : _ ( "Task" ) , 'open_sortkeys' : [ [ 'date_followup' , 'asc' ] ] , 'closed_sortkeys' : [ [ 'closed_on' , 'desc' ] ] , 'app_id' : PACT_CLOUD_APP_ID , "edit_module_id" : "1" , "edit_form_id" : "2" , "create_module_id" : "1" , "create_form_id" : "1" , "case_id_attr" : "case_id_task" , "description_property" : "description" , #'create_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/create", #'update_form_xmlns': "http://dev.commcarehq.org/pact/careplan/task/update" } , }