MIGRATION GUIDE
EDCS 3.1 to EDCS 4.0 Mapping Library upgrade to EDCS 3.1 to EDCS 4.2 Mapping Library

Please note that all EDCS source files carry, as part of their leader comment information, comments that specify the EDCS release to which they correspond.

  1. Type Changes
  2. Function Changes


The marked items indicate areas that could be handled by a name change script.

  1. Type Changes.

    1. EDCS_Attribute_Mapping_Structure maps to EDCS_3p1_4p2_Attribute_Mapping_Structure.

      The unit_map_type field is set to EDCS_MAPPING_TYP_ONE_TO_ONE in cases where map_type = EDCS_MAPPING_TYP_CHANGE_IN_DATATYPE or map_type = EDCS_MAPPING_TYP_SPECIAL_CASE and the target EDCS Attribute is real-valued with a known required unit and scale for the mapping. In these cases, the unit_4p2_code field and unit_scale_4p2_code field are set to the required units for the target real-valued EDCS Attribute.

      The unit_map_type field is set to EDCS_MAPPING_TYP_ONE_TO_ZERO otherwise.

      OldNew
      ea_4p0_codeea_4p2_code
      (none)unit_map_type
      (none)unit_4p2_code
      (none)unit_scale_4p2_code
      (none)entry_count
      (none)entry_list


    2. EDCS_Class_Mapping_Structure maps to EDCS_3p1_4p2_Class_Mapping_Structure.

      OldNew
      ec_4p0_codeec_4p2_code
      (none)entry_count
      (none)entry_list


    3. EDCS_Enumerant_Mapping_Structure maps to EDCS_3p1_4p2_Enumerant_Mapping_Structure.

      OldNew
      ea_4p0_codeea_4p2_code
      ee_4p0_codeee_4p2_code
      ea_4p0_valuesplit into entry_count, entry_list


    4. EDCS_Group_Mapping_Structure maps to EDCS_3p1_4p2_Group_Mapping_Structure.

      OldNew
      em_3p1_codeev_3p1_code
      em_3p1_labelev_3p1_label
      ev_4p0_codeev_4p2_code


    5. EDCS_Metadata_Mapping_Structure maps to EDCS_3p1_4p2_Characteristic_Mapping_Structure.

      OldNew
      ec_4p0_codeec_4p2_code


    6. EDCS_Mapping_Type_Code maps to EDCS_Mapping_Type_Code.

      OldNew
      (none) EDCS_MAPPING_TYP_ONE_TO_ONE_CONDITIONAL
      (none) EDCS_MAPPING_TYP_ONE_TO_ONE_QUALIFIED
      (none) EDCS_MAPPING_TYP_CHANGE_TO_CHARACTERISTIC


  2. Function Changes

    Old New
    EDCS_Map3p1GetLibVersion EDCS_Map3p1GetImplVerInfo
    EDCS_Map3p1MetadataCode EDCS_Map3p1CharacteristicCode
    EDCS_Map3p1MetadataLabel EDCS_Map3p1CharacteristicLabel
    EDCS_3p1MetadataCodeFromLabel EDCS_3p1CharacteristicCodeFromLabel
    EDCS_Print3p1MappingTypeCode EDCS_PrintMappingTypeCode

Questions or comments should be directed to: help@sedris.org