Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cms_bluebutton/cms_bluebutton.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions cms_bluebutton/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@
"Coverage": "fhir/Coverage/",
"Profile": "connect/userinfo",
"ExplanationOfBenefit": "fhir/ExplanationOfBenefit/",
"C4dicCoverage": "fhir/InsuranceCover/",
"C4dicPatient": "fhir/InsurancePat/",
"C4dicOrganization": "fhir/InsuranceOrg/"
}