CDCgov / data-exchange-hl7

Enterprise Data Exchange (DEX) is a new cloud-native centralized data ingestion, validation, and observation service scoped for common data types (HL7, FHIR, CDA, XML, CSV) sent to the CDC. It helps public health stakeholders who send data to the CDC while reducing the maintenance efforts, complexity, and duplication of ingestion points to CDC.
Apache License 2.0
10 stars 14 forks source link

Update getMMG() to use new condition code mapping format #365

Closed marcia-schulman closed 1 year ago

marcia-schulman commented 1 year ago

There is a new format for the JSON information stored in Redis that maps condition/event codes to MMGs. The function needs to be updated to use the new format, which is under namespace "conditionv2:" in Redis.

New format example:


{
    "event_code": "50266",
    "name": "Salmonella enterica serotypes Paratyphi A, B (tartrate negative) and C (S. Paratyphi) infection",
    "program": "NCEZID",
    "category": "Enteric Diseases",
    "profiles": [
        {
            "name": "FDD_MMG_V1.0",
            "mmgs": ["mmg:FDD_Typhoid_and_Paratyphoid"],
            "special_cases": [
                {
                    "applies_to": "foodnet_states",
                    "mmgs": ["mmg:FDD_Typhoid_and_Paratyphoid", "mmg:FoodNet"]
                }
            ]
        },                                                      
        {
            "name": "FDD_MMG_V2.0",
            "mmgs": ["mmg:FDD_V2.0_FN_S_Typhi_S_Paratyphi"],
            "special_cases": [
                {
                    "applies_to": "foodnet_states",
                    "mmgs":  ["mmg:FDD_V2.0_FN_S_Typhi_S_Paratyphi", "mmg:FoodNet"]
                }
            ]
        }
    ]
}
lmcnabb commented 1 year ago

@marcia-schulman can you put an estimate on this?