BCDA Coverage.Class

61 views
Skip to first unread message

Jeff Killer

unread,
Jan 29, 2025, 10:42:11 AMJan 29
to Beneficiary Claims Data API (BCDA) Community
I'm currently working in sandbox pulling coverage data and I'm having an issue with the data related to the class object.  Within class we have a "Value" object of type Identifier.  However, the sample data is only show value as a string.  This is causing errors when deserializing. Example: 

    "class": [
        {
            "type": {
                "coding": [
                    {
                        "code": "group",
                        "display": "Group",
                        "system": "http://terminology.hl7.org/CodeSystem/coverage-class"
                    }
                ]
            },
            "value": "Medicare"
        }
    ]

As you can see "value" has a string assigned rather than the Identifier data type.   Am I missing something?

The coverage sample from the HL7 spec shows the json as:

"class" : [{ "type" : { "coding" : [{ "system" : "http://terminology.hl7.org/CodeSystem/coverage-class", "code" : "group" }] }, "value" : { "value" : "CB135" }, "name" : "Corporate Baker's Inc. Local #35" }

Thanks for allowing me to join and appreciate everyone's input!
Reply all
Reply to author
Forward
0 new messages