from __future__ import unicode_literals
import os

# import our default settings
from settings_production import *  # noqa

PODS[0]['contact_id_fieldname'] = os.environ.get(  # noqa: F405
    'REGISTRATION_CONTACT_ID_FIELDNAME',
    'registrant_id',
)

PODS[0]['field_mapping'] = [  # noqa: F405
    {"field": "msisdn_registrant", "field_name": "Cell Number"},
    {"field": "language", "field_name": "Language Preference"},
    {"field": "faccode", "field_name": "Facility Code"},
    {"field": "reg_type", "field_name": "Registration Type"},
    {"field": "mom_dob", "field_name": "Mother's Date of Birth"},
    {"field": "edd", "field_name": "Expected Due Date"},
]

from __future__ import unicode_literals
import os

# import our default settings
from settings_production import *  # noqa

PODS[0]['contact_id_fieldname'] = os.environ.get(  # noqa: F405
    'REGISTRATION_CONTACT_ID_FIELDNAME',
    'registrant_id',
)

PODS[0]['field_mapping'] = [  # noqa: F405
    {"field": "faccode", "field_name": "Facility Code"},
    {"field": "reg_type", "field_name": "Registration Type"},
    {"field": "mom_dob", "field_name": "Mother's Date of Birth"},
    {"field": "edd", "field_name": "Expected Due Date"},
]

Remove cell number and language from pod
Remove cell number and language from pod

We started using the identity store and the hub to fetch this information,
but unfortunately the field names are different depending on which service
the info is coming from.

These 2 fields are already displayed in the CasePro interface so it makes
sense to not use the pod at all for them.

  from __future__ import unicode_literals
  import os
  
  # import our default settings
  from settings_production import *  # noqa
  
  PODS[0]['contact_id_fieldname'] = os.environ.get(  # noqa: F405
      'REGISTRATION_CONTACT_ID_FIELDNAME',
      'registrant_id',
  )
  
  PODS[0]['field_mapping'] = [  # noqa: F405
-     {"field": "msisdn_registrant", "field_name": "Cell Number"},
-     {"field": "language", "field_name": "Language Preference"},
      {"field": "faccode", "field_name": "Facility Code"},
      {"field": "reg_type", "field_name": "Registration Type"},
      {"field": "mom_dob", "field_name": "Mother's Date of Birth"},
      {"field": "edd", "field_name": "Expected Due Date"},
  ]
  
Remove cell number and language from pod
## Code Before:
from __future__ import unicode_literals
import os

# import our default settings
from settings_production import *  # noqa

PODS[0]['contact_id_fieldname'] = os.environ.get(  # noqa: F405
    'REGISTRATION_CONTACT_ID_FIELDNAME',
    'registrant_id',
)

PODS[0]['field_mapping'] = [  # noqa: F405
    {"field": "msisdn_registrant", "field_name": "Cell Number"},
    {"field": "language", "field_name": "Language Preference"},
    {"field": "faccode", "field_name": "Facility Code"},
    {"field": "reg_type", "field_name": "Registration Type"},
    {"field": "mom_dob", "field_name": "Mother's Date of Birth"},
    {"field": "edd", "field_name": "Expected Due Date"},
]

## Instruction:
Remove cell number and language from pod
## Code After:
from __future__ import unicode_literals
import os

# import our default settings
from settings_production import *  # noqa

PODS[0]['contact_id_fieldname'] = os.environ.get(  # noqa: F405
    'REGISTRATION_CONTACT_ID_FIELDNAME',
    'registrant_id',
)

PODS[0]['field_mapping'] = [  # noqa: F405
    {"field": "faccode", "field_name": "Facility Code"},
    {"field": "reg_type", "field_name": "Registration Type"},
    {"field": "mom_dob", "field_name": "Mother's Date of Birth"},
    {"field": "edd", "field_name": "Expected Due Date"},
]
