Skip to content

Commit 92fd916

Browse files
Update mapping for model map file
1 parent 2ef0454 commit 92fd916

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

apps/bfd-model-idr/maps/Coverage-Base.map

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ group createPartDCoverage(source src: CoverageBase, target tgt: BFDCoverage){
248248
//only populate the following when there is a LIS, otherwise it's confusing.
249249

250250
//LIS Copayment Level Code Extension
251-
src.BENE_CMBND_DEEMD_IND -> tgt.extension = create('Extension') as tgtExtension then{
251+
src.BENE_CMBND_DEEMD_COPMT_LVL_ID -> tgt.extension = create('Extension') as tgtExtension then{
252252
src -> tgtExtension.url = "https://bluebutton.cms.gov/fhir/StructureDefinition/BENE-LIS-COPMT-LVL-CD" "Add url";
253253
src -> tgtExtension.value = create('Coding') as tgtCoding then{
254254
src -> tgtCoding.system = "https://bluebutton.cms.gov/fhir/CodeSystem/BENE-LIS-COPMT-LVL-CD" "add system";
@@ -257,7 +257,7 @@ group createPartDCoverage(source src: CoverageBase, target tgt: BFDCoverage){
257257
} "Add LIS copayment level code when LIS is effective";
258258

259259
//LIS Part D Premium Percentage Extension
260-
src.BENE_CMBND_DEEMD_IND -> tgt.extension = create('Extension') as tgtExtension then{
260+
src.BENE_CMBND_DEEMD_PRM_PCT -> tgt.extension = create('Extension') as tgtExtension then{
261261
src -> tgtExtension.url = "https://bluebutton.cms.gov/fhir/StructureDefinition/BENE-LIS-PTD-PRM-PCT" "Add url";
262262
src.BENE_CMBND_DEEMD_PRM_PCT as lisPtdPrmPct -> tgtExtension.value = cast(lisPtdPrmPct,'decimal') "Add value";
263263
} "Add LIS Part D premium percentage when LIS is effective";

apps/bfd-model-idr/out/Coverage-PartD.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@
5656
"system" : "https://bluebutton.cms.gov/fhir/CodeSystem/BENE-CMBND-DEEMD-IND",
5757
"code" : "Y"
5858
}
59-
},
60-
{
61-
"url" : "https://bluebutton.cms.gov/fhir/StructureDefinition/BENE-LIS-COPMT-LVL-CD",
62-
"valueCoding" : {
63-
"system" : "https://bluebutton.cms.gov/fhir/CodeSystem/BENE-LIS-COPMT-LVL-CD",
64-
"code" : "1"
65-
}
66-
},
67-
{
68-
"url" : "https://bluebutton.cms.gov/fhir/StructureDefinition/BENE-LIS-PTD-PRM-PCT",
69-
"valueDecimal" : 100.0
7059
}],
7160
"identifier" : [{
7261
"type" : {

apps/bfd-model-idr/sample-data/Coverage-PartD-Sample.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"BENE_PDP_ENRLMT_PRCSR_NUM":"P123456",
1717
"BENE_PDP_ENRLMT_BANK_ID_NUM":"BIN123456",
1818
"BENE_CMBND_DEEMD_IND":"Y",
19-
"BENE_LIS_COPMT_LVL_CD":"1",
20-
"BENE_LIS_PTD_PRM_PCT":"100.0",
19+
"BENE_CMBND_DEEMD_COPMT_LVL_ID":"1",
20+
"BENE_CMBND_DEEMD_PRM_PCT":"100.0",
2121
"CNTRCT_PBP_SGMT_NUM":"000",
2222
"BENE_ENRLMT_EMPLR_SBSDY_SW":"Y"
2323
}

0 commit comments

Comments
 (0)