From e45a65d3034a86caf5a6f8466069f6db5b1d788a Mon Sep 17 00:00:00 2001 From: Adrian Jones Date: Mon, 4 Mar 2024 15:48:23 -0500 Subject: [PATCH] BB2-2768 Digital insurance poc --- cms_bluebutton/cms_bluebutton.py | 12 ++++++++++++ cms_bluebutton/constants.py | 3 +++ 2 files changed, 15 insertions(+) diff --git a/cms_bluebutton/cms_bluebutton.py b/cms_bluebutton/cms_bluebutton.py index b6c9bf5..bbc1ce2 100644 --- a/cms_bluebutton/cms_bluebutton.py +++ b/cms_bluebutton/cms_bluebutton.py @@ -113,6 +113,18 @@ def get_explaination_of_benefit_data(self, config): config["url"] = FHIR_RESOURCE_TYPE["ExplanationOfBenefit"] return fhir_request(self, config) + def get_c4dic_coverage_data(self, config): + config["url"] = FHIR_RESOURCE_TYPE["C4dicCoverage"] + return fhir_request(self, config) + + def get_c4dic_patient_data(self, config): + config["url"] = FHIR_RESOURCE_TYPE["C4dicPatient"] + return fhir_request(self, config) + + def get_c4dic_organization_data(self, config): + config["url"] = FHIR_RESOURCE_TYPE["C4dicOrganization"] + return fhir_request(self, config) + def get_profile_data(self, config): config["url"] = FHIR_RESOURCE_TYPE["Profile"] return fhir_request(self, config) diff --git a/cms_bluebutton/constants.py b/cms_bluebutton/constants.py index 3236aac..38d39af 100644 --- a/cms_bluebutton/constants.py +++ b/cms_bluebutton/constants.py @@ -21,4 +21,7 @@ "Coverage": "fhir/Coverage/", "Profile": "connect/userinfo", "ExplanationOfBenefit": "fhir/ExplanationOfBenefit/", + "C4dicCoverage": "fhir/InsuranceCover/", + "C4dicPatient": "fhir/InsurancePat/", + "C4dicOrganization": "fhir/InsuranceOrg/" }