From 56e00f29ff6b4abb1d3bb4b0a2a7ddbc8fadc682 Mon Sep 17 00:00:00 2001 From: Melissa Guzman Date: Mon, 4 Mar 2024 14:39:46 -0800 Subject: [PATCH 1/3] BFD-3304: represent data dictionary by reading in json files and coverting to fhir element beans --- .../bfd-model-dsl-codegen-plugin/pom.xml | 4 + .../GenerateDataDictionaryFromDslMojo.java | 183 ++++++++++ .../codegen/plugin/mappers/CsvToExcel.java | 322 ++++++++++++++++++ .../plugin/mappers/FhirElementToCsv.java | 216 ++++++++++++ .../plugin/mappers/FhirElementToJson.java | 97 ++++++ .../dsl/codegen/plugin/model/FhirElement.java | 51 +++ .../codegen/plugin/model/FhirElementBean.java | 53 +++ .../dsl/codegen/plugin/model/FhirMapping.java | 37 ++ .../dsl/codegen/plugin/model/MappingBean.java | 3 + .../dsl/codegen/plugin/model/ModelUtil.java | 223 ++++++++++++ .../dsl/codegen/plugin/model/RootBean.java | 9 + .../dsl/codegen/plugin/util/Version.java | 9 + .../data-dictionary-template/v1-to-csv.json | 28 ++ .../data-dictionary-template/v2-to-csv.json | 30 ++ .../V2/0001_adjstmt_dltn_cd.json | 46 +++ .../V2/0002_admtg_dgns_cd.json | 54 +++ .../V2/0003_admtg_dgns_vrsn_cd.json | 41 +++ .../V2/0004_at_physn_npi.json | 52 +++ .../V2/0005_at_physn_upin.json | 48 +++ .../V2/0006_bene_hospc_prd_cnt.json | 37 ++ .../fhir-mapping-path/V2/0007_bene_id.json | 45 +++ .../V2/0008_bene_lrd_used_cnt.json | 41 +++ .../V2/0009_bene_tot_coinsrnc_days_cnt.json | 42 +++ .../fhir-mapping-path/V2/0010_betos_cd.json | 44 +++ .../V2/0011_brnd_gnrc_cd.json | 43 +++ .../0012_carr_clm_cash_ddctbl_apld_amt.json | 43 +++ .../V2/0013_carr_clm_entry_cd.json | 41 +++ .../V2/0014_carr_clm_hcpcs_yr_cd.json | 39 +++ .../V2/0015_carr_clm_pmt_dnl_cd.json | 45 +++ .../V2/0016_carr_clm_prmry_pyr_pd_amt.json | 46 +++ .../V2/0017_carr_clm_prvdr_asgnmt_ind_sw.json | 41 +++ .../V2/0018_carr_clm_rfrng_pin_num.json | 45 +++ .../V2/0019_carr_line_ansthsa_unit_cnt.json | 39 +++ .../V2/0020_carr_line_clia_lab_num.json | 41 +++ .../V2/0021_carr_line_mtus_cd.json | 40 +++ .../V2/0022_carr_line_mtus_cnt.json | 38 +++ .../V2/0023_carr_line_prcng_lclty_cd.json | 41 +++ .../V2/0024_carr_line_prvdr_type_cd.json | 42 +++ .../0025_carr_line_rdcd_pmt_phys_astn_c.json | 43 +++ .../V2/0026_carr_line_rx_num.json | 31 ++ .../fhir-mapping-path/V2/0027_carr_num.json | 41 +++ .../V2/0028_carr_prfrng_pin_num.json | 33 ++ .../V2/0029_claim_query_code.json | 48 +++ .../V2/0030_clm_admsn_dt.json | 46 +++ .../V2/0031_clm_clncl_tril_num.json | 40 +++ .../V2/0032_clm_disp_cd.json | 41 +++ .../fhir-mapping-path/V2/0033_clm_drg_cd.json | 50 +++ .../V2/0034_clm_drg_outlier_stay_cd.json | 33 ++ .../V2/0035_clm_e_poa_ind_sw1.json | 43 +++ .../V2/0036_clm_e_poa_ind_sw10.json | 42 +++ .../V2/0037_clm_e_poa_ind_sw11.json | 42 +++ .../V2/0038_clm_e_poa_ind_sw12.json | 42 +++ .../V2/0039_clm_e_poa_ind_sw2.json | 42 +++ .../V2/0040_clm_e_poa_ind_sw3.json | 42 +++ .../V2/0041_clm_e_poa_ind_sw4.json | 42 +++ .../V2/0042_clm_e_poa_ind_sw5.json | 42 +++ .../V2/0043_clm_e_poa_ind_sw6.json | 42 +++ .../V2/0044_clm_e_poa_ind_sw7.json | 42 +++ .../V2/0045_clm_e_poa_ind_sw8.json | 42 +++ .../V2/0046_clm_e_poa_ind_sw9.json | 42 +++ .../V2/0047_clm_fac_type_cd.json | 48 +++ .../V2/0048_clm_freq_cd.json | 50 +++ .../V2/0049_clm_from_dt.json | 51 +++ .../V2/0050_clm_hospc_start_dt_id.json | 43 +++ .../V2/0051_clm_hha_lupa_ind_cd.json | 45 +++ .../V2/0052_clm_hha_rfrl_cd.json | 45 +++ .../V2/0053_clm_hha_tot_visit_cnt.json | 44 +++ .../fhir-mapping-path/V2/0054_clm_id.json | 50 +++ .../V2/0055_clm_ip_admsn_type_cd.json | 50 +++ .../V2/0056_clm_line_num.json | 48 +++ .../V2/0057_clm_mco_pd_sw.json | 48 +++ .../V2/0058_clm_mdcr_non_pmt_rsn_cd.json | 46 +++ .../V2/0059_clm_non_utlztn_days_cnt.json | 42 +++ .../V2/0060_clm_op_bene_pmt_amt.json | 42 +++ .../V2/0061_clm_op_prvdr_pmt_amt.json | 42 +++ .../V2/0062_clm_pass_thru_per_diem_amt.json | 42 +++ .../V2/0063_clm_pmt_amt.json | 48 +++ .../V2/0064_clm_poa_ind_sw1.json | 47 +++ .../V2/0065_clm_poa_ind_sw10.json | 44 +++ .../V2/0066_clm_poa_ind_sw11.json | 44 +++ .../V2/0067_clm_poa_ind_sw12.json | 44 +++ .../V2/0068_clm_poa_ind_sw13.json | 44 +++ .../V2/0069_clm_poa_ind_sw14.json | 44 +++ .../V2/0070_clm_poa_ind_sw15.json | 44 +++ .../V2/0071_clm_poa_ind_sw16.json | 44 +++ .../V2/0072_clm_poa_ind_sw17.json | 44 +++ .../V2/0073_clm_poa_ind_sw18.json | 44 +++ .../V2/0074_clm_poa_ind_sw19.json | 44 +++ .../V2/0075_clm_poa_ind_sw2.json | 44 +++ .../V2/0076_clm_poa_ind_sw20.json | 44 +++ .../V2/0077_clm_poa_ind_sw21.json | 44 +++ .../V2/0078_clm_poa_ind_sw22.json | 44 +++ .../V2/0079_clm_poa_ind_sw23.json | 44 +++ .../V2/0080_clm_poa_ind_sw24.json | 44 +++ .../V2/0081_clm_poa_ind_sw25.json | 44 +++ .../V2/0082_clm_poa_ind_sw3.json | 44 +++ .../V2/0083_clm_poa_ind_sw4.json | 44 +++ .../V2/0084_clm_poa_ind_sw5.json | 44 +++ .../V2/0085_clm_poa_ind_sw6.json | 44 +++ .../V2/0086_clm_poa_ind_sw7.json | 44 +++ .../V2/0087_clm_poa_ind_sw8.json | 44 +++ .../V2/0088_clm_poa_ind_sw9.json | 44 +++ .../V2/0089_clm_pps_cptl_drg_wt_num.json | 41 +++ .../0090_clm_pps_cptl_dsprprtnt_shr_amt.json | 46 +++ .../V2/0091_clm_pps_cptl_excptn_amt.json | 43 +++ .../V2/0092_clm_pps_cptl_fsp_amt.json | 43 +++ .../V2/0093_clm_pps_cptl_ime_amt.json | 46 +++ .../V2/0094_clm_pps_cptl_outlier_amt.json | 43 +++ .../V2/0095_clm_pps_ind_cd.json | 45 +++ .../0096_clm_pps_old_cptl_hld_hrmls_amt.json | 43 +++ .../V2/0097_clm_src_ip_admsn_cd.json | 50 +++ .../V2/0098_clm_srvc_clsfctn_type_cd.json | 47 +++ .../V2/0099_clm_thru_dt.json | 51 +++ .../V2/0100_clm_tot_chrg_amt.json | 53 +++ .../V2/0101_clm_tot_pps_cptl_amt.json | 42 +++ .../V2/0102_clm_utlztn_day_cnt.json | 43 +++ .../fhir-mapping-path/V2/0103_cmpnd_cd.json | 43 +++ .../V2/0104_ctstrphc_cvrg_cd.json | 45 +++ .../V2/0105_cvrd_d_plan_pd_amt.json | 45 +++ .../V2/0106_daw_prod_slctn_cd.json | 49 +++ .../V2/0107_days_suply_num.json | 44 +++ .../V2/0108_dmerc_line_mtus_cd.json | 41 +++ .../V2/0109_dmerc_line_mtus_cnt.json | 40 +++ .../V2/0110_dmerc_line_prcng_state_cd.json | 41 +++ .../V2/0111_dmerc_line_scrn_svgs_amt.json | 38 +++ .../V2/0112_dmerc_line_supplr_type_cd.json | 42 +++ .../V2/0113_drug_cvrg_stus_cd.json | 53 +++ .../V2/0114_dsh_op_clm_val_amt.json | 43 +++ .../V2/0115_dspnsng_stus_cd.json | 48 +++ .../V2/0116_fi_clm_actn_cd.json | 41 +++ .../V2/0117_fi_clm_proc_dt.json | 42 +++ .../fhir-mapping-path/V2/0118_fi_num.json | 41 +++ .../fhir-mapping-path/V2/0119_fill_num.json | 44 +++ .../V2/0120_final_action.json | 44 +++ .../V2/0121_fst_dgns_e_cd.json | 50 +++ .../V2/0122_fst_dgns_e_vrsn_cd.json | 45 +++ .../V2/0123_gdc_abv_oopt_amt.json | 45 +++ .../V2/0124_gdc_blw_oopt_amt.json | 45 +++ .../V2/0125_hcpcs_1st_mdfr_cd.json | 45 +++ .../V2/0126_hcpcs_2nd_mdfr_cd.json | 45 +++ .../V2/0127_hcpcs_3rd_mdfr_cd.json | 41 +++ .../V2/0128_hcpcs_4th_mdfr_cd.json | 41 +++ .../fhir-mapping-path/V2/0129_hcpcs_cd.json | 52 +++ .../V2/0130_hpsa_scrcty_ind_cd.json | 31 ++ .../V2/0131_icd_dgns_cd1.json | 53 +++ .../V2/0132_icd_dgns_cd10.json | 53 +++ .../V2/0133_icd_dgns_cd11.json | 53 +++ .../V2/0134_icd_dgns_cd12.json | 53 +++ .../V2/0135_icd_dgns_cd13.json | 48 +++ .../V2/0136_icd_dgns_cd14.json | 48 +++ .../V2/0137_icd_dgns_cd15.json | 48 +++ .../V2/0138_icd_dgns_cd16.json | 48 +++ .../V2/0139_icd_dgns_cd17.json | 48 +++ .../V2/0140_icd_dgns_cd18.json | 48 +++ .../V2/0141_icd_dgns_cd19.json | 48 +++ .../V2/0142_icd_dgns_cd2.json | 53 +++ .../V2/0143_icd_dgns_cd20.json | 48 +++ .../V2/0144_icd_dgns_cd21.json | 48 +++ .../V2/0145_icd_dgns_cd22.json | 48 +++ .../V2/0146_icd_dgns_cd23.json | 48 +++ .../V2/0147_icd_dgns_cd24.json | 48 +++ .../V2/0148_icd_dgns_cd25.json | 48 +++ .../V2/0149_icd_dgns_cd3.json | 53 +++ .../V2/0150_icd_dgns_cd4.json | 53 +++ .../V2/0151_icd_dgns_cd5.json | 53 +++ .../V2/0152_icd_dgns_cd6.json | 53 +++ .../V2/0153_icd_dgns_cd7.json | 53 +++ .../V2/0154_icd_dgns_cd8.json | 53 +++ .../V2/0155_icd_dgns_cd9.json | 53 +++ .../V2/0156_icd_dgns_e_cd1.json | 50 +++ .../V2/0157_icd_dgns_e_cd10.json | 49 +++ .../V2/0158_icd_dgns_e_cd11.json | 49 +++ .../V2/0159_icd_dgns_e_cd12.json | 49 +++ .../V2/0160_icd_dgns_e_cd2.json | 49 +++ .../V2/0161_icd_dgns_e_cd3.json | 49 +++ .../V2/0162_icd_dgns_e_cd4.json | 49 +++ .../V2/0163_icd_dgns_e_cd5.json | 49 +++ .../V2/0164_icd_dgns_e_cd6.json | 49 +++ .../V2/0165_icd_dgns_e_cd7.json | 49 +++ .../V2/0166_icd_dgns_e_cd8.json | 49 +++ .../V2/0167_icd_dgns_e_cd9.json | 49 +++ .../V2/0168_icd_dgns_e_vrsn_cd1.json | 45 +++ .../V2/0169_icd_dgns_e_vrsn_cd10.json | 44 +++ .../V2/0170_icd_dgns_e_vrsn_cd11.json | 44 +++ .../V2/0171_icd_dgns_e_vrsn_cd12.json | 44 +++ .../V2/0172_icd_dgns_e_vrsn_cd2.json | 44 +++ .../V2/0173_icd_dgns_e_vrsn_cd3.json | 44 +++ .../V2/0174_icd_dgns_e_vrsn_cd4.json | 44 +++ .../V2/0175_icd_dgns_e_vrsn_cd5.json | 44 +++ .../V2/0176_icd_dgns_e_vrsn_cd6.json | 44 +++ .../V2/0177_icd_dgns_e_vrsn_cd7.json | 44 +++ .../V2/0178_icd_dgns_e_vrsn_cd8.json | 44 +++ .../V2/0179_icd_dgns_e_vrsn_cd9.json | 44 +++ .../V2/0180_icd_dgns_vrsn_cd1.json | 49 +++ .../V2/0181_icd_dgns_vrsn_cd10.json | 46 +++ .../V2/0182_icd_dgns_vrsn_cd11.json | 46 +++ .../V2/0183_icd_dgns_vrsn_cd12.json | 46 +++ .../V2/0184_icd_dgns_vrsn_cd13.json | 44 +++ .../V2/0185_icd_dgns_vrsn_cd14.json | 44 +++ .../V2/0186_icd_dgns_vrsn_cd15.json | 44 +++ .../V2/0187_icd_dgns_vrsn_cd16.json | 44 +++ .../V2/0188_icd_dgns_vrsn_cd17.json | 44 +++ .../V2/0189_icd_dgns_vrsn_cd18.json | 44 +++ .../V2/0190_icd_dgns_vrsn_cd19.json | 44 +++ .../V2/0191_icd_dgns_vrsn_cd2.json | 46 +++ .../V2/0192_icd_dgns_vrsn_cd20.json | 44 +++ .../V2/0193_icd_dgns_vrsn_cd21.json | 44 +++ .../V2/0194_icd_dgns_vrsn_cd22.json | 44 +++ .../V2/0195_icd_dgns_vrsn_cd23.json | 44 +++ .../V2/0196_icd_dgns_vrsn_cd24.json | 44 +++ .../V2/0197_icd_dgns_vrsn_cd25.json | 44 +++ .../V2/0198_icd_dgns_vrsn_cd3.json | 46 +++ .../V2/0199_icd_dgns_vrsn_cd4.json | 46 +++ .../V2/0200_icd_dgns_vrsn_cd5.json | 46 +++ .../V2/0201_icd_dgns_vrsn_cd6.json | 46 +++ .../V2/0202_icd_dgns_vrsn_cd7.json | 46 +++ .../V2/0203_icd_dgns_vrsn_cd8.json | 46 +++ .../V2/0204_icd_dgns_vrsn_cd9.json | 46 +++ .../V2/0205_icd_prcdr_cd1.json | 42 +++ .../V2/0206_icd_prcdr_cd10.json | 39 +++ .../V2/0207_icd_prcdr_cd11.json | 39 +++ .../V2/0208_icd_prcdr_cd12.json | 39 +++ .../V2/0209_icd_prcdr_cd13.json | 39 +++ .../V2/0210_icd_prcdr_cd14.json | 39 +++ .../V2/0211_icd_prcdr_cd15.json | 39 +++ .../V2/0212_icd_prcdr_cd16.json | 39 +++ .../V2/0213_icd_prcdr_cd17.json | 39 +++ .../V2/0214_icd_prcdr_cd18.json | 39 +++ .../V2/0215_icd_prcdr_cd19.json | 39 +++ .../V2/0216_icd_prcdr_cd2.json | 39 +++ .../V2/0217_icd_prcdr_cd20.json | 39 +++ .../V2/0218_icd_prcdr_cd21.json | 39 +++ .../V2/0219_icd_prcdr_cd22.json | 39 +++ .../V2/0220_icd_prcdr_cd23.json | 39 +++ .../V2/0221_icd_prcdr_cd24.json | 39 +++ .../V2/0222_icd_prcdr_cd25.json | 39 +++ .../V2/0223_icd_prcdr_cd3.json | 39 +++ .../V2/0224_icd_prcdr_cd4.json | 39 +++ .../V2/0225_icd_prcdr_cd5.json | 39 +++ .../V2/0226_icd_prcdr_cd6.json | 39 +++ .../V2/0227_icd_prcdr_cd7.json | 39 +++ .../V2/0228_icd_prcdr_cd8.json | 39 +++ .../V2/0229_icd_prcdr_cd9.json | 39 +++ .../V2/0230_icd_prcdr_vrsn_cd1.json | 39 +++ .../V2/0231_icd_prcdr_vrsn_cd10.json | 39 +++ .../V2/0232_icd_prcdr_vrsn_cd11.json | 39 +++ .../V2/0233_icd_prcdr_vrsn_cd12.json | 39 +++ .../V2/0234_icd_prcdr_vrsn_cd13.json | 39 +++ .../V2/0235_icd_prcdr_vrsn_cd14.json | 39 +++ .../V2/0236_icd_prcdr_vrsn_cd15.json | 39 +++ .../V2/0237_icd_prcdr_vrsn_cd16.json | 39 +++ .../V2/0238_icd_prcdr_vrsn_cd17.json | 39 +++ .../V2/0239_icd_prcdr_vrsn_cd18.json | 39 +++ .../V2/0240_icd_prcdr_vrsn_cd19.json | 39 +++ .../V2/0241_icd_prcdr_vrsn_cd2.json | 39 +++ .../V2/0242_icd_prcdr_vrsn_cd20.json | 39 +++ .../V2/0243_icd_prcdr_vrsn_cd21.json | 39 +++ .../V2/0244_icd_prcdr_vrsn_cd22.json | 39 +++ .../V2/0245_icd_prcdr_vrsn_cd23.json | 39 +++ .../V2/0246_icd_prcdr_vrsn_cd24.json | 39 +++ .../V2/0247_icd_prcdr_vrsn_cd25.json | 39 +++ .../V2/0248_icd_prcdr_vrsn_cd3.json | 39 +++ .../V2/0249_icd_prcdr_vrsn_cd4.json | 39 +++ .../V2/0250_icd_prcdr_vrsn_cd5.json | 39 +++ .../V2/0251_icd_prcdr_vrsn_cd6.json | 39 +++ .../V2/0252_icd_prcdr_vrsn_cd7.json | 39 +++ .../V2/0253_icd_prcdr_vrsn_cd8.json | 39 +++ .../V2/0254_icd_prcdr_vrsn_cd9.json | 39 +++ .../V2/0255_ime_op_clm_val_amt.json | 43 +++ .../fhir-mapping-path/V2/0256_lics_amt.json | 45 +++ .../V2/0257_line_1st_expns_dt.json | 42 +++ .../V2/0258_line_alowd_chrg_amt.json | 50 +++ .../V2/0259_line_bene_pmt_amt.json | 46 +++ .../V2/0260_line_bene_prmry_pyr_cd.json | 44 +++ .../V2/0261_line_bene_prmry_pyr_pd_amt.json | 46 +++ .../V2/0262_line_bene_ptb_ddctbl_amt.json | 46 +++ .../V2/0263_line_cms_type_srvc_cd.json | 45 +++ .../V2/0264_line_coinsrnc_amt.json | 46 +++ .../V2/0265_line_dme_prchs_price_amt.json | 45 +++ .../V2/0266_line_hct_hgb_rslt_num.json | 46 +++ .../V2/0267_line_hct_hgb_type_cd.json | 45 +++ .../V2/0268_line_icd_dgns_cd.json | 41 +++ .../V2/0269_line_icd_dgns_vrsn_cd.json | 43 +++ .../V2/0270_line_last_expns_dt.json | 42 +++ .../V2/0271_line_nch_pmt_amt.json | 49 +++ .../V2/0272_line_ndc_cd.json | 42 +++ .../fhir-mapping-path/V2/0273_line_num.json | 38 +++ .../V2/0274_line_place_of_srvc_cd.json | 46 +++ .../V2/0275_line_pmt_80_100_cd.json | 40 +++ .../V2/0276_line_prcsg_ind_cd.json | 45 +++ .../V2/0277_line_prvdr_pmt_amt.json | 46 +++ .../V2/0278_line_sbmtd_chrg_amt.json | 46 +++ .../V2/0279_line_service_deductible.json | 40 +++ .../V2/0280_line_srvc_cnt.json | 41 +++ .../0281_nch_actv_or_cvrd_lvl_care_thru.json | 43 +++ .../0282_nch_bene_blood_ddctbl_lblty_am.json | 44 +++ .../V2/0283_nch_bene_dschrg_dt.json | 43 +++ .../V2/0284_nch_bene_ip_ddctbl_amt.json | 43 +++ .../0285_nch_bene_mdcr_bnfts_exhtd_dt_i.json | 45 +++ .../0286_nch_bene_pta_coinsrnc_lblty_am.json | 43 +++ .../V2/0287_nch_bene_ptb_coinsrnc_amt.json | 42 +++ .../V2/0288_nch_bene_ptb_ddctbl_amt.json | 42 +++ .../V2/0289_nch_blood_pnts_frnshd_qty.json | 48 +++ .../V2/0290_nch_carr_clm_alowd_amt.json | 43 +++ .../V2/0291_nch_carr_clm_sbmtd_chrg_amt.json | 43 +++ .../V2/0292_nch_clm_bene_pmt_amt.json | 43 +++ .../V2/0293_nch_clm_prvdr_pmt_amt.json | 43 +++ .../V2/0294_nch_clm_type_cd.json | 58 ++++ .../0295_nch_drg_outlier_aprvd_pmt_amt.json | 42 +++ .../V2/0296_nch_ip_ncvrd_chrg_amt.json | 43 +++ .../V2/0297_nch_ip_tot_ddctn_amt.json | 43 +++ .../V2/0298_nch_near_line_rec_ident_cd.json | 47 +++ .../V2/0299_nch_prmry_pyr_cd.json | 52 +++ .../V2/0300_nch_prmry_pyr_clm_pd_amt.json | 46 +++ .../V2/0301_nch_profnl_cmpnt_chrg_amt.json | 43 +++ .../V2/0302_nch_ptnt_status_ind_cd.json | 48 +++ .../V2/0303_nch_qlfyd_stay_from_dt.json | 43 +++ .../V2/0304_nch_qlfyd_stay_thru_dt.json | 43 +++ .../V2/0305_nch_vrfd_ncvrd_stay_from_dt.json | 44 +++ .../V2/0306_nch_vrfd_ncvrd_stay_thru_dt.json | 44 +++ .../V2/0307_nch_wkly_proc_dt.json | 56 +++ .../V2/0308_ncvrd_plan_pd_amt.json | 45 +++ .../V2/0309_nstd_frmt_cd.json | 45 +++ .../V2/0310_op_physn_npi.json | 50 +++ .../V2/0311_op_physn_upin.json | 46 +++ .../V2/0312_org_npi_num.json | 51 +++ .../V2/0313_org_npi_num.json | 48 +++ .../V2/0314_ot_physn_npi.json | 49 +++ .../V2/0315_ot_physn_upin.json | 46 +++ .../V2/0316_othr_troop_amt.json | 45 +++ .../fhir-mapping-path/V2/0317_pd_dt.json | 36 ++ .../fhir-mapping-path/V2/0318_pde_id.json | 43 +++ .../V2/0319_phrmcy_srvc_type_cd.json | 43 +++ .../V2/0320_plan_cntrct_rec_id.json | 41 +++ .../V2/0321_plan_pbp_rec_num.json | 41 +++ .../fhir-mapping-path/V2/0322_plro_amt.json | 45 +++ .../fhir-mapping-path/V2/0323_prcdr_dt1.json | 42 +++ .../fhir-mapping-path/V2/0324_prcdr_dt10.json | 39 +++ .../fhir-mapping-path/V2/0325_prcdr_dt11.json | 39 +++ .../fhir-mapping-path/V2/0326_prcdr_dt12.json | 39 +++ .../fhir-mapping-path/V2/0327_prcdr_dt13.json | 39 +++ .../fhir-mapping-path/V2/0328_prcdr_dt14.json | 39 +++ .../fhir-mapping-path/V2/0329_prcdr_dt15.json | 39 +++ .../fhir-mapping-path/V2/0330_prcdr_dt16.json | 39 +++ .../fhir-mapping-path/V2/0331_prcdr_dt17.json | 39 +++ .../fhir-mapping-path/V2/0332_prcdr_dt18.json | 39 +++ .../fhir-mapping-path/V2/0333_prcdr_dt19.json | 39 +++ .../fhir-mapping-path/V2/0334_prcdr_dt2.json | 39 +++ .../fhir-mapping-path/V2/0335_prcdr_dt20.json | 39 +++ .../fhir-mapping-path/V2/0336_prcdr_dt21.json | 39 +++ .../fhir-mapping-path/V2/0337_prcdr_dt22.json | 39 +++ .../fhir-mapping-path/V2/0338_prcdr_dt23.json | 39 +++ .../fhir-mapping-path/V2/0339_prcdr_dt24.json | 39 +++ .../fhir-mapping-path/V2/0340_prcdr_dt25.json | 39 +++ .../fhir-mapping-path/V2/0341_prcdr_dt3.json | 39 +++ .../fhir-mapping-path/V2/0342_prcdr_dt4.json | 39 +++ .../fhir-mapping-path/V2/0343_prcdr_dt5.json | 39 +++ .../fhir-mapping-path/V2/0344_prcdr_dt6.json | 39 +++ .../fhir-mapping-path/V2/0345_prcdr_dt7.json | 39 +++ .../fhir-mapping-path/V2/0346_prcdr_dt8.json | 39 +++ .../fhir-mapping-path/V2/0347_prcdr_dt9.json | 39 +++ .../V2/0348_prcng_excptn_cd.json | 45 +++ .../V2/0349_prf_physn_npi.json | 49 +++ .../V2/0350_prf_physn_upin.json | 45 +++ .../V2/0351_prncpal_dgns_cd.json | 55 +++ .../V2/0352_prncpal_dgns_vrsn_cd.json | 47 +++ .../V2/0353_prod_srvc_id.json | 43 +++ .../fhir-mapping-path/V2/0354_prscrbr_id.json | 48 +++ .../V2/0355_prscrbr_id_qlfyr_cd.json | 39 +++ .../V2/0356_prtcptng_ind_cd.json | 43 +++ .../fhir-mapping-path/V2/0357_prvdr_npi.json | 49 +++ .../fhir-mapping-path/V2/0358_prvdr_num.json | 53 +++ .../fhir-mapping-path/V2/0359_prvdr_num.json | 42 +++ .../V2/0360_prvdr_spclty.json | 45 +++ .../V2/0361_prvdr_state_cd.json | 44 +++ .../V2/0362_prvdr_state_cd.json | 44 +++ .../fhir-mapping-path/V2/0363_prvdr_zip.json | 39 +++ .../V2/0364_ptnt_dschrg_stus_cd.json | 50 +++ .../V2/0365_ptnt_pay_amt.json | 48 +++ .../V2/0366_ptnt_rsdnc_cd.json | 46 +++ .../V2/0367_qty_dspnsd_num.json | 39 +++ .../fhir-mapping-path/V2/0368_rev_cntr.json | 47 +++ .../V2/0369_rev_cntr_1st_ansi_cd.json | 42 +++ .../V2/0370_rev_cntr_1st_msp_pd_amt.json | 45 +++ .../V2/0371_rev_cntr_2nd_ansi_cd.json | 41 +++ .../V2/0372_rev_cntr_2nd_msp_pd_amt.json | 45 +++ .../V2/0373_rev_cntr_3rd_ansi_cd.json | 41 +++ .../V2/0374_rev_cntr_4th_ansi_cd.json | 41 +++ .../V2/0375_rev_cntr_apc_hipps_cd.json | 34 ++ .../V2/0376_rev_cntr_bene_pmt_amt.json | 46 +++ .../V2/0377_rev_cntr_blood_ddctbl_amt.json | 45 +++ .../V2/0378_rev_cntr_cash_ddctbl_amt.json | 45 +++ .../0379_rev_cntr_coinsrnc_wge_adjstd_c.json | 45 +++ .../V2/0380_rev_cntr_ddctbl_coinsrnc_cd.json | 43 +++ .../V2/0381_rev_cntr_dscnt_ind_cd.json | 31 ++ .../V2/0382_rev_cntr_dt.json | 42 +++ .../V2/0383_rev_cntr_ide_ndc_upc_num.json | 41 +++ .../V2/0384_rev_cntr_ncvrd_chrg_amt.json | 49 +++ .../V2/0385_rev_cntr_ndc_qty.json | 41 +++ .../V2/0386_rev_cntr_ndc_qty_qlfr_cd.json | 42 +++ .../V2/0387_rev_cntr_otaf_pmt_cd.json | 31 ++ .../V2/0388_rev_cntr_packg_ind_cd.json | 31 ++ .../V2/0389_rev_cntr_pmt_amt_amt.json | 47 +++ .../V2/0390_rev_cntr_pmt_mthd_ind_cd.json | 34 ++ .../V2/0391_rev_cntr_prvdr_pmt_amt.json | 51 +++ .../V2/0392_rev_cntr_ptnt_rspnsblty_pmt.json | 45 +++ .../V2/0393_rev_cntr_rate_amt.json | 49 +++ .../V2/0394_rev_cntr_rdcd_coinsrnc_amt.json | 45 +++ .../V2/0395_rev_cntr_stus_ind_cd.json | 42 +++ .../V2/0396_rev_cntr_tot_chrg_amt.json | 49 +++ .../V2/0397_rev_cntr_unit_cnt.json | 45 +++ .../V2/0398_rfr_physn_npi.json | 45 +++ .../V2/0399_rfr_physn_upin.json | 41 +++ .../V2/0400_rndrng_physn_npi.json | 49 +++ .../V2/0401_rndrng_physn_upin.json | 48 +++ .../V2/0402_rptd_gap_dscnt_num.json | 45 +++ .../V2/0403_rsn_visit_cd1.json | 44 +++ .../V2/0404_rsn_visit_cd2.json | 44 +++ .../V2/0405_rsn_visit_cd3.json | 44 +++ .../V2/0406_rsn_visit_vrsn_cd1.json | 39 +++ .../V2/0407_rsn_visit_vrsn_cd2.json | 39 +++ .../V2/0408_rsn_visit_vrsn_cd3.json | 39 +++ .../fhir-mapping-path/V2/0409_rx_orgn_cd.json | 43 +++ .../V2/0410_rx_srvc_rfrnc_num.json | 45 +++ .../fhir-mapping-path/V2/0411_srvc_dt.json | 39 +++ .../V2/0412_srvc_prvdr_id.json | 42 +++ .../V2/0413_srvc_prvdr_id_qlfyr_cd.json | 41 +++ .../V2/0414_submsn_clr_cd.json | 45 +++ .../fhir-mapping-path/V2/0415_tax_num.json | 43 +++ .../V2/0416_tot_rx_cst_amt.json | 48 +++ .../V2/0417_eob_resource_id.json | 43 +++ .../V2/0418_placeholder.json | 31 ++ .../0419_eob_resource_last_updated_date.json | 43 +++ .../V2/0420_eob_resource_profile.json | 43 +++ ...0421_eob_insurance_coverage_reference.json | 44 +++ .../fhir-mapping-path/V2/0422_bene_id.json | 36 ++ .../fhir-mapping-path/V2/0423_bene_id.json | 41 +++ .../V2/0424_efctv_bgn_dt.json | 40 +++ .../V2/0425_efctv_end_dt.json | 40 +++ .../fhir-mapping-path/V2/0426_mbi_num.json | 58 ++++ .../fhir-mapping-path/V2/0427_mbi_num.json | 48 +++ .../V2/0428_lastupdated.json | 35 ++ .../V2/0429_mbi_effective_end_date.json | 35 ++ .../V2/0430_bene_state_cd.json | 40 +++ .../V2/0431_bene_mlg_cntct_zip_cd.json | 41 +++ .../V2/0432_drvd_line_1_adr.json | 38 +++ .../V2/0433_drvd_line_2_adr.json | 38 +++ .../V2/0434_drvd_line_3_adr.json | 38 +++ .../V2/0435_drvd_line_4_adr.json | 38 +++ .../V2/0436_drvd_line_5_adr.json | 38 +++ .../V2/0437_drvd_line_6_adr.json | 38 +++ .../fhir-mapping-path/V2/0438_city_name.json | 38 +++ .../V2/0439_bene_birth_dt.json | 39 +++ .../V2/0440_bene_death_dt.json | 39 +++ .../V2/0441_bene_sex_ident_cd.json | 39 +++ .../V2/0442_bene_race_cd.json | 50 +++ .../V2/0443_bene_crnt_hic_num.json | 36 ++ .../V2/0444_bene_crnt_hic_num.json | 36 ++ .../fhir-mapping-path/V2/0445_mbi_num.json | 36 ++ .../V2/0446_bene_crnt_hic_num.json | 36 ++ .../V2/0447_bene_gvn_name.json | 41 +++ .../V2/0448_bene_srnm_name.json | 41 +++ .../V2/0449_bene_mdl_name.json | 40 +++ .../V2/0450_dual_stus_cd_01.json | 44 +++ .../V2/0451_dual_stus_cd_02.json | 44 +++ .../V2/0452_dual_stus_cd_03.json | 44 +++ .../V2/0453_dual_stus_cd_04.json | 44 +++ .../V2/0454_dual_stus_cd_05.json | 44 +++ .../V2/0455_dual_stus_cd_06.json | 44 +++ .../V2/0456_dual_stus_cd_07.json | 44 +++ .../V2/0457_dual_stus_cd_08.json | 44 +++ .../V2/0458_dual_stus_cd_09.json | 44 +++ .../V2/0459_dual_stus_cd_10.json | 44 +++ .../V2/0460_dual_stus_cd_11.json | 44 +++ .../V2/0461_dual_stus_cd_12.json | 44 +++ .../V2/0462_bene_enrollmt_ref_yr.json | 38 +++ .../V2/0463_patient_resource_profile.json | 37 ++ .../fhir-mapping-path/V2/0464_covstart.json | 42 +++ .../V2/0465_ptc_cntrct_id_01.json | 41 +++ .../V2/0466_ptc_cntrct_id_02.json | 41 +++ .../V2/0467_ptc_cntrct_id_03.json | 41 +++ .../V2/0468_ptc_cntrct_id_04.json | 41 +++ .../V2/0469_ptc_cntrct_id_05.json | 41 +++ .../V2/0470_ptc_cntrct_id_06.json | 41 +++ .../V2/0471_ptc_cntrct_id_07.json | 41 +++ .../V2/0472_ptc_cntrct_id_08.json | 41 +++ .../V2/0473_ptc_cntrct_id_09.json | 41 +++ .../V2/0474_ptc_cntrct_id_10.json | 41 +++ .../V2/0475_ptc_cntrct_id_11.json | 41 +++ .../V2/0476_ptc_cntrct_id_12.json | 41 +++ .../V2/0477_ptc_pbp_id_01.json | 41 +++ .../V2/0478_ptc_pbp_id_02.json | 41 +++ .../V2/0479_ptc_pbp_id_03.json | 41 +++ .../V2/0480_ptc_pbp_id_04.json | 41 +++ .../V2/0481_ptc_pbp_id_05.json | 41 +++ .../V2/0482_ptc_pbp_id_06.json | 41 +++ .../V2/0483_ptc_pbp_id_07.json | 41 +++ .../V2/0484_ptc_pbp_id_08.json | 41 +++ .../V2/0485_ptc_pbp_id_09.json | 41 +++ .../V2/0486_ptc_pbp_id_10.json | 41 +++ .../V2/0487_ptc_pbp_id_11.json | 41 +++ .../V2/0488_ptc_pbp_id_12.json | 41 +++ .../V2/0489_ptc_plan_type_cd_01.json | 40 +++ .../V2/0490_ptc_plan_type_cd_02.json | 40 +++ .../V2/0491_ptc_plan_type_cd_03.json | 40 +++ .../V2/0492_ptc_plan_type_cd_04.json | 40 +++ .../V2/0493_ptc_plan_type_cd_05.json | 40 +++ .../V2/0494_ptc_plan_type_cd_06.json | 40 +++ .../V2/0495_ptc_plan_type_cd_07.json | 40 +++ .../V2/0496_ptc_plan_type_cd_08.json | 40 +++ .../V2/0497_ptc_plan_type_cd_09.json | 40 +++ .../V2/0498_ptc_plan_type_cd_10.json | 40 +++ .../V2/0499_ptc_plan_type_cd_11.json | 40 +++ .../V2/0500_ptc_plan_type_cd_12.json | 40 +++ .../V2/0501_ptd_cntrct_id_01.json | 41 +++ .../V2/0502_ptd_cntrct_id_02.json | 41 +++ .../V2/0503_ptd_cntrct_id_03.json | 41 +++ .../V2/0504_ptd_cntrct_id_04.json | 41 +++ .../V2/0505_ptd_cntrct_id_05.json | 41 +++ .../V2/0506_ptd_cntrct_id_06.json | 41 +++ .../V2/0507_ptd_cntrct_id_07.json | 41 +++ .../V2/0508_ptd_cntrct_id_08.json | 41 +++ .../V2/0509_ptd_cntrct_id_09.json | 41 +++ .../V2/0510_ptd_cntrct_id_10.json | 41 +++ .../V2/0511_ptd_cntrct_id_11.json | 41 +++ .../V2/0512_ptd_cntrct_id_12.json | 41 +++ .../V2/0513_partd_contract_number_id.json | 41 +++ .../V2/0514_partd_contract_number_id.json | 41 +++ .../V2/0515_partd_contract_number_id.json | 41 +++ .../V2/0516_partd_contract_number_id.json | 41 +++ .../V2/0517_partd_contract_number_id.json | 41 +++ .../V2/0518_partd_contract_number_id.json | 41 +++ .../V2/0519_partd_contract_number_id.json | 41 +++ .../V2/0520_partd_contract_number_id.json | 41 +++ .../V2/0521_partd_contract_number_id.json | 41 +++ .../V2/0522_partd_contract_number_id.json | 41 +++ .../V2/0523_partd_contract_number_id.json | 41 +++ .../V2/0524_partd_contract_number_id.json | 41 +++ .../V2/0525_ptd_pbp_id_01.json | 41 +++ .../V2/0526_ptd_pbp_id_02.json | 41 +++ .../V2/0527_ptd_pbp_id_03.json | 41 +++ .../V2/0528_ptd_pbp_id_04.json | 41 +++ .../V2/0529_ptd_pbp_id_05.json | 41 +++ .../V2/0530_ptd_pbp_id_06.json | 41 +++ .../V2/0531_ptd_pbp_id_07.json | 41 +++ .../V2/0532_ptd_pbp_id_08.json | 41 +++ .../V2/0533_ptd_pbp_id_09.json | 41 +++ .../V2/0534_ptd_pbp_id_10.json | 41 +++ .../V2/0535_ptd_pbp_id_11.json | 41 +++ .../V2/0536_ptd_pbp_id_12.json | 41 +++ .../V2/0537_ptd_sgmt_id_01.json | 41 +++ .../V2/0538_ptd_sgmt_id_02.json | 41 +++ .../V2/0539_ptd_sgmt_id_03.json | 41 +++ .../V2/0540_ptd_sgmt_id_04.json | 41 +++ .../V2/0541_ptd_sgmt_id_05.json | 41 +++ .../V2/0542_ptd_sgmt_id_06.json | 41 +++ .../V2/0543_ptd_sgmt_id_07.json | 41 +++ .../V2/0544_ptd_sgmt_id_08.json | 41 +++ .../V2/0545_ptd_sgmt_id_09.json | 41 +++ .../V2/0546_ptd_sgmt_id_10.json | 41 +++ .../V2/0547_ptd_sgmt_id_11.json | 41 +++ .../V2/0548_ptd_sgmt_id_12.json | 41 +++ .../V2/0549_dual_stus_cd_01.json | 47 +++ .../V2/0550_dual_stus_cd_02.json | 47 +++ .../V2/0551_dual_stus_cd_03.json | 47 +++ .../V2/0552_dual_stus_cd_04.json | 47 +++ .../V2/0553_dual_stus_cd_05.json | 47 +++ .../V2/0554_dual_stus_cd_06.json | 47 +++ .../V2/0555_dual_stus_cd_07.json | 47 +++ .../V2/0556_dual_stus_cd_08.json | 47 +++ .../V2/0557_dual_stus_cd_09.json | 47 +++ .../V2/0558_dual_stus_cd_10.json | 47 +++ .../V2/0559_dual_stus_cd_11.json | 47 +++ .../V2/0560_dual_stus_cd_12.json | 47 +++ .../V2/0561_cst_shr_grp_cd_01.json | 41 +++ .../V2/0562_cst_shr_grp_cd_02.json | 41 +++ .../V2/0563_cst_shr_grp_cd_03.json | 41 +++ .../V2/0564_cst_shr_grp_cd_04.json | 41 +++ .../V2/0565_cst_shr_grp_cd_05.json | 41 +++ .../V2/0566_cst_shr_grp_cd_06.json | 41 +++ .../V2/0567_cst_shr_grp_cd_07.json | 41 +++ .../V2/0568_cst_shr_grp_cd_08.json | 41 +++ .../V2/0569_cst_shr_grp_cd_09.json | 41 +++ .../V2/0570_cst_shr_grp_cd_10.json | 41 +++ .../V2/0571_cst_shr_grp_cd_11.json | 41 +++ .../V2/0572_cst_shr_grp_cd_12.json | 41 +++ .../fhir-mapping-path/V2/0573_bene_id.json | 39 +++ .../fhir-mapping-path/V2/0574_bene_id.json | 39 +++ .../fhir-mapping-path/V2/0575_mbi_num.json | 54 +++ .../V2/0576_bene_entlmt_rsn_orig.json | 44 +++ .../V2/0577_bene_entlmt_rsn_curr.json | 41 +++ .../V2/0578_bene_esrd_ind.json | 41 +++ .../V2/0579_bene_enrollmt_ref_yr.json | 44 +++ .../V2/0580_lastupdated.json | 38 +++ .../V2/0581_bene_ptb_trmntn_cd.json | 41 +++ .../fhir-mapping-path/V2/0582_rds_ind_01.json | 41 +++ .../fhir-mapping-path/V2/0583_rds_ind_02.json | 41 +++ .../fhir-mapping-path/V2/0584_rds_ind_03.json | 41 +++ .../fhir-mapping-path/V2/0585_rds_ind_04.json | 41 +++ .../fhir-mapping-path/V2/0586_rds_ind_05.json | 41 +++ .../fhir-mapping-path/V2/0587_rds_ind_06.json | 41 +++ .../fhir-mapping-path/V2/0588_rds_ind_07.json | 41 +++ .../fhir-mapping-path/V2/0589_rds_ind_08.json | 41 +++ .../fhir-mapping-path/V2/0590_rds_ind_09.json | 41 +++ .../fhir-mapping-path/V2/0591_rds_ind_10.json | 41 +++ .../fhir-mapping-path/V2/0592_rds_ind_11.json | 41 +++ .../fhir-mapping-path/V2/0593_rds_ind_12.json | 41 +++ .../V2/0594_mdcr_entlmt_buyin_1_ind.json | 45 +++ .../V2/0595_mdcr_entlmt_buyin_2_ind.json | 45 +++ .../V2/0596_mdcr_entlmt_buyin_3_ind.json | 45 +++ .../V2/0597_mdcr_entlmt_buyin_4_ind.json | 45 +++ .../V2/0598_mdcr_entlmt_buyin_5_ind.json | 45 +++ .../V2/0599_mdcr_entlmt_buyin_6_ind.json | 45 +++ .../V2/0600_mdcr_entlmt_buyin_7_ind.json | 45 +++ .../V2/0601_mdcr_entlmt_buyin_8_ind.json | 45 +++ .../V2/0602_mdcr_entlmt_buyin_9_ind.json | 45 +++ .../V2/0603_mdcr_entlmt_buyin_10_ind.json | 45 +++ .../V2/0604_mdcr_entlmt_buyin_11_ind.json | 45 +++ .../V2/0605_mdcr_entlmt_buyin_12_ind.json | 45 +++ .../V2/0606_bene_mdcr_status_cd.json | 46 +++ .../V2/0607_bene_pta_trmntn_cd.json | 41 +++ .../V2/0608_contract_identifier.json | 35 ++ .../V2/0609_contract_reference.json | 35 ++ .../0610_coverage_grouping___sub_group.json | 38 +++ .../V2/0611_coverage_grouping___sub_plan.json | 38 +++ .../V2/0612_coverage_resource_profile.json | 38 +++ .../V2/0613_coverage_payor.json | 40 +++ .../V2/0614_coverage_class___group.json | 43 +++ .../V2/0615_coverage_class___plan.json | 43 +++ .../V2/0616_coverage_type.json | 40 +++ .../V2/0617_claim_group_id.json | 46 +++ .../V2/0618_benefit_payment_status.json | 39 +++ .../V2/0619_fi_doc_clm_cntl_num.json | 48 +++ .../V2/0620_carr_clm_cntl_num.json | 45 +++ .../V2/0621_carr_clm_blg_npi_num.json | 38 +++ .../V2/0622_pta_cvrg_strt_dt.json | 38 +++ .../V2/0623_pta_cvrg_end_dt.json | 36 ++ .../V2/0624_ptb_cvrg_strt_dt.json | 38 +++ .../V2/0625_ptb_cvrg_end_dt.json | 36 ++ .../V2/0626_ptd_cvrg_strt_dt.json | 36 ++ .../V2/0627_ptd_cvrg_end_dt.json | 36 ++ .../V2/0628_claim_sub_type.json | 45 +++ .../V2/0629_clm_uncompd_care_pmt_amt.json | 40 +++ apps/bfd-model/bfd-model-rif/pom.xml | 6 + 644 files changed, 28270 insertions(+) create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/CsvToExcel.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToCsv.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToJson.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElement.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirMapping.java create mode 100644 apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/util/Version.java create mode 100644 apps/bfd-model/bfd-model-rif/data-dictionary-template/v1-to-csv.json create mode 100644 apps/bfd-model/bfd-model-rif/data-dictionary-template/v2-to-csv.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0001_adjstmt_dltn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0002_admtg_dgns_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0003_admtg_dgns_vrsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0004_at_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0005_at_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0006_bene_hospc_prd_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0007_bene_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0008_bene_lrd_used_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0009_bene_tot_coinsrnc_days_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0010_betos_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0011_brnd_gnrc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0012_carr_clm_cash_ddctbl_apld_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0013_carr_clm_entry_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0014_carr_clm_hcpcs_yr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0015_carr_clm_pmt_dnl_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0016_carr_clm_prmry_pyr_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0017_carr_clm_prvdr_asgnmt_ind_sw.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0018_carr_clm_rfrng_pin_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0019_carr_line_ansthsa_unit_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0020_carr_line_clia_lab_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0021_carr_line_mtus_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0022_carr_line_mtus_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0023_carr_line_prcng_lclty_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0024_carr_line_prvdr_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0025_carr_line_rdcd_pmt_phys_astn_c.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0026_carr_line_rx_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0027_carr_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0028_carr_prfrng_pin_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0029_claim_query_code.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0030_clm_admsn_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0031_clm_clncl_tril_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0032_clm_disp_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0033_clm_drg_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0034_clm_drg_outlier_stay_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0035_clm_e_poa_ind_sw1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0036_clm_e_poa_ind_sw10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0037_clm_e_poa_ind_sw11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0038_clm_e_poa_ind_sw12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0039_clm_e_poa_ind_sw2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0040_clm_e_poa_ind_sw3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0041_clm_e_poa_ind_sw4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0042_clm_e_poa_ind_sw5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0043_clm_e_poa_ind_sw6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0044_clm_e_poa_ind_sw7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0045_clm_e_poa_ind_sw8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0046_clm_e_poa_ind_sw9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0047_clm_fac_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0048_clm_freq_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0049_clm_from_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0050_clm_hospc_start_dt_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0051_clm_hha_lupa_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0052_clm_hha_rfrl_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0053_clm_hha_tot_visit_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0054_clm_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0055_clm_ip_admsn_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0056_clm_line_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0057_clm_mco_pd_sw.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0058_clm_mdcr_non_pmt_rsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0059_clm_non_utlztn_days_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0060_clm_op_bene_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0061_clm_op_prvdr_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0062_clm_pass_thru_per_diem_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0063_clm_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0064_clm_poa_ind_sw1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0065_clm_poa_ind_sw10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0066_clm_poa_ind_sw11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0067_clm_poa_ind_sw12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0068_clm_poa_ind_sw13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0069_clm_poa_ind_sw14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0070_clm_poa_ind_sw15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0071_clm_poa_ind_sw16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0072_clm_poa_ind_sw17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0073_clm_poa_ind_sw18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0074_clm_poa_ind_sw19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0075_clm_poa_ind_sw2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0076_clm_poa_ind_sw20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0077_clm_poa_ind_sw21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0078_clm_poa_ind_sw22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0079_clm_poa_ind_sw23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0080_clm_poa_ind_sw24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0081_clm_poa_ind_sw25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0082_clm_poa_ind_sw3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0083_clm_poa_ind_sw4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0084_clm_poa_ind_sw5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0085_clm_poa_ind_sw6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0086_clm_poa_ind_sw7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0087_clm_poa_ind_sw8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0088_clm_poa_ind_sw9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0089_clm_pps_cptl_drg_wt_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0090_clm_pps_cptl_dsprprtnt_shr_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0091_clm_pps_cptl_excptn_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0092_clm_pps_cptl_fsp_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0093_clm_pps_cptl_ime_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0094_clm_pps_cptl_outlier_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0095_clm_pps_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0096_clm_pps_old_cptl_hld_hrmls_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0097_clm_src_ip_admsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0098_clm_srvc_clsfctn_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0099_clm_thru_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0100_clm_tot_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0101_clm_tot_pps_cptl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0102_clm_utlztn_day_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0103_cmpnd_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0104_ctstrphc_cvrg_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0105_cvrd_d_plan_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0106_daw_prod_slctn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0107_days_suply_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0108_dmerc_line_mtus_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0109_dmerc_line_mtus_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0110_dmerc_line_prcng_state_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0111_dmerc_line_scrn_svgs_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0112_dmerc_line_supplr_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0113_drug_cvrg_stus_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0114_dsh_op_clm_val_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0115_dspnsng_stus_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0116_fi_clm_actn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0117_fi_clm_proc_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0118_fi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0119_fill_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0120_final_action.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0121_fst_dgns_e_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0122_fst_dgns_e_vrsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0123_gdc_abv_oopt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0124_gdc_blw_oopt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0125_hcpcs_1st_mdfr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0126_hcpcs_2nd_mdfr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0127_hcpcs_3rd_mdfr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0128_hcpcs_4th_mdfr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0129_hcpcs_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0130_hpsa_scrcty_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0131_icd_dgns_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0132_icd_dgns_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0133_icd_dgns_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0134_icd_dgns_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0135_icd_dgns_cd13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0136_icd_dgns_cd14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0137_icd_dgns_cd15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0138_icd_dgns_cd16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0139_icd_dgns_cd17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0140_icd_dgns_cd18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0141_icd_dgns_cd19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0142_icd_dgns_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0143_icd_dgns_cd20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0144_icd_dgns_cd21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0145_icd_dgns_cd22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0146_icd_dgns_cd23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0147_icd_dgns_cd24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0148_icd_dgns_cd25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0149_icd_dgns_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0150_icd_dgns_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0151_icd_dgns_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0152_icd_dgns_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0153_icd_dgns_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0154_icd_dgns_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0155_icd_dgns_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0156_icd_dgns_e_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0157_icd_dgns_e_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0158_icd_dgns_e_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0159_icd_dgns_e_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0160_icd_dgns_e_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0161_icd_dgns_e_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0162_icd_dgns_e_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0163_icd_dgns_e_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0164_icd_dgns_e_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0165_icd_dgns_e_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0166_icd_dgns_e_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0167_icd_dgns_e_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0168_icd_dgns_e_vrsn_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0169_icd_dgns_e_vrsn_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0170_icd_dgns_e_vrsn_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0171_icd_dgns_e_vrsn_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0172_icd_dgns_e_vrsn_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0173_icd_dgns_e_vrsn_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0174_icd_dgns_e_vrsn_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0175_icd_dgns_e_vrsn_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0176_icd_dgns_e_vrsn_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0177_icd_dgns_e_vrsn_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0178_icd_dgns_e_vrsn_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0179_icd_dgns_e_vrsn_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0180_icd_dgns_vrsn_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0181_icd_dgns_vrsn_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0182_icd_dgns_vrsn_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0183_icd_dgns_vrsn_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0184_icd_dgns_vrsn_cd13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0185_icd_dgns_vrsn_cd14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0186_icd_dgns_vrsn_cd15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0187_icd_dgns_vrsn_cd16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0188_icd_dgns_vrsn_cd17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0189_icd_dgns_vrsn_cd18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0190_icd_dgns_vrsn_cd19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0191_icd_dgns_vrsn_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0192_icd_dgns_vrsn_cd20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0193_icd_dgns_vrsn_cd21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0194_icd_dgns_vrsn_cd22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0195_icd_dgns_vrsn_cd23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0196_icd_dgns_vrsn_cd24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0197_icd_dgns_vrsn_cd25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0198_icd_dgns_vrsn_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0199_icd_dgns_vrsn_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0200_icd_dgns_vrsn_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0201_icd_dgns_vrsn_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0202_icd_dgns_vrsn_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0203_icd_dgns_vrsn_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0204_icd_dgns_vrsn_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0205_icd_prcdr_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0206_icd_prcdr_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0207_icd_prcdr_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0208_icd_prcdr_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0209_icd_prcdr_cd13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0210_icd_prcdr_cd14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0211_icd_prcdr_cd15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0212_icd_prcdr_cd16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0213_icd_prcdr_cd17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0214_icd_prcdr_cd18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0215_icd_prcdr_cd19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0216_icd_prcdr_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0217_icd_prcdr_cd20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0218_icd_prcdr_cd21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0219_icd_prcdr_cd22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0220_icd_prcdr_cd23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0221_icd_prcdr_cd24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0222_icd_prcdr_cd25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0223_icd_prcdr_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0224_icd_prcdr_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0225_icd_prcdr_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0226_icd_prcdr_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0227_icd_prcdr_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0228_icd_prcdr_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0229_icd_prcdr_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0230_icd_prcdr_vrsn_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0231_icd_prcdr_vrsn_cd10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0232_icd_prcdr_vrsn_cd11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0233_icd_prcdr_vrsn_cd12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0234_icd_prcdr_vrsn_cd13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0235_icd_prcdr_vrsn_cd14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0236_icd_prcdr_vrsn_cd15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0237_icd_prcdr_vrsn_cd16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0238_icd_prcdr_vrsn_cd17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0239_icd_prcdr_vrsn_cd18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0240_icd_prcdr_vrsn_cd19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0241_icd_prcdr_vrsn_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0242_icd_prcdr_vrsn_cd20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0243_icd_prcdr_vrsn_cd21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0244_icd_prcdr_vrsn_cd22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0245_icd_prcdr_vrsn_cd23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0246_icd_prcdr_vrsn_cd24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0247_icd_prcdr_vrsn_cd25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0248_icd_prcdr_vrsn_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0249_icd_prcdr_vrsn_cd4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0250_icd_prcdr_vrsn_cd5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0251_icd_prcdr_vrsn_cd6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0252_icd_prcdr_vrsn_cd7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0253_icd_prcdr_vrsn_cd8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0254_icd_prcdr_vrsn_cd9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0255_ime_op_clm_val_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0256_lics_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0257_line_1st_expns_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0258_line_alowd_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0259_line_bene_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0260_line_bene_prmry_pyr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0261_line_bene_prmry_pyr_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0262_line_bene_ptb_ddctbl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0263_line_cms_type_srvc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0264_line_coinsrnc_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0265_line_dme_prchs_price_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0266_line_hct_hgb_rslt_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0267_line_hct_hgb_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0268_line_icd_dgns_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0269_line_icd_dgns_vrsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0270_line_last_expns_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0271_line_nch_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0272_line_ndc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0273_line_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0274_line_place_of_srvc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0275_line_pmt_80_100_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0276_line_prcsg_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0277_line_prvdr_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0278_line_sbmtd_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0279_line_service_deductible.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0280_line_srvc_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0281_nch_actv_or_cvrd_lvl_care_thru.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0282_nch_bene_blood_ddctbl_lblty_am.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0283_nch_bene_dschrg_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0284_nch_bene_ip_ddctbl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0285_nch_bene_mdcr_bnfts_exhtd_dt_i.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0286_nch_bene_pta_coinsrnc_lblty_am.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0287_nch_bene_ptb_coinsrnc_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0288_nch_bene_ptb_ddctbl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0289_nch_blood_pnts_frnshd_qty.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0290_nch_carr_clm_alowd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0291_nch_carr_clm_sbmtd_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0292_nch_clm_bene_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0293_nch_clm_prvdr_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0294_nch_clm_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0295_nch_drg_outlier_aprvd_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0296_nch_ip_ncvrd_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0297_nch_ip_tot_ddctn_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0298_nch_near_line_rec_ident_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0299_nch_prmry_pyr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0300_nch_prmry_pyr_clm_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0301_nch_profnl_cmpnt_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0302_nch_ptnt_status_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0303_nch_qlfyd_stay_from_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0304_nch_qlfyd_stay_thru_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0305_nch_vrfd_ncvrd_stay_from_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0306_nch_vrfd_ncvrd_stay_thru_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0307_nch_wkly_proc_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0308_ncvrd_plan_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0309_nstd_frmt_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0310_op_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0311_op_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0312_org_npi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0313_org_npi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0314_ot_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0315_ot_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0316_othr_troop_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0317_pd_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0318_pde_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0319_phrmcy_srvc_type_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0320_plan_cntrct_rec_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0321_plan_pbp_rec_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0322_plro_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0323_prcdr_dt1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0324_prcdr_dt10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0325_prcdr_dt11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0326_prcdr_dt12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0327_prcdr_dt13.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0328_prcdr_dt14.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0329_prcdr_dt15.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0330_prcdr_dt16.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0331_prcdr_dt17.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0332_prcdr_dt18.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0333_prcdr_dt19.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0334_prcdr_dt2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0335_prcdr_dt20.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0336_prcdr_dt21.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0337_prcdr_dt22.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0338_prcdr_dt23.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0339_prcdr_dt24.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0340_prcdr_dt25.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0341_prcdr_dt3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0342_prcdr_dt4.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0343_prcdr_dt5.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0344_prcdr_dt6.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0345_prcdr_dt7.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0346_prcdr_dt8.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0347_prcdr_dt9.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0348_prcng_excptn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0349_prf_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0350_prf_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0351_prncpal_dgns_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0352_prncpal_dgns_vrsn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0353_prod_srvc_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0354_prscrbr_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0355_prscrbr_id_qlfyr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0356_prtcptng_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0357_prvdr_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0358_prvdr_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0359_prvdr_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0360_prvdr_spclty.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0361_prvdr_state_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0362_prvdr_state_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0363_prvdr_zip.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0364_ptnt_dschrg_stus_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0365_ptnt_pay_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0366_ptnt_rsdnc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0367_qty_dspnsd_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0368_rev_cntr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0369_rev_cntr_1st_ansi_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0370_rev_cntr_1st_msp_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0371_rev_cntr_2nd_ansi_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0372_rev_cntr_2nd_msp_pd_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0373_rev_cntr_3rd_ansi_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0374_rev_cntr_4th_ansi_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0375_rev_cntr_apc_hipps_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0376_rev_cntr_bene_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0377_rev_cntr_blood_ddctbl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0378_rev_cntr_cash_ddctbl_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0379_rev_cntr_coinsrnc_wge_adjstd_c.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0380_rev_cntr_ddctbl_coinsrnc_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0381_rev_cntr_dscnt_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0382_rev_cntr_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0383_rev_cntr_ide_ndc_upc_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0384_rev_cntr_ncvrd_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0385_rev_cntr_ndc_qty.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0386_rev_cntr_ndc_qty_qlfr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0387_rev_cntr_otaf_pmt_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0388_rev_cntr_packg_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0389_rev_cntr_pmt_amt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0390_rev_cntr_pmt_mthd_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0391_rev_cntr_prvdr_pmt_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0392_rev_cntr_ptnt_rspnsblty_pmt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0393_rev_cntr_rate_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0394_rev_cntr_rdcd_coinsrnc_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0395_rev_cntr_stus_ind_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0396_rev_cntr_tot_chrg_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0397_rev_cntr_unit_cnt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0398_rfr_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0399_rfr_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0400_rndrng_physn_npi.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0401_rndrng_physn_upin.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0402_rptd_gap_dscnt_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0403_rsn_visit_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0404_rsn_visit_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0405_rsn_visit_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0406_rsn_visit_vrsn_cd1.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0407_rsn_visit_vrsn_cd2.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0408_rsn_visit_vrsn_cd3.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0409_rx_orgn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0410_rx_srvc_rfrnc_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0411_srvc_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0412_srvc_prvdr_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0413_srvc_prvdr_id_qlfyr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0414_submsn_clr_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0415_tax_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0416_tot_rx_cst_amt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0417_eob_resource_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0418_placeholder.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0419_eob_resource_last_updated_date.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0420_eob_resource_profile.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0421_eob_insurance_coverage_reference.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0422_bene_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0423_bene_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0424_efctv_bgn_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0425_efctv_end_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0426_mbi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0427_mbi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0428_lastupdated.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0429_mbi_effective_end_date.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0430_bene_state_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0431_bene_mlg_cntct_zip_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0432_drvd_line_1_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0433_drvd_line_2_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0434_drvd_line_3_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0435_drvd_line_4_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0436_drvd_line_5_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0437_drvd_line_6_adr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0438_city_name.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0439_bene_birth_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0440_bene_death_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0441_bene_sex_ident_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0442_bene_race_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0443_bene_crnt_hic_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0444_bene_crnt_hic_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0445_mbi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0446_bene_crnt_hic_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0447_bene_gvn_name.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0448_bene_srnm_name.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0449_bene_mdl_name.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0450_dual_stus_cd_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0451_dual_stus_cd_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0452_dual_stus_cd_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0453_dual_stus_cd_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0454_dual_stus_cd_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0455_dual_stus_cd_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0456_dual_stus_cd_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0457_dual_stus_cd_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0458_dual_stus_cd_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0459_dual_stus_cd_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0460_dual_stus_cd_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0461_dual_stus_cd_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0462_bene_enrollmt_ref_yr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0463_patient_resource_profile.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0464_covstart.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0465_ptc_cntrct_id_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0466_ptc_cntrct_id_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0467_ptc_cntrct_id_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0468_ptc_cntrct_id_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0469_ptc_cntrct_id_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0470_ptc_cntrct_id_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0471_ptc_cntrct_id_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0472_ptc_cntrct_id_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0473_ptc_cntrct_id_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0474_ptc_cntrct_id_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0475_ptc_cntrct_id_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0476_ptc_cntrct_id_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0477_ptc_pbp_id_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0478_ptc_pbp_id_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0479_ptc_pbp_id_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0480_ptc_pbp_id_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0481_ptc_pbp_id_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0482_ptc_pbp_id_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0483_ptc_pbp_id_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0484_ptc_pbp_id_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0485_ptc_pbp_id_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0486_ptc_pbp_id_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0487_ptc_pbp_id_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0488_ptc_pbp_id_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0489_ptc_plan_type_cd_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0490_ptc_plan_type_cd_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0491_ptc_plan_type_cd_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0492_ptc_plan_type_cd_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0493_ptc_plan_type_cd_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0494_ptc_plan_type_cd_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0495_ptc_plan_type_cd_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0496_ptc_plan_type_cd_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0497_ptc_plan_type_cd_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0498_ptc_plan_type_cd_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0499_ptc_plan_type_cd_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0500_ptc_plan_type_cd_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0501_ptd_cntrct_id_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0502_ptd_cntrct_id_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0503_ptd_cntrct_id_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0504_ptd_cntrct_id_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0505_ptd_cntrct_id_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0506_ptd_cntrct_id_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0507_ptd_cntrct_id_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0508_ptd_cntrct_id_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0509_ptd_cntrct_id_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0510_ptd_cntrct_id_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0511_ptd_cntrct_id_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0512_ptd_cntrct_id_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0513_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0514_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0515_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0516_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0517_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0518_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0519_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0520_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0521_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0522_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0523_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0524_partd_contract_number_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0525_ptd_pbp_id_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0526_ptd_pbp_id_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0527_ptd_pbp_id_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0528_ptd_pbp_id_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0529_ptd_pbp_id_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0530_ptd_pbp_id_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0531_ptd_pbp_id_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0532_ptd_pbp_id_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0533_ptd_pbp_id_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0534_ptd_pbp_id_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0535_ptd_pbp_id_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0536_ptd_pbp_id_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0537_ptd_sgmt_id_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0538_ptd_sgmt_id_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0539_ptd_sgmt_id_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0540_ptd_sgmt_id_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0541_ptd_sgmt_id_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0542_ptd_sgmt_id_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0543_ptd_sgmt_id_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0544_ptd_sgmt_id_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0545_ptd_sgmt_id_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0546_ptd_sgmt_id_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0547_ptd_sgmt_id_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0548_ptd_sgmt_id_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0549_dual_stus_cd_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0550_dual_stus_cd_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0551_dual_stus_cd_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0552_dual_stus_cd_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0553_dual_stus_cd_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0554_dual_stus_cd_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0555_dual_stus_cd_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0556_dual_stus_cd_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0557_dual_stus_cd_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0558_dual_stus_cd_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0559_dual_stus_cd_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0560_dual_stus_cd_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0561_cst_shr_grp_cd_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0562_cst_shr_grp_cd_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0563_cst_shr_grp_cd_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0564_cst_shr_grp_cd_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0565_cst_shr_grp_cd_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0566_cst_shr_grp_cd_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0567_cst_shr_grp_cd_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0568_cst_shr_grp_cd_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0569_cst_shr_grp_cd_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0570_cst_shr_grp_cd_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0571_cst_shr_grp_cd_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0572_cst_shr_grp_cd_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0573_bene_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0574_bene_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0575_mbi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0576_bene_entlmt_rsn_orig.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0577_bene_entlmt_rsn_curr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0578_bene_esrd_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0579_bene_enrollmt_ref_yr.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0580_lastupdated.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0581_bene_ptb_trmntn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0582_rds_ind_01.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0583_rds_ind_02.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0584_rds_ind_03.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0585_rds_ind_04.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0586_rds_ind_05.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0587_rds_ind_06.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0588_rds_ind_07.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0589_rds_ind_08.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0590_rds_ind_09.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0591_rds_ind_10.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0592_rds_ind_11.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0593_rds_ind_12.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0594_mdcr_entlmt_buyin_1_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0595_mdcr_entlmt_buyin_2_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0596_mdcr_entlmt_buyin_3_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0597_mdcr_entlmt_buyin_4_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0598_mdcr_entlmt_buyin_5_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0599_mdcr_entlmt_buyin_6_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0600_mdcr_entlmt_buyin_7_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0601_mdcr_entlmt_buyin_8_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0602_mdcr_entlmt_buyin_9_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0603_mdcr_entlmt_buyin_10_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0604_mdcr_entlmt_buyin_11_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0605_mdcr_entlmt_buyin_12_ind.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0606_bene_mdcr_status_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0607_bene_pta_trmntn_cd.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0608_contract_identifier.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0609_contract_reference.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0610_coverage_grouping___sub_group.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0611_coverage_grouping___sub_plan.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0612_coverage_resource_profile.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0613_coverage_payor.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0614_coverage_class___group.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0615_coverage_class___plan.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0616_coverage_type.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0617_claim_group_id.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0618_benefit_payment_status.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0619_fi_doc_clm_cntl_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0620_carr_clm_cntl_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0621_carr_clm_blg_npi_num.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0622_pta_cvrg_strt_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0623_pta_cvrg_end_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0624_ptb_cvrg_strt_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0625_ptb_cvrg_end_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0626_ptd_cvrg_strt_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0627_ptd_cvrg_end_dt.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0628_claim_sub_type.json create mode 100644 apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0629_clm_uncompd_care_pmt_amt.json diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml index c82afd7a59..234cf3a21e 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml @@ -108,6 +108,10 @@ org.mockito mockito-core + + org.apache.poi + poi-ooxml + diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java new file mode 100644 index 0000000000..56dd69c1ae --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java @@ -0,0 +1,183 @@ +package gov.cms.model.dsl.codegen.plugin; + +import gov.cms.model.dsl.codegen.plugin.mappers.CsvToExcel; +import gov.cms.model.dsl.codegen.plugin.mappers.FhirElementToCsv; +import gov.cms.model.dsl.codegen.plugin.mappers.FhirElementToJson; +import gov.cms.model.dsl.codegen.plugin.model.FhirElement; +import gov.cms.model.dsl.codegen.plugin.model.FhirElementBean; +import gov.cms.model.dsl.codegen.plugin.model.MappingBean; +import gov.cms.model.dsl.codegen.plugin.model.ModelUtil; +import gov.cms.model.dsl.codegen.plugin.model.RootBean; +import gov.cms.model.dsl.codegen.plugin.util.Version; +import java.io.FileOutputStream; +import java.io.FileWriter; +import java.io.IOException; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.Parameter; +import org.apache.maven.project.MavenProject; +import org.apache.poi.xssf.usermodel.XSSFWorkbook; + +/** + * A Maven Mojo that generates a data dictionary from yaml mappings. The generated transformer class + * consists of the following parts: + */ +@Mojo(name = "dataDictionary", defaultPhase = LifecyclePhase.GENERATE_SOURCES) +public class GenerateDataDictionaryFromDslMojo extends AbstractMojo { + + /** Path to a single mapping file or a directory containing one or more mapping files. */ + @Parameter(property = "mappingPath") + private String mappingPath; + + /** Path to a single mapping file or a directory containing one or more mapping files. */ + @Parameter(property = "fhirMappingPath") + private String fhirMappingPath; + + /** Project version. */ + @Parameter(property = "projectVersion") + private String projectVersion; + + /** Path to directory to contain generated data dictionary. */ + @Parameter(property = "destinationDirectory") + private String destinationDirectory; + + /** V1 CSV template file path. */ + @Parameter(property = "v1TemplateFilePath") + private String v1TemplateFilePath; + + /** V2 CSV template file path. */ + @Parameter(property = "v2TemplateFilePath") + private String v2TemplateFilePath; + + /** + * Instance of {@link MavenProject} used to call {@link + * MavenProject#addCompileSourceRoot(String)}. + */ + @Parameter(property = "project", readonly = true) + private MavenProject project; + + /** Parameterless constructor used by Maven to instantiate the plugin. */ + public GenerateDataDictionaryFromDslMojo() {} + + /** + * Executed by maven to execute the mojo. Reads all mapping files and generates a data dictionary + * using fhir elements from every {@link MappingBean} + * + * @throws MojoExecutionException if the process fails due to some error + */ + public void execute() throws MojoExecutionException { + var templateFileMap = Map.of(Version.V1, v1TemplateFilePath, Version.V2, v2TemplateFilePath); + var xlsxFilename = + String.format("%s/data-dictionary-%s.xlsx", destinationDirectory, projectVersion); + + // Open Excel output here since both API versions are written to the same workbook + try (var xlsxOutputStream = new FileOutputStream(xlsxFilename); + var workbook = new XSSFWorkbook()) { + + // Process each data dictionary resource directory in turn + for (Version version : List.of(Version.V1, Version.V2)) { + var resourceDirPath = String.format("%s/%s", fhirMappingPath, version.name()); + var templatePath = templateFileMap.get(version); + final RootBean root = + ModelUtil.loadModelFromYamlFileAndJsonFiles( + mappingPath, resourceDirPath); // todo: modify so does V1 vs V2 + MojoUtil.validateModel(root); // modify so fits for our use case + processYamlFiles( + root, destinationDirectory, projectVersion, templatePath, workbook, version); + } + + // save Excel workbook file + workbook.write(xlsxOutputStream); + + } catch (IOException e) { + throw new RuntimeException(e); + } + } + + /** + * Function to encapsulate the processing of a single resource directory. + * + * @param root root bean containing mappings of fhir elements + * @param destinationDirectory the output file path + * @param projectVersion the project version + * @param csvTemplatePath the path within the module resources to the CSV template file + * @param workbook the Excel workbook (shared across data dictionary versions) + * @param version the BFD API version, e.g. V1, V2 + */ + public static void processYamlFiles( + RootBean root, + String destinationDirectory, + String projectVersion, + String csvTemplatePath, + XSSFWorkbook workbook, + Version version) { + + // name output files + var basePath = getOutputFileBaseName(destinationDirectory, projectVersion, version); + var jsonPath = basePath + ".json"; + var csvPath = basePath + ".csv"; + + try { + // create transformers/writers and stream + var elementToJson = FhirElementToJson.createInstance(new FileWriter(jsonPath)); + var elementToCsv = FhirElementToCsv.createInstance(new FileWriter(csvPath), csvTemplatePath); + var csvToExcel = CsvToExcel.createInstance(workbook, version); + List fhirElements = Collections.emptyList(); + for (MappingBean mapping : root.getMappings()) { + switch (version) { + case Version.V2: + fhirElements = mapping.getR4FhirElements(); + System.out.println("fhirElements: " + fhirElements.size()); + break; + case Version.V1: + System.out.println("V1 not yet supported"); + break; + } + fhirElements.stream() + .map( + bean -> + FhirElement.builder() + .id(bean.getId()) + .name(bean.getName()) + .description(bean.getDescription()) + .appliesTo(bean.getAppliesTo()) + .suppliedIn(bean.getSuppliedIn()) + .bfdTableType(bean.getBfdTableType()) + .bfdColumnName(bean.getBfdColumnName()) + .bfdDbType(bean.getBfdDbType()) + .bfdDbSize(bean.getBfdDbSize()) + .bfdJavaFieldName(bean.getBfdJavaFieldName()) + .ccwMapping(bean.getCcwMapping()) + .cclfMapping(bean.getCclfMapping()) + .fhirMapping(bean.getFhirMapping()) + .build()) + .map(elementToJson) + .map(elementToCsv) + .flatMap(Collection::stream) + .forEach(csvToExcel); + } + } catch (IOException e) { + throw new RuntimeException(e); + } + } + + /** + * Forms the base file name for output files. + * + * @param destinationDirectory output file destination directory path + * @param projectVersion the project version + * @param version the BFD API version + * @return a String representing the base output file name + */ + private static String getOutputFileBaseName( + String destinationDirectory, String projectVersion, Version version) { + return String.format( + "%s/%s-data-dictionary-%s", destinationDirectory, version.name(), projectVersion); + } +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/CsvToExcel.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/CsvToExcel.java new file mode 100644 index 0000000000..732f8527a0 --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/CsvToExcel.java @@ -0,0 +1,322 @@ +package gov.cms.model.dsl.codegen.plugin.mappers; + +import gov.cms.model.dsl.codegen.plugin.util.Version; +import java.io.Closeable; +import java.io.IOException; +import java.util.List; +import java.util.function.Consumer; +import org.apache.commons.csv.CSVFormat; +import org.apache.commons.csv.CSVParser; +import org.apache.commons.csv.CSVRecord; +import org.apache.poi.ss.usermodel.BorderStyle; +import org.apache.poi.ss.usermodel.Cell; +import org.apache.poi.ss.usermodel.CellStyle; +import org.apache.poi.ss.usermodel.FillPatternType; +import org.apache.poi.ss.usermodel.IndexedColors; +import org.apache.poi.ss.usermodel.Row; +import org.apache.poi.ss.usermodel.Sheet; +import org.apache.poi.ss.usermodel.VerticalAlignment; +import org.apache.poi.ss.usermodel.Workbook; +import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.xssf.usermodel.XSSFColor; + +/** + * Processor that loads and formats a stream of CSV formatted Strings into an Excel workbook sheet. + */ +public class CsvToExcel implements Consumer, Closeable { + + /** Excel columns widths in units of 1/256th of a character width for the V1 data dictionary. */ + private static final List v1ColumnsWidths = + List.of( + 2080, 7200, 10400, 2400, 1600, 1600, 5600, 11200, 17600, 17600, 9600, 9600, 6400, 6400, + 6400, 6400, 6400, 2400, 2400, 2400, 2400, 2400, 2400); + + /** Excel columns widths in units of 1/256th of a character width for the V2 data dictionary. */ + private static final List v2ColumnsWidths = + List.of( + 2080, 7200, 10400, 2400, 1600, 1600, 5600, 11200, 14400, 17600, 17600, 17600, 9600, 9600, + 6400, 6400, 6400, 6400, 6400, 2400, 2400, 2400, 2400, 2400, 2400); + + /** Bright blue color used for header row background. */ + public static final XSSFColor CUSTOM_BLUE = new XSSFColor(new java.awt.Color(67, 133, 244), null); + + /** Light grey color used for cell borders. */ + public static final XSSFColor CUSTOM_GREY = + new XSSFColor(new java.awt.Color(243, 243, 243), null); + + /** Cell range for the Applies To column. */ + private static final String APPLIES_TO_RANGE = "D2:D"; + + /** Cell range for the STU3 Discriminator and STU3 Additional columns. */ + private static final String STU3_DISCRIMINATOR_ADDITIONAL_RANGE = "I2:J"; + + /** Excel data dictionary workbook. */ + private Workbook workbook; + + /** The current workbook sheet being modified. */ + private Sheet sheet; + + /** The BFD API version, e.g. V1, V2. */ + private Version version; + + /** + * Creates and instance of the CsvToExcel given and OutputStream, workbook and version. + * + * @param workbook the Excel workbook to load and format + * @param version the BFD API version, e.g. V1, V2 + * @return an CsvToExcel + */ + public static CsvToExcel createInstance(Workbook workbook, Version version) { + var CsvToExcel = new CsvToExcel(workbook, version); + CsvToExcel.init(); + return CsvToExcel; + } + + /** + * Adds a CSV formatted string to the Excel workbook sheet. + * + * @param csv the CSV formatted String to add + */ + @Override + public void accept(String csv) { + var record = parseLine(csv); + if (record != null) { + var rowIndex = sheet.getLastRowNum() + 1; + Row row = sheet.createRow(rowIndex); + for (int i = 0; i < record.size(); i++) { + Cell cell = row.createCell(i); + cell.setCellValue(record.get(i)); + } + } + } + + /** + * Formats and saves the Excel workbook. + * + * @throws IOException upon write errors + */ + @Override + public void close() throws IOException { + var widths = ("V1".equalsIgnoreCase(version.name())) ? v1ColumnsWidths : v2ColumnsWidths; + formatSheet(widths); + } + + /** + * Private constructor. + * + * @param workbook the Excel workbook to load and format + * @param version the BFD API version, e.g. V1, V2 + */ + private CsvToExcel(Workbook workbook, Version version) { + this.workbook = workbook; + this.version = version; + } + + /** Initializes a new Excel workbook sheet for a given BFD API version. */ + private void init() { + sheet = workbook.createSheet(version.name()); + } + + /** + * Applies formatting to data dictionary workbook sheet. + * + * @param columnsWidths array of column widths to apply to sheet + */ + private void formatSheet(List columnsWidths) { + var maxRowIndex = sheet.getLastRowNum(); + var maxColIndex = columnsWidths.size() - 1; + searchAndReplace(CellRangeAddress.valueOf(APPLIES_TO_RANGE + (maxRowIndex + 1)), ";", "\n"); + searchAndReplace( + CellRangeAddress.valueOf(STU3_DISCRIMINATOR_ADDITIONAL_RANGE + (maxRowIndex + 1)), + ";", + "\n"); + setStyle(new CellRangeAddress(0, 0, 0, maxColIndex), getHeaderCellStyle()); + setStyle(new CellRangeAddress(1, maxRowIndex, 0, maxColIndex), getDataCellStyle()); + rowShading(new CellRangeAddress(1, maxRowIndex, 0, maxColIndex), getRowShadingStyle()); + setColumnWidths(columnsWidths); + setRowHeights(new CellRangeAddress(0, maxRowIndex, 0, maxColIndex)); + sheet.createFreezePane(2, 1); + } + + /** + * Set the column widths for a workbook sheet. + * + * @param widths an array of column widths in characters in column order + */ + private void setColumnWidths(List widths) { + for (int i = 0; i < widths.size(); i++) { + sheet.setColumnWidth(i, widths.get(i)); + } + } + + /** + * Optimally set the row heights for a workbook sheet. + * + * @param range the sheet range to set + */ + private void setRowHeights(CellRangeAddress range) { + var defaultHeight = sheet.getDefaultRowHeight(); + for (int i = range.getFirstRow(); i <= range.getLastRow(); i++) { + var row = sheet.getRow(i); + if (row != null) { + var max = maxLinesInRow(row, range.getLastColumn()); + if (row.getRowNum() == 0) { + max = 2; + } + row.setHeight((short) (max * defaultHeight)); + } + } + } + + /** + * Determines the maximum number of lines in a row. + * + * @param row the row to inspect + * @param lastCol the last column in the row to inspect + * @return the maximum number of lines for any cell in a row (min:1) + */ + private short maxLinesInRow(Row row, int lastCol) { + short maxLines = 1; + for (int i = 0; i <= lastCol; i++) { + var cell = row.getCell(i); + if (cell != null) { + var lines = cell.getStringCellValue().split("\r\n|\n|\r").length; + if (maxLines < lines) { + maxLines = (short) lines; + } + } + } + return maxLines; + } + + /** + * Do a text search and replace on a range of cells. + * + * @param range the range of cells to search/replace + * @param search the text to search for in each cell + * @param replace the text to replace the searched values with + */ + private void searchAndReplace(CellRangeAddress range, String search, String replace) { + applyToRange( + range, + (c) -> { + c.setCellValue(c.getStringCellValue().replace(search, replace)); + }); + } + + /** + * Set the style for a range of cells. + * + * @param range the range of cells within the sheet to format + * @param style the CellStyle to apply to the cells + */ + private void setStyle(CellRangeAddress range, CellStyle style) { + applyToRange( + range, + (c) -> { + c.setCellStyle(style); + }); + } + + /** + * Implement alternate row shading. + * + * @param range the range of cells with the sheet to format + * @param style the CellStyle to apply to alternate rows (odd numbered) + */ + private void rowShading(CellRangeAddress range, CellStyle style) { + applyToRange( + range, + (c) -> { + if (c.getRowIndex() % 2 == 1) { + c.setCellStyle(style); + } + }); + } + + /** + * Apply a consumer function to a range of cells in a sheet. + * + * @param range the range of cells to update + * @param fn a consumer function that takes a cell and returns void + */ + private void applyToRange(CellRangeAddress range, Consumer fn) { + for (int i = range.getFirstRow(); i <= range.getLastRow(); i++) { + var row = sheet.getRow(i); + if (row != null) { + for (int j = range.getFirstColumn(); j <= range.getLastColumn(); j++) { + var cell = row.getCell(j); + if (cell != null) { + fn.accept(cell); + } + } + } + } + } + + /** + * Create the style for the sheet header row. + * + * @return a CellStyle + */ + private CellStyle getHeaderCellStyle() { + var style = workbook.createCellStyle(); + style.setFillForegroundColor(CUSTOM_BLUE); + style.setFillPattern(FillPatternType.SOLID_FOREGROUND); + var font = workbook.createFont(); + font.setBold(true); + font.setColor(IndexedColors.WHITE.getIndex()); + style.setFont(font); + style.setVerticalAlignment(VerticalAlignment.TOP); + style.setWrapText(true); + return style; + } + + /** + * Create the style for the sheet data rows. + * + * @return a CellStyle + */ + private CellStyle getDataCellStyle() { + var style = workbook.createCellStyle(); + style.setVerticalAlignment(VerticalAlignment.TOP); + style.setWrapText(true); + return style; + } + + /** + * Create the style for shaded rows. + * + * @return a CellStyle + */ + private CellStyle getRowShadingStyle() { + var style = workbook.createCellStyle(); + style.cloneStyleFrom(getDataCellStyle()); + style.setFillBackgroundColor(IndexedColors.GREY_25_PERCENT.getIndex()); + style.setFillForegroundColor(CUSTOM_GREY); + style.setFillPattern(FillPatternType.SOLID_FOREGROUND); + style.setBorderTop(BorderStyle.THIN); + style.setTopBorderColor(IndexedColors.GREY_25_PERCENT.getIndex()); + style.setBorderBottom(BorderStyle.THIN); + style.setBottomBorderColor(IndexedColors.GREY_25_PERCENT.getIndex()); + style.setBorderLeft(BorderStyle.THIN); + style.setLeftBorderColor(IndexedColors.GREY_25_PERCENT.getIndex()); + style.setBorderRight(BorderStyle.THIN); + style.setRightBorderColor(IndexedColors.GREY_25_PERCENT.getIndex()); + return style; + } + + /** + * Parses a String into a CVSRecord. + * + * @param line the String to parse + * @return a CVSRecord + */ + private static CSVRecord parseLine(String line) { + try (CSVParser parse = CSVParser.parse(line, CSVFormat.EXCEL)) { + return parse.getRecords().get(0); + } catch (Exception e) { + throw new RuntimeException(e); + } + } +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToCsv.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToCsv.java new file mode 100644 index 0000000000..7b13cc5b3b --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToCsv.java @@ -0,0 +1,216 @@ +package gov.cms.model.dsl.codegen.plugin.mappers; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.json.JsonMapper; +import gov.cms.model.dsl.codegen.plugin.model.FhirElement; +import java.io.Closeable; +import java.io.File; +import java.io.IOException; +import java.io.StringWriter; +import java.io.Writer; +import java.util.ArrayList; +import java.util.Collection; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.function.Function; +import org.apache.commons.csv.CSVFormat; +import org.apache.commons.csv.CSVPrinter; + +/** Processor for a stream of FhirElements. Converts FhirElements to CSV format and writes them. */ +public class FhirElementToCsv implements Function>, Closeable { + + /** ObjectMapper for deserializing CSV template JSON. */ + private static final ObjectMapper objectMapper = JsonMapper.builder().build(); + + /** Map of field -> header values from CSV template. */ + private Map fields; + + /** Printer to write CSV formatted Strings. */ + private CSVPrinter csvPrinter; + + /** Writer to capture CSV content. */ + private final StringWriter stringWriter; + + /** Writer to persist CSV content. */ + private final Writer fileWriter; + + /** Flag indicating first element has been processed. */ + private boolean started; + + /** + * Factory method to create instances of FhirElementToCsv. + * + * @param writer the writer to use to persist the generated CSV content + * @param templatePath the CSV template file + * @return an instance of FhirElementToCsv + * @throws IOException on file errors + */ + public static FhirElementToCsv createInstance(Writer writer, String templatePath) + throws IOException { + var FhirElementToCsv = new FhirElementToCsv(writer); + FhirElementToCsv.init(templatePath); + return FhirElementToCsv; + } + + /** + * Converts a FhirElement to a list of CSV formatted strings and persists. + * + * @param element the FhirElement to transform and save + * @return a List of CSV formatted String values + */ + @Override + public List apply(FhirElement element) { + // returns list as the first row returns more than one line. + try { + if (started) { + var row = writeElement(element); + return List.of(row); + } else { + var header = writeHeader(); + var row = writeElement(element); + started = true; + return List.of(header, row); + } + } catch (IOException e) { + throw new RuntimeException(e); + } + } + + /** + * Close resources held by the mapper. + * + * @throws IOException upon errors closing resources + */ + @Override + public void close() throws IOException { + csvPrinter.close(); + fileWriter.close(); + } + + /** + * Private constructor. + * + * @param fileWriter the writer to use to persist the generated CSV content. + */ + private FhirElementToCsv(Writer fileWriter) { + this.fileWriter = fileWriter; + stringWriter = new StringWriter(); + } + + /** + * Initialize a CSV mapper. + * + * @param templatePath the path of the CSV template file to use + * @throws IOException upon errors opening or reading files + */ + private void init(String templatePath) throws IOException { + csvPrinter = new CSVPrinter(stringWriter, CSVFormat.EXCEL); + fields = readTemplate(templatePath); + } + + /** + * Write the CSV column headings extracted from the template file. + * + * @return the value of the CSV line written + * @throws IOException upon write errors + */ + private String writeHeader() throws IOException { + var titles = new ArrayList<>(fields.values().size()); + titles.addAll(fields.values()); + return writeCsv(titles); + } + + /** + * Write the CSV row for a given FhirElement. + * + * @param element the FhirElement to transform and write + * @return the value of the CSV line written + * @throws IOException upon write errors + */ + private String writeElement(FhirElement element) throws IOException { + var row = new ArrayList<>(); + for (String field : fields.keySet()) { + var fieldValue = getFieldValue(element, field); + row.add(fieldValue); + } + return writeCsv(row); + } + + /** + * Reads the CSV template file into a map of field names and descriptions. + * + * @param templatePath the String file path to the CSV template file + * @return a Map of field names to descriptions in read order + * @throws IOException upon file open or read errors + */ + private Map readTemplate(String templatePath) throws IOException { + var fields = new LinkedHashMap(); + File template = new File(templatePath); + JsonNode root = objectMapper.readTree(template); + JsonNode node = root.get("fields"); + if (node.isArray()) { + var iter = node.elements(); + while (iter.hasNext()) { + var field = iter.next(); + fields.put(field.findValue("field").asText(), field.findValue("title").asText()); + } + } + return fields; + } + + /** + * Helper function to write a CSV file row. + * + * @param row a Collection of Objects to write in CSV format + * @return the value of the CSV line written + * @throws IOException upon write errors + */ + private String writeCsv(Collection row) throws IOException { + csvPrinter.printRecord(row); // write csv to string writer to capture + var csv = stringWriter.toString(); + stringWriter.getBuffer().setLength(0); // reset string writer buffer + fileWriter.write(csv); // write csv to file + return csv; + } + + /** + * Extract and format the value of a FhirElement given a field name. + * + * @param element the FhirElement to retrieve values from + * @param field the name of the field to retrieve + * @return an Object (String or Integer) retrieved from the FhirElement + */ + private Object getFieldValue(FhirElement element, String field) { + return switch (field) { + case "id" -> element.getId(); + case "name" -> element.getName(); + case "description" -> element.getDescription(); + case "suppliedIn" -> element.getSuppliedIn(); + case "bfdDbType" -> element.getBfdDbType(); + case "bfdDbSize" -> element.getBfdDbSize(); + case "appliesTo" -> String.join(";", element.getAppliesTo()); + case "ccwMapping" -> String.join(";", element.getCcwMapping()); + case "cclfMapping" -> String.join(";", element.getCclfMapping()); + case "resource" -> element.getFhirMapping().get(0).getResource(); + case "element" -> element.getFhirMapping().get(0).getElement(); + case "derived" -> element.getFhirMapping().get(0).getDerived(); + case "note" -> element.getFhirMapping().get(0).getNote(); + case "fhirPath" -> element.getFhirMapping().get(0).getFhirPath(); + case "example" -> element.getFhirMapping().get(0).getExample(); + case "version" -> element.getFhirMapping().get(0).getVersion(); + case "discriminator" -> String.join(";", element.getFhirMapping().get(0).getDiscriminator()); + case "additional" -> String.join(";", element.getFhirMapping().get(0).getAdditional()); + case "AB2D", "BB2", "BCDA", "BFD", "DPC", "SyntheticData" -> element + .getSuppliedIn() + .contains(field) + ? "X" + : ""; + case "bfdTableType" -> element.getBfdTableType(); + case "bfdColumnName" -> element.getBfdColumnName(); + case "bfdJavaFieldName" -> element.getBfdJavaFieldName(); + default -> null; + }; + } +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToJson.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToJson.java new file mode 100644 index 0000000000..81e1350e97 --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/mappers/FhirElementToJson.java @@ -0,0 +1,97 @@ +package gov.cms.model.dsl.codegen.plugin.mappers; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; +import gov.cms.model.dsl.codegen.plugin.model.FhirElement; +import java.io.Closeable; +import java.io.IOException; +import java.io.Writer; +import java.util.function.Function; + +/** Processor that takes a stream of FhirElements and writes them to a single JSON file. */ +public class FhirElementToJson implements Function, Closeable { + + /** JSON array element separator. */ + private static final String SEPARATOR = ","; + + /** Opening bracket for JSON array. */ + private static final String ARRAY_OPEN = "["; + + /** Closing bracket and newline for JSON array. */ + private static final String ARRAY_CLOSE = "]\n"; + + /** Object mapper for serializing/deserializing JSON. */ + private static final ObjectMapper objectMapper = + com.fasterxml.jackson.databind.json.JsonMapper.builder() + .configure(SerializationFeature.INDENT_OUTPUT, true) + .build(); + + /** Writer used to persist JSON. */ + private final Writer writer; + + /** Flag indicating that the first element has been written. */ + private boolean started; + + /** + * Creates an instance of a FhirElementToJson given a Writer. + * + * @param writer the writer to use to persist the JSON + * @return a FhirElementToJson + * @throws IOException upon write errors + */ + public static FhirElementToJson createInstance(Writer writer) throws IOException { + var FhirElementToJson = new FhirElementToJson(writer); + FhirElementToJson.init(); + return FhirElementToJson; + } + + /** + * Serializes a FhirElement to JSON and writes it. + * + * @param element the FhirElement to write + * @return a FhirElement + */ + @Override + public FhirElement apply(FhirElement element) { + try { + if (started) { + writer.write(SEPARATOR); + } else { + started = true; + } + writer.write(objectMapper.writeValueAsString(element)); + } catch (IOException e) { + throw new RuntimeException(e); + } + return element; + } + + /** + * Closes the writer. + * + * @throws IOException upon write or closing errors + */ + @Override + public void close() throws IOException { + writer.write(ARRAY_CLOSE); + writer.close(); + } + + /** + * Private constructor. + * + * @param writer the writer to use to persist the JSON. + */ + private FhirElementToJson(Writer writer) { + this.writer = writer; + } + + /** + * Initializes the FhirElementToJson. + * + * @throws IOException upon write errors + */ + private void init() throws IOException { + writer.write(ARRAY_OPEN); + } +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElement.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElement.java new file mode 100644 index 0000000000..a1c082eadd --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElement.java @@ -0,0 +1,51 @@ +package gov.cms.model.dsl.codegen.plugin.model; + +import java.util.List; +import lombok.Builder; +import lombok.Getter; +import lombok.Setter; + +/** Data class for serializing data dictionary FHIR element resource files. */ +@Setter +@Getter +@Builder +public class FhirElement { + /** Id. */ + private int id; + + /** Name. */ + private String name; + + /** Description. */ + private String description; + + /** List of String, Applies To. */ + private List appliesTo; + + /** List of String, Supplied In. */ + private List suppliedIn; + + /** BFD Database Table Type. */ + private String bfdTableType; + + /** BFD Database Column Name. */ + private String bfdColumnName; + + /** BFD Database Type. */ + private String bfdDbType; + + /** BFD Database Column Size. */ + private Integer bfdDbSize; + + /** BFD Java Field Name. */ + private String bfdJavaFieldName; + + /** List of String, of CCW Mappings. */ + private List ccwMapping; + + /** List of String, of CCLF Mappings. */ + private List cclfMapping; + + /** List of FHIR Mappings. */ + private List fhirMapping; +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java new file mode 100644 index 0000000000..97d883e067 --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java @@ -0,0 +1,53 @@ +package gov.cms.model.dsl.codegen.plugin.model; + +import java.util.List; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** Model class for FHIR Elements specifications in a mapping. */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@Builder +public class FhirElementBean implements ModelBean { + /** Id. */ + private int id; + + /** Name. */ + private String name; + + /** Description. */ + private String description; + + /** List of String, Applies To. */ + private List appliesTo; + + /** List of String, Supplied In. */ + private List suppliedIn; + + /** BFD Database Table Type. */ + private String bfdTableType; + + /** BFD Database Column Name. */ + private String bfdColumnName; + + /** BFD Database Type. */ + private String bfdDbType; + + /** BFD Database Column Size. */ + private Integer bfdDbSize; + + /** BFD Java Field Name. */ + private String bfdJavaFieldName; + + /** List of String, of CCW Mappings. */ + private List ccwMapping; + + /** List of String, of CCLF Mappings. */ + private List cclfMapping; + + /** List of FHIR Mappings. */ + private List fhirMapping; +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirMapping.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirMapping.java new file mode 100644 index 0000000000..442c99ade8 --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirMapping.java @@ -0,0 +1,37 @@ +package gov.cms.model.dsl.codegen.plugin.model; + +import java.util.List; +import lombok.Getter; +import lombok.Setter; + +/** Data class for serializing FHIR mappings from data dictionary resource files. */ +@Setter +@Getter +public class FhirMapping { + /** Version. */ + private String version; + + /** Resource. */ + private String resource; + + /** Element. */ + private String element; + + /** FHIR Path. */ + private String fhirPath; + + /** List of String, of discriminators. */ + private List discriminator; + + /** List of String, of additional info. */ + private List additional; + + /** Derived. */ + private String derived; + + /** Note. */ + private String note; + + /** Example. */ + private String example; +} diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/MappingBean.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/MappingBean.java index 67df726d37..56e7024b09 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/MappingBean.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/MappingBean.java @@ -66,6 +66,9 @@ public class MappingBean implements ModelBean { /** Meta data for transformations used to copy data from message to entity. */ @NotNull @Singular private List<@Valid TransformationBean> transformations = new ArrayList<>(); + /** Meta data for R4 fhir elements. */ + private List<@Valid FhirElementBean> r4FhirElements = new ArrayList<>(); + /** Meta data for any external transformations used in transformer. */ @NotNull @Singular private List<@Valid ExternalTransformationBean> externalTransformations = new ArrayList<>(); diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java index d1b33e3c0a..f737d23340 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java @@ -13,13 +13,79 @@ import java.time.Instant; import java.time.LocalDate; import java.util.ArrayList; +import java.util.List; import java.util.Optional; +import java.util.stream.Collectors; /** Utility methods for use by and with the various model classes. */ public class ModelUtil { /** Shared {@link ObjectMapper} instance used for mapping YAML to POJOs. */ private static final ObjectMapper objectMapper = new ObjectMapper(new YAMLFactory()); + /** + * Map mapping id and table type to categories in appliesTo collection in FhirElementBean. + * + * @param mappingId s + * @param fhirElementBean s + * @param tableType stuff + * @return boolean stuff + */ + private static boolean map(String mappingId, FhirElementBean fhirElementBean, String tableType) { + List appliesTo = fhirElementBean.getAppliesTo(); + if ((mappingId.equals("InpatientClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("InpatientClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("Inpatient"); + } else if ((mappingId.equals("CarrierClaim") + && (tableType.equals("CLAIM") || tableType.equals(""))) + || (mappingId.equals("CarrierClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("Carrier"); + } else if ((mappingId.equals("HHAClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("HHAClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("HHA"); + } else if ((mappingId.equals("DMEClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("DMEClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("DME"); + } else if ((mappingId.equals("OutpatientClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("OutpatientClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("Outpatient"); + } else if ((mappingId.equals("HospiceClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("HospiceClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("Hospice"); + } else if ((mappingId.equals("SNFClaim") && tableType.equals("CLAIM")) + || (mappingId.equals("SNFClaimLine") && tableType.equals("CLAIM LINE"))) { + return appliesTo.contains("SNF"); + } else if (mappingId.equals("PartDEvent")) { + return appliesTo.contains("PDE"); + } else if (mappingId.equals("Beneficiary") && tableType.equals("BENEFICIARIES")) { + return appliesTo.contains("") + || appliesTo.contains("Part-A") + || appliesTo.contains("Part-B") + || appliesTo.contains("Part-C") + || appliesTo.contains("Part-D"); + } else if (mappingId.equals("BeneficiaryMonthly") && tableType.equals("BENEFICIARYMONTHLY")) { + return appliesTo.contains("Part-D"); + } else if (mappingId.equals("BeneficiaryHistory") + && appliesTo.contains("") + && (tableType.equals("BENEFICIARIESHISTORY") + || tableType.equals("MEDICAREBENEFICIARYIDHISTORY"))) { + return true; + } /*else if (appliesTo.contains("") + && tableType.equals("BENEFICIARIES;MEDICAREBENEFICIARYIDHISTORY")) { + return true; + } else if ((appliesTo.contains("") || appliesTo.contains("Part-A")) && tableType.isEmpty()) { + // patient resource profile, profile, Contract Identifier, Contract Reference + return true; + } else if (fhirElementBean.getName().contains("Coverage") && tableType.isEmpty()) { + // Coverage Class - Group, Coverage Class - Plan, Coverage Grouping - Sub Group, Coverage + // Grouping - Sub Plan + // Coverage Payer, Coverage Resource Profile, CoverageType + return true; + }*/ + // TODO: ask about how to handle these cases ^ + + return false; + } + /** Prevent instantiating instances. */ private ModelUtil() {} @@ -39,6 +105,24 @@ public static RootBean loadModelFromYamlFileOrDirectory(String mappingPath) thro return loadMappingsFromYamlFileOrDirectory(mappingPath); } + /** + * Load all mappings from the provided file or directory. If a directory is provided all YAML + * files in that directory will be loaded. + * + * @param mappingPath path to a file or directory containing mappings + * @param fhirMappingPath stuff + * @return consolidated {@link RootBean} containing all mappings + * @throws IOException if any I/O errors prevent loading + */ + public static RootBean loadModelFromYamlFileAndJsonFiles( + String mappingPath, String fhirMappingPath) throws IOException { + if (!isValidMappingSource(mappingPath)) { + throw new IOException("mappingPath not defined or does not exist"); + } + + return loadMappingsFromYamlFileAndJsonFiles(mappingPath, fhirMappingPath); + } + /** * Extract the java package name for the transformer. * @@ -121,6 +205,145 @@ private static RootBean loadMappingsFromYamlFileOrDirectory(String mappingPath) return combinedRoot; } + /** + * Load mappings from the given path. + * + * @param mappingPath path to a file or directory + * @param fhirMappingPath stuff + * @return a {@link RootBean} containing the mappings loaded from path + * @throws IOException if anything could not be loaded + */ + private static RootBean loadMappingsFromYamlFileAndJsonFiles( + String mappingPath, String fhirMappingPath) throws IOException { + final var file = new File(mappingPath); + final var fileAttributes = Files.readAttributes(file.toPath(), BasicFileAttributes.class); + if (fileAttributes.isRegularFile()) { + return objectMapper.readValue(file, RootBean.class); + } + if (!fileAttributes.isDirectory()) { + throw new IOException("expected a file or directory: " + mappingPath); + } + + var combinedRoot = new RootBean(new ArrayList<>()); + var mappingFiles = file.listFiles(f -> f.getName().endsWith(".yaml")); + if (mappingFiles != null) { + List allFhirElements = convertJsonFilesToFhirElementBeans(fhirMappingPath); + for (File mappingFile : mappingFiles) { + RootBean rootBean = objectMapper.readValue(mappingFile, RootBean.class); + List mappingBeans = + rootBean.getMappings().stream() + .map( + mappingBean -> { + // collect corresponding fhir elements for mapping + List fhirElements = + allFhirElements.stream() + .filter( + fhirElementBean -> + map( + mappingBean.getId(), + fhirElementBean, + fhirElementBean.getBfdTableType())) + .map( + fhirElementBean -> { + // identify column that contains data corresponding to json file + TableBean tableBean = mappingBean.getTable(); + String tableName = tableBean.getName(); + Optional columnFound = + findColumn(fhirElementBean, tableBean); + + // Update Fhir Element fields + fhirElementBean.setBfdTableType(tableName); + updateFhirElements(fhirElementBean, mappingBean, columnFound); + return fhirElementBean; + }) + .collect(Collectors.toList()); + + mappingBean.setR4FhirElements(fhirElements); + return mappingBean; + }) + .collect(Collectors.toList()); + // rootBean.setMappings(mappingBeans); + + combinedRoot.addMappingsFrom(rootBean); + // combinedRoot.addMappings(mappingBeans); + } + } + return combinedRoot; + } + + /** + * hi. + * + * @param fhirMappingPath stuff + * @return stuff + */ + private static List convertJsonFilesToFhirElementBeans(String fhirMappingPath) + throws IOException { + final var file = new File(fhirMappingPath); + var fhirMappingFiles = file.listFiles(f -> f.getName().endsWith(".json")); + List fhirElementsToAdd = new ArrayList<>(); + for (var fhirMappingFile : fhirMappingFiles) { + FhirElementBean fhirElementBean = + objectMapper.readValue(fhirMappingFile, FhirElementBean.class); + fhirElementsToAdd.add(fhirElementBean); + } + return fhirElementsToAdd; + } + + /** + * hi. + * + * @param fhirElementBean stuff + * @param tableBean stuff + * @return stuff + */ + private static Optional findColumn( + FhirElementBean fhirElementBean, TableBean tableBean) { + return tableBean.getColumns().stream() + .filter( + column -> { + String columnName = column.getColumnName().toLowerCase(); + String name = column.getName().toLowerCase(); + return columnName.equals(fhirElementBean.getBfdColumnName().toLowerCase()) + || name.equals(fhirElementBean.getBfdColumnName()) + || name.equals(fhirElementBean.getBfdJavaFieldName().toLowerCase()); + }) + .findFirst(); + } + + /** + * hi. + * + * @param fhirElementBean stuff + * @param mappingBean stuff + * @param columnBean stuff + * @return stuff + */ + private static FhirElementBean updateFhirElements( + FhirElementBean fhirElementBean, MappingBean mappingBean, Optional columnBean) { + if (columnBean.isPresent()) { + ColumnBean column = columnBean.get(); + fhirElementBean.setBfdColumnName(column.getColumnName()); + fhirElementBean.setBfdDbType(column.getSqlType()); + fhirElementBean.setBfdJavaFieldName(column.getName()); + + List transformationsFound = + mappingBean.getTransformations().stream() + .filter(transformationBean -> transformationBean.getTo().equals(column.getName())) + .toList(); + if (!transformationsFound.isEmpty()) { + List ccwMappings = new ArrayList<>(); + transformationsFound.forEach( + transformationBean -> ccwMappings.add(transformationBean.getFrom())); + fhirElementBean.setCcwMapping(ccwMappings); + } + } else { + System.out.println( + "Couldn't find column based off bfdColumnName. Defaults to using values in json"); + } + return fhirElementBean; + } + /** * Compute the appropriate {@link TypeName} to use for the given {@code javaType}. * diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java index 8fea68c862..48c3c84f97 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java @@ -30,6 +30,15 @@ public void addMappingsFrom(RootBean other) { mappings.addAll(other.mappings); } + /** + * Adds all {@link MappingBean}s from the given {@link RootBean} into this {@link RootBean}. + * + * @param otherMappings another {@link RootBean} containing mappings we want to add + */ + public void addMappings(List otherMappings) { + mappings.addAll(otherMappings); + } + /** * Search for a {@link MappingBean} with the given id value. * diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/util/Version.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/util/Version.java new file mode 100644 index 0000000000..cf6c445294 --- /dev/null +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/util/Version.java @@ -0,0 +1,9 @@ +package gov.cms.model.dsl.codegen.plugin.util; + +/** An enum for signifying the BFD API versions. */ +public enum Version { + /** Version 1 of the BFD API. */ + V1, + /** Version 2 of the BFD API. */ + V2, +} diff --git a/apps/bfd-model/bfd-model-rif/data-dictionary-template/v1-to-csv.json b/apps/bfd-model/bfd-model-rif/data-dictionary-template/v1-to-csv.json new file mode 100644 index 0000000000..d01b8ff207 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/data-dictionary-template/v1-to-csv.json @@ -0,0 +1,28 @@ +{ + "fields": [ + {"field": "id", "title": "Element ID"}, + {"field": "name", "title": "Name"}, + {"field": "description", "title": "Description"}, + {"field": "appliesTo", "title": "Applies To"}, + {"field": "bfdDbType", "title": "Data Type"}, + {"field": "bfdDbSize", "title": "Data Size"}, + {"field": "resource", "title": "STU3 Resource"}, + {"field": "element", "title": "STU3 Element"}, + {"field": "discriminator", "title": "STU3 Discriminator"}, + {"field": "additional", "title": "STU3 Additional"}, + {"field": "derived", "title": "STU3 Derived"}, + {"field": "note", "title": "STU3 Notes"}, + {"field": "ccwMapping", "title": "CCW Mapping"}, + {"field": "cclfMapping", "title": "CCLF Mapping"}, + {"field": "bfdTableType", "title": "BFD Table Type"}, + {"field": "bfdColumnName", "title": "BFD Column Name"}, + {"field": "bfdJavaFieldName", "title": "BFD Java Field Name"}, + {"field": "AB2D", "title": "AB2D"}, + {"field": "BB2", "title": "BB2"}, + {"field": "BCDA", "title": "BCDA"}, + {"field": "BFD", "title": "BFD"}, + {"field": "DPC", "title": "DPC"}, + {"field": "SyntheticData", "title": "Synthetic Data"} + ] +} + diff --git a/apps/bfd-model/bfd-model-rif/data-dictionary-template/v2-to-csv.json b/apps/bfd-model/bfd-model-rif/data-dictionary-template/v2-to-csv.json new file mode 100644 index 0000000000..69a9fab01b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/data-dictionary-template/v2-to-csv.json @@ -0,0 +1,30 @@ +{ + "fields": [ + {"field": "id", "title": "Element ID"}, + {"field": "name", "title": "Name"}, + {"field": "description", "title": "Description"}, + {"field": "appliesTo", "title": "Applies To"}, + {"field": "bfdDbType", "title": "Data Type"}, + {"field": "bfdDbSize", "title": "Data Size"}, + {"field": "resource", "title": "R4 Resource"}, + {"field": "element", "title": "R4 Element"}, + {"field": "fhirPath", "title": "R4 FhirPath"}, + {"field": "discriminator", "title": "R4 Discriminator"}, + {"field": "example", "title": "R4 Example"}, + {"field": "additional", "title": "R4 Additional"}, + {"field": "derived", "title": "R4 Derived"}, + {"field": "note", "title": "R4 Notes"}, + {"field": "ccwMapping", "title": "CCW Mapping"}, + {"field": "cclfMapping", "title": "CCLF Mapping"}, + {"field": "bfdTableType", "title": "BFD Table Type"}, + {"field": "bfdColumnName", "title": "BFD Column Name"}, + {"field": "bfdJavaFieldName", "title": "BFD Java Field Name"}, + {"field": "AB2D", "title": "AB2D"}, + {"field": "BB2", "title": "BB2"}, + {"field": "BCDA", "title": "BCDA"}, + {"field": "BFD", "title": "BFD"}, + {"field": "DPC", "title": "DPC"}, + {"field": "SyntheticData", "title": "Synthetic Data"} + ] +} + diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0001_adjstmt_dltn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0001_adjstmt_dltn_cd.json new file mode 100644 index 0000000000..17ce683556 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0001_adjstmt_dltn_cd.json @@ -0,0 +1,46 @@ +{ + "id": 1, + "name": "Adjustment Deletion Code", + "description": "This field distinguishes original from adjusted or deleted PDE records so CMS can adjust claims and make accurate payment for revised PDE records.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "adjstmt_dltn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "adjustmentDeletionCode", + "ccwMapping": [ + "ADJSTMT_DLTN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.system='https://bluebutton.cms.gov/resources/variables/adjstmt_dltn_cd').code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/adjstmt_dltn_cd'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information'", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/adjstmt_dltn_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Adjustment Deletion Code'", + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 7,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/adjstmt_dltn_cd\",\\n \"display\": \"Adjustment Deletion Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/adjstmt_dltn_cd\",\\n \"code\": \"A\",\\n \"display\": \"Adjustment\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0002_admtg_dgns_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0002_admtg_dgns_cd.json new file mode 100644 index 0000000000..4c2ad2afec --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0002_admtg_dgns_cd.json @@ -0,0 +1,54 @@ +{ + "id": 2, + "name": "Admitting Diagnosis Code", + "description": "A diagnosis code on the institutional claim indicating the beneficiary's initial diagnosis at admission.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "admtg_dgns_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisAdmittingCode", + "ccwMapping": [ + "ADMTG_DGNS_CD" + ], + "cclfMapping": [ + "CCLF1.ADMTG_DGNS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.code='admitting').diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code = 'admitting'" + ], + "additional": [ + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10'", + "eob.diagnosis[N].type[N].coding[N].display = 'Admitting Diagnosis'", + "eob.diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1'", + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1'", + "eob.diagnosis[N].extension[N].valueCoding.code = 'Y'", + "eob.diagnosis[N].extension[N].valueCoding.display = 'Diagnosis was present at the time of admission (POA)'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0003_admtg_dgns_vrsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0003_admtg_dgns_vrsn_cd.json new file mode 100644 index 0000000000..c1313b73cf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0003_admtg_dgns_vrsn_cd.json @@ -0,0 +1,41 @@ +{ + "id": 3, + "name": "Admitting Diagnosis Code Version", + "description": "Effective with Version \u2018J,\u2019 the code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "admtg_dgns_vrsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisAdmittingCodeVersion", + "ccwMapping": [ + "ADMTG_DGNS_VRSN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.code='admitting').diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code = 'admitting'" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'. IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0004_at_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0004_at_physn_npi.json new file mode 100644 index 0000000000..a8c1676911 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0004_at_physn_npi.json @@ -0,0 +1,52 @@ +{ + "id": 4, + "name": "Attending Physician NPI", + "description": "On an institutional claim, the national provider identifier (NPI) is a unique number assigned to identify the physician who has overall responsibility for the beneficiary's care and treatment.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "at_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "attendingPhysicianNpi", + "ccwMapping": [ + "AT_PHYSN_NPI" + ], + "cclfMapping": [ + "CCLF1.ATNDG_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'attending')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'", + "careTeam[N].role.coding[N].code = 'attending'" + ], + "additional": [ + "eob.careTeam[N].role.coding[N].display = 'Attending'", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole')", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"161999999\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0005_at_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0005_at_physn_upin.json new file mode 100644 index 0000000000..bc99424e45 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0005_at_physn_upin.json @@ -0,0 +1,48 @@ +{ + "id": 5, + "name": "Attending Physician UPIN", + "description": "On an institutional claim, the unique physician identification number (UPIN) of the physician who would normally be expected to certify and recertify the medical necessity of the services rendered and/or who has primary responsibility for the beneficiary's medical care and treatment (attending physician).", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "at_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 6, + "bfdJavaFieldName": "attendingPhysicianUpin", + "ccwMapping": [ + "AT_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'attending')).provider.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v2-0203'", + "careTeam[N].provider.identifier[N].type.coding[N].code = 'UPIN'", + "careTeam[N].role.coding[N].code = 'attending'" + ], + "additional": [ + "eob.careTeam[N].role.coding[N].display = 'Attending'", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole')", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers'" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0006_bene_hospc_prd_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0006_bene_hospc_prd_cnt.json new file mode 100644 index 0000000000..64a0c31658 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0006_bene_hospc_prd_cnt.json @@ -0,0 +1,37 @@ +{ + "id": 6, + "name": "Hospice Period Count", + "description": "The count of the number of hospice period trailers present for the beneficiary's record.", + "appliesTo": [ + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "bene_hospc_prd_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 1, + "bfdJavaFieldName": "hospicePeriodCount", + "ccwMapping": [ + "BENE_HOSPC_PRD_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueQuantity.value", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/bene_hospc_prd_cnt').valueQuantity.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/bene_hospc_prd_cnt'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/bene_hospc_prd_cnt\",\\n \"valueQuantity\": {\\n \"value\": 2\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0007_bene_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0007_bene_id.json new file mode 100644 index 0000000000..a73a2a20a6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0007_bene_id.json @@ -0,0 +1,45 @@ +{ + "id": 7, + "name": "Beneficiary Id", + "description": "The unique CCW identifier for a beneficiary. The CCW assigns a unique beneficiary identification number to each individual who receives Medicare and/or Medicaid and uses that number to identify an individual\u2019s records in all CCW data files. This number does not change during a beneficiary\u2019s lifetime, and CCW uses each number only once. The BENE_ID is specific to the CCW and is not applicable to any other identification system or data source.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "bene_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "beneficiaryId", + "ccwMapping": [ + "BENE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "patient", + "fhirPath": "patient.reference.substring(8,50)", + "discriminator": [], + "additional": [], + "derived": "Patient/+beneficiaryId", + "note": "This field provides a reference to the Patient endpoint FHIR Resource so that this beneficiaries patient data can be pulled down using the reference id (beneficiaryId). The value will look something like this: 'Patient/123456'.", + "example": "[\\n \"Patient/567834\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0008_bene_lrd_used_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0008_bene_lrd_used_cnt.json new file mode 100644 index 0000000000..d481aa67e4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0008_bene_lrd_used_cnt.json @@ -0,0 +1,41 @@ +{ + "id": 8, + "name": "Lifetime Reserved Days Used Count", + "description": "The number of lifetime reserve days that the beneficiary has elected to use during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "bene_lrd_used_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "lifetimeReservedDaysUsedCount", + "ccwMapping": [ + "BENE_LRD_USED_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedUnsignedInt", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.code='https://bluebutton.cms.gov/resources/variables/bene_lrd_used_cnt').usedUnsignedInt", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/bene_lrd_used_cnt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].code = 'Beneficiary Medicare Lifetime Reserve Days (LRD) Used Count'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/bene_lrd_used_cnt\",\\n \"display\": \"Beneficiary Medicare Lifetime Reserve Days (LRD) Used Count\"\\n }\\n ]\\n },\\n \"usedUnsignedInt\": 0\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0009_bene_tot_coinsrnc_days_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0009_bene_tot_coinsrnc_days_cnt.json new file mode 100644 index 0000000000..37370fa8d7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0009_bene_tot_coinsrnc_days_cnt.json @@ -0,0 +1,42 @@ +{ + "id": 9, + "name": "Total Coinsurance Days Count", + "description": "The count of the total number of coinsurance days involved with the beneficiary's stay in a facility.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "bene_tot_coinsrnc_days_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "coinsuranceDayCount", + "ccwMapping": [ + "BENE_TOT_COINSRNC_DAYS_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedUnsignedInt", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.code='https://bluebutton.cms.gov/resources/variables/bene_tot_coinsrnc_days_cnt').usedUnsignedInt", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/bene_tot_coinsrnc_days_cnt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Beneficiary Total Coinsurance Days Count'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/bene_tot_coinsrnc_days_cnt\",\\n \"display\": \"Beneficiary Total Coinsurance Days Count\"\\n }\\n ]\\n },\\n \"usedUnsignedInt\": 0\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0010_betos_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0010_betos_cd.json new file mode 100644 index 0000000000..f6b75334e6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0010_betos_cd.json @@ -0,0 +1,44 @@ +{ + "id": 10, + "name": "BETOS Code", + "description": "The Berenson-Eggers type of service (BETOS) for the procedure code based on generally agreed upon clinically meaningful groupings of procedures and services.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "betos_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "betosCode", + "ccwMapping": [ + "BETOS_CD" + ], + "cclfMapping": [ + "CCLF5.HCPCS_BETOS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/betos_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/betos_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/betos_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/betos_cd\",\\n \"code\": \"T2D\",\\n \"display\": \"Other tests - other\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0011_brnd_gnrc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0011_brnd_gnrc_cd.json new file mode 100644 index 0000000000..f57a3cc91f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0011_brnd_gnrc_cd.json @@ -0,0 +1,43 @@ +{ + "id": 11, + "name": "Brand Generic Code", + "description": "Plan reported value indicating whether the plan adjudicated the claim as a brand or generic drug.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "brnd_gnrc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "brandGenericCode", + "ccwMapping": [ + "BRND_GNRC_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.system='https://bluebutton.cms.gov/resources/variables/brnd_gnrc_cd').code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/brnd_gnrc_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'brandgenericcode'", + "eob.supportingInfo[N].category.coding[N].display = 'Brand Generic Code'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 12,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"brandgenericcode\",\\n \"display\": \"Brand Generic Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/brnd_gnrc_cd\",\\n \"code\": \"G\",\\n \"display\": \"Generic Null/missing\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0012_carr_clm_cash_ddctbl_apld_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0012_carr_clm_cash_ddctbl_apld_amt.json new file mode 100644 index 0000000000..8e878c0937 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0012_carr_clm_cash_ddctbl_apld_amt.json @@ -0,0 +1,43 @@ +{ + "id": 12, + "name": "Part B Deductible Applied Amount", + "description": "The amount of the cash deductible as submitted on the claim. This variable is the beneficiary\u2019s liability under the annual Part B deductible for all line items on the claim; it is the sum of all line-level deductible amounts.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_cash_ddctbl_apld_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "beneficiaryPartBDeductAmount", + "ccwMapping": [ + "CARR_CLM_CASH_DDCTBL_APLD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.code='https://bluebutton.cms.gov/resources/variables/carr_clm_cash_ddctbl_apld_amt').usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/carr_clm_cash_ddctbl_apld_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Carrier Claim Cash Deductible Applied Amount (sum of all line-level deductible amounts)'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_cash_ddctbl_apld_amt\",\\n \"display\": \"Carrier Claim Cash Deductible Applied Amount (sum of all line-level deductible amounts)\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 777,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0013_carr_clm_entry_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0013_carr_clm_entry_cd.json new file mode 100644 index 0000000000..d8f88499da --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0013_carr_clm_entry_cd.json @@ -0,0 +1,41 @@ +{ + "id": 13, + "name": "Claim Entry Code", + "description": "Carrier-generated code describing whether the Part B claim is an original debit, full credit, or replacement debit.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_entry_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimEntryCode", + "ccwMapping": [ + "CARR_CLM_ENTRY_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/carr_clm_entry_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_clm_entry_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_entry_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_entry_cd\",\\n \"code\": \"1\",\\n \"display\": \"Original debit; void of original debit (If CLM_DISP_CD = 3, code 1 means voided original debit)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0014_carr_clm_hcpcs_yr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0014_carr_clm_hcpcs_yr_cd.json new file mode 100644 index 0000000000..403e750a98 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0014_carr_clm_hcpcs_yr_cd.json @@ -0,0 +1,39 @@ +{ + "id": 14, + "name": "HCPCS Year Code", + "description": "The Healthcare Common Procedure Coding System (HCPCS) uses this terminal digit to specify the year that the HCPCS code was from for the claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_clm_hcpcs_yr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "hcpcsYearCode", + "ccwMapping": [ + "CARR_CLM_HCPCS_YR_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].version", + "fhirPath": "item[%n].modifier.where(coding.system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs').coding.version", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs'" + ], + "additional": [], + "derived": "", + "note": "If the HCPCS Year, is supplied, will be utilized for all HCPCS Modifiers for the item[N].modifier[N].coding[N].version.", + "example": "[\\n \"5\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0015_carr_clm_pmt_dnl_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0015_carr_clm_pmt_dnl_cd.json new file mode 100644 index 0000000000..1261268cb8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0015_carr_clm_pmt_dnl_cd.json @@ -0,0 +1,45 @@ +{ + "id": 15, + "name": "Claim Payment Denial Code", + "description": "The code on a non-institutional claim indicating who receives payment or if the claim was denied.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_pmt_dnl_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "paymentDenialCode", + "ccwMapping": [ + "CARR_CLM_PMT_DNL_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_CARR_PMT_DNL_CD", + "CCLF6.CLM_CARR_PMT_DNL_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_clm_pmt_dnl_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_clm_pmt_dnl_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_pmt_dnl_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_pmt_dnl_cd\",\\n \"code\": \"1\",\\n \"display\": \"Physician/supplier\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0016_carr_clm_prmry_pyr_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0016_carr_clm_prmry_pyr_pd_amt.json new file mode 100644 index 0000000000..85d3045eb1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0016_carr_clm_prmry_pyr_pd_amt.json @@ -0,0 +1,46 @@ +{ + "id": 16, + "name": "Carrier Primary Payer Paid Amount", + "description": "The amount of a payment made on behalf of a Medicare beneficiary by a primary payer other than Medicare, that the provider is applying to covered Medicare charges on a non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_prmry_pyr_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "primaryPayerPaidAmount", + "ccwMapping": [ + "CARR_CLM_PRMRY_PYR_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "total.amount.value", + "fhirPath": "total.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt')).amount.value", + "discriminator": [ + "total.category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "total.category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt'" + ], + "additional": [ + "eob.total.category.coding[N].display = 'Prior payer paid'", + "eob.total.category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "eob.total.category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt'", + "eob.total.category.coding[N].display = 'Claim Total Charge Amount')", + "eob.total.amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt\",\\n \"display\": \"Claim Total Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0017_carr_clm_prvdr_asgnmt_ind_sw.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0017_carr_clm_prvdr_asgnmt_ind_sw.json new file mode 100644 index 0000000000..6d71b40089 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0017_carr_clm_prvdr_asgnmt_ind_sw.json @@ -0,0 +1,41 @@ +{ + "id": 17, + "name": "Provider Assignement Indicator", + "description": "Variable indicates whether or not the provider accepts assignment for the noninstitutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_prvdr_asgnmt_ind_sw", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "providerAssignmentIndicator", + "ccwMapping": [ + "CARR_CLM_PRVDR_ASGNMT_IND_SW" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/asgmntcd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/asgmntcd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/asgmntcd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/asgmntcd\",\\n \"code\": \"A\",\\n \"display\": \"Assigned claim\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0018_carr_clm_rfrng_pin_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0018_carr_clm_rfrng_pin_num.json new file mode 100644 index 0000000000..e71b45dc75 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0018_carr_clm_rfrng_pin_num.json @@ -0,0 +1,45 @@ +{ + "id": 18, + "name": "Referring Provider Id Number", + "description": "The provider identification number (PIN) of the physician/supplier (assigned by the MAC) who referred the beneficiary to the physician who ordered these services.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_rfrng_pin_num", + "bfdDbType": "CHAR", + "bfdDbSize": 14, + "bfdJavaFieldName": "referringProviderIdNumber", + "ccwMapping": [ + "CARR_CLM_RFRNG_PIN_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'referring')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "careTeam[N].role.coding[N].code = 'referring'", + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'" + ], + "additional": [ + "eob.careTeam[N].role.coding[N].display = 'Referring'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provvider Identifier'" + ], + "derived": "", + "note": "There may be multiple referring providers, some of which may not be from this field in the database.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"8765676\"\\n },\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"K25852\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0019_carr_line_ansthsa_unit_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0019_carr_line_ansthsa_unit_cnt.json new file mode 100644 index 0000000000..170993e54a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0019_carr_line_ansthsa_unit_cnt.json @@ -0,0 +1,39 @@ +{ + "id": 19, + "name": "Anesthesia Unit Count", + "description": "The base number of units assigned to the line item anesthesia procedure on the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_ansthsa_unit_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 2, + "bfdJavaFieldName": "anesthesiaUnitCount", + "ccwMapping": [ + "CARR_LINE_ANSTHSA_UNIT_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueQuantity.value", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_line_ansthsa_unit_cnt').valueQuantity.value", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_ansthsa_unit_cnt'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_ansthsa_unit_cnt\",\\n \"valueQuantity\": {\\n \"value\": 6\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0020_carr_line_clia_lab_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0020_carr_line_clia_lab_num.json new file mode 100644 index 0000000000..cc57e53e29 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0020_carr_line_clia_lab_num.json @@ -0,0 +1,41 @@ +{ + "id": 20, + "name": "CLIA Lab Number", + "description": "The identification number assigned to the clinical laboratory providing services for the line item on the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_clia_lab_num", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "cliaLabNumber", + "ccwMapping": [ + "CARR_LINE_CLIA_LAB_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationCodeableConcept.extension[N].valueCoding.code", + "fhirPath": "item[%n].locationCodeableConcept.extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_line_clia_lab_num').valueIdentifier.value", + "discriminator": [ + "item[N].locationCodeableConcept.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_clia_lab_num'" + ], + "additional": [ + "eob.item[N].locationCodeableConcept.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_clia_lab_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_line_clia_lab_num\",\\n \"value\": \"BB889999AA\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0021_carr_line_mtus_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0021_carr_line_mtus_cd.json new file mode 100644 index 0000000000..2361e85a30 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0021_carr_line_mtus_cd.json @@ -0,0 +1,40 @@ +{ + "id": 21, + "name": "Carrier MTUS Indicator Code", + "description": "Code indicating the units associated with services needing unit reporting on the line item for the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_line_mtus_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "mtusCode", + "ccwMapping": [ + "CARR_LINE_MTUS_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cd\",\\n \"code\": \"3\",\\n \"display\": \"Services\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0022_carr_line_mtus_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0022_carr_line_mtus_cnt.json new file mode 100644 index 0000000000..18963fe3f8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0022_carr_line_mtus_cnt.json @@ -0,0 +1,38 @@ +{ + "id": 22, + "name": "Carrier MTUS Count", + "description": "The count of the total units associated with services needing unit reporting such as transportation, miles, anesthesia time units, number of services, volume of oxygen or blood units.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_line_mtus_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 11, + "bfdJavaFieldName": "mtusCount", + "ccwMapping": [ + "CARR_LINE_MTUS_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueQuantity.value", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cnt').valueQuantity.value", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cnt'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cnt\",\\n \"valueQuantity\": {\\n \"value\": 1\\n }\\n },\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cnt\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_line_mtus_cnt\",\\n \"code\": \"3\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0023_carr_line_prcng_lclty_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0023_carr_line_prcng_lclty_cd.json new file mode 100644 index 0000000000..9949b6c32b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0023_carr_line_prcng_lclty_cd.json @@ -0,0 +1,41 @@ +{ + "id": 23, + "name": "Line Pricing Locality Code", + "description": "Code denoting the carrier-specific locality used for pricing the service for this line item on the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_prcng_lclty_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "linePricingLocalityCode", + "ccwMapping": [ + "CARR_LINE_PRCNG_LCLTY_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationCodeableConcept.extension[N].valueCoding.code", + "fhirPath": "item[%n].locationCodeableConcept.extension.where(url = 'https://bluebutton.cms.gov/resources/variables/carr_line_prcng_lclty_cd').valueCoding.code", + "discriminator": [ + "item[N].locationCodeableConcept.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_prcng_lclty_cd'" + ], + "additional": [ + "eob.item[N].locationCodeableConcept.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_line_prcng_lclty_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_line_prcng_lclty_cd\",\\n \"code\": \"15\",\\n \"display\": \"CONNECTICUT\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0024_carr_line_prvdr_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0024_carr_line_prvdr_type_cd.json new file mode 100644 index 0000000000..90fa2109a8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0024_carr_line_prvdr_type_cd.json @@ -0,0 +1,42 @@ +{ + "id": 24, + "name": "Provider Type Code", + "description": "Code identifying the type of provider furnishing the service for this line item on the carrier claim.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_prvdr_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "providerTypeCode", + "ccwMapping": [ + "CARR_LINE_PRVDR_TYPE_CD" + ], + "cclfMapping": [ + "CCLF5.RNDRG_PRVDR_TYPE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].extension[N].valueCoding.code", + "fhirPath": "careTeam[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/carr_line_prvdr_type_cd').valueCoding.code", + "discriminator": [ + "careTeam[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_line_prvdr_type_cd'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0025_carr_line_rdcd_pmt_phys_astn_c.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0025_carr_line_rdcd_pmt_phys_astn_c.json new file mode 100644 index 0000000000..1fd1d234c3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0025_carr_line_rdcd_pmt_phys_astn_c.json @@ -0,0 +1,43 @@ +{ + "id": 25, + "name": "Reduced Payment Physician Assistant Code", + "description": "The code on the carrier (non-DMERC) line item that identifies the line items that have been paid a reduced fee schedule amount (65%, 75% or 85%) because a physician's assistant performed the service.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_rdcd_pmt_phys_astn_c", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "reducedPaymentPhysicianAsstCode", + "ccwMapping": [ + "CARR_LINE_RDCD_PMT_PHYS_ASTN_C" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "item[%n].adjudication.reason.where(coding.system = 'https://bluebutton.cms.gov/resources/variables/carr_line_rdcd_pmt_phys_astn_c').coding.code", + "discriminator": [ + "item[N].adjudication[N].reason.coding.system = 'https://bluebutton.cms.gov/resources/variables/carr_line_rdcd_pmt_phys_astn_c'" + ], + "additional": [ + "eob.item[N].adjudication[N].category.system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator'", + "eob.item[N].adjudication[N].category.code = 'denialreason'", + "eob.item[N].adjudication[N].category.display = 'Denial Reason'", + "eob.item[N].adjudication[N].reason.coding.display = 'N/A'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_line_rdcd_pmt_phys_astn_c\",\\n \"code\": \"0\",\\n \"display\": \"N/A\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0026_carr_line_rx_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0026_carr_line_rx_num.json new file mode 100644 index 0000000000..736b3c5fdf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0026_carr_line_rx_num.json @@ -0,0 +1,31 @@ +{ + "id": 26, + "name": "RX Number", + "description": "The number used to identify the prescription order number for drugs and biologicals purchased through the competitive acquisition program (CAP).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_line_rx_num", + "bfdDbType": "CHAR", + "bfdDbSize": 30, + "bfdJavaFieldName": "rxNumber", + "ccwMapping": [ + "CARR_LINE_RX_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0027_carr_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0027_carr_num.json new file mode 100644 index 0000000000..ebd684e9bf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0027_carr_num.json @@ -0,0 +1,41 @@ +{ + "id": 27, + "name": "Carrier Number", + "description": "The identification number assigned by CMS to a carrier authorized to process claims from a physician or supplier.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_num", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "carrierNumber", + "ccwMapping": [ + "CARR_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/carr_num').valueIdentifier.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_num'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_num\",\\n \"value\": \"61026\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0028_carr_prfrng_pin_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0028_carr_prfrng_pin_num.json new file mode 100644 index 0000000000..97befcc66e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0028_carr_prfrng_pin_num.json @@ -0,0 +1,33 @@ +{ + "id": 28, + "name": "Performing Provider Id Number", + "description": "The provider identification number (PIN) of the physician/supplier (assigned by the Medicare Administrative Contractor [MAC]) who performed the service for this line item.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "carr_prfrng_pin_num", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "performingProviderIdNumber", + "ccwMapping": [ + "CARR_PRFRNG_PIN_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0029_claim_query_code.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0029_claim_query_code.json new file mode 100644 index 0000000000..72a0ca3d66 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0029_claim_query_code.json @@ -0,0 +1,48 @@ +{ + "id": 29, + "name": "Claim Query Code", + "description": "Code indicating the type of claim record being processed with respect to payment (debit/credit indicator; interim/final indicator).", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF", + "HHA", + "Hospice" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "claim_query_code", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimQueryCode", + "ccwMapping": [ + "CLAIM_QUERY_CODE" + ], + "cclfMapping": [ + "CCLF1.CLM_QUERY_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "billablePeriod.extension[N].valueCoding.code", + "fhirPath": "billablePeriod.extension.where(url='https://bluebutton.cms.gov/resources/variables/claim_query_cd').valueCoding.code", + "discriminator": [ + "billablePeriod.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/claim_query_cd'" + ], + "additional": [ + "eob.billablePeriod.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/claim_query_cd\",\\n \"code\": \"3\",\\n \"display\": \"Final bill\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0030_clm_admsn_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0030_clm_admsn_dt.json new file mode 100644 index 0000000000..9865aa8ce4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0030_clm_admsn_dt.json @@ -0,0 +1,46 @@ +{ + "id": 30, + "name": "Claim Admission Date", + "description": "On an institutional claim, the date the beneficiary was admitted to the hospital, skilled nursing facility, or religious non-medical health care institution. When this variable appears in the HHA claims (Short Name = HHSTRTDT), it is the date the care began for the HHA services reported on the claim.", + "appliesTo": [ + "Inpatient", + "HHA", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_admsn_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "claimAdmissionDate", + "ccwMapping": [ + "CLM_ADMSN_DT" + ], + "cclfMapping": [ + "CCLFA.CLM_ACTV_CARE_FROM_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.start", + "fhirPath": "supportingInfo.where(category.coding.where(code='admissionperiod')).timingPeriod.start", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "supportingInfo[N].category.coding[N].code = 'admissionperiod'" + ], + "additional": [ + ".supportingInfo[N].category.coding[N].display = 'Admission Period'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 2,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"admissionperiod\",\\n \"display\": \"Admission Period\"\\n }\\n ]\\n },\\n \"timingPeriod\": {\\n \"start\": \"2016-01-15\",\\n \"end\": \"2016-01-27\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0031_clm_clncl_tril_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0031_clm_clncl_tril_num.json new file mode 100644 index 0000000000..c014cf2f4a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0031_clm_clncl_tril_num.json @@ -0,0 +1,40 @@ +{ + "id": 31, + "name": "Clinical Trial Number", + "description": "The number used to identify all items and line-item services provided to a beneficiary during their participation in a clinical trial.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_clncl_tril_num", + "bfdDbType": "CHAR", + "bfdDbSize": 8, + "bfdJavaFieldName": "clinicalTrialNumber", + "ccwMapping": [ + "CLM_CLNCL_TRIL_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_clncl_tril_num').valueIdentifier.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_clncl_tril_num'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_clncl_tril_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_clncl_tril_num\",\\n \"value\": \"0\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0032_clm_disp_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0032_clm_disp_cd.json new file mode 100644 index 0000000000..7c0f3c3176 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0032_clm_disp_cd.json @@ -0,0 +1,41 @@ +{ + "id": 32, + "name": "Claim Disposition Code", + "description": "Code indicating the disposition or outcome of the processing of the claim record. In the source CMS National Claims History (NCH), claims are transactional records, and several iterations of the claim may exist (e.g., original claim, an edited/updated version \u2014 which also cancels the original claim, etc.). The final reconciled version of the claim is contained in CCW-produced data files, unless otherwise requested. For final claims (at least those that are final at the time of the data file), this value will always be '01'.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_disp_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "claimDispositionCode", + "ccwMapping": [ + "CLM_DISP_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_DISP_CD", + "CCLF6.CLM_DISP_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "disposition", + "fhirPath": "disposition", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n \"1\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0033_clm_drg_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0033_clm_drg_cd.json new file mode 100644 index 0000000000..94140c5b4d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0033_clm_drg_cd.json @@ -0,0 +1,50 @@ +{ + "id": 33, + "name": "Related Diagnosis Group Code", + "description": "The diagnostic related group to which a hospital claim belongs for prospective payment purposes.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_drg_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 4, + "bfdJavaFieldName": "diagnosisRelatedGroupCd", + "ccwMapping": [ + "CLM_DRG_CD" + ], + "cclfMapping": [ + "CCLF1.DGNS_DRG_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/clm_drg_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_drg_cd'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_drg_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim Diagnosis Related Group Code (or MS-DRG Code)'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 5,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_drg_cd\",\\n \"display\": \"Claim Diagnosis Related Group Code (or MS-DRG Code)\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_drg_cd\",\\n \"code\": \"695\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0034_clm_drg_outlier_stay_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0034_clm_drg_outlier_stay_cd.json new file mode 100644 index 0000000000..97c80860a2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0034_clm_drg_outlier_stay_cd.json @@ -0,0 +1,33 @@ +{ + "id": 34, + "name": "Related Diagnosis Group Outlier Stay Code", + "description": "On an institutional claim, the code that indicates the beneficiary stay under the prospective payment system (PPS) which, although classified into a specific diagnosis related group, has an unusually long length (day outlier) or exceptionally high cost (cost outlier).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_drg_outlier_stay_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisRelatedGroupOutlierStayCd", + "ccwMapping": [ + "CLM_DRG_OUTLIER_STAY_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0035_clm_e_poa_ind_sw1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0035_clm_e_poa_ind_sw1.json new file mode 100644 index 0000000000..4b034562ef --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0035_clm_e_poa_ind_sw1.json @@ -0,0 +1,43 @@ +{ + "id": 35, + "name": "External Diagnosis Code 1 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal1PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0036_clm_e_poa_ind_sw10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0036_clm_e_poa_ind_sw10.json new file mode 100644 index 0000000000..f40837a45b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0036_clm_e_poa_ind_sw10.json @@ -0,0 +1,42 @@ +{ + "id": 36, + "name": "External Diagnosis Code 10 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal10PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw10').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw10'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw10'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0037_clm_e_poa_ind_sw11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0037_clm_e_poa_ind_sw11.json new file mode 100644 index 0000000000..18df8c0733 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0037_clm_e_poa_ind_sw11.json @@ -0,0 +1,42 @@ +{ + "id": 37, + "name": "External Diagnosis Code 11 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal11PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw11').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw11'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw11'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0038_clm_e_poa_ind_sw12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0038_clm_e_poa_ind_sw12.json new file mode 100644 index 0000000000..3467bf49d1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0038_clm_e_poa_ind_sw12.json @@ -0,0 +1,42 @@ +{ + "id": 38, + "name": "External Diagnosis Code 12 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal12PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw12').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw12'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw12'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0039_clm_e_poa_ind_sw2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0039_clm_e_poa_ind_sw2.json new file mode 100644 index 0000000000..b7df90a7f3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0039_clm_e_poa_ind_sw2.json @@ -0,0 +1,42 @@ +{ + "id": 39, + "name": "External Diagnosis Code 2 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal2PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0040_clm_e_poa_ind_sw3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0040_clm_e_poa_ind_sw3.json new file mode 100644 index 0000000000..b061b80ba1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0040_clm_e_poa_ind_sw3.json @@ -0,0 +1,42 @@ +{ + "id": 40, + "name": "External Diagnosis Code 3 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal3PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw3').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw3'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw3'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0041_clm_e_poa_ind_sw4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0041_clm_e_poa_ind_sw4.json new file mode 100644 index 0000000000..b17817f23d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0041_clm_e_poa_ind_sw4.json @@ -0,0 +1,42 @@ +{ + "id": 41, + "name": "External Diagnosis Code 4 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw4", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal4PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw4').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw4'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw4'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0042_clm_e_poa_ind_sw5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0042_clm_e_poa_ind_sw5.json new file mode 100644 index 0000000000..b415a793bc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0042_clm_e_poa_ind_sw5.json @@ -0,0 +1,42 @@ +{ + "id": 42, + "name": "External Diagnosis Code 5 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw5", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal5PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw5').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw5'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw5'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0043_clm_e_poa_ind_sw6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0043_clm_e_poa_ind_sw6.json new file mode 100644 index 0000000000..7459632998 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0043_clm_e_poa_ind_sw6.json @@ -0,0 +1,42 @@ +{ + "id": 43, + "name": "External Diagnosis Code 6 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw6", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal6PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw6').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw6'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw6'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0044_clm_e_poa_ind_sw7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0044_clm_e_poa_ind_sw7.json new file mode 100644 index 0000000000..ec6fb0075b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0044_clm_e_poa_ind_sw7.json @@ -0,0 +1,42 @@ +{ + "id": 44, + "name": "External Diagnosis Code 7 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw7", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal7PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw7').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw7'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw7'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0045_clm_e_poa_ind_sw8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0045_clm_e_poa_ind_sw8.json new file mode 100644 index 0000000000..3ffc011edb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0045_clm_e_poa_ind_sw8.json @@ -0,0 +1,42 @@ +{ + "id": 45, + "name": "External Diagnosis Code 8 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw8", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal8PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw8').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw8'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw8'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0046_clm_e_poa_ind_sw9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0046_clm_e_poa_ind_sw9.json new file mode 100644 index 0000000000..0710deeac2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0046_clm_e_poa_ind_sw9.json @@ -0,0 +1,42 @@ +{ + "id": 46, + "name": "External Diagnosis Code 9 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis E codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_e_poa_ind_sw9", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal9PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_E_POA_IND_SW9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw9').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw9'" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw9'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'''" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0047_clm_fac_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0047_clm_fac_type_cd.json new file mode 100644 index 0000000000..ee26b5c194 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0047_clm_fac_type_cd.json @@ -0,0 +1,48 @@ +{ + "id": 47, + "name": "Claim Facility Type Code", + "description": "The type of facility.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_fac_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimFacilityTypeCode", + "ccwMapping": [ + "CLM_FAC_TYPE_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_BILL_FAC_TYPE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "facility.extension[N].valueCoding.code", + "fhirPath": "facility.extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_fac_type_cd').valueCoding.code", + "discriminator": [ + "facility.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_fac_type_cd'" + ], + "additional": [ + "eob.facility.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_fac_type_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_fac_type_cd\",\\n \"code\": \"1\",\\n \"display\": \"Hospital\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0048_clm_freq_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0048_clm_freq_cd.json new file mode 100644 index 0000000000..a8e45b4af8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0048_clm_freq_cd.json @@ -0,0 +1,50 @@ +{ + "id": 48, + "name": "Claim Frequency Code", + "description": "The third digit of the type of bill (TOB3) submitted on an institutional claim record to indicate the sequence of a claim in the beneficiary's current episode of care", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_freq_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimFrequencyCode", + "ccwMapping": [ + "CLM_FREQ_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_BILL_FREQ_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.system='https://bluebutton.cms.gov/resources/variables/clm_freq_cd').code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_freq_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'typeofbill'", + "eob.supportingInfo[N].category.coding[N].display = 'Type of Bill'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 8,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"typeofbill\",\\n \"display\": \"Type of Bill\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_freq_cd\",\\n \"code\": \"1\",\\n \"display\": \"Admit thru discharge claim\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0049_clm_from_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0049_clm_from_dt.json new file mode 100644 index 0000000000..f5c8b4d5c5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0049_clm_from_dt.json @@ -0,0 +1,51 @@ +{ + "id": 49, + "name": "Claim From Date", + "description": "The first day on the billing statement covering services rendered to the beneficiary (a.k.a. 'Statement Covers From Date').", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_from_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "dateFrom", + "ccwMapping": [ + "CLM_FROM_DT" + ], + "cclfMapping": [ + "CCLF1.CLM_FROM_DT", + "CCLF2.CLM_FROM_DT", + "CCLF3.CLM_FROM_DT", + "CCLF4.CLM_FROM_DT", + "CCLF5.CLM_FROM_DT", + "CCLF6.CLM_FROM_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "billablePeriod.start", + "fhirPath": "billablePeriod.start", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"1999-10-27\",\\n \"end\": \"1999-10-27\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0050_clm_hospc_start_dt_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0050_clm_hospc_start_dt_id.json new file mode 100644 index 0000000000..d44b0b3370 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0050_clm_hospc_start_dt_id.json @@ -0,0 +1,43 @@ +{ + "id": 50, + "name": "Claim Hospice Start Date", + "description": "On an institutional claim, the date the beneficiary was admitted to the hospice care.", + "appliesTo": [ + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_hospc_start_dt_id", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "claimHospiceStartDate", + "ccwMapping": [ + "CLM_HOSPC_START_DT_ID" + ], + "cclfMapping": [ + "CCLF8.BENE_RNG_BGN_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.start", + "fhirPath": "supportingInfo.where(category.coding.where(code='admissionperiod')).timingPeriod.start", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "supportingInfo[N].category.coding[N].code = 'admissionperiod'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = 'Admission Period'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 3,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"admissionperiod\",\\n \"display\": \"Admission Period\"\\n }\\n ]\\n },\\n \"timingPeriod\": {\\n \"start\": \"2014-07-06\",\\n \"end\": \"2015-06-29\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0051_clm_hha_lupa_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0051_clm_hha_lupa_ind_cd.json new file mode 100644 index 0000000000..de309c13ff --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0051_clm_hha_lupa_ind_cd.json @@ -0,0 +1,45 @@ +{ + "id": 51, + "name": "Claim LUPA Indicator Code", + "description": "The code used to identify those Home Health PPS claims that have 4 visits or less in a 60-day episode.", + "appliesTo": [ + "HHA" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_hha_lupa_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimLUPACode", + "ccwMapping": [ + "CLM_HHA_LUPA_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.system='https://bluebutton.cms.gov/resources/variables/clm_hha_lupa_ind_cd').code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_hha_lupa_ind_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_hha_lupa_ind_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim HHA Low Utilization Payment Adjustment (LUPA) Indicator Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 6,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_hha_lupa_ind_cd\",\\n \"display\": \"Claim HHA Low Utilization Payment Adjustment (LUPA) Indicator Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_hha_lupa_ind_cd\",\\n \"code\": \"L\",\\n \"display\": \"Low utilization payment adjustment (LUPA) claim\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0052_clm_hha_rfrl_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0052_clm_hha_rfrl_cd.json new file mode 100644 index 0000000000..d93e61f410 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0052_clm_hha_rfrl_cd.json @@ -0,0 +1,45 @@ +{ + "id": 52, + "name": "Claim Referral Code", + "description": "The code used to identify the means by which the beneficiary was referred for Home Health services.", + "appliesTo": [ + "HHA" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_hha_rfrl_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimReferralCode", + "ccwMapping": [ + "CLM_HHA_RFRL_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.system='https://bluebutton.cms.gov/resources/variables/clm_hha_rfrl_cd').code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_hha_rfrl_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_hha_rfrl_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim HHA Referral Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 7,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_hha_rfrl_cd\",\\n \"display\": \"Claim HHA Referral Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_hha_rfrl_cd\",\\n \"code\": \"1\",\\n \"display\": \"Physician referral - The patient was admitted upon the recommendation of a personal physician.\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0053_clm_hha_tot_visit_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0053_clm_hha_tot_visit_cnt.json new file mode 100644 index 0000000000..def7641643 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0053_clm_hha_tot_visit_cnt.json @@ -0,0 +1,44 @@ +{ + "id": 53, + "name": "Claim Total Visit Count", + "description": "The count of the number of HHA visits as derived by CMS.", + "appliesTo": [ + "HHA" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_hha_tot_visit_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "totalVisitCount", + "ccwMapping": [ + "CLM_HHA_TOT_VISIT_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].valueQuantity.value", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_hha_tot_visit_cnt')).valueQuantity.value", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_hha_tot_visit_cnt'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = 'Claim HHA Total Visit Count'", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 8,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_hha_tot_visit_cnt\",\\n \"display\": \"Claim HHA Total Visit Count\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 3\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0054_clm_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0054_clm_id.json new file mode 100644 index 0000000000..a3a724b29b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0054_clm_id.json @@ -0,0 +1,50 @@ +{ + "id": 54, + "name": "Claim ID", + "description": "This is the unique identification number for the claim.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "claimId", + "ccwMapping": [ + "CLM_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='https://bluebutton.cms.gov/resources/variables/clm_id').value", + "discriminator": [ + "identifier[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_id'" + ], + "additional": [ + "(eob.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.identifier[N].type.coding[N].code = 'uc'", + "eob.identifier[N].type.coding[N].display = 'Unique Claim ID')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"uc\",\\n \"display\": \"Unique Claim ID\"\\n }\\n ]\\n },\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_id\",\\n \"value\": \"9991831999\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0055_clm_ip_admsn_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0055_clm_ip_admsn_type_cd.json new file mode 100644 index 0000000000..efa12df167 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0055_clm_ip_admsn_type_cd.json @@ -0,0 +1,50 @@ +{ + "id": 55, + "name": "Admission Type Code", + "description": "The code indicating the type and priority of an inpatient admission associated with the service on an intermediary submitted claim.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_ip_admsn_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "admissionTypeCd", + "ccwMapping": [ + "CLM_IP_ADMSN_TYPE_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_ADMSN_TYPE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/clm_ip_admsn_type_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_ip_admsn_type_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_ip_admsn_type_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim Inpatient Admission Type Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 3,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_ip_admsn_type_cd\",\\n \"display\": \"Claim Inpatient Admission Type Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_ip_admsn_type_cd\",\\n \"code\": \"1\",\\n \"display\": \"Emergency - The patient required immediate medical intervention as a result of severe, life threatening, or potentially disabling conditions. Generally, the patient was admitted through the emergency room.\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0056_clm_line_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0056_clm_line_num.json new file mode 100644 index 0000000000..18b14f27ed --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0056_clm_line_num.json @@ -0,0 +1,48 @@ +{ + "id": 56, + "name": "Claim Line Number", + "description": "This variable identifies an individual line number on a claim.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "clm_line_num", + "bfdDbType": "NUM", + "bfdDbSize": 13, + "bfdJavaFieldName": "lineNumber", + "ccwMapping": [ + "CLM_LINE_NUM" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_NUM", + "CCLF5.CLM_LINE_NUM", + "CCLF6.CLM_LINE_NUM", + "CCLFB.CLM_LINE_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].sequence", + "fhirPath": "item[%n].sequence", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n 6\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0057_clm_mco_pd_sw.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0057_clm_mco_pd_sw.json new file mode 100644 index 0000000000..37aaa82e13 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0057_clm_mco_pd_sw.json @@ -0,0 +1,48 @@ +{ + "id": 57, + "name": "MCO Paid Switch", + "description": "A switch indicating whether or not a Managed Care Organization (MCO) has paid the provider for an institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_mco_pd_sw", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "mcoPaidSw", + "ccwMapping": [ + "CLM_MCO_PD_SW" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/clm_mco_pd_sw')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_mco_pd_sw'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_mco_pd_sw'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim MCO Paid Switch')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 7,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_mco_pd_sw\",\\n \"display\": \"Claim MCO Paid Switch\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_mco_pd_sw\",\\n \"code\": \"0\",\\n \"display\": \"No managed care organization (MCO) payment\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0058_clm_mdcr_non_pmt_rsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0058_clm_mdcr_non_pmt_rsn_cd.json new file mode 100644 index 0000000000..081143143e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0058_clm_mdcr_non_pmt_rsn_cd.json @@ -0,0 +1,46 @@ +{ + "id": 58, + "name": "Claim Non Payment Reason Code", + "description": "The reason that no Medicare payment is made for services on an institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_mdcr_non_pmt_rsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "claimNonPaymentReasonCode", + "ccwMapping": [ + "CLM_MDCR_NON_PMT_RSN_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_MDCR_NPMT_RSN_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_mdcr_non_pmt_rsn_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_mdcr_non_pmt_rsn_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_mdcr_non_pmt_rsn_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_mdcr_non_pmt_rsn_cd\",\\n \"code\": \"A\",\\n \"display\": \"Covered worker's compensation (Obsolete)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0059_clm_non_utlztn_days_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0059_clm_non_utlztn_days_cnt.json new file mode 100644 index 0000000000..47a6f7b12d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0059_clm_non_utlztn_days_cnt.json @@ -0,0 +1,42 @@ +{ + "id": 59, + "name": "Non Utilization Day Count", + "description": "On an institutional claim, the number of days of care that are not chargeable to Medicare facility utilization.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_non_utlztn_days_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 5, + "bfdJavaFieldName": "nonUtilizationDayCount", + "ccwMapping": [ + "CLM_NON_UTLZTN_DAYS_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedUnsignedInt", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_non_utlztn_days_cnt')).usedUnsignedInt", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_non_utlztn_days_cnt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Medicare Non Utilization Days Count'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_non_utlztn_days_cnt\",\\n \"display\": \"Claim Medicare Non Utilization Days Count\"\\n }\\n ]\\n },\\n \"usedUnsignedInt\": 0\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0060_clm_op_bene_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0060_clm_op_bene_pmt_amt.json new file mode 100644 index 0000000000..61071945cb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0060_clm_op_bene_pmt_amt.json @@ -0,0 +1,42 @@ +{ + "id": 60, + "name": "Outpatient Beneficiary Payment Amount", + "description": "The amount paid, from the Medicare trust fund, to the beneficiary for the services reported on the outpatient claim.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_op_bene_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "beneficiaryPaymentAmount", + "ccwMapping": [ + "CLM_OP_BENE_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_op_bene_pmt_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_op_bene_pmt_amt'," + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Outpatient Payment Amount to Beneficiary'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_op_bene_pmt_amt\",\\n \"display\": \"Claim Outpatient Payment Amount to Beneficiary\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 44,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0061_clm_op_prvdr_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0061_clm_op_prvdr_pmt_amt.json new file mode 100644 index 0000000000..44777c981e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0061_clm_op_prvdr_pmt_amt.json @@ -0,0 +1,42 @@ +{ + "id": 61, + "name": "Outpatient Provider Payment Amount", + "description": "The amount paid, from the Medicare trust fund, to the provider for the services reported on the outpatient claim.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_op_prvdr_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "providerPaymentAmount", + "ccwMapping": [ + "CLM_OP_PRVDR_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_op_prvdr_pmt_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_op_bene_pmt_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Outpatient Payment Amount to Beneficiary'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_op_prvdr_pmt_amt\",\\n \"display\": \"Claim Outpatient Provider Payment Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 693.92,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0062_clm_pass_thru_per_diem_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0062_clm_pass_thru_per_diem_amt.json new file mode 100644 index 0000000000..e3acb72a62 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0062_clm_pass_thru_per_diem_amt.json @@ -0,0 +1,42 @@ +{ + "id": 62, + "name": "Pass Through Per Diem Amount", + "description": "Medicare establishes a daily payment amount to reimburse IPPS hospitals for certain \u201cpass-through\u201d expenses, such as capital-related costs, direct medical education costs, kidney acquisition costs for hospitals that are renal transplant centers, and bad debts. This variable is the daily payment rate for pass-through expenses.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pass_thru_per_diem_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "passThruPerDiemAmount", + "ccwMapping": [ + "CLM_PASS_THRU_PER_DIEM_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pass_thru_per_diem_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pass_thru_per_diem_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Pass Thru Per Diem Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pass_thru_per_diem_amt\",\\n \"display\": \"Claim Pass Thru Per Diem Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 10,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0063_clm_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0063_clm_pmt_amt.json new file mode 100644 index 0000000000..21e0a9f655 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0063_clm_pmt_amt.json @@ -0,0 +1,48 @@ +{ + "id": 63, + "name": "Payment Amount", + "description": "The Medicare claim payment amount.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "paymentAmount", + "ccwMapping": [ + "CLM_PMT_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_PMT_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "payment.amount.value", + "fhirPath": "payment.amount.value", + "discriminator": [], + "additional": [ + "eob.payment.amount.code = 'USD'", + "eob.payment.amount.system = 'urn:iso:std:iso:4217'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"value\": 199.99,\\n \"currency\": \"USD\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0064_clm_poa_ind_sw1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0064_clm_poa_ind_sw1.json new file mode 100644 index 0000000000..80400c72a8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0064_clm_poa_ind_sw1.json @@ -0,0 +1,47 @@ +{ + "id": 64, + "name": "Diagnosis Code 1 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis1PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW1" + ], + "cclfMapping": [ + "CCLF4.CLM_POA_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'. The first diagnosis is always marked as the principal diagnosis.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0065_clm_poa_ind_sw10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0065_clm_poa_ind_sw10.json new file mode 100644 index 0000000000..4dbef13a15 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0065_clm_poa_ind_sw10.json @@ -0,0 +1,44 @@ +{ + "id": 65, + "name": "Diagnosis Code 10 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis10PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw10').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw10'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw10'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0066_clm_poa_ind_sw11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0066_clm_poa_ind_sw11.json new file mode 100644 index 0000000000..55f53e7a1a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0066_clm_poa_ind_sw11.json @@ -0,0 +1,44 @@ +{ + "id": 66, + "name": "Diagnosis Code 11 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis11PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw11').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw11'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw11'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0067_clm_poa_ind_sw12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0067_clm_poa_ind_sw12.json new file mode 100644 index 0000000000..3fce578aea --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0067_clm_poa_ind_sw12.json @@ -0,0 +1,44 @@ +{ + "id": 67, + "name": "Diagnosis Code 12 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis12PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw12').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw12'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw12'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0068_clm_poa_ind_sw13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0068_clm_poa_ind_sw13.json new file mode 100644 index 0000000000..2cfaf50440 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0068_clm_poa_ind_sw13.json @@ -0,0 +1,44 @@ +{ + "id": 68, + "name": "Diagnosis Code 13 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw13", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis13PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw13').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw13'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw13'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0069_clm_poa_ind_sw14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0069_clm_poa_ind_sw14.json new file mode 100644 index 0000000000..d9ba467a29 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0069_clm_poa_ind_sw14.json @@ -0,0 +1,44 @@ +{ + "id": 69, + "name": "Diagnosis Code 14 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw14", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis14PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw14').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw14'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw14'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0070_clm_poa_ind_sw15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0070_clm_poa_ind_sw15.json new file mode 100644 index 0000000000..00398d9cf3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0070_clm_poa_ind_sw15.json @@ -0,0 +1,44 @@ +{ + "id": 70, + "name": "Diagnosis Code 15 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw15", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis15PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw15').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw15'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw15'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0071_clm_poa_ind_sw16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0071_clm_poa_ind_sw16.json new file mode 100644 index 0000000000..34a8baa438 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0071_clm_poa_ind_sw16.json @@ -0,0 +1,44 @@ +{ + "id": 71, + "name": "Diagnosis Code 16 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw16", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis16PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw16').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw16'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw16'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0072_clm_poa_ind_sw17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0072_clm_poa_ind_sw17.json new file mode 100644 index 0000000000..e4b31eb1bc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0072_clm_poa_ind_sw17.json @@ -0,0 +1,44 @@ +{ + "id": 72, + "name": "Diagnosis Code 17 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw17", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis17PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw17').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw17'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw17'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0073_clm_poa_ind_sw18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0073_clm_poa_ind_sw18.json new file mode 100644 index 0000000000..e8e8e014d4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0073_clm_poa_ind_sw18.json @@ -0,0 +1,44 @@ +{ + "id": 73, + "name": "Diagnosis Code 18 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw18", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis18PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw18').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw18'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw18'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0074_clm_poa_ind_sw19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0074_clm_poa_ind_sw19.json new file mode 100644 index 0000000000..6f4c2f8b76 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0074_clm_poa_ind_sw19.json @@ -0,0 +1,44 @@ +{ + "id": 74, + "name": "Diagnosis Code 19 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw19", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis19PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw19').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw19'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw19'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0075_clm_poa_ind_sw2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0075_clm_poa_ind_sw2.json new file mode 100644 index 0000000000..f8189b36e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0075_clm_poa_ind_sw2.json @@ -0,0 +1,44 @@ +{ + "id": 75, + "name": "Diagnosis Code 2 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis2PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0076_clm_poa_ind_sw20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0076_clm_poa_ind_sw20.json new file mode 100644 index 0000000000..3f82a7fb7d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0076_clm_poa_ind_sw20.json @@ -0,0 +1,44 @@ +{ + "id": 76, + "name": "Diagnosis Code 20 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw20", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis20PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw20').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw20'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw20'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0077_clm_poa_ind_sw21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0077_clm_poa_ind_sw21.json new file mode 100644 index 0000000000..f8af45ba54 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0077_clm_poa_ind_sw21.json @@ -0,0 +1,44 @@ +{ + "id": 77, + "name": "Diagnosis Code 21 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw21", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis21PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw21').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw21'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw21'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0078_clm_poa_ind_sw22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0078_clm_poa_ind_sw22.json new file mode 100644 index 0000000000..8540366487 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0078_clm_poa_ind_sw22.json @@ -0,0 +1,44 @@ +{ + "id": 78, + "name": "Diagnosis Code 22 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw22", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis22PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw22').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw22'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw22'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0079_clm_poa_ind_sw23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0079_clm_poa_ind_sw23.json new file mode 100644 index 0000000000..5e48e79397 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0079_clm_poa_ind_sw23.json @@ -0,0 +1,44 @@ +{ + "id": 79, + "name": "Diagnosis Code 23 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw23", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis23PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw23').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw23'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw23'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0080_clm_poa_ind_sw24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0080_clm_poa_ind_sw24.json new file mode 100644 index 0000000000..d37b74d16d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0080_clm_poa_ind_sw24.json @@ -0,0 +1,44 @@ +{ + "id": 80, + "name": "Diagnosis Code 24 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw24", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis24PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw24').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw24'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw24'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0081_clm_poa_ind_sw25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0081_clm_poa_ind_sw25.json new file mode 100644 index 0000000000..0b61627949 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0081_clm_poa_ind_sw25.json @@ -0,0 +1,44 @@ +{ + "id": 81, + "name": "Diagnosis Code 25 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw25", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis25PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw25').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw25'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw25'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0082_clm_poa_ind_sw3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0082_clm_poa_ind_sw3.json new file mode 100644 index 0000000000..dc1152a10a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0082_clm_poa_ind_sw3.json @@ -0,0 +1,44 @@ +{ + "id": 82, + "name": "Diagnosis Code 3 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis3PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0083_clm_poa_ind_sw4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0083_clm_poa_ind_sw4.json new file mode 100644 index 0000000000..91862b527c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0083_clm_poa_ind_sw4.json @@ -0,0 +1,44 @@ +{ + "id": 83, + "name": "Diagnosis Code 4 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw4", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis4PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0084_clm_poa_ind_sw5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0084_clm_poa_ind_sw5.json new file mode 100644 index 0000000000..0678eb0cc2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0084_clm_poa_ind_sw5.json @@ -0,0 +1,44 @@ +{ + "id": 84, + "name": "Diagnosis Code 5 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw5", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis5PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0085_clm_poa_ind_sw6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0085_clm_poa_ind_sw6.json new file mode 100644 index 0000000000..68f93abadd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0085_clm_poa_ind_sw6.json @@ -0,0 +1,44 @@ +{ + "id": 85, + "name": "Diagnosis Code 6 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw6", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis6PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw6').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw6'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw6'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0086_clm_poa_ind_sw7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0086_clm_poa_ind_sw7.json new file mode 100644 index 0000000000..2b544cd261 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0086_clm_poa_ind_sw7.json @@ -0,0 +1,44 @@ +{ + "id": 86, + "name": "Diagnosis Code 7 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw7", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis7PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw7').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw7'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw7'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0087_clm_poa_ind_sw8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0087_clm_poa_ind_sw8.json new file mode 100644 index 0000000000..d323f66618 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0087_clm_poa_ind_sw8.json @@ -0,0 +1,44 @@ +{ + "id": 87, + "name": "Diagnosis Code 8 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw8", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis8PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw8').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw8'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw8'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0088_clm_poa_ind_sw9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0088_clm_poa_ind_sw9.json new file mode 100644 index 0000000000..c710352606 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0088_clm_poa_ind_sw9.json @@ -0,0 +1,44 @@ +{ + "id": 88, + "name": "Diagnosis Code 9 Present On Admission", + "description": "The present on admission (POA) indicator code associated with the diagnosis codes (principal and secondary).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_poa_ind_sw9", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis9PresentOnAdmissionCode", + "ccwMapping": [ + "CLM_POA_IND_SW9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].extension[N].valueCoding.code", + "fhirPath": "diagnosis.where(type.coding.where(code = 'principal' or code = 'other')).extension.where(url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw9').valueCoding.code", + "discriminator": [ + "diagnosis[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw9'", + "" + ], + "additional": [ + "eob.diagnosis[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw9'", + "eob.diagnosis[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'" + ], + "derived": "", + "note": "The POA code correlates to the diagnosis code based upon the number. Ie 'Diagnosis Code 3 Present on Admission' relates to 'Diagnosis Code 3'.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw1\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 2,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A40\",\\n \"display\": \"STREPTOCOCCAL SEPSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-diagnosistype\",\\n \"code\": \"principal\",\\n \"display\": \"Principal Diagnosis\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw2\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 3,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw3\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 4,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw4\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 5,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A15\",\\n \"display\": \"RESPIRATORY TUBERCULOSIS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_poa_ind_sw5\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 6,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B01\",\\n \"display\": \"VARICELLA [CHICKENPOX]\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0089_clm_pps_cptl_drg_wt_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0089_clm_pps_cptl_drg_wt_num.json new file mode 100644 index 0000000000..9fed1d9ad4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0089_clm_pps_cptl_drg_wt_num.json @@ -0,0 +1,41 @@ +{ + "id": 89, + "name": "Claim PPS Capital DRG Weight Number", + "description": "The number used to determine a transfer adjusted case mix index for capital, under the prospective payment system (PPS). The number is determined by multiplying the Diagnosis Related Group Code (DRG) weight times the discharge fraction.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_drg_wt_num", + "bfdDbType": "NUM", + "bfdDbSize": 8, + "bfdJavaFieldName": "claimPPSCapitalDrgWeightNumber", + "ccwMapping": [ + "CLM_PPS_CPTL_DRG_WT_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedUnsignedInt", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_drg_wt_num')).usedUnsignedInt", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_drg_wt_num'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].code = 'Claim PPS Capital DRG Weight Number'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_drg_wt_num\",\\n \"display\": \"Claim PPS Capital DRG Weight Number\"\\n }\\n ]\\n },\\n \"usedUnsignedInt\": 1\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0090_clm_pps_cptl_dsprprtnt_shr_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0090_clm_pps_cptl_dsprprtnt_shr_amt.json new file mode 100644 index 0000000000..67e227fea1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0090_clm_pps_cptl_dsprprtnt_shr_amt.json @@ -0,0 +1,46 @@ +{ + "id": 90, + "name": "Claim PPS Capital Disproportionate Share Amount", + "description": "The amount of disproportionate share (rate reflecting indigent population served) portion of the PPS payment for capital.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_dsprprtnt_shr_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSCapitalDisproportionateShareAmt", + "ccwMapping": [ + "CLM_PPS_CPTL_DSPRPRTNT_SHR_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_MDCR_IP_PPS_DSPRPRTNT_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_dsprprtnt_shr_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_dsprprtnt_shr_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Capital Disproportionate Share Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_dsprprtnt_shr_amt\",\\n \"display\": \"Claim PPS Capital Disproportionate Share Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 25.09,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0091_clm_pps_cptl_excptn_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0091_clm_pps_cptl_excptn_amt.json new file mode 100644 index 0000000000..38a7b2048a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0091_clm_pps_cptl_excptn_amt.json @@ -0,0 +1,43 @@ +{ + "id": 91, + "name": "Claim PPS Capital Exception Amount", + "description": "The capital PPS amount of exception payments provided for hospitals with inordinately high levels of capital obligations. Exception payments expire at the end of the 10-year transition period.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_excptn_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSCapitalExceptionAmount", + "ccwMapping": [ + "CLM_PPS_CPTL_EXCPTN_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_excptn_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_excptn_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Capital Exception Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_excptn_amt\",\\n \"display\": \"Claim PPS Capital Exception Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0092_clm_pps_cptl_fsp_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0092_clm_pps_cptl_fsp_amt.json new file mode 100644 index 0000000000..7595703081 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0092_clm_pps_cptl_fsp_amt.json @@ -0,0 +1,43 @@ +{ + "id": 92, + "name": "Claim PPS Capital FSP Amount", + "description": "The amount of the federal specific portion of the PPS payment for capital.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_fsp_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSCapitalFSPAmount", + "ccwMapping": [ + "CLM_PPS_CPTL_FSP_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_fsp_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_fsp_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Capital Federal Specific Portion (FSP) Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_fsp_amt\",\\n \"display\": \"Claim PPS Capital Federal Specific Portion (FSP) Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 552.56,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0093_clm_pps_cptl_ime_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0093_clm_pps_cptl_ime_amt.json new file mode 100644 index 0000000000..2ff8a0ea81 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0093_clm_pps_cptl_ime_amt.json @@ -0,0 +1,46 @@ +{ + "id": 93, + "name": "Claim PPS Capital IME Amount", + "description": "The amount of the indirect medical education (IME) (reimbursable amount for teaching hospitals only; an added amount passed by Congress to augment normal prospective payment system [PPS] payments for teaching hospitals to compensate them for higher patient costs resulting from medical education programs for interns and residents) portion of the PPS payment for capital.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_ime_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSCapitalIMEAmount", + "ccwMapping": [ + "CLM_PPS_CPTL_IME_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_MDCR_IP_PPS_CPTL_IME_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_ime_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_ime_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Capital Indirect Medical Education (IME) Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_ime_amt\",\\n \"display\": \"Claim PPS Capital Indirect Medical Education (IME) Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 68.58,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0094_clm_pps_cptl_outlier_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0094_clm_pps_cptl_outlier_amt.json new file mode 100644 index 0000000000..2787c2f3bb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0094_clm_pps_cptl_outlier_amt.json @@ -0,0 +1,43 @@ +{ + "id": 94, + "name": "Claim PPS Capital Outlier Amount", + "description": "The amount of the outlier portion of the PPS payment for capital.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_cptl_outlier_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSCapitalOutlierAmount", + "ccwMapping": [ + "CLM_PPS_CPTL_OUTLIER_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_outlier_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_outlier_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Capital Outlier Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_cptl_outlier_amt\",\\n \"display\": \"Claim PPS Capital Outlier Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0095_clm_pps_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0095_clm_pps_ind_cd.json new file mode 100644 index 0000000000..e4cd443e72 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0095_clm_pps_ind_cd.json @@ -0,0 +1,45 @@ +{ + "id": 95, + "name": "Prospective Payment Indicator Code", + "description": "The code indicating whether or not: (1) the claim is from the prospective payment system (PPS), and/or (2) the beneficiary is a deemed insured MQGE (Medicare Qualified Government Employee)", + "appliesTo": [ + "HHA", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "prospectivePaymentCode", + "ccwMapping": [ + "CLM_PPS_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/clm_pps_ind_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_pps_ind_cd'", + "" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].display = 'Claim PPS Indicator Code'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 5,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_ind_cd\",\\n \"display\": \"Claim PPS Indicator Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_ind_cd\",\\n \"code\": \"2\",\\n \"display\": \"PPS bill; claim contains PPS indicator\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0096_clm_pps_old_cptl_hld_hrmls_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0096_clm_pps_old_cptl_hld_hrmls_amt.json new file mode 100644 index 0000000000..8ee684fccf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0096_clm_pps_old_cptl_hld_hrmls_amt.json @@ -0,0 +1,43 @@ +{ + "id": 96, + "name": "Claim PPS Old Capital Hold Harmless Amount", + "description": "This amount is the hold harmless amount payable for old capital as computed by PRICER for providers with a payment code equal to 'A'.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_pps_old_cptl_hld_hrmls_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimPPSOldCapitalHoldHarmlessAmount", + "ccwMapping": [ + "CLM_PPS_OLD_CPTL_HLD_HRMLS_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_pps_old_cptl_hld_hrmls_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_pps_old_cptl_hld_hrmls_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim PPS Old Capital Hold Harmless Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_pps_old_cptl_hld_hrmls_amt\",\\n \"display\": \"Claim PPS Old Capital Hold Harmless Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0097_clm_src_ip_admsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0097_clm_src_ip_admsn_cd.json new file mode 100644 index 0000000000..abac7a698f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0097_clm_src_ip_admsn_cd.json @@ -0,0 +1,50 @@ +{ + "id": 97, + "name": "Source Admission Code", + "description": "The code indicating the source of the referral for the admission or visit.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_src_ip_admsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "sourceAdmissionCd", + "ccwMapping": [ + "CLM_SRC_IP_ADMSN_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_ADMSN_SRC_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim Source Inpatient Admission Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 4,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd\",\\n \"display\": \"Claim Source Inpatient Admission Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd\",\\n \"code\": \"4\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0098_clm_srvc_clsfctn_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0098_clm_srvc_clsfctn_type_cd.json new file mode 100644 index 0000000000..22ced35116 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0098_clm_srvc_clsfctn_type_cd.json @@ -0,0 +1,47 @@ +{ + "id": 98, + "name": "Claim Service Classification Type Code", + "description": "The type of service provided to the beneficiary.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_srvc_clsfctn_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimServiceClassificationTypeCode", + "ccwMapping": [ + "CLM_SRVC_CLSFCTN_TYPE_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_BILL_CLSFCTN_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_srvc_clsfctn_type_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/clm_srvc_clsfctn_type_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_srvc_clsfctn_type_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_srvc_clsfctn_type_cd\",\\n \"code\": \"1\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0099_clm_thru_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0099_clm_thru_dt.json new file mode 100644 index 0000000000..bc97a53820 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0099_clm_thru_dt.json @@ -0,0 +1,51 @@ +{ + "id": 99, + "name": "Claim Through Date", + "description": "The last day on the billing statement covering services rendered to the beneficiary (a.k.a. 'Statement Covers Thru Date').", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_thru_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "dateThrough", + "ccwMapping": [ + "CLM_THRU_DT" + ], + "cclfMapping": [ + "CCLF1.CLM_THRU_DT", + "CCLF2.CLM_THRU_DT", + "CCLF3.CLM_THRU_DT", + "CCLF4.CLM_THRU_DT", + "CCLF5.CLM_THRU_DT", + "CCLF6.CLM_THRU_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "billablePeriod.end", + "fhirPath": "billablePeriod.end", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"1999-10-27\",\\n \"end\": \"1999-10-27\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0100_clm_tot_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0100_clm_tot_chrg_amt.json new file mode 100644 index 0000000000..0b7e033373 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0100_clm_tot_chrg_amt.json @@ -0,0 +1,53 @@ +{ + "id": 100, + "name": "Total Charge Amount", + "description": "The total charges for all services included on the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_tot_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "totalChargeAmount", + "ccwMapping": [ + "CLM_TOT_CHRG_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_MDCR_INSTNL_TOT_CHRG_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "total[N].amount.value", + "fhirPath": "total.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt')).amount.value", + "discriminator": [ + "total[N].category[N].coding.system' : 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "total[N].category[N].coding.code = 'https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt'", + "" + ], + "additional": [ + "eob.total[N].amount.code = 'USD'", + "eob.total[N].amount.system = 'urn:iso:std:iso:4217'", + "eob.total[N].category[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.total[N].category[N].code = 'submitted'", + "eob.total[N].category[N].display = 'Submitted Amount'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_tot_chrg_amt\",\\n \"display\": \"Claim Total Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 84999.37,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0101_clm_tot_pps_cptl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0101_clm_tot_pps_cptl_amt.json new file mode 100644 index 0000000000..843199d96e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0101_clm_tot_pps_cptl_amt.json @@ -0,0 +1,42 @@ +{ + "id": 101, + "name": "Claim Total PPS Capital Amount", + "description": "The total amount that is payable for capital for the prospective payment system (PPS) claim.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_tot_pps_cptl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "claimTotalPPSCapitalAmount", + "ccwMapping": [ + "CLM_TOT_PPS_CPTL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_tot_pps_cptl_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_tot_pps_cptl_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Total PPS Capital Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_tot_pps_cptl_amt\",\\n \"display\": \"Claim Total PPS Capital Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 646.23,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0102_clm_utlztn_day_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0102_clm_utlztn_day_cnt.json new file mode 100644 index 0000000000..64170f29b8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0102_clm_utlztn_day_cnt.json @@ -0,0 +1,43 @@ +{ + "id": 102, + "name": "Utilization Day Count", + "description": "On an institutional claim, the number of covered days of care that are chargeable to Medicare facility utilization that includes full days, coinsurance days, and lifetime reserve days. It excludes any days classified as non-covered, leave of absence days, and the day of discharge or death.", + "appliesTo": [ + "Inpatient", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_utlztn_day_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "utilizationDayCount", + "ccwMapping": [ + "CLM_UTLZTN_DAY_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedUnsignedInt", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(code='https://bluebutton.cms.gov/resources/variables/clm_utlztn_day_cnt')).usedUnsignedInt", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/clm_utlztn_day_cnt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Claim Medicare Utilization Day Count'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/clm_utlztn_day_cnt\",\\n \"display\": \"Claim Medicare Utilization Day Count\"\\n }\\n ]\\n },\\n \"usedUnsignedInt\": 12\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0103_cmpnd_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0103_cmpnd_cd.json new file mode 100644 index 0000000000..7fd890001e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0103_cmpnd_cd.json @@ -0,0 +1,43 @@ +{ + "id": 103, + "name": "Compound Code", + "description": "This field indicates whether or not the dispensed drug was compounded or mixed.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "cmpnd_cd", + "bfdDbType": "NUM", + "bfdDbSize": 2, + "bfdJavaFieldName": "compoundCode", + "ccwMapping": [ + "CMPND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'compoundcode'", + "eob.supportingInfo[N].category.coding[N].display = 'Compound Code')", + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "If Compound Code = 1 then eob.supportingInfo[N].code.coding[N].code = 'RXCINV'. If Compound Code = 2 then eob.supportingInfo[N].code.coding[N].code = 'RXDINV'. If Compound Code = 0 then none of the fields in FHIR are set", + "note": "", + "example": "[\\n {\\n \"sequence\": 1,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"compoundcode\",\\n \"display\": \"Compound Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\\n \"code\": \"RXDINV\",\\n \"display\": \"Rx dispense invoice\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0104_ctstrphc_cvrg_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0104_ctstrphc_cvrg_cd.json new file mode 100644 index 0000000000..a8448f8a70 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0104_ctstrphc_cvrg_cd.json @@ -0,0 +1,45 @@ +{ + "id": 104, + "name": "Catastrophic Coverage Code", + "description": "This variable indicates whether the PDE occurred within the catastrophic benefit phase of the Medicare Part D benefit, according to the source PDE.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ctstrphc_cvrg_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "catastrophicCoverageCode", + "ccwMapping": [ + "CTSTRPHC_CVRG_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system = 'https://bluebutton.cms.gov/resources/variables/ctstrphc_cvrg_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system ='https://bluebutton.cms.gov/resources/variables/ctstrphc_cvrg_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/ctstrphc_cvrg_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Catastrophic Coverage Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 10,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/ctstrphc_cvrg_cd\",\\n \"display\": \"Catastrophic Coverage Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/ctstrphc_cvrg_cd\",\\n \"code\": \"C\",\\n \"display\": \"Above attachment point\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0105_cvrd_d_plan_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0105_cvrd_d_plan_pd_amt.json new file mode 100644 index 0000000000..ef94888ba9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0105_cvrd_d_plan_pd_amt.json @@ -0,0 +1,45 @@ +{ + "id": 105, + "name": "Covered D Plan Paid Amount", + "description": "This is the net amount that the Part D plan paid for a PDE that was covered by the Medicare Part D benefit.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "cvrd_d_plan_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "partDPlanCoveredPaidAmount", + "ccwMapping": [ + "CVRD_D_PLAN_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(code = 'https://bluebutton.cms.gov/resources/variables/cvrd_d_plan_pd_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/cvrd_d_plan_pd_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'benefit'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Benefit Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount paid by Part D plan for the PDE (drug is covered by Part D)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "This value is only supplied if Drug Coverage Status Code = 'C'. See \"Drug Coverage Status Code\" and https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd/", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"benefit\",\\n \"display\": \"Benefit Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/cvrd_d_plan_pd_amt\",\\n \"display\": \"Amount paid by Part D plan for the PDE (drug is covered by Part D)\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 126.99,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0106_daw_prod_slctn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0106_daw_prod_slctn_cd.json new file mode 100644 index 0000000000..7a4a2870e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0106_daw_prod_slctn_cd.json @@ -0,0 +1,49 @@ +{ + "id": 106, + "name": "Dispense as Written Product Selection Code", + "description": "This field indicates the prescriber's instruction regarding substitution of generic equivalents or order to dispense the specific prescribed medication.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "daw_prod_slctn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "dispenseAsWrittenProductSelectionCode", + "ccwMapping": [ + "DAW_PROD_SLCTN_CD" + ], + "cclfMapping": [ + "CCLF7.CLM_DAW_PROD_SLCTN_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system = 'https://bluebutton.cms.gov/resources/variables/daw_prod_slctn_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system ='https://bluebutton.cms.gov/resources/variables/daw_prod_slctn_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/daw_prod_slctn_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Dispense as Written (DAW) Product Selection Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 5,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/daw_prod_slctn_cd\",\\n \"display\": \"Dispense as Written (DAW) Product Selection Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/daw_prod_slctn_cd\",\\n \"code\": \"0\",\\n \"display\": \"No Product Selection Indicated (may also have missing values)\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0107_days_suply_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0107_days_suply_num.json new file mode 100644 index 0000000000..71bc5c6b6f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0107_days_suply_num.json @@ -0,0 +1,44 @@ +{ + "id": 107, + "name": "Days Supply", + "description": "This field indicates the number of days' supply of medication dispensed by the pharmacy and consists of the amount the pharmacy enters for the prescription.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "days_suply_num", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "daysSupply", + "ccwMapping": [ + "DAYS_SUPLY_NUM" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_DAYS_SUPLY_QTY" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].valueQuantity.value", + "fhirPath": "supportingInfo.where(category.coding.where(code='dayssupply')).valueQuantity.value", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "supportingInfo[N].category.coding[N].code = 'dayssupply'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = 'Days Supply'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 3,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"dayssupply\",\\n \"display\": \"Days Supply\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 30\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0108_dmerc_line_mtus_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0108_dmerc_line_mtus_cd.json new file mode 100644 index 0000000000..525ed2a68d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0108_dmerc_line_mtus_cd.json @@ -0,0 +1,41 @@ +{ + "id": 108, + "name": "DMERC MTUS Indicator Code", + "description": "Code indicating the units associated with services needing unit reporting on the line item for the DMERC service.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "dmerc_line_mtus_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "mtusCode", + "ccwMapping": [ + "DMERC_LINE_MTUS_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueQuantity.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt').valueQuantity.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt'", + "" + ], + "additional": [ + "eob.item[N].extension[N].valueQuantity.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt\",\\n \"valueQuantity\": {\\n \"value\": 60.234,\\n \"unit\": \"Number of services\",\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cd\",\\n \"code\": \"3\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0109_dmerc_line_mtus_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0109_dmerc_line_mtus_cnt.json new file mode 100644 index 0000000000..1ee6020804 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0109_dmerc_line_mtus_cnt.json @@ -0,0 +1,40 @@ +{ + "id": 109, + "name": "DMERC MTUS Count", + "description": "The count of the total units associated with services needing unit reporting such as number of supplies, volume of oxygen or nutritional units.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "dmerc_line_mtus_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 11, + "bfdJavaFieldName": "mtusCount", + "ccwMapping": [ + "DMERC_LINE_MTUS_CNT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueQuantity.value", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt').valueQuantity.value", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt'" + ], + "additional": [ + "eob.item[N].extension[N].valueQuantity.unit = 'Number of services'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cnt\",\\n \"valueQuantity\": {\\n \"value\": 60.234,\\n \"unit\": \"Number of services\",\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_mtus_cd\",\\n \"code\": \"3\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0110_dmerc_line_prcng_state_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0110_dmerc_line_prcng_state_cd.json new file mode 100644 index 0000000000..4036f5cbb3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0110_dmerc_line_prcng_state_cd.json @@ -0,0 +1,41 @@ +{ + "id": 110, + "name": "Pricing State Code", + "description": "The 2-digit SSA state code where the durable medical equipment (DME) supplier was located; used by the Medicare Administrative Contractor (MAC) for pricing the service.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "dmerc_line_prcng_state_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "pricingStateCode", + "ccwMapping": [ + "DMERC_LINE_PRCNG_STATE_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_prcng_state_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_prcng_state_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_prcng_state_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_prcng_state_cd\",\\n \"code\": \"AL\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0111_dmerc_line_scrn_svgs_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0111_dmerc_line_scrn_svgs_amt.json new file mode 100644 index 0000000000..72093de165 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0111_dmerc_line_scrn_svgs_amt.json @@ -0,0 +1,38 @@ +{ + "id": 111, + "name": "Screen Savings Amount", + "description": "The amount of savings attributable to the coverage screen for this DMERC line item.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "dmerc_line_scrn_svgs_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "screenSavingsAmount", + "ccwMapping": [ + "DMERC_LINE_SCRN_SVGS_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueQuantity.value", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_scrn_svgs_amt').valueQuantity.value", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_scrn_svgs_amt'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_scrn_svgs_amt\",\\n \"valueQuantity\": {\\n \"value\": 0\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0112_dmerc_line_supplr_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0112_dmerc_line_supplr_type_cd.json new file mode 100644 index 0000000000..a8ec1a3534 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0112_dmerc_line_supplr_type_cd.json @@ -0,0 +1,42 @@ +{ + "id": 112, + "name": "Supplier Type Code", + "description": "The type of DMERC supplier.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "dmerc_line_supplr_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "supplierTypeCode", + "ccwMapping": [ + "DMERC_LINE_SUPPLR_TYPE_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_supplr_type_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_supplr_type_cd'", + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dmerc_line_supplr_type_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_supplr_type_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dmerc_line_supplr_type_cd\",\\n \"code\": \"3\",\\n \"display\": \"Suppliers (other than sole proprietorship) for whom employer identification (EI) numbers are used in coding the ID field.\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0113_drug_cvrg_stus_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0113_drug_cvrg_stus_cd.json new file mode 100644 index 0000000000..71712768e5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0113_drug_cvrg_stus_cd.json @@ -0,0 +1,53 @@ +{ + "id": 113, + "name": "Drug Coverage Status Code", + "description": "This field indicates whether or not the drug is covered by Medicare Part D.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "drug_cvrg_stus_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "drugCoverageStatusCode", + "ccwMapping": [ + "DRUG_CVRG_STUS_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code; item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd'", + "item[N].adjudication[N].reason.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information'", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Drug Coverage Status Code')", + "eob.item[N].adjudication[N].reason.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/cvrd_d_plan_pd_amt'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount paid by Part D plan for the PDE (drug is covered by Part D)'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount paid by Part D plan for the PDE (drug is not covered by Part D)'", + "" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 4,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd\",\\n \"display\": \"Drug Coverage Status Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd\",\\n \"code\": \"C\",\\n \"display\": \"Covered\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0114_dsh_op_clm_val_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0114_dsh_op_clm_val_amt.json new file mode 100644 index 0000000000..cfbb460cfd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0114_dsh_op_clm_val_amt.json @@ -0,0 +1,43 @@ +{ + "id": 114, + "name": "Operating Disproportionate Share Amount", + "description": "This is one component of the total amount that is payable on prospective payment system (PPS) claims and reflects the DSH (disproportionate share hospital) payments for operating expenses (such as labor) for the claim.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "dsh_op_clm_val_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "disproportionateShareAmount", + "ccwMapping": [ + "DSH_OP_CLM_VAL_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_OPRTNL_DSPRTNT_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueMoney.value", + "fhirPath": "extension.where(url = 'https://bluebutton.cms.gov/resources/variables/dsh_op_clm_val_amt').valueMoney.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dsh_op_clm_val_amt'" + ], + "additional": [ + "eob.extension[N].valueMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dsh_op_clm_val_amt\",\\n \"valueMoney\": {\\n \"value\": 25,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0115_dspnsng_stus_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0115_dspnsng_stus_cd.json new file mode 100644 index 0000000000..9f059d0693 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0115_dspnsng_stus_cd.json @@ -0,0 +1,48 @@ +{ + "id": 115, + "name": "Dispensing Status Code", + "description": "This field indicates how the pharmacy dispensed the complete quantity of the prescription.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "dspnsng_stus_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "dispensingStatusCode", + "ccwMapping": [ + "DSPNSNG_STUS_CD" + ], + "cclfMapping": [ + "CCLF7.CLM_DSPNSNG_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/dspnsng_stus_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/dspnsng_stus_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/dspnsng_stus_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Dispensing Status Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 6,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/dspnsng_stus_cd\",\\n \"display\": \"Dispensing Status Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dspnsng_stus_cd\",\\n \"code\": \"P\",\\n \"display\": \"Partial fill\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0116_fi_clm_actn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0116_fi_clm_actn_cd.json new file mode 100644 index 0000000000..5d10051154 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0116_fi_clm_actn_cd.json @@ -0,0 +1,41 @@ +{ + "id": 116, + "name": "FI Claim Action Code", + "description": "The type of action requested by the intermediary to be taken on an institutional claim.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fi_clm_actn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "fiscalIntermediaryClaimActionCode", + "ccwMapping": [ + "FI_CLM_ACTN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/fi_clm_actn_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/fi_clm_actn_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/fi_clm_actn_cd'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/fi_clm_actn_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/fi_clm_actn_cd\",\\n \"code\": \"1\",\\n \"display\": \"Original debit action (always a 1 for all regular bills)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0117_fi_clm_proc_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0117_fi_clm_proc_dt.json new file mode 100644 index 0000000000..a0d018affd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0117_fi_clm_proc_dt.json @@ -0,0 +1,42 @@ +{ + "id": 117, + "name": "FI Claim Process Date", + "description": "The date the fiscal intermediary completes processing and releases the institutional claim to the CMS common working file (CWF; stored in the NCH).", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fi_clm_proc_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "fiscalIntermediaryClaimProcessDate", + "ccwMapping": [ + "FI_CLM_PROC_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueDate", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/fi_clm_proc_dt').valueDate", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/fi_clm_proc_dt/'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/fi_clm_proc_dt\",\\n \"valueDate\": \"2016-02-19\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0118_fi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0118_fi_num.json new file mode 100644 index 0000000000..392fceaf7e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0118_fi_num.json @@ -0,0 +1,41 @@ +{ + "id": 118, + "name": "FI Number", + "description": "The identification number assigned by CMS to a fiscal intermediary (FI) authorized to process institutional claim records.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "fiscalIntermediaryNumber", + "ccwMapping": [ + "FI_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueIdentifier.value", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/fi_num').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/fi_num'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/fi_num\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/fi_num\",\\n \"code\": \"8299\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0119_fill_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0119_fill_num.json new file mode 100644 index 0000000000..63f3b114f4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0119_fill_num.json @@ -0,0 +1,44 @@ +{ + "id": 119, + "name": "Fill Number", + "description": "This field indicates the number fill of the current dispensed supply.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fill_num", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "fillNumber", + "ccwMapping": [ + "FILL_NUM" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_RX_FILL_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].valueQuantity.value", + "fhirPath": "supportingInfo.where(category.coding.where(code='refillnum')).valueQuantity.value", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "supportingInfo[N].category.coding[N].code = 'refillnum'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = 'Refill Number'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 2,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"refillnum\",\\n \"display\": \"Refill Number\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 3\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0120_final_action.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0120_final_action.json new file mode 100644 index 0000000000..ccda4c0920 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0120_final_action.json @@ -0,0 +1,44 @@ +{ + "id": 120, + "name": "Final Action", + "description": "Indicator to demonstrate if a claim is still 'active' or not ('cancelled'). Final action records are only indicative of the latest accepted record within a claim family that has been linked by the Medicare Advantage Organization (MAO) and may not be indicative of risk-adjustment eligibility.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "final_action", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "finalAction", + "ccwMapping": [ + "FINAL_ACTION" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "status", + "fhirPath": "status", + "discriminator": [], + "additional": [], + "derived": "If = 'F' then 'ACTIVE' else if = 'N' then 'CANCELLED'", + "note": "", + "example": "[\\n \"active\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0121_fst_dgns_e_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0121_fst_dgns_e_cd.json new file mode 100644 index 0000000000..52e9729f67 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0121_fst_dgns_e_cd.json @@ -0,0 +1,50 @@ +{ + "id": 121, + "name": "External Diagnosis First Code", + "description": "The code used to identify the 1st external cause of injury, poisoning, or other adverse effect. This diagnosis E code is also stored as the 1st occurrence of the diagnosis E code trailer.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fst_dgns_e_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternalFirstCode", + "ccwMapping": [ + "FST_DGNS_E_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis'", + "Depending upon the related External First Diagnosis Code Version:", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'" + ], + "derived": "", + "note": "For HHA claims, use discriminator diagnosis[N].type[N].coding[N].code = 'secondary'; For all other institutional claims (Outpatient, Inpatient, Hospice, SNF), use diagnosis[N].type[N].coding[N].code = 'externalcauseofinjury' as discriminator", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0122_fst_dgns_e_vrsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0122_fst_dgns_e_vrsn_cd.json new file mode 100644 index 0000000000..e8480679d2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0122_fst_dgns_e_vrsn_cd.json @@ -0,0 +1,45 @@ +{ + "id": 122, + "name": "External Diagnosis First Code Version", + "description": "The code used to indicate if the diagnosis E code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fst_dgns_e_vrsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternalFirstCodeVersion", + "ccwMapping": [ + "FST_DGNS_E_VRSN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'. IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "For HHA claims, use discriminator diagnosis[N].type[N].coding[N].code = 'secondary'; For all other institutional claims (Outpatient, Inpatient, Hospice, SNF), use diagnosis[N].type[N].coding[N].code = 'externalcauseofinjury' as discriminator", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0123_gdc_abv_oopt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0123_gdc_abv_oopt_amt.json new file mode 100644 index 0000000000..a715f0875e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0123_gdc_abv_oopt_amt.json @@ -0,0 +1,45 @@ +{ + "id": 123, + "name": "Gross Drug Cost Above Out Of Pocket Threshold", + "description": "This variable is the portion of the gross drug cost for the prescription drug fill that was covered by Part D\u2019s catastrophic coverage.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "gdc_abv_oopt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "grossCostAboveOutOfPocketThreshold", + "ccwMapping": [ + "GDC_ABV_OOPT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(code = 'https://bluebutton.cms.gov/resources/variables/gdc_abv_oopt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/gdc_abv_oopt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'coinsurance'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Co-insurance')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Gross Drug Cost Above Part D Out-of-Pocket Threshold (GDCA)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"coinsurance\",\\n \"display\": \"Co-insurance\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/gdc_abv_oopt_amt\",\\n \"display\": \"Gross Drug Cost Above Part D Out-of-Pocket Threshold (GDCA)\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 15.25,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0124_gdc_blw_oopt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0124_gdc_blw_oopt_amt.json new file mode 100644 index 0000000000..61a9b6747c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0124_gdc_blw_oopt_amt.json @@ -0,0 +1,45 @@ +{ + "id": 124, + "name": "Gross Drug Cost Below Out Of Pocket Threshold", + "description": "This variable is the portion of the gross drug cost for the prescription drug fill that was not covered by Part D\u2019s catastrophic coverage.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "gdc_blw_oopt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "grossCostBelowOutOfPocketThreshold", + "ccwMapping": [ + "GDC_BLW_OOPT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(code = 'https://bluebutton.cms.gov/resources/variables/gdc_blw_oopt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/gdc_blw_oopt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'coinsurance'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Co-insurance')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Gross Drug Cost Below Part D Out-of-Pocket Threshold (GDCB)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"coinsurance\",\\n \"display\": \"Co-insurance\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/gdc_blw_oopt_amt\",\\n \"display\": \"Gross Drug Cost Below Part D Out-of-Pocket Threshold (GDCB)\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 995.34,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0125_hcpcs_1st_mdfr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0125_hcpcs_1st_mdfr_cd.json new file mode 100644 index 0000000000..14d777120c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0125_hcpcs_1st_mdfr_cd.json @@ -0,0 +1,45 @@ +{ + "id": 125, + "name": "HCPCS Initial Modifier Code", + "description": "A first modifier to the Healthcare Common Procedure Coding System (HCPCS) procedure code to enable a more specific procedure identification for the revenue center or line-item service for the claim.", + "appliesTo": [ + "Carrier", + "Outpatient", + "HHA", + "DME", + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "hcpcs_1st_mdfr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "hcpcsInitialModifierCode", + "ccwMapping": [ + "HCPCS_1ST_MDFR_CD" + ], + "cclfMapping": [ + "CCLF2.HCPCS_1_MDFR_CD", + "CCLF5.HCPCS_1_MDFR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].code", + "fhirPath": "item[%n].modifier.where(coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs')).coding.code", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs'" + ], + "additional": [], + "derived": "", + "note": "The eob.item[N].modifier[N].coding[N].version is set by the hcpcs year.", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\\n \"version\": \"5\",\\n \"code\": \"LT\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0126_hcpcs_2nd_mdfr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0126_hcpcs_2nd_mdfr_cd.json new file mode 100644 index 0000000000..bc24ecd5e9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0126_hcpcs_2nd_mdfr_cd.json @@ -0,0 +1,45 @@ +{ + "id": 126, + "name": "HCPCS Second Modifier Code", + "description": "A second modifier to the Healthcare Common Procedure Coding System (HCPCS) procedure code to make it more specific than the first modifier code to identify the revenue center or line-item service for the claim.", + "appliesTo": [ + "Carrier", + "Outpatient", + "HHA", + "DME", + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "hcpcs_2nd_mdfr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "hcpcsSecondModifierCode", + "ccwMapping": [ + "HCPCS_2ND_MDFR_CD" + ], + "cclfMapping": [ + "CCLF2.HCPCS_2_MDFR_CD", + "CCLF5.HCPCS_2_MDFR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].code", + "fhirPath": "item[%n].modifier.where(coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs')).coding.code", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs'" + ], + "additional": [], + "derived": "", + "note": "The eob.item[N].modifier[N].coding[N].version is set by the hcpcs year.", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\\n \"version\": \"5\",\\n \"code\": \"LT\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0127_hcpcs_3rd_mdfr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0127_hcpcs_3rd_mdfr_cd.json new file mode 100644 index 0000000000..009e3d21b2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0127_hcpcs_3rd_mdfr_cd.json @@ -0,0 +1,41 @@ +{ + "id": 127, + "name": "HCPCS Third Modifier Code", + "description": "A third modifier to the Healthcare Common Procedure Coding System (HCPCS) procedure code to make it more specific than the first or second modifier codes to identify the revenue center or line-item services for the claim.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "hcpcs_3rd_mdfr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "hcpcsThirdModifierCode", + "ccwMapping": [ + "HCPCS_3RD_MDFR_CD" + ], + "cclfMapping": [ + "CCLF2.HCPCS_3_MDFR_CD", + "CCLF5.HCPCS_3_MDFR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].code", + "fhirPath": "item[%n].modifier.where(coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs')).coding.code", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs'" + ], + "additional": [], + "derived": "", + "note": "The eob.item[N].modifier[N].coding[N].version is set by the hcpcs year.", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\\n \"version\": \"3\",\\n \"code\": \"YY\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0128_hcpcs_4th_mdfr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0128_hcpcs_4th_mdfr_cd.json new file mode 100644 index 0000000000..fe2c025cc2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0128_hcpcs_4th_mdfr_cd.json @@ -0,0 +1,41 @@ +{ + "id": 128, + "name": "HCPCS Fourth Modifier Code", + "description": "A fourth modifier to the Healthcare Common Procedure Coding System (HCPCS) procedure code to make it more specific than the first, second, or third modifier codes identify the revenue center or line-item services for the claim.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "hcpcs_4th_mdfr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "hcpcsFourthModifierCode", + "ccwMapping": [ + "HCPCS_4TH_MDFR_CD" + ], + "cclfMapping": [ + "CCLF2.HCPCS_4_MDFR_CD", + "CCLF5.HCPCS_4_MDFR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].code", + "fhirPath": "item[%n].modifier.where(coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs')).coding.code", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/hcpcs'" + ], + "additional": [], + "derived": "", + "note": "The eob.item[N].modifier[N].coding[N].version is set by the hcpcs year.", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\\n \"version\": \"3\",\\n \"code\": \"YY\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0129_hcpcs_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0129_hcpcs_cd.json new file mode 100644 index 0000000000..31cf30afa8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0129_hcpcs_cd.json @@ -0,0 +1,52 @@ +{ + "id": 129, + "name": "HCPCS Code", + "description": "The Healthcare Common Procedure Coding System (HCPCS) is a collection of codes that represent procedures, supplies, products, and services which may be provided to Medicare beneficiaries and to individuals enrolled in private health insurance programs.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "hcpcs_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "hcpcsCode", + "ccwMapping": [ + "HCPCS_CD" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_HCPCS_CD", + "CCLF5.CLM_LINE_HCPCS_CD", + "CCLF6.CLM_LINE_HCPCS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].productOrService.coding[N].code", + "fhirPath": "item[%n].productOrService.coding.where(system = 'https://bluebutton.cms.gov/resources/variables/hcpcs_cd').code", + "discriminator": [ + "item[N].productOrService.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/hcpcs_cd'" + ], + "additional": [ + "eob.item[N].productOrService.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/hcpcs_cd\",\\n \"code\": \"M55\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0130_hpsa_scrcty_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0130_hpsa_scrcty_ind_cd.json new file mode 100644 index 0000000000..61aaae48bf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0130_hpsa_scrcty_ind_cd.json @@ -0,0 +1,31 @@ +{ + "id": 130, + "name": "HPSA Scarcity Code", + "description": "The code used to track health professional shortage area (HPSA) and physician scarcity bonus payments on carrier claims.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM", + "bfdColumnName": "hpsa_scrcty_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "hpsaScarcityCode", + "ccwMapping": [ + "HPSA_SCRCTY_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0131_icd_dgns_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0131_icd_dgns_cd1.json new file mode 100644 index 0000000000..026be25ef0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0131_icd_dgns_cd1.json @@ -0,0 +1,53 @@ +{ + "id": 131, + "name": "Diagnosis Code 1", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis1Code", + "ccwMapping": [ + "ICD_DGNS_CD1" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='principal' or code='secondary' or code='other'))[0].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('principal','other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "The first diagnosis in the list is also marked as the Principal Diagnosis within the list of diagnosis even if there is a supplied principal diagnosis and they have different values. ", + "example": "[\\n \"A02\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0132_icd_dgns_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0132_icd_dgns_cd10.json new file mode 100644 index 0000000000..85d5edca65 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0132_icd_dgns_cd10.json @@ -0,0 +1,53 @@ +{ + "id": 132, + "name": "Diagnosis Code 10", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis10Code", + "ccwMapping": [ + "ICD_DGNS_CD10" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_10_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[9].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0133_icd_dgns_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0133_icd_dgns_cd11.json new file mode 100644 index 0000000000..d74b572e65 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0133_icd_dgns_cd11.json @@ -0,0 +1,53 @@ +{ + "id": 133, + "name": "Diagnosis Code 11", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis11Code", + "ccwMapping": [ + "ICD_DGNS_CD11" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_11_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[10].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0134_icd_dgns_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0134_icd_dgns_cd12.json new file mode 100644 index 0000000000..2b7cea37a2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0134_icd_dgns_cd12.json @@ -0,0 +1,53 @@ +{ + "id": 134, + "name": "Diagnosis Code 12", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis12Code", + "ccwMapping": [ + "ICD_DGNS_CD12" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_12_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[11].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0135_icd_dgns_cd13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0135_icd_dgns_cd13.json new file mode 100644 index 0000000000..cbc8299a92 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0135_icd_dgns_cd13.json @@ -0,0 +1,48 @@ +{ + "id": 135, + "name": "Diagnosis Code 13", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd13", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis13Code", + "ccwMapping": [ + "ICD_DGNS_CD13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[12].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0136_icd_dgns_cd14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0136_icd_dgns_cd14.json new file mode 100644 index 0000000000..fe4b446a63 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0136_icd_dgns_cd14.json @@ -0,0 +1,48 @@ +{ + "id": 136, + "name": "Diagnosis Code 14", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd14", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis14Code", + "ccwMapping": [ + "ICD_DGNS_CD14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[13].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0137_icd_dgns_cd15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0137_icd_dgns_cd15.json new file mode 100644 index 0000000000..3a737934c9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0137_icd_dgns_cd15.json @@ -0,0 +1,48 @@ +{ + "id": 137, + "name": "Diagnosis Code 15", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd15", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis15Code", + "ccwMapping": [ + "ICD_DGNS_CD15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[14].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0138_icd_dgns_cd16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0138_icd_dgns_cd16.json new file mode 100644 index 0000000000..afc6fcedf2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0138_icd_dgns_cd16.json @@ -0,0 +1,48 @@ +{ + "id": 138, + "name": "Diagnosis Code 16", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd16", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis16Code", + "ccwMapping": [ + "ICD_DGNS_CD16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[15].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0139_icd_dgns_cd17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0139_icd_dgns_cd17.json new file mode 100644 index 0000000000..4bdeafa4d0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0139_icd_dgns_cd17.json @@ -0,0 +1,48 @@ +{ + "id": 139, + "name": "Diagnosis Code 17", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd17", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis17Code", + "ccwMapping": [ + "ICD_DGNS_CD17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[16].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0140_icd_dgns_cd18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0140_icd_dgns_cd18.json new file mode 100644 index 0000000000..6f50c9c8f8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0140_icd_dgns_cd18.json @@ -0,0 +1,48 @@ +{ + "id": 140, + "name": "Diagnosis Code 18", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd18", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis18Code", + "ccwMapping": [ + "ICD_DGNS_CD18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[17].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0141_icd_dgns_cd19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0141_icd_dgns_cd19.json new file mode 100644 index 0000000000..1f750461f5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0141_icd_dgns_cd19.json @@ -0,0 +1,48 @@ +{ + "id": 141, + "name": "Diagnosis Code 19", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd19", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis19Code", + "ccwMapping": [ + "ICD_DGNS_CD19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[18].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0142_icd_dgns_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0142_icd_dgns_cd2.json new file mode 100644 index 0000000000..5588035d58 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0142_icd_dgns_cd2.json @@ -0,0 +1,53 @@ +{ + "id": 142, + "name": "Diagnosis Code 2", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis2Code", + "ccwMapping": [ + "ICD_DGNS_CD2" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_2_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[1].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "[\\n \"A02\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0143_icd_dgns_cd20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0143_icd_dgns_cd20.json new file mode 100644 index 0000000000..53988f6301 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0143_icd_dgns_cd20.json @@ -0,0 +1,48 @@ +{ + "id": 143, + "name": "Diagnosis Code 20", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd20", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis20Code", + "ccwMapping": [ + "ICD_DGNS_CD20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[19].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0144_icd_dgns_cd21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0144_icd_dgns_cd21.json new file mode 100644 index 0000000000..88926f6229 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0144_icd_dgns_cd21.json @@ -0,0 +1,48 @@ +{ + "id": 144, + "name": "Diagnosis Code 21", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd21", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis21Code", + "ccwMapping": [ + "ICD_DGNS_CD21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[20].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0145_icd_dgns_cd22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0145_icd_dgns_cd22.json new file mode 100644 index 0000000000..9f022a7066 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0145_icd_dgns_cd22.json @@ -0,0 +1,48 @@ +{ + "id": 145, + "name": "Diagnosis Code 22", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd22", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis22Code", + "ccwMapping": [ + "ICD_DGNS_CD22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[21].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0146_icd_dgns_cd23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0146_icd_dgns_cd23.json new file mode 100644 index 0000000000..320226424c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0146_icd_dgns_cd23.json @@ -0,0 +1,48 @@ +{ + "id": 146, + "name": "Diagnosis Code 23", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd23", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis23Code", + "ccwMapping": [ + "ICD_DGNS_CD23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[22].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0147_icd_dgns_cd24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0147_icd_dgns_cd24.json new file mode 100644 index 0000000000..c7700fdc86 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0147_icd_dgns_cd24.json @@ -0,0 +1,48 @@ +{ + "id": 147, + "name": "Diagnosis Code 24", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd24", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis24Code", + "ccwMapping": [ + "ICD_DGNS_CD24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[23].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0148_icd_dgns_cd25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0148_icd_dgns_cd25.json new file mode 100644 index 0000000000..3c357b3ef5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0148_icd_dgns_cd25.json @@ -0,0 +1,48 @@ +{ + "id": 148, + "name": "Diagnosis Code 25", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd25", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis25Code", + "ccwMapping": [ + "ICD_DGNS_CD25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[24].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0149_icd_dgns_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0149_icd_dgns_cd3.json new file mode 100644 index 0000000000..cd84ffa58b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0149_icd_dgns_cd3.json @@ -0,0 +1,53 @@ +{ + "id": 149, + "name": "Diagnosis Code 3", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis3Code", + "ccwMapping": [ + "ICD_DGNS_CD3" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_3_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[2].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B04\",\\n \"display\": \"MONKEYPOX\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0150_icd_dgns_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0150_icd_dgns_cd4.json new file mode 100644 index 0000000000..9d3158c66e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0150_icd_dgns_cd4.json @@ -0,0 +1,53 @@ +{ + "id": 150, + "name": "Diagnosis Code 4", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis4Code", + "ccwMapping": [ + "ICD_DGNS_CD4" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_4_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[3].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B05\",\\n \"display\": \"MEASLES\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0151_icd_dgns_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0151_icd_dgns_cd5.json new file mode 100644 index 0000000000..b044354242 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0151_icd_dgns_cd5.json @@ -0,0 +1,53 @@ +{ + "id": 151, + "name": "Diagnosis Code 5", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis5Code", + "ccwMapping": [ + "ICD_DGNS_CD5" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_5_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[4].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0152_icd_dgns_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0152_icd_dgns_cd6.json new file mode 100644 index 0000000000..4ba92d2f8c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0152_icd_dgns_cd6.json @@ -0,0 +1,53 @@ +{ + "id": 152, + "name": "Diagnosis Code 6", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis6Code", + "ccwMapping": [ + "ICD_DGNS_CD6" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_6_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[5].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0153_icd_dgns_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0153_icd_dgns_cd7.json new file mode 100644 index 0000000000..676637b0c6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0153_icd_dgns_cd7.json @@ -0,0 +1,53 @@ +{ + "id": 153, + "name": "Diagnosis Code 7", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis7Code", + "ccwMapping": [ + "ICD_DGNS_CD7" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_7_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[6].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0154_icd_dgns_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0154_icd_dgns_cd8.json new file mode 100644 index 0000000000..65cc9c8f75 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0154_icd_dgns_cd8.json @@ -0,0 +1,53 @@ +{ + "id": 154, + "name": "Diagnosis Code 8", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis8Code", + "ccwMapping": [ + "ICD_DGNS_CD8" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_8_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[7].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0155_icd_dgns_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0155_icd_dgns_cd9.json new file mode 100644 index 0000000000..b974888601 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0155_icd_dgns_cd9.json @@ -0,0 +1,53 @@ +{ + "id": 155, + "name": "Diagnosis Code 9", + "description": "The diagnosis code identifying the beneficiary's diagnosis.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosis9Code", + "ccwMapping": [ + "ICD_DGNS_CD9" + ], + "cclfMapping": [ + "CCLF5.CLM_DGNS_9_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[8].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0156_icd_dgns_e_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0156_icd_dgns_e_cd1.json new file mode 100644 index 0000000000..8a66dd26e2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0156_icd_dgns_e_cd1.json @@ -0,0 +1,50 @@ +{ + "id": 156, + "name": "External Diagnosis Code 1", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal1Code", + "ccwMapping": [ + "ICD_DGNS_E_CD1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[0].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0157_icd_dgns_e_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0157_icd_dgns_e_cd10.json new file mode 100644 index 0000000000..507c2511d9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0157_icd_dgns_e_cd10.json @@ -0,0 +1,49 @@ +{ + "id": 157, + "name": "External Diagnosis Code 10", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal10Code", + "ccwMapping": [ + "ICD_DGNS_E_CD10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[9].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0158_icd_dgns_e_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0158_icd_dgns_e_cd11.json new file mode 100644 index 0000000000..c7f581c0f4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0158_icd_dgns_e_cd11.json @@ -0,0 +1,49 @@ +{ + "id": 158, + "name": "External Diagnosis Code 11", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal11Code", + "ccwMapping": [ + "ICD_DGNS_E_CD11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[10].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0159_icd_dgns_e_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0159_icd_dgns_e_cd12.json new file mode 100644 index 0000000000..3150f95a02 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0159_icd_dgns_e_cd12.json @@ -0,0 +1,49 @@ +{ + "id": 159, + "name": "External Diagnosis Code 12", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal12Code", + "ccwMapping": [ + "ICD_DGNS_E_CD12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[11].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0160_icd_dgns_e_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0160_icd_dgns_e_cd2.json new file mode 100644 index 0000000000..aad238fbec --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0160_icd_dgns_e_cd2.json @@ -0,0 +1,49 @@ +{ + "id": 160, + "name": "External Diagnosis Code 2", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal2Code", + "ccwMapping": [ + "ICD_DGNS_E_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[1].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0161_icd_dgns_e_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0161_icd_dgns_e_cd3.json new file mode 100644 index 0000000000..83d5014bba --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0161_icd_dgns_e_cd3.json @@ -0,0 +1,49 @@ +{ + "id": 161, + "name": "External Diagnosis Code 3", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal3Code", + "ccwMapping": [ + "ICD_DGNS_E_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[2].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0162_icd_dgns_e_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0162_icd_dgns_e_cd4.json new file mode 100644 index 0000000000..22eba91631 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0162_icd_dgns_e_cd4.json @@ -0,0 +1,49 @@ +{ + "id": 162, + "name": "External Diagnosis Code 4", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal4Code", + "ccwMapping": [ + "ICD_DGNS_E_CD4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[3].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0163_icd_dgns_e_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0163_icd_dgns_e_cd5.json new file mode 100644 index 0000000000..976d9d3454 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0163_icd_dgns_e_cd5.json @@ -0,0 +1,49 @@ +{ + "id": 163, + "name": "External Diagnosis Code 5", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal5Code", + "ccwMapping": [ + "ICD_DGNS_E_CD5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[4].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0164_icd_dgns_e_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0164_icd_dgns_e_cd6.json new file mode 100644 index 0000000000..b003f1f9ac --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0164_icd_dgns_e_cd6.json @@ -0,0 +1,49 @@ +{ + "id": 164, + "name": "External Diagnosis Code 6", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal6Code", + "ccwMapping": [ + "ICD_DGNS_E_CD6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[5].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0165_icd_dgns_e_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0165_icd_dgns_e_cd7.json new file mode 100644 index 0000000000..a71dbeafa2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0165_icd_dgns_e_cd7.json @@ -0,0 +1,49 @@ +{ + "id": 165, + "name": "External Diagnosis Code 7", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal7Code", + "ccwMapping": [ + "ICD_DGNS_E_CD7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[6].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0166_icd_dgns_e_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0166_icd_dgns_e_cd8.json new file mode 100644 index 0000000000..9b02c00830 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0166_icd_dgns_e_cd8.json @@ -0,0 +1,49 @@ +{ + "id": 166, + "name": "External Diagnosis Code 8", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal8Code", + "ccwMapping": [ + "ICD_DGNS_E_CD8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[7].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0167_icd_dgns_e_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0167_icd_dgns_e_cd9.json new file mode 100644 index 0000000000..95a47cd2a4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0167_icd_dgns_e_cd9.json @@ -0,0 +1,49 @@ +{ + "id": 167, + "name": "External Diagnosis Code 9", + "description": "The code used to identify the external cause of injury, poisoning, or other adverse effect.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisExternal9Code", + "ccwMapping": [ + "ICD_DGNS_E_CD9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='externalcauseofinjury' or code='secondary'))[8].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [ + "(eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm')", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.diagnosis[N].sequence = # selected by the code depending upon order of diagnosis" + ], + "derived": "", + "note": "External diagnosis codes are distinguished by the code \"externalcauseofinjury\". However, for HHA claims, the code for an external diagnosis code will appear as \"secondary\"", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0168_icd_dgns_e_vrsn_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0168_icd_dgns_e_vrsn_cd1.json new file mode 100644 index 0000000000..fcec07384c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0168_icd_dgns_e_vrsn_cd1.json @@ -0,0 +1,45 @@ +{ + "id": 168, + "name": "External Diagnosis Code 1 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal1CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0169_icd_dgns_e_vrsn_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0169_icd_dgns_e_vrsn_cd10.json new file mode 100644 index 0000000000..cb772ced73 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0169_icd_dgns_e_vrsn_cd10.json @@ -0,0 +1,44 @@ +{ + "id": 169, + "name": "External Diagnosis Code 10 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal10CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0170_icd_dgns_e_vrsn_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0170_icd_dgns_e_vrsn_cd11.json new file mode 100644 index 0000000000..5338d77727 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0170_icd_dgns_e_vrsn_cd11.json @@ -0,0 +1,44 @@ +{ + "id": 170, + "name": "External Diagnosis Code 11 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal11CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0171_icd_dgns_e_vrsn_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0171_icd_dgns_e_vrsn_cd12.json new file mode 100644 index 0000000000..b5a6c43a69 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0171_icd_dgns_e_vrsn_cd12.json @@ -0,0 +1,44 @@ +{ + "id": 171, + "name": "External Diagnosis Code 12 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal12CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0172_icd_dgns_e_vrsn_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0172_icd_dgns_e_vrsn_cd2.json new file mode 100644 index 0000000000..a879b69a98 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0172_icd_dgns_e_vrsn_cd2.json @@ -0,0 +1,44 @@ +{ + "id": 172, + "name": "External Diagnosis Code 2 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal2CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0173_icd_dgns_e_vrsn_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0173_icd_dgns_e_vrsn_cd3.json new file mode 100644 index 0000000000..cc6420010c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0173_icd_dgns_e_vrsn_cd3.json @@ -0,0 +1,44 @@ +{ + "id": 173, + "name": "External Diagnosis Code 3 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal3CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0174_icd_dgns_e_vrsn_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0174_icd_dgns_e_vrsn_cd4.json new file mode 100644 index 0000000000..47177190d5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0174_icd_dgns_e_vrsn_cd4.json @@ -0,0 +1,44 @@ +{ + "id": 174, + "name": "External Diagnosis Code 4 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal4CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0175_icd_dgns_e_vrsn_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0175_icd_dgns_e_vrsn_cd5.json new file mode 100644 index 0000000000..dc2cb2f178 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0175_icd_dgns_e_vrsn_cd5.json @@ -0,0 +1,44 @@ +{ + "id": 175, + "name": "External Diagnosis Code 5 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal5CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0176_icd_dgns_e_vrsn_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0176_icd_dgns_e_vrsn_cd6.json new file mode 100644 index 0000000000..2aa577859d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0176_icd_dgns_e_vrsn_cd6.json @@ -0,0 +1,44 @@ +{ + "id": 176, + "name": "External Diagnosis Code 6 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal6CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0177_icd_dgns_e_vrsn_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0177_icd_dgns_e_vrsn_cd7.json new file mode 100644 index 0000000000..7b7280cee6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0177_icd_dgns_e_vrsn_cd7.json @@ -0,0 +1,44 @@ +{ + "id": 177, + "name": "External Diagnosis Code 7 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal7CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0178_icd_dgns_e_vrsn_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0178_icd_dgns_e_vrsn_cd8.json new file mode 100644 index 0000000000..e8f8b9d429 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0178_icd_dgns_e_vrsn_cd8.json @@ -0,0 +1,44 @@ +{ + "id": 178, + "name": "External Diagnosis Code 8 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal8CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0179_icd_dgns_e_vrsn_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0179_icd_dgns_e_vrsn_cd9.json new file mode 100644 index 0000000000..59b27e46e0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0179_icd_dgns_e_vrsn_cd9.json @@ -0,0 +1,44 @@ +{ + "id": 179, + "name": "External Diagnosis Code 9 Version", + "description": "The code used to indicate if the external diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_e_vrsn_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisExternal9CodeVersion", + "ccwMapping": [ + "ICD_DGNS_E_VRSN_CD9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='externalcauseofinjury')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code IN ('externalcauseofinjury','secondary')", + "" + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw1\",\\n \"code\": \"N\",\\n \"display\": \"Diagnosis was not present at the time of admission\"\\n }\\n }\\n ],\\n \"sequence\": 7,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A01\",\\n \"display\": \"TYPHOID AND PARATYPHOID FEVERS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/clm_e_poa_ind_sw2\",\\n \"code\": \"Y\",\\n \"display\": \"Diagnosis was present at the time of admission (POA)\"\\n }\\n }\\n ],\\n \"sequence\": 8,\\n \"diagnosisCodeableConcept\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n },\\n \"type\": [\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType\",\\n \"code\": \"externalcauseofinjury\",\\n \"display\": \"External Cause of Injury\"\\n }\\n ]\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0180_icd_dgns_vrsn_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0180_icd_dgns_vrsn_cd1.json new file mode 100644 index 0000000000..7812c7f015 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0180_icd_dgns_vrsn_cd1.json @@ -0,0 +1,49 @@ +{ + "id": 180, + "name": "Diagnosis Code 1 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis1CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD1" + ], + "cclfMapping": [ + "CCLF1.DGNS_PRCDR_ICD_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='principal' or code='secondary' or code='other'))[0].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('principal','other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0181_icd_dgns_vrsn_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0181_icd_dgns_vrsn_cd10.json new file mode 100644 index 0000000000..487bf3ddb1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0181_icd_dgns_vrsn_cd10.json @@ -0,0 +1,46 @@ +{ + "id": 181, + "name": "Diagnosis Code 10 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis10CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[9].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0182_icd_dgns_vrsn_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0182_icd_dgns_vrsn_cd11.json new file mode 100644 index 0000000000..e5fa2ef56d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0182_icd_dgns_vrsn_cd11.json @@ -0,0 +1,46 @@ +{ + "id": 182, + "name": "Diagnosis Code 11 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis11CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[10].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0183_icd_dgns_vrsn_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0183_icd_dgns_vrsn_cd12.json new file mode 100644 index 0000000000..990c9b8256 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0183_icd_dgns_vrsn_cd12.json @@ -0,0 +1,46 @@ +{ + "id": 183, + "name": "Diagnosis Code 12 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis12CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[11].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0184_icd_dgns_vrsn_cd13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0184_icd_dgns_vrsn_cd13.json new file mode 100644 index 0000000000..b811afb702 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0184_icd_dgns_vrsn_cd13.json @@ -0,0 +1,44 @@ +{ + "id": 184, + "name": "Diagnosis Code 13 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd13", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis13CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[12].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0185_icd_dgns_vrsn_cd14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0185_icd_dgns_vrsn_cd14.json new file mode 100644 index 0000000000..5d873fe0bf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0185_icd_dgns_vrsn_cd14.json @@ -0,0 +1,44 @@ +{ + "id": 185, + "name": "Diagnosis Code 14 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd14", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis14CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[13].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0186_icd_dgns_vrsn_cd15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0186_icd_dgns_vrsn_cd15.json new file mode 100644 index 0000000000..f7ba9d26c5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0186_icd_dgns_vrsn_cd15.json @@ -0,0 +1,44 @@ +{ + "id": 186, + "name": "Diagnosis Code 15 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd15", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis15CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[14].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0187_icd_dgns_vrsn_cd16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0187_icd_dgns_vrsn_cd16.json new file mode 100644 index 0000000000..630d74de95 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0187_icd_dgns_vrsn_cd16.json @@ -0,0 +1,44 @@ +{ + "id": 187, + "name": "Diagnosis Code 16 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd16", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis16CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[15].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0188_icd_dgns_vrsn_cd17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0188_icd_dgns_vrsn_cd17.json new file mode 100644 index 0000000000..71ba0cd3ff --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0188_icd_dgns_vrsn_cd17.json @@ -0,0 +1,44 @@ +{ + "id": 188, + "name": "Diagnosis Code 17 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd17", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis17CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[16].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0189_icd_dgns_vrsn_cd18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0189_icd_dgns_vrsn_cd18.json new file mode 100644 index 0000000000..55319ff970 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0189_icd_dgns_vrsn_cd18.json @@ -0,0 +1,44 @@ +{ + "id": 189, + "name": "Diagnosis Code 18 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd18", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis18CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[17].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0190_icd_dgns_vrsn_cd19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0190_icd_dgns_vrsn_cd19.json new file mode 100644 index 0000000000..8a0dc744b8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0190_icd_dgns_vrsn_cd19.json @@ -0,0 +1,44 @@ +{ + "id": 190, + "name": "Diagnosis Code 19 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd19", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis19CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[18].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0191_icd_dgns_vrsn_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0191_icd_dgns_vrsn_cd2.json new file mode 100644 index 0000000000..795f3acb8f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0191_icd_dgns_vrsn_cd2.json @@ -0,0 +1,46 @@ +{ + "id": 191, + "name": "Diagnosis Code 2 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis2CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[1].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A06\",\\n \"display\": \"AMEBIASIS\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0192_icd_dgns_vrsn_cd20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0192_icd_dgns_vrsn_cd20.json new file mode 100644 index 0000000000..4248452c9d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0192_icd_dgns_vrsn_cd20.json @@ -0,0 +1,44 @@ +{ + "id": 192, + "name": "Diagnosis Code 20 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd20", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis20CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[19].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0193_icd_dgns_vrsn_cd21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0193_icd_dgns_vrsn_cd21.json new file mode 100644 index 0000000000..fbc848322c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0193_icd_dgns_vrsn_cd21.json @@ -0,0 +1,44 @@ +{ + "id": 193, + "name": "Diagnosis Code 21 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd21", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis21CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[20].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0194_icd_dgns_vrsn_cd22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0194_icd_dgns_vrsn_cd22.json new file mode 100644 index 0000000000..2dc40671ba --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0194_icd_dgns_vrsn_cd22.json @@ -0,0 +1,44 @@ +{ + "id": 194, + "name": "Diagnosis Code 22 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd22", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis22CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[21].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0195_icd_dgns_vrsn_cd23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0195_icd_dgns_vrsn_cd23.json new file mode 100644 index 0000000000..17911c435a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0195_icd_dgns_vrsn_cd23.json @@ -0,0 +1,44 @@ +{ + "id": 195, + "name": "Diagnosis Code 23 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd23", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis23CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[22].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0196_icd_dgns_vrsn_cd24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0196_icd_dgns_vrsn_cd24.json new file mode 100644 index 0000000000..6578e5bc2b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0196_icd_dgns_vrsn_cd24.json @@ -0,0 +1,44 @@ +{ + "id": 196, + "name": "Diagnosis Code 24 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd24", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis24CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[23].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0197_icd_dgns_vrsn_cd25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0197_icd_dgns_vrsn_cd25.json new file mode 100644 index 0000000000..90a0f932b4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0197_icd_dgns_vrsn_cd25.json @@ -0,0 +1,44 @@ +{ + "id": 197, + "name": "Diagnosis Code 25 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd25", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis25CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[24].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0198_icd_dgns_vrsn_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0198_icd_dgns_vrsn_cd3.json new file mode 100644 index 0000000000..c5c7f32cfe --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0198_icd_dgns_vrsn_cd3.json @@ -0,0 +1,46 @@ +{ + "id": 198, + "name": "Diagnosis Code 3 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis3CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[2].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B04\",\\n \"display\": \"MONKEYPOX\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B04\",\\n \"display\": \"MONKEYPOX\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0199_icd_dgns_vrsn_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0199_icd_dgns_vrsn_cd4.json new file mode 100644 index 0000000000..cfbdc23a65 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0199_icd_dgns_vrsn_cd4.json @@ -0,0 +1,46 @@ +{ + "id": 199, + "name": "Diagnosis Code 4 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis4CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[3].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"B05\",\\n \"display\": \"MEASLES\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"B05\",\\n \"display\": \"MEASLES\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0200_icd_dgns_vrsn_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0200_icd_dgns_vrsn_cd5.json new file mode 100644 index 0000000000..5244f4aaeb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0200_icd_dgns_vrsn_cd5.json @@ -0,0 +1,46 @@ +{ + "id": 200, + "name": "Diagnosis Code 5 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis5CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[4].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A52\",\\n \"display\": \"LATE SYPHILIS\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0201_icd_dgns_vrsn_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0201_icd_dgns_vrsn_cd6.json new file mode 100644 index 0000000000..5d0b43c6b9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0201_icd_dgns_vrsn_cd6.json @@ -0,0 +1,46 @@ +{ + "id": 201, + "name": "Diagnosis Code 6 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis6CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[5].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0202_icd_dgns_vrsn_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0202_icd_dgns_vrsn_cd7.json new file mode 100644 index 0000000000..a80843b4d6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0202_icd_dgns_vrsn_cd7.json @@ -0,0 +1,46 @@ +{ + "id": 202, + "name": "Diagnosis Code 7 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis7CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[6].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0203_icd_dgns_vrsn_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0203_icd_dgns_vrsn_cd8.json new file mode 100644 index 0000000000..5d78a81754 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0203_icd_dgns_vrsn_cd8.json @@ -0,0 +1,46 @@ +{ + "id": 203, + "name": "Diagnosis Code 8 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis8CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[7].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0204_icd_dgns_vrsn_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0204_icd_dgns_vrsn_cd9.json new file mode 100644 index 0000000000..eb51cb3483 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0204_icd_dgns_vrsn_cd9.json @@ -0,0 +1,46 @@ +{ + "id": 204, + "name": "Diagnosis Code 9 Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_dgns_vrsn_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosis9CodeVersion", + "ccwMapping": [ + "ICD_DGNS_VRSN_CD9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='secondary' or code='other'))[8].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://terminology.hl7.org/CodeSystem/ex-diagnosistype'", + "diagnosis[N].type[N].coding[N].code IN ('other','secondary') " + ], + "additional": [], + "derived": "IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN diagnosis code is ICD-9. IF eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm' THEN diagnosis code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0205_icd_prcdr_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0205_icd_prcdr_cd1.json new file mode 100644 index 0000000000..50c1072d54 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0205_icd_prcdr_cd1.json @@ -0,0 +1,42 @@ +{ + "id": 205, + "name": "Procedure Code 1", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure1Code", + "ccwMapping": [ + "ICD_PRCDR_CD1" + ], + "cclfMapping": [ + "CCLF3.CLM_PRCDR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[0].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"BQ0HZZZ\",\\n \"display\": \"PLAIN RADIOGRAPHY OF LEFT ANKLE\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0206_icd_prcdr_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0206_icd_prcdr_cd10.json new file mode 100644 index 0000000000..246e15a720 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0206_icd_prcdr_cd10.json @@ -0,0 +1,39 @@ +{ + "id": 206, + "name": "Procedure Code 10", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure10Code", + "ccwMapping": [ + "ICD_PRCDR_CD10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[9].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0207_icd_prcdr_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0207_icd_prcdr_cd11.json new file mode 100644 index 0000000000..176be71345 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0207_icd_prcdr_cd11.json @@ -0,0 +1,39 @@ +{ + "id": 207, + "name": "Procedure Code 11", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure11Code", + "ccwMapping": [ + "ICD_PRCDR_CD11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[10].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0208_icd_prcdr_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0208_icd_prcdr_cd12.json new file mode 100644 index 0000000000..219eaf798a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0208_icd_prcdr_cd12.json @@ -0,0 +1,39 @@ +{ + "id": 208, + "name": "Procedure Code 12", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure12Code", + "ccwMapping": [ + "ICD_PRCDR_CD12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[11].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0209_icd_prcdr_cd13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0209_icd_prcdr_cd13.json new file mode 100644 index 0000000000..db18018dc5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0209_icd_prcdr_cd13.json @@ -0,0 +1,39 @@ +{ + "id": 209, + "name": "Procedure Code 13", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd13", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure13Code", + "ccwMapping": [ + "ICD_PRCDR_CD13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[12].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0210_icd_prcdr_cd14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0210_icd_prcdr_cd14.json new file mode 100644 index 0000000000..71e1d8da3b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0210_icd_prcdr_cd14.json @@ -0,0 +1,39 @@ +{ + "id": 210, + "name": "Procedure Code 14", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd14", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure14Code", + "ccwMapping": [ + "ICD_PRCDR_CD14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[13].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0211_icd_prcdr_cd15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0211_icd_prcdr_cd15.json new file mode 100644 index 0000000000..76e3fc3ba1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0211_icd_prcdr_cd15.json @@ -0,0 +1,39 @@ +{ + "id": 211, + "name": "Procedure Code 15", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd15", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure15Code", + "ccwMapping": [ + "ICD_PRCDR_CD15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[14].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0212_icd_prcdr_cd16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0212_icd_prcdr_cd16.json new file mode 100644 index 0000000000..35f6dc1d80 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0212_icd_prcdr_cd16.json @@ -0,0 +1,39 @@ +{ + "id": 212, + "name": "Procedure Code 16", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd16", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure16Code", + "ccwMapping": [ + "ICD_PRCDR_CD16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[15].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0213_icd_prcdr_cd17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0213_icd_prcdr_cd17.json new file mode 100644 index 0000000000..e380361bfa --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0213_icd_prcdr_cd17.json @@ -0,0 +1,39 @@ +{ + "id": 213, + "name": "Procedure Code 17", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd17", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure17Code", + "ccwMapping": [ + "ICD_PRCDR_CD17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[16].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0214_icd_prcdr_cd18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0214_icd_prcdr_cd18.json new file mode 100644 index 0000000000..d04390c323 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0214_icd_prcdr_cd18.json @@ -0,0 +1,39 @@ +{ + "id": 214, + "name": "Procedure Code 18", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd18", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure18Code", + "ccwMapping": [ + "ICD_PRCDR_CD18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[17].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0215_icd_prcdr_cd19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0215_icd_prcdr_cd19.json new file mode 100644 index 0000000000..a8f97eccaf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0215_icd_prcdr_cd19.json @@ -0,0 +1,39 @@ +{ + "id": 215, + "name": "Procedure Code 19", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd19", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure19Code", + "ccwMapping": [ + "ICD_PRCDR_CD19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[18].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0216_icd_prcdr_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0216_icd_prcdr_cd2.json new file mode 100644 index 0000000000..a7a5fe76f2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0216_icd_prcdr_cd2.json @@ -0,0 +1,39 @@ +{ + "id": 216, + "name": "Procedure Code 2", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure2Code", + "ccwMapping": [ + "ICD_PRCDR_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[1].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"CD1YYZZ\",\\n \"display\": \"PLANAR NUCL MED IMAG OF DIGESTIVE SYS USING OTH RADIONUCLIDE\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0217_icd_prcdr_cd20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0217_icd_prcdr_cd20.json new file mode 100644 index 0000000000..05436abd53 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0217_icd_prcdr_cd20.json @@ -0,0 +1,39 @@ +{ + "id": 217, + "name": "Procedure Code 20", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd20", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure20Code", + "ccwMapping": [ + "ICD_PRCDR_CD20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[19].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0218_icd_prcdr_cd21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0218_icd_prcdr_cd21.json new file mode 100644 index 0000000000..1be3fcc2eb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0218_icd_prcdr_cd21.json @@ -0,0 +1,39 @@ +{ + "id": 218, + "name": "Procedure Code 21", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd21", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure21Code", + "ccwMapping": [ + "ICD_PRCDR_CD21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[20].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0219_icd_prcdr_cd22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0219_icd_prcdr_cd22.json new file mode 100644 index 0000000000..fcb3033ca6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0219_icd_prcdr_cd22.json @@ -0,0 +1,39 @@ +{ + "id": 219, + "name": "Procedure Code 22", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd22", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure22Code", + "ccwMapping": [ + "ICD_PRCDR_CD22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[21].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0220_icd_prcdr_cd23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0220_icd_prcdr_cd23.json new file mode 100644 index 0000000000..bf8c226977 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0220_icd_prcdr_cd23.json @@ -0,0 +1,39 @@ +{ + "id": 220, + "name": "Procedure Code 23", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd23", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure23Code", + "ccwMapping": [ + "ICD_PRCDR_CD23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[22].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0221_icd_prcdr_cd24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0221_icd_prcdr_cd24.json new file mode 100644 index 0000000000..a48a343f12 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0221_icd_prcdr_cd24.json @@ -0,0 +1,39 @@ +{ + "id": 221, + "name": "Procedure Code 24", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd24", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure24Code", + "ccwMapping": [ + "ICD_PRCDR_CD24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[23].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0222_icd_prcdr_cd25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0222_icd_prcdr_cd25.json new file mode 100644 index 0000000000..48dcc37d14 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0222_icd_prcdr_cd25.json @@ -0,0 +1,39 @@ +{ + "id": 222, + "name": "Procedure Code 25", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd25", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure25Code", + "ccwMapping": [ + "ICD_PRCDR_CD25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[24].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0223_icd_prcdr_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0223_icd_prcdr_cd3.json new file mode 100644 index 0000000000..048c6d7377 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0223_icd_prcdr_cd3.json @@ -0,0 +1,39 @@ +{ + "id": 223, + "name": "Procedure Code 3", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure3Code", + "ccwMapping": [ + "ICD_PRCDR_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[2].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"2W52X6Z\",\\n \"display\": \"REMOVAL OF PRESSURE DRESSING ON NECK\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0224_icd_prcdr_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0224_icd_prcdr_cd4.json new file mode 100644 index 0000000000..b6c65d5c48 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0224_icd_prcdr_cd4.json @@ -0,0 +1,39 @@ +{ + "id": 224, + "name": "Procedure Code 4", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure4Code", + "ccwMapping": [ + "ICD_PRCDR_CD4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[3].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"BP17ZZZ\",\\n \"display\": \"FLUOROSCOPY OF LEFT SCAPULA\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0225_icd_prcdr_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0225_icd_prcdr_cd5.json new file mode 100644 index 0000000000..d72ec9fcdf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0225_icd_prcdr_cd5.json @@ -0,0 +1,39 @@ +{ + "id": 225, + "name": "Procedure Code 5", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure5Code", + "ccwMapping": [ + "ICD_PRCDR_CD5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[4].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"D9YD8ZZ\",\\n \"display\": \"HYPERTHERMIA OF NASOPHARYNX\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0226_icd_prcdr_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0226_icd_prcdr_cd6.json new file mode 100644 index 0000000000..91c111f81b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0226_icd_prcdr_cd6.json @@ -0,0 +1,39 @@ +{ + "id": 226, + "name": "Procedure Code 6", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure6Code", + "ccwMapping": [ + "ICD_PRCDR_CD6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[5].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"F00ZCKZ\",\\n \"display\": \"APHASIA ASSESSMENT USING AUDIOVISUAL EQUIPMENT\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0227_icd_prcdr_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0227_icd_prcdr_cd7.json new file mode 100644 index 0000000000..aca1422243 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0227_icd_prcdr_cd7.json @@ -0,0 +1,39 @@ +{ + "id": 227, + "name": "Procedure Code 7", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure7Code", + "ccwMapping": [ + "ICD_PRCDR_CD7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[6].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0228_icd_prcdr_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0228_icd_prcdr_cd8.json new file mode 100644 index 0000000000..30381f39b5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0228_icd_prcdr_cd8.json @@ -0,0 +1,39 @@ +{ + "id": 228, + "name": "Procedure Code 8", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure8Code", + "ccwMapping": [ + "ICD_PRCDR_CD8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[7].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0229_icd_prcdr_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0229_icd_prcdr_cd9.json new file mode 100644 index 0000000000..3b9adffc96 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0229_icd_prcdr_cd9.json @@ -0,0 +1,39 @@ +{ + "id": 229, + "name": "Procedure Code 9", + "description": "The code that indicates the procedure performed during the period covered by the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "procedure9Code", + "ccwMapping": [ + "ICD_PRCDR_CD9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].code", + "fhirPath": "procedure[8].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').code", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0230_icd_prcdr_vrsn_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0230_icd_prcdr_vrsn_cd1.json new file mode 100644 index 0000000000..c02c3dc5d5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0230_icd_prcdr_vrsn_cd1.json @@ -0,0 +1,39 @@ +{ + "id": 230, + "name": "Procedure Code 1 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure1CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[0].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"BQ0HZZZ\",\\n \"display\": \"PLAIN RADIOGRAPHY OF LEFT ANKLE\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0231_icd_prcdr_vrsn_cd10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0231_icd_prcdr_vrsn_cd10.json new file mode 100644 index 0000000000..94c9bf3151 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0231_icd_prcdr_vrsn_cd10.json @@ -0,0 +1,39 @@ +{ + "id": 231, + "name": "Procedure Code 10 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure10CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[9].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0232_icd_prcdr_vrsn_cd11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0232_icd_prcdr_vrsn_cd11.json new file mode 100644 index 0000000000..5642d94b55 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0232_icd_prcdr_vrsn_cd11.json @@ -0,0 +1,39 @@ +{ + "id": 232, + "name": "Procedure Code 11 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure11CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[10].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0233_icd_prcdr_vrsn_cd12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0233_icd_prcdr_vrsn_cd12.json new file mode 100644 index 0000000000..be267799e6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0233_icd_prcdr_vrsn_cd12.json @@ -0,0 +1,39 @@ +{ + "id": 233, + "name": "Procedure Code 12 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure12CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[11].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0234_icd_prcdr_vrsn_cd13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0234_icd_prcdr_vrsn_cd13.json new file mode 100644 index 0000000000..5ec8f39ee1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0234_icd_prcdr_vrsn_cd13.json @@ -0,0 +1,39 @@ +{ + "id": 234, + "name": "Procedure Code 13 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd13", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure13CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[12].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0235_icd_prcdr_vrsn_cd14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0235_icd_prcdr_vrsn_cd14.json new file mode 100644 index 0000000000..61cfb6ef67 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0235_icd_prcdr_vrsn_cd14.json @@ -0,0 +1,39 @@ +{ + "id": 235, + "name": "Procedure Code 14 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd14", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure14CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[13].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0236_icd_prcdr_vrsn_cd15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0236_icd_prcdr_vrsn_cd15.json new file mode 100644 index 0000000000..3a2a4e4076 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0236_icd_prcdr_vrsn_cd15.json @@ -0,0 +1,39 @@ +{ + "id": 236, + "name": "Procedure Code 15 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd15", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure15CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[14].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0237_icd_prcdr_vrsn_cd16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0237_icd_prcdr_vrsn_cd16.json new file mode 100644 index 0000000000..449619b59a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0237_icd_prcdr_vrsn_cd16.json @@ -0,0 +1,39 @@ +{ + "id": 237, + "name": "Procedure Code 16 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd16", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure16CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[15].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0238_icd_prcdr_vrsn_cd17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0238_icd_prcdr_vrsn_cd17.json new file mode 100644 index 0000000000..9f4482df6f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0238_icd_prcdr_vrsn_cd17.json @@ -0,0 +1,39 @@ +{ + "id": 238, + "name": "Procedure Code 17 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd17", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure17CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[16].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0239_icd_prcdr_vrsn_cd18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0239_icd_prcdr_vrsn_cd18.json new file mode 100644 index 0000000000..66383901a8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0239_icd_prcdr_vrsn_cd18.json @@ -0,0 +1,39 @@ +{ + "id": 239, + "name": "Procedure Code 18 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd18", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure18CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[17].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0240_icd_prcdr_vrsn_cd19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0240_icd_prcdr_vrsn_cd19.json new file mode 100644 index 0000000000..842038dfcb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0240_icd_prcdr_vrsn_cd19.json @@ -0,0 +1,39 @@ +{ + "id": 240, + "name": "Procedure Code 19 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd19", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure19CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[18].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0241_icd_prcdr_vrsn_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0241_icd_prcdr_vrsn_cd2.json new file mode 100644 index 0000000000..4e4d21d5ec --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0241_icd_prcdr_vrsn_cd2.json @@ -0,0 +1,39 @@ +{ + "id": 241, + "name": "Procedure Code 2 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure2CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[1].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"CD1YYZZ\",\\n \"display\": \"PLANAR NUCL MED IMAG OF DIGESTIVE SYS USING OTH RADIONUCLIDE\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0242_icd_prcdr_vrsn_cd20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0242_icd_prcdr_vrsn_cd20.json new file mode 100644 index 0000000000..4b78d64580 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0242_icd_prcdr_vrsn_cd20.json @@ -0,0 +1,39 @@ +{ + "id": 242, + "name": "Procedure Code 20 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd20", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure20CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[19].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0243_icd_prcdr_vrsn_cd21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0243_icd_prcdr_vrsn_cd21.json new file mode 100644 index 0000000000..0c65dcbf17 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0243_icd_prcdr_vrsn_cd21.json @@ -0,0 +1,39 @@ +{ + "id": 243, + "name": "Procedure Code 21 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd21", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure21CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[20].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0244_icd_prcdr_vrsn_cd22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0244_icd_prcdr_vrsn_cd22.json new file mode 100644 index 0000000000..ecf101c9ef --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0244_icd_prcdr_vrsn_cd22.json @@ -0,0 +1,39 @@ +{ + "id": 244, + "name": "Procedure Code 22 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd22", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure22CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[21].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0245_icd_prcdr_vrsn_cd23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0245_icd_prcdr_vrsn_cd23.json new file mode 100644 index 0000000000..64f91204cc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0245_icd_prcdr_vrsn_cd23.json @@ -0,0 +1,39 @@ +{ + "id": 245, + "name": "Procedure Code 23 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd23", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure23CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[22].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0246_icd_prcdr_vrsn_cd24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0246_icd_prcdr_vrsn_cd24.json new file mode 100644 index 0000000000..3202b1bd75 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0246_icd_prcdr_vrsn_cd24.json @@ -0,0 +1,39 @@ +{ + "id": 246, + "name": "Procedure Code 24 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd24", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure24CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[23].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0247_icd_prcdr_vrsn_cd25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0247_icd_prcdr_vrsn_cd25.json new file mode 100644 index 0000000000..726b40ecfd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0247_icd_prcdr_vrsn_cd25.json @@ -0,0 +1,39 @@ +{ + "id": 247, + "name": "Procedure Code 25 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd25", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure25CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[24].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0248_icd_prcdr_vrsn_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0248_icd_prcdr_vrsn_cd3.json new file mode 100644 index 0000000000..75354129b0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0248_icd_prcdr_vrsn_cd3.json @@ -0,0 +1,39 @@ +{ + "id": 248, + "name": "Procedure Code 3 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure3CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[2].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"2W52X6Z\",\\n \"display\": \"REMOVAL OF PRESSURE DRESSING ON NECK\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0249_icd_prcdr_vrsn_cd4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0249_icd_prcdr_vrsn_cd4.json new file mode 100644 index 0000000000..32d3015533 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0249_icd_prcdr_vrsn_cd4.json @@ -0,0 +1,39 @@ +{ + "id": 249, + "name": "Procedure Code 4 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd4", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure4CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[3].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"BP17ZZZ\",\\n \"display\": \"FLUOROSCOPY OF LEFT SCAPULA\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0250_icd_prcdr_vrsn_cd5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0250_icd_prcdr_vrsn_cd5.json new file mode 100644 index 0000000000..5c149ea31a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0250_icd_prcdr_vrsn_cd5.json @@ -0,0 +1,39 @@ +{ + "id": 250, + "name": "Procedure Code 5 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd5", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure5CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[4].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"D9YD8ZZ\",\\n \"display\": \"HYPERTHERMIA OF NASOPHARYNX\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0251_icd_prcdr_vrsn_cd6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0251_icd_prcdr_vrsn_cd6.json new file mode 100644 index 0000000000..3e8e85b432 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0251_icd_prcdr_vrsn_cd6.json @@ -0,0 +1,39 @@ +{ + "id": 251, + "name": "Procedure Code 6 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd6", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure6CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[5].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "[\\n {\\n \"system\": \"http://www.cms.gov/Medicare/Coding/ICD10\",\\n \"code\": \"F00ZCKZ\",\\n \"display\": \"APHASIA ASSESSMENT USING AUDIOVISUAL EQUIPMENT\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0252_icd_prcdr_vrsn_cd7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0252_icd_prcdr_vrsn_cd7.json new file mode 100644 index 0000000000..1b75207510 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0252_icd_prcdr_vrsn_cd7.json @@ -0,0 +1,39 @@ +{ + "id": 252, + "name": "Procedure Code 7 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd7", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure7CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[6].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0253_icd_prcdr_vrsn_cd8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0253_icd_prcdr_vrsn_cd8.json new file mode 100644 index 0000000000..6671bd35c2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0253_icd_prcdr_vrsn_cd8.json @@ -0,0 +1,39 @@ +{ + "id": 253, + "name": "Procedure Code 8 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd8", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure8CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[7].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0254_icd_prcdr_vrsn_cd9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0254_icd_prcdr_vrsn_cd9.json new file mode 100644 index 0000000000..0bd15be721 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0254_icd_prcdr_vrsn_cd9.json @@ -0,0 +1,39 @@ +{ + "id": 254, + "name": "Procedure Code 9 Version", + "description": "The code used to indicate if the procedure code is ICD-9 or ICD-10.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "icd_prcdr_vrsn_cd9", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "procedure9CodeVersion", + "ccwMapping": [ + "ICD_PRCDR_VRSN_CD9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].procedureCodeableConcept.coding[N].system", + "fhirPath": "procedure[8].procedureCodeableConcept.coding.where(system='http://www.cms.gov/Medicare/Coding/ICD10').system", + "discriminator": [], + "additional": [], + "derived": "IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' THEN procedure code is ICD-9. IF eob.procedure[N].procedureCodeableConcept.coding[N].system = 'http://www.cms.gov/Medicare/Coding/ICD10' THEN procedure code is ICD-10", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0255_ime_op_clm_val_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0255_ime_op_clm_val_amt.json new file mode 100644 index 0000000000..b6c7e85694 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0255_ime_op_clm_val_amt.json @@ -0,0 +1,43 @@ +{ + "id": 255, + "name": "Operating Indirect Medical Education Amount", + "description": "This is one component of the total amount that is payable on PPS claims, and reflects the IME (indirect medical education) payments for operating expenses (such as labor) for the claim.", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ime_op_clm_val_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "indirectMedicalEducationAmount", + "ccwMapping": [ + "IME_OP_CLM_VAL_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_OPRTNL_IME_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueMoney.value", + "fhirPath": "extension.where(url = 'https://bluebutton.cms.gov/resources/variables/ime_op_clm_val_amt').valueMoney.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ime_op_clm_val_amt'" + ], + "additional": [ + "eob.extension[N].valueMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/ime_op_clm_val_amt\",\\n \"valueMoney\": {\\n \"value\": 66125.51,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0256_lics_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0256_lics_amt.json new file mode 100644 index 0000000000..c757754fa5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0256_lics_amt.json @@ -0,0 +1,45 @@ +{ + "id": 256, + "name": "Low Income Cost Sharing Subsidy Amount", + "description": "This is the amount of cost sharing for the drug that was paid by the Part D low-income subsidy (LICS). This field contains plan-reported amounts per drug event; CMS uses this information to reconcile the prospective payments it makes to Part D plans for expected low-income cost sharing with the actual amounts incurred by the plans.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "lics_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "lowIncomeSubsidyPaidAmount", + "ccwMapping": [ + "LICS_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(code = 'https://bluebutton.cms.gov/resources/variables/lics_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/lics_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'discount'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Discount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount paid for the PDE by Part D low income subsidy'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"discount\",\\n \"display\": \"Discount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/lics_amt\",\\n \"display\": \"Amount paid for the PDE by Part D low income subsidy\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 122.23,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0257_line_1st_expns_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0257_line_1st_expns_dt.json new file mode 100644 index 0000000000..779eb90ff0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0257_line_1st_expns_dt.json @@ -0,0 +1,42 @@ +{ + "id": 257, + "name": "First Expense Date", + "description": "Beginning date (1st expense) for this line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_1st_expns_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "firstExpenseDate", + "ccwMapping": [ + "LINE_1ST_EXPNS_DT" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_FROM_DT", + "CCLF6.CLM_LINE_FROM_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].servicedPeriod.start OR item[N].servicedDate", + "fhirPath": "iif(item.servicedPeriod.exists(),item.servicedPeriod,item.servicedDate)", + "discriminator": [], + "additional": [], + "derived": "IF both firstExpenseDate and lastExpenseDate are populated then it will be stored in eob.item[N].servicedPeriod.start. IF only firstExpenseDate is populated then it will be stored in eob.item[N].servicedDate.", + "note": "", + "example": "[\\n {\\n \"start\": \"1999-10-27\",\\n \"end\": \"1999-10-27\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0258_line_alowd_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0258_line_alowd_chrg_amt.json new file mode 100644 index 0000000000..dc4f7bf790 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0258_line_alowd_chrg_amt.json @@ -0,0 +1,50 @@ +{ + "id": 258, + "name": "Line Allowed Charge Amount", + "description": "The amount of allowed charges for the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_alowd_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "allowedChargeAmount", + "ccwMapping": [ + "LINE_ALOWD_CHRG_AMT" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_ALOWD_CHRG_AMT", + "CCLF6.CLM_LINE_ALOWD_CHRG_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'eligible'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Eligible Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Allowed Charge Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"eligible\",\\n \"display\": \"Eligible Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt\",\\n \"display\": \"Line Allowed Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 47.84,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0259_line_bene_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0259_line_bene_pmt_amt.json new file mode 100644 index 0000000000..8ab244cffb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0259_line_bene_pmt_amt.json @@ -0,0 +1,46 @@ +{ + "id": 259, + "name": "Line Payment Amount to Beneficiary", + "description": "The payment (reimbursement) made to the beneficiary related to the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_bene_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "beneficiaryPaymentAmount", + "ccwMapping": [ + "LINE_BENE_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/line_bene_pmt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_bene_pmt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidtoprovider'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid to Provider')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Payment Amount to Beneficiary'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidtopatient\",\\n \"display\": \"Paid to patient\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_bene_pmt_amt\",\\n \"display\": \"Line Payment Amount to Beneficiary\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0260_line_bene_prmry_pyr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0260_line_bene_prmry_pyr_cd.json new file mode 100644 index 0000000000..c7cf4c0de3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0260_line_bene_prmry_pyr_cd.json @@ -0,0 +1,44 @@ +{ + "id": 260, + "name": "Line Primary Payer Code", + "description": "The code specifying a federal non-Medicare program or other source that has primary responsibility for the payment of the Medicare beneficiary's medical bills relating to the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_bene_prmry_pyr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "primaryPayerCode", + "ccwMapping": [ + "LINE_BENE_PRMRY_PYR_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_PRMRY_PYR_CD", + "CCLF6.CLM_LINE_PRMRY_PYR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_cd\",\\n \"code\": \"E\",\\n \"display\": \"Workers' compensation\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0261_line_bene_prmry_pyr_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0261_line_bene_prmry_pyr_pd_amt.json new file mode 100644 index 0000000000..d77c824ae0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0261_line_bene_prmry_pyr_pd_amt.json @@ -0,0 +1,46 @@ +{ + "id": 261, + "name": "Line Primary Payer Paid Amount", + "description": "The amount of a payment made on behalf of a Medicare beneficiary by a primary payer other than Medicare, that the provider is applying to covered Medicare charges for to the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_bene_prmry_pyr_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "primaryPayerPaidAmount", + "ccwMapping": [ + "LINE_BENE_PRMRY_PYR_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_pd_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_pd_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'priorpayerpaid',", + "eob.item[N].adjudication[N].category.coding[N].display' : 'Prior payer paid')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Primary Payer (if not Medicare) Paid Amount'", + "eob.item[N].adjudication[N].amount.code = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_bene_prmry_pyr_pd_amt\",\\n \"display\": \"Line Primary Payer (if not Medicare) Paid Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0262_line_bene_ptb_ddctbl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0262_line_bene_ptb_ddctbl_amt.json new file mode 100644 index 0000000000..396223305f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0262_line_bene_ptb_ddctbl_amt.json @@ -0,0 +1,46 @@ +{ + "id": 262, + "name": "Line Beneficiary Part B Deductible Amount", + "description": "The amount of money for which the carrier has determined that the beneficiary is liable for the Part B cash deductible for the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_bene_ptb_ddctbl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "beneficiaryPartBDeductAmount", + "ccwMapping": [ + "LINE_BENE_PTB_DDCTBL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'deductible'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Deductible')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Beneficiary Part B Deductible Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"deductible\",\\n \"display\": \"Deductible\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt\",\\n \"display\": \"Line Beneficiary Part B Deductible Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0263_line_cms_type_srvc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0263_line_cms_type_srvc_cd.json new file mode 100644 index 0000000000..897302b24b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0263_line_cms_type_srvc_cd.json @@ -0,0 +1,45 @@ +{ + "id": 263, + "name": "CMS Service Type Code", + "description": "Code indicating the type of service, as defined in the CMS Medicare Carrier Manual, for this line item on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_cms_type_srvc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "cmsServiceTypeCode", + "ccwMapping": [ + "LINE_CMS_TYPE_SRVC_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_FED_TYPE_SRVC_CD", + "CCLF6.CLM_FED_TYPE_SRVC_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].category.coding[N].code", + "fhirPath": "item[%n].where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd')).category.coding.code", + "discriminator": [ + "item[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd'" + ], + "additional": [ + "eob.item[N].category.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd\",\\n \"code\": \"1\",\\n \"display\": \"Medical care\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0264_line_coinsrnc_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0264_line_coinsrnc_amt.json new file mode 100644 index 0000000000..281686b2b6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0264_line_coinsrnc_amt.json @@ -0,0 +1,46 @@ +{ + "id": 264, + "name": "Coinsurance Amount", + "description": "The beneficiary coinsurance liability amount for this line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_coinsrnc_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "coinsuranceAmount", + "ccwMapping": [ + "LINE_COINSRNC_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'coinsurance'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Co-insurance')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Beneficiary Coinsurance Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"coinsurance\",\\n \"display\": \"Co-insurance\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt\",\\n \"display\": \"Line Beneficiary Coinsurance Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 9.57,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0265_line_dme_prchs_price_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0265_line_dme_prchs_price_amt.json new file mode 100644 index 0000000000..012d6a375f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0265_line_dme_prchs_price_amt.json @@ -0,0 +1,45 @@ +{ + "id": 265, + "name": "Purchase Price Amount", + "description": "The amount representing the lower of fee schedule for purchase of new or used DME, or actual charge. In case of rental DME, this amount represents the purchase cap; rental payments can only be made until the cap is met.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_dme_prchs_price_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "purchasePriceAmount", + "ccwMapping": [ + "LINE_DME_PRCHS_PRICE_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/line_dme_prchs_price_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_dme_prchs_price_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'submitted'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Submitted Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line DME Purchase Price Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_dme_prchs_price_amt\",\\n \"display\": \"Line DME Purchase Price Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 82.29,\\n \"currency\": \"USD\"\\n }\\n },\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_dme_prchs_price_amt\",\\n \"display\": \"Line DME Purchase Price Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 82.29,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0266_line_hct_hgb_rslt_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0266_line_hct_hgb_rslt_num.json new file mode 100644 index 0000000000..30bd7c217c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0266_line_hct_hgb_rslt_num.json @@ -0,0 +1,46 @@ +{ + "id": 266, + "name": "HCT/HGB Test Result", + "description": "This is the laboratory value for the most recent hematocrit or hemoglobin reading on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_hct_hgb_rslt_num", + "bfdDbType": "NUM", + "bfdDbSize": 4, + "bfdJavaFieldName": "hctHgbTestResult", + "ccwMapping": [ + "LINE_HCT_HGB_RSLT_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "contained[N].valueQuantity.value", + "fhirPath": "contained.where(resourceType='Observation' and code.coding.system='https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd').valueQuantity.value", + "discriminator": [ + "contained[N].resourceType = 'Observation'", + "contained[N].code.coding.system = 'https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd'" + ], + "additional": [ + "(eob.contained[N].id = (ie.. line-observation-6)", + "eob.contained[N].status = 'unknown') AND ((eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info',", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].display = {corresponding description from valueset specified in .system})" + ], + "derived": "eob.supportingInfo[N].value.valuereference = # (ie.. #line-observation-6)", + "note": "The value stored in eob.contained[N].id will match the value stored in eob.supportingInfo[N].valueReference.value. It will be the code generated unique identifier for the observation. Note that this value is also supplied in supportingInfo[N].category.coding[N].code", + "example": "[\\n {\\n \"resourceType\": \"Observation\",\\n \"id\": \"line-observation-6\",\\n \"status\": \"unknown\",\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd\",\\n \"code\": \"R1\",\\n \"display\": \"Hemoglobin Test\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 42\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0267_line_hct_hgb_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0267_line_hct_hgb_type_cd.json new file mode 100644 index 0000000000..cb3037b41c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0267_line_hct_hgb_type_cd.json @@ -0,0 +1,45 @@ +{ + "id": 267, + "name": "HCT/HGB Test Type Code", + "description": "The type of test that was performed \u2014 hematocrit or hemoglobin.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_hct_hgb_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "hctHgbTestTypeCode", + "ccwMapping": [ + "LINE_HCT_HGB_TYPE_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "contained[N].code.coding.code", + "fhirPath": "contained.where(resourceType='Observation' and code.coding.system='https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd').code.coding.code", + "discriminator": [ + "contained[N].resourceType = 'Observation'", + "contained[N].code.coding.system = 'https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd'" + ], + "additional": [ + "eob.contained[N].id = (ie.. line-observation-6)", + "eob.contained[N].status = 'unknown'", + "eob.contained[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].value.valuereference = # (ie.. #line-observation-6)" + ], + "derived": "", + "note": "The value stored in eob.contained[N].id will match the value stored in eob.supportingInfo[N].valueReference.value. It will be the code generated unique identifier for the observation.", + "example": "[\\n {\\n \"resourceType\": \"Observation\",\\n \"id\": \"line-observation-6\",\\n \"status\": \"unknown\",\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_hct_hgb_type_cd\",\\n \"code\": \"R1\",\\n \"display\": \"Hemoglobin Test\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 42\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0268_line_icd_dgns_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0268_line_icd_dgns_cd.json new file mode 100644 index 0000000000..468f14d54e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0268_line_icd_dgns_cd.json @@ -0,0 +1,41 @@ +{ + "id": 268, + "name": "Line Item Diagnosis Code", + "description": "The code indicating the diagnosis supporting this line-item procedure/service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_icd_dgns_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisCode", + "ccwMapping": [ + "LINE_ICD_DGNS_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_DGNS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].diagnosisSequence", + "fhirPath": "diagnosis[%n].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [], + "additional": [], + "derived": "Using the Line Item Diagnosis Code and the Line Item Diagnosis Code Version find the eob.diagnosis[N].sequence of the list of diagnosis where the eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system matches to the Line Item Diagnosis Code Version and the eob.diagnosis[N].diagnosisCodeableConcept.coding[N]code matches the Line Item Diagnosis Code.", + "note": "", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0269_line_icd_dgns_vrsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0269_line_icd_dgns_vrsn_cd.json new file mode 100644 index 0000000000..3059438608 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0269_line_icd_dgns_vrsn_cd.json @@ -0,0 +1,43 @@ +{ + "id": 269, + "name": "Line Item Diagnosis Code Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_icd_dgns_vrsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisCodeVersion", + "ccwMapping": [ + "LINE_ICD_DGNS_VRSN_CD" + ], + "cclfMapping": [ + "CCLF1.DGNS_PRCDR_ICD_IND", + "CCLF3.DGNS_PRCDR_ICD_IND", + "CCLF4.DGNS_PRCDR_ICD_IND", + "CCLF5.DGNS_PRCDR_ICD_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].diagnosisSequence", + "fhirPath": "diagnosis[%n].diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [], + "additional": [], + "derived": "Using the Line Item Diagnosis Code and the Line Item Diagnosis Code Version find the eob.diagnosis[N].sequence of the list of diagnosis where the eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system matches to the Line Item Diagnosis Code Version and the eob.diagnosis[N].diagnosisCodeableConcept.coding[N]code matches the Line Item Diagnosis Code.", + "note": "", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0270_line_last_expns_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0270_line_last_expns_dt.json new file mode 100644 index 0000000000..397c462070 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0270_line_last_expns_dt.json @@ -0,0 +1,42 @@ +{ + "id": 270, + "name": "Last Expense Date", + "description": "The ending date (last expense) for the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_last_expns_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "lastExpenseDate", + "ccwMapping": [ + "LINE_LAST_EXPNS_DT" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_THRU_DT", + "CCLF6.CLM_LINE_THRU_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].servicedPeriod.end", + "fhirPath": "item[%n].servicedPeriod.end", + "discriminator": [], + "additional": [], + "derived": "IF both firstExpenseDate and lastExpenseDate are populated then it will be stored in eob.item[N].servicedPeriod.end otherwise it won't be populated and instead the start date will be stored in eob.item[N].servicedDate.", + "note": "", + "example": "[\\n \"1999-10-27\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0271_line_nch_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0271_line_nch_pmt_amt.json new file mode 100644 index 0000000000..f4afed5ff3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0271_line_nch_pmt_amt.json @@ -0,0 +1,49 @@ +{ + "id": 271, + "name": "Line Payment Amount", + "description": "Amount of payment made from the Medicare trust fund (after deductible and coinsurance amounts have been paid) for the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_nch_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "paymentAmount", + "ccwMapping": [ + "LINE_NCH_PMT_AMT" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_CVRD_PD_AMT", + "CCLF6.CLM_LINE_CVRD_PD_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/line_nch_pmt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_nch_pmt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'benefit'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Benefit Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line NCH Medicare Payment Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd\",\\n \"code\": \"0\",\\n \"display\": \"80%\"\\n }\\n }\\n ],\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"benefit\",\\n \"display\": \"Benefit Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_nch_pmt_amt\",\\n \"display\": \"Line NCH Medicare Payment Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 37.5,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0272_line_ndc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0272_line_ndc_cd.json new file mode 100644 index 0000000000..f54583f265 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0272_line_ndc_cd.json @@ -0,0 +1,42 @@ +{ + "id": 272, + "name": "Line National Drug Code", + "description": "On the DMERC claim, the National Drug Code identifying the oral anti-cancer drugs. This line-item field was added as a placeholder on the Carrier claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_ndc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "nationalDrugCode", + "ccwMapping": [ + "LINE_NDC_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].productOrService.extension[N].valueCoding.code", + "fhirPath": "item[%n].productOrService.extension.where(url='http://hl7.org/fhir/sid/ndc').valueCoding.code", + "discriminator": [ + "item[N].productOrService.extension[N].url = 'http://hl7.org/fhir/sid/ndc'" + ], + "additional": [ + "eob.item[N].productOrService.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"http://hl7.org/fhir/sid/ndc\",\\n \"valueCoding\": {\\n \"system\": \"http://hl7.org/fhir/sid/ndc\",\\n \"code\": \"000000000\",\\n \"display\": \"Fake Diluent - WATER\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0273_line_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0273_line_num.json new file mode 100644 index 0000000000..d3a2ebe963 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0273_line_num.json @@ -0,0 +1,38 @@ +{ + "id": 273, + "name": "Line Number", + "description": "This variable identifies an individual line number on a claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_num", + "bfdDbType": "NUM", + "bfdDbSize": 13, + "bfdJavaFieldName": "lineNumber", + "ccwMapping": [ + "LINE_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].sequence", + "fhirPath": "item[%n].sequence", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n 6\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0274_line_place_of_srvc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0274_line_place_of_srvc_cd.json new file mode 100644 index 0000000000..d10fda69ae --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0274_line_place_of_srvc_cd.json @@ -0,0 +1,46 @@ +{ + "id": 274, + "name": "Place Of Service Code", + "description": "The code indicating the place of service, as defined in the Medicare Carrier Manual, for this line item on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_place_of_srvc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "placeOfServiceCode", + "ccwMapping": [ + "LINE_PLACE_OF_SRVC_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_POS_CD", + "CCLF6.CLM_POS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationCodeableConcept.coding[N].code", + "fhirPath": "item[%n].locationCodeableConcept.where(coding.where(system='https://bluebutton.cms.gov/resources/variables/line_place_of_srvc_cd')).coding.code", + "discriminator": [ + "item[N].locationCodeableConcept.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/line_place_of_srvc_cd'" + ], + "additional": [ + "eob.item[N].locationCodeableConcept.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_place_of_srvc_cd\",\\n \"code\": \"11\",\\n \"display\": \"Office. Location, other than a hospital, skilled nursing facility (SNF), military treatment facility, community health center, State or local public health clinic, or intermediate care facility (ICF), where the health professional routinely provides health examinations, diagnosis, and treatment of illness or injury on an ambulatory basis.\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0275_line_pmt_80_100_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0275_line_pmt_80_100_cd.json new file mode 100644 index 0000000000..b818c6e73b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0275_line_pmt_80_100_cd.json @@ -0,0 +1,40 @@ +{ + "id": 275, + "name": "Payment Code", + "description": "The code indicating that the amount shown in the payment field on the non-institutional line item represents either 80% or 100% of the allowed charges less any deductible, or 100% limitation of liability only.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_pmt_80_100_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "paymentCode", + "ccwMapping": [ + "LINE_PMT_80_100_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].adjudication.extension.where(url='https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd').valueCoding.code", + "discriminator": [ + "item[N].adjudication[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd'" + ], + "additional": [ + "eob.item[N].adjudication[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_pmt_80_100_cd\",\\n \"code\": \"0\",\\n \"display\": \"80%\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0276_line_prcsg_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0276_line_prcsg_ind_cd.json new file mode 100644 index 0000000000..ef070966ca --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0276_line_prcsg_ind_cd.json @@ -0,0 +1,45 @@ +{ + "id": 276, + "name": "Processing Indicator Code", + "description": "The code on a non-institutional claim indicating to whom payment was made or if the claim was denied.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_prcsg_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "processingIndicatorCode", + "ccwMapping": [ + "LINE_PRCSG_IND_CD" + ], + "cclfMapping": [ + "CCLF5.CLM_PRCSG_IND_CD", + "CCLF6.CLM_PRCSG_IND_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd\",\\n \"code\": \"A\",\\n \"display\": \"Allowed\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0277_line_prvdr_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0277_line_prvdr_pmt_amt.json new file mode 100644 index 0000000000..18435cc097 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0277_line_prvdr_pmt_amt.json @@ -0,0 +1,46 @@ +{ + "id": 277, + "name": "Line Provider Payment Amount", + "description": "The payment made by Medicare to the provider for the line-item service on the non-institutional claim. Additional payments may have been made to the provider \u2014 including beneficiary deductible and coinsurance amounts and/or other primary payer amounts.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_prvdr_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "providerPaymentAmount", + "ccwMapping": [ + "LINE_PRVDR_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidtoprovider'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid to provider'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Provider Payment Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidtoprovider\",\\n \"display\": \"Paid to provider\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt\",\\n \"display\": \"Line Provider Payment Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 37.5,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0278_line_sbmtd_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0278_line_sbmtd_chrg_amt.json new file mode 100644 index 0000000000..038d680e8f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0278_line_sbmtd_chrg_amt.json @@ -0,0 +1,46 @@ +{ + "id": 278, + "name": "Line Submitted Charge Amount", + "description": "The amount of submitted charges for the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_sbmtd_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "submittedChargeAmount", + "ccwMapping": [ + "LINE_SBMTD_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'submitted'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Submitted Amount'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Line Submitted Charge Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt\",\\n \"display\": \"Line Submitted Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 75,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0279_line_service_deductible.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0279_line_service_deductible.json new file mode 100644 index 0000000000..5c46a1afd2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0279_line_service_deductible.json @@ -0,0 +1,40 @@ +{ + "id": 279, + "name": "Service Deductible Code", + "description": "Switch indicating whether or not the line-item service on the non-institutional claim is subject to a deductible.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_service_deductible", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "serviceDeductibleCode", + "ccwMapping": [ + "LINE_SERVICE_DEDUCTIBLE" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/line_service_deductible').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/line_service_deductible'" + ], + "additional": [ + "eob.item[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/line_service_deductible\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/line_service_deductible\",\\n \"code\": \"0\",\\n \"display\": \"Service Subject to Deductible\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0280_line_srvc_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0280_line_srvc_cnt.json new file mode 100644 index 0000000000..e169ce53b5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0280_line_srvc_cnt.json @@ -0,0 +1,41 @@ +{ + "id": 280, + "name": "Service Count", + "description": "The count of the total number of services processed for the line item on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "line_srvc_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 4, + "bfdJavaFieldName": "serviceCount", + "ccwMapping": [ + "LINE_SRVC_CNT" + ], + "cclfMapping": [ + "CCLF5.CLM_LINE_SRVC_UNIT_QTY" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].quantity.value", + "fhirPath": "item[%n].quantity.value", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"value\": 1\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0281_nch_actv_or_cvrd_lvl_care_thru.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0281_nch_actv_or_cvrd_lvl_care_thru.json new file mode 100644 index 0000000000..e571770b8e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0281_nch_actv_or_cvrd_lvl_care_thru.json @@ -0,0 +1,43 @@ +{ + "id": 281, + "name": "Covered Care Through Date", + "description": "The date on a claim for which the covered level of care ended in a general hospital or the active care ended in a psychiatric/tuberculosis hospital.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_actv_or_cvrd_lvl_care_thru", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "coveredCareThroughDate", + "ccwMapping": [ + "NCH_ACTV_OR_CVRD_LVL_CARE_THRU" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingDate", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/nch_actv_or_cvrd_lvl_care_thru')).timingDate", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nch_actv_or_cvrd_lvl_care_thru'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0282_nch_bene_blood_ddctbl_lblty_am.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0282_nch_bene_blood_ddctbl_lblty_am.json new file mode 100644 index 0000000000..2b9396d934 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0282_nch_bene_blood_ddctbl_lblty_am.json @@ -0,0 +1,44 @@ +{ + "id": 282, + "name": "Blood Deductible Liability Amount", + "description": "The amount of money for which the intermediary determined the beneficiary is liable for the blood deductible.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_blood_ddctbl_lblty_am", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "bloodDeductibleLiabilityAmount", + "ccwMapping": [ + "NCH_BENE_BLOOD_DDCTBL_LBLTY_AM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_bene_blood_ddctbl_lblty_am')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_blood_ddctbl_lblty_am'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Beneficiary Blood Deductible Liability Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_bene_blood_ddctbl_lblty_am\",\\n \"display\": \"NCH Beneficiary Blood Deductible Liability Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 6,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0283_nch_bene_dschrg_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0283_nch_bene_dschrg_dt.json new file mode 100644 index 0000000000..42cb3dfd86 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0283_nch_bene_dschrg_dt.json @@ -0,0 +1,43 @@ +{ + "id": 283, + "name": "Beneficiary Discharge Date", + "description": "On an inpatient or Home Health claim, the date the beneficiary was discharged from the facility, or died.", + "appliesTo": [ + "Inpatient", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_dschrg_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "beneficiaryDischargeDate", + "ccwMapping": [ + "NCH_BENE_DSCHRG_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.end", + "fhirPath": "supportingInfo.where(category.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType' and code='admissionperiod')).timingPeriod.end", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "supportingInfo[N].category.coding[N].code = 'admissionperiod'" + ], + "additional": [ + "eob.supportingInfo[N].category.coding[N].display = 'Admission Period'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 2,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"admissionperiod\",\\n \"display\": \"Admission Period\"\\n }\\n ]\\n },\\n \"timingPeriod\": {\\n \"start\": \"2016-01-15\",\\n \"end\": \"2016-01-27\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0284_nch_bene_ip_ddctbl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0284_nch_bene_ip_ddctbl_amt.json new file mode 100644 index 0000000000..f0b142baa0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0284_nch_bene_ip_ddctbl_amt.json @@ -0,0 +1,43 @@ +{ + "id": 284, + "name": "Deductible Amount", + "description": "The amount of the deductible the beneficiary paid for inpatient services, as originally submitted on the institutional claim.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_ip_ddctbl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "deductibleAmount", + "ccwMapping": [ + "NCH_BENE_IP_DDCTBL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_bene_ip_ddctbl_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_ip_ddctbl_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Beneficiary Inpatient (or other Part A) Deductible Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_bene_ip_ddctbl_amt\",\\n \"display\": \"NCH Beneficiary Inpatient (or other Part A) Deductible Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 112,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0285_nch_bene_mdcr_bnfts_exhtd_dt_i.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0285_nch_bene_mdcr_bnfts_exhtd_dt_i.json new file mode 100644 index 0000000000..5b06e8702f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0285_nch_bene_mdcr_bnfts_exhtd_dt_i.json @@ -0,0 +1,45 @@ +{ + "id": 285, + "name": "Medicare Benefits Exhausted Date", + "description": "The last date for which the beneficiary has Medicare coverage.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_mdcr_bnfts_exhtd_dt_i", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "medicareBenefitsExhaustedDate", + "ccwMapping": [ + "NCH_BENE_MDCR_BNFTS_EXHTD_DT_I" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingDate", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_bene_mdcr_bnfts_exhtd_dt_i')).timingDate", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nch_bene_mdcr_bnfts_exhtd_dt_i'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_mdcr_bnfts_exhtd_dt_i'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Beneficiary Medicare Benefits Exhausted Date')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0286_nch_bene_pta_coinsrnc_lblty_am.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0286_nch_bene_pta_coinsrnc_lblty_am.json new file mode 100644 index 0000000000..130877f1c9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0286_nch_bene_pta_coinsrnc_lblty_am.json @@ -0,0 +1,43 @@ +{ + "id": 286, + "name": "Part A Coinsurance Liability Amount", + "description": "The amount of money for which the intermediary has determined that the beneficiary is liable for Part A coinsurance on the institutional claim.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_pta_coinsrnc_lblty_am", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "partACoinsuranceLiabilityAmount", + "ccwMapping": [ + "NCH_BENE_PTA_COINSRNC_LBLTY_AM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_bene_pta_coinsrnc_lblty_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_pta_coinsrnc_lblty_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Beneficiary Part A Coinsurance Liability Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_bene_pta_coinsrnc_lblty_amt\",\\n \"display\": \"NCH Beneficiary Part A Coinsurance Liability Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 5,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0287_nch_bene_ptb_coinsrnc_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0287_nch_bene_ptb_coinsrnc_amt.json new file mode 100644 index 0000000000..1cd770bb5b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0287_nch_bene_ptb_coinsrnc_amt.json @@ -0,0 +1,42 @@ +{ + "id": 287, + "name": "Part B Coinsurance Amount", + "description": "The amount of money for which the intermediary has determined that the beneficiary is liable for Part B coinsurance on the institutional claim.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_ptb_coinsrnc_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "coinsuranceAmount", + "ccwMapping": [ + "NCH_BENE_PTB_COINSRNC_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_coinsrnc_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_coinsrnc_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Beneficiary Part B Coinsurance Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_coinsrnc_amt\",\\n \"display\": \"NCH Beneficiary Part B Coinsurance Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 175.73,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0288_nch_bene_ptb_ddctbl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0288_nch_bene_ptb_ddctbl_amt.json new file mode 100644 index 0000000000..28b382fdfc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0288_nch_bene_ptb_ddctbl_amt.json @@ -0,0 +1,42 @@ +{ + "id": 288, + "name": "Part B Deductible Amount", + "description": "The amount of money for which the intermediary or carrier has determined that the beneficiary is liable for the Part B cash deductible on the claim.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_bene_ptb_ddctbl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "deductibleAmount", + "ccwMapping": [ + "NCH_BENE_PTB_DDCTBL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_ddctbl_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_ddctbl_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Beneficiary Part B Deductible Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_bene_ptb_ddctbl_amt\",\\n \"display\": \"NCH Beneficiary Part B Deductible Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 112,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0289_nch_blood_pnts_frnshd_qty.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0289_nch_blood_pnts_frnshd_qty.json new file mode 100644 index 0000000000..fdab6e03b2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0289_nch_blood_pnts_frnshd_qty.json @@ -0,0 +1,48 @@ +{ + "id": 289, + "name": "Blood Pints Furnished Quantity", + "description": "Number of whole pints of blood furnished to the beneficiary, as reported on the carrier claim (non-DMERC).", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_blood_pnts_frnshd_qty", + "bfdDbType": "NUM", + "bfdDbSize": 3, + "bfdJavaFieldName": "bloodPintsFurnishedQty", + "ccwMapping": [ + "NCH_BLOOD_PNTS_FRNSHD_QTY" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].valueQuantity.value", + "fhirPath": "supportingInfo.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/information' and code='https://bluebutton.cms.gov/resources/variables/nch_blood_pnts_frnshd_qty')).valueQuantity.value", + "discriminator": [ + "supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_blood_pnts_frnshd_qty'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Blood Pints Furnished Quantity'", + "eob.supportingInfo[N].valueQuality.unit = 'pint'", + "eob.supportingInfo[N].valueQuality.system = 'http://unitsofmeasure.org'", + "eob.supportingInfo[N].valueQuality.code = '[pt_us]'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 6,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_blood_pnts_frnshd_qty\",\\n \"display\": \"NCH Blood Pints Furnished Quantity\"\\n }\\n ]\\n },\\n \"valueQuantity\": {\\n \"value\": 19,\\n \"unit\": \"pint\",\\n \"system\": \"http://unitsofmeasure.org\",\\n \"code\": \"[pt_us]\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0290_nch_carr_clm_alowd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0290_nch_carr_clm_alowd_amt.json new file mode 100644 index 0000000000..76aded7cfd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0290_nch_carr_clm_alowd_amt.json @@ -0,0 +1,43 @@ +{ + "id": 290, + "name": "Carrier Allowed Charge Amount", + "description": "The total allowed charges on the claim (the sum of line item allowed charges).", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_carr_clm_alowd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "allowedChargeAmount", + "ccwMapping": [ + "NCH_CARR_CLM_ALOWD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_carr_clm_alowd_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_carr_clm_alowd_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Carrier Claim Allowed Charge Amount (sum of all line-level allowed charges)'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_carr_clm_alowd_amt\",\\n \"display\": \"NCH Carrier Claim Allowed Charge Amount (sum of all line-level allowed charges)\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 166.23,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0291_nch_carr_clm_sbmtd_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0291_nch_carr_clm_sbmtd_chrg_amt.json new file mode 100644 index 0000000000..bd27369aa1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0291_nch_carr_clm_sbmtd_chrg_amt.json @@ -0,0 +1,43 @@ +{ + "id": 291, + "name": "Submitted Charge Amount", + "description": "The total submitted charges on the claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_carr_clm_sbmtd_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "submittedChargeAmount", + "ccwMapping": [ + "NCH_CARR_CLM_SBMTD_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_carr_clm_sbmtd_chrg_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_carr_clm_sbmtd_chrg_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Carrier Claim Submitted Charge Amount (sum of all line-level submitted charges)'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_carr_clm_sbmtd_chrg_amt\",\\n \"display\": \"NCH Carrier Claim Submitted Charge Amount (sum of all line-level submitted charges)\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 245.04,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0292_nch_clm_bene_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0292_nch_clm_bene_pmt_amt.json new file mode 100644 index 0000000000..1bc80f4b41 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0292_nch_clm_bene_pmt_amt.json @@ -0,0 +1,43 @@ +{ + "id": 292, + "name": "Beneficiary Payment Amount", + "description": "The total payments made to the beneficiary for this claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_clm_bene_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "beneficiaryPaymentAmount", + "ccwMapping": [ + "NCH_CLM_BENE_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_clm_bene_pmt_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_clm_bene_pmt_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Claim Payment Amount to Beneficiary'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_clm_bene_pmt_amt\",\\n \"display\": \"NCH Claim Payment Amount to Beneficiary\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 888,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0293_nch_clm_prvdr_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0293_nch_clm_prvdr_pmt_amt.json new file mode 100644 index 0000000000..d3cc73bad2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0293_nch_clm_prvdr_pmt_amt.json @@ -0,0 +1,43 @@ +{ + "id": 293, + "name": "Provider Payment Amount", + "description": "The total payments made to the provider for this claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_clm_prvdr_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "providerPaymentAmount", + "ccwMapping": [ + "NCH_CLM_PRVDR_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_clm_prvdr_pmt_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_clm_prvdr_pmt_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Claim Provider Payment Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_clm_prvdr_pmt_amt\",\\n \"display\": \"NCH Claim Provider Payment Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 123.45,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0294_nch_clm_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0294_nch_clm_type_cd.json new file mode 100644 index 0000000000..a07f64f5f5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0294_nch_clm_type_cd.json @@ -0,0 +1,58 @@ +{ + "id": 294, + "name": "Claim Type Code", + "description": "The type of claim that was submitted. There are different claim types for each major category of health care provider.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_clm_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "claimTypeCode", + "ccwMapping": [ + "NCH_CLM_TYPE_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_TYPE_CD", + "CCLF2.CLM_TYPE_CD", + "CCLF3.CLM_TYPE_CD", + "CCLF4.CLM_TYPE_CD", + "CCLF5.CLM_TYPE_CD", + "CCLF6.CLM_TYPE_CD", + "CCLF7.CLM_TYPE_CD", + "CCLFA.CLM_TYPE_CD", + "CCLFB.CLM_TYPE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "type.coding[N].code", + "fhirPath": "type.coding.where(system='https://bluebutton.cms.gov/resources/variables/nch_clm_type_cd').code", + "discriminator": [ + "type.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nch_clm_type_cd'" + ], + "additional": [ + "eob.type.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/nch_clm_type_cd\",\\n \"code\": \"71\",\\n \"display\": \"Local carrier non-durable medical equipment, prosthetics, orthotics, and supplies (DMEPOS) claim\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0295_nch_drg_outlier_aprvd_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0295_nch_drg_outlier_aprvd_pmt_amt.json new file mode 100644 index 0000000000..86fe76976d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0295_nch_drg_outlier_aprvd_pmt_amt.json @@ -0,0 +1,42 @@ +{ + "id": 295, + "name": "DRG Outlier Approved Payment Amount", + "description": "On an institutional claim, the additional payment amount approved by the Quality Improvement Organization due to an outlier situation for a beneficiary's stay under the prospective payment system (PPS), which has been classified into a specific diagnosis related group (DRG).", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_drg_outlier_aprvd_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "drgOutlierApprovedPaymentAmount", + "ccwMapping": [ + "NCH_DRG_OUTLIER_APRVD_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_drg_outlier_aprvd_pmt_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_drg_outlier_aprvd_pmt_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH DRG Outlier Approved Payment Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_drg_outlier_aprvd_pmt_amt\",\\n \"display\": \"NCH DRG Outlier Approved Payment Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 23.99,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0296_nch_ip_ncvrd_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0296_nch_ip_ncvrd_chrg_amt.json new file mode 100644 index 0000000000..3ead52403f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0296_nch_ip_ncvrd_chrg_amt.json @@ -0,0 +1,43 @@ +{ + "id": 296, + "name": "Inpatient Noncovered Charge Amount", + "description": "The non-covered charges for all accommodations and services, reported on an inpatient claim (used for internal NCHMQA editing purposes).", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_ip_ncvrd_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "noncoveredCharge", + "ccwMapping": [ + "NCH_IP_NCVRD_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_ip_ncvrd_chrg_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_ip_ncvrd_chrg_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Inpatient(or other Part A) Non-covered Charge Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_ip_ncvrd_chrg_amt\",\\n \"display\": \"NCH Inpatient(or other Part A) Non-covered Charge Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 33,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0297_nch_ip_tot_ddctn_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0297_nch_ip_tot_ddctn_amt.json new file mode 100644 index 0000000000..0fed35282c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0297_nch_ip_tot_ddctn_amt.json @@ -0,0 +1,43 @@ +{ + "id": 297, + "name": "Inpatient Total Deduction Amount", + "description": "The total of all Part A and blood deductibles and coinsurance amounts on the claim.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_ip_tot_ddctn_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "totalDeductionAmount", + "ccwMapping": [ + "NCH_IP_TOT_DDCTN_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_ip_tot_ddctn_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_ip_tot_ddctn_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Inpatient (or other Part A) Total Deductible/Coinsurance Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_ip_tot_ddctn_amt\",\\n \"display\": \"NCH Inpatient (or other Part A) Total Deductible/Coinsurance Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 14,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0298_nch_near_line_rec_ident_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0298_nch_near_line_rec_ident_cd.json new file mode 100644 index 0000000000..a35f7e0b26 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0298_nch_near_line_rec_ident_cd.json @@ -0,0 +1,47 @@ +{ + "id": 298, + "name": "Near Line Record Identification Code", + "description": "A code defining the type of claim record being processed.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_near_line_rec_ident_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "nearLineRecordIdCode", + "ccwMapping": [ + "NCH_NEAR_LINE_REC_IDENT_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/nch_near_line_rec_ident_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/nch_near_line_rec_ident_cd'" + ], + "additional": [ + "eob.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/nch_near_line_rec_ident_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/nch_near_line_rec_ident_cd\",\\n \"code\": \"O\",\\n \"display\": \"Part B physician/supplier claim record (processed by local carriers; can include DMEPOS services)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0299_nch_prmry_pyr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0299_nch_prmry_pyr_cd.json new file mode 100644 index 0000000000..761831f3e4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0299_nch_prmry_pyr_cd.json @@ -0,0 +1,52 @@ +{ + "id": 299, + "name": "Primary Payer Code", + "description": "The code, on an institutional claim, specifying a federal non-Medicare program or other source that has primary responsibility for the payment of the Medicare beneficiary's health insurance bills.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_prmry_pyr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "claimPrimaryPayerCode", + "ccwMapping": [ + "NCH_PRMRY_PYR_CD" + ], + "cclfMapping": [ + "CCLF1.CLM_NCH_PRMRY_PYR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/nch_prmry_pyr_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nch_prmry_pyr_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_prmry_pyr_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Primary Payer Code (if not Medicare)')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 10,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_prmry_pyr_cd\",\\n \"display\": \"NCH Primary Payer Code (if not Medicare)\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/nch_prmry_pyr_cd\",\\n \"code\": \"A\",\\n \"display\": \"Employer group health plan (EGHP) insurance for an aged beneficiary\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0300_nch_prmry_pyr_clm_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0300_nch_prmry_pyr_clm_pd_amt.json new file mode 100644 index 0000000000..ab5b0cf32a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0300_nch_prmry_pyr_clm_pd_amt.json @@ -0,0 +1,46 @@ +{ + "id": 300, + "name": "Primary Payer Paid Amount", + "description": "The amount of a payment made on behalf of a Medicare beneficiary by a primary payer other than Medicare, that the provider is applying to covered Medicare charges on a non-institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_prmry_pyr_clm_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "primaryPayerPaidAmount", + "ccwMapping": [ + "NCH_PRMRY_PYR_CLM_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/prpayamt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/prpayamt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'NCH Primary Payer (if not Medicare) Claim Paid Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/prpayamt\",\\n \"display\": \"NCH Primary Payer (if not Medicare) Claim Paid Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 11,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0301_nch_profnl_cmpnt_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0301_nch_profnl_cmpnt_chrg_amt.json new file mode 100644 index 0000000000..9f85e8d799 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0301_nch_profnl_cmpnt_chrg_amt.json @@ -0,0 +1,43 @@ +{ + "id": 301, + "name": "Professional Component Charge", + "description": "This field is the amount of physician and other professional charges covered under Medicare Part B.", + "appliesTo": [ + "Inpatient", + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_profnl_cmpnt_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "professionalComponentCharge", + "ccwMapping": [ + "NCH_PROFNL_CMPNT_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "benefitBalance[N].financial[N].usedMoney.value", + "fhirPath": "benefitBalance[%n].financial.where(type.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/benefit-balance' and code='https://bluebutton.cms.gov/resources/variables/nch_profnl_cmpnt_chrg_amt')).usedMoney.value", + "discriminator": [ + "benefitBalance[N].financial[N].type.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/benefit-balance'", + "benefitBalance[N].financial[N].type.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_profnl_cmpnt_chrg_amt'" + ], + "additional": [ + "eob.benefitBalance[N].financial[N].type.coding[N].display = 'Professional Component Charge Amount'", + "eob.benefitBalance[N].financial[N].usedMoney.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/benefit-balance\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_profnl_cmpnt_chrg_amt\",\\n \"display\": \"Professional Component Charge Amount\"\\n }\\n ]\\n },\\n \"usedMoney\": {\\n \"value\": 4,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0302_nch_ptnt_status_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0302_nch_ptnt_status_ind_cd.json new file mode 100644 index 0000000000..314eac1ba1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0302_nch_ptnt_status_ind_cd.json @@ -0,0 +1,48 @@ +{ + "id": 302, + "name": "Patient Status Code", + "description": "This variable is a recoded version of the discharge status code.", + "appliesTo": [ + "Inpatient", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_ptnt_status_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "patientStatusCd", + "ccwMapping": [ + "NCH_PTNT_STATUS_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system ='https://bluebutton.cms.gov/resources/variables/nch_ptnt_stus_ind_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nch_ptnt_stus_ind_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_ptnt_stus_ind_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Patient Status Indicator Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 1,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_ptnt_stus_ind_cd\",\\n \"display\": \"NCH Patient Status Indicator Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/nch_ptnt_stus_ind_cd\",\\n \"code\": \"A\",\\n \"display\": \"Discharged\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0303_nch_qlfyd_stay_from_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0303_nch_qlfyd_stay_from_dt.json new file mode 100644 index 0000000000..aaabec0143 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0303_nch_qlfyd_stay_from_dt.json @@ -0,0 +1,43 @@ +{ + "id": 303, + "name": "Qualified Stay From Date", + "description": "The beginning date of the beneficiary's qualifying Medicare stay.", + "appliesTo": [ + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_qlfyd_stay_from_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "qualifiedStayFromDate", + "ccwMapping": [ + "NCH_QLFYD_STAY_FROM_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.start", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt')).timingPeriod.start", + "discriminator": [ + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Qualified Stay From Date')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 9,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt\",\\n \"display\": \"NCH Qualified Stay From Date\"\\n }\\n ]\\n },\\n \"timingPeriod\": {\\n \"start\": \"2013-09-23\",\\n \"end\": \"2013-11-05\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0304_nch_qlfyd_stay_thru_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0304_nch_qlfyd_stay_thru_dt.json new file mode 100644 index 0000000000..38ab1bc296 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0304_nch_qlfyd_stay_thru_dt.json @@ -0,0 +1,43 @@ +{ + "id": 304, + "name": "Qualified Stay Through Date", + "description": "The ending date of the beneficiary's qualifying Medicare stay.", + "appliesTo": [ + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_qlfyd_stay_thru_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "qualifiedStayThroughDate", + "ccwMapping": [ + "NCH_QLFYD_STAY_THRU_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.end", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt')).timingPeriod.end", + "discriminator": [ + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Qualified Stay From Date')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 9,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_qlfyd_stay_from_dt\",\\n \"display\": \"NCH Qualified Stay From Date\"\\n }\\n ]\\n },\\n \"timingPeriod\": {\\n \"start\": \"2013-09-23\",\\n \"end\": \"2013-11-05\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0305_nch_vrfd_ncvrd_stay_from_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0305_nch_vrfd_ncvrd_stay_from_dt.json new file mode 100644 index 0000000000..497f7e7d8d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0305_nch_vrfd_ncvrd_stay_from_dt.json @@ -0,0 +1,44 @@ +{ + "id": 305, + "name": "Noncovered Stay From Date", + "description": "The beginning date of the beneficiary's Non-covered stay.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_vrfd_ncvrd_stay_from_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "noncoveredStayFromDate", + "ccwMapping": [ + "NCH_VRFD_NCVRD_STAY_FROM_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.start", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_vrfd_ncvrd_stay_from_dt')).timingPeriod.start", + "discriminator": [ + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_vrfd_ncvrd_stay_from_dt'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Verified Non-covered Stay From Date')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0306_nch_vrfd_ncvrd_stay_thru_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0306_nch_vrfd_ncvrd_stay_thru_dt.json new file mode 100644 index 0000000000..d96cf5e070 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0306_nch_vrfd_ncvrd_stay_thru_dt.json @@ -0,0 +1,44 @@ +{ + "id": 306, + "name": "Noncovered Stay Through Date", + "description": "The ending date of the beneficiary's non-covered stay.", + "appliesTo": [ + "Inpatient", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_vrfd_ncvrd_stay_thru_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "noncoveredStayThroughDate", + "ccwMapping": [ + "NCH_VRFD_NCVRD_STAY_THRU_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingPeriod.end", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_vrfd_ncvrd_stay_from_dt')).timingPeriod.end", + "discriminator": [ + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_vrfd_ncvrd_stay_from_dt'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Verified Non-covered Stay From Date')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0307_nch_wkly_proc_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0307_nch_wkly_proc_dt.json new file mode 100644 index 0000000000..e96a7ec415 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0307_nch_wkly_proc_dt.json @@ -0,0 +1,56 @@ +{ + "id": 307, + "name": "Weekly Process Date", + "description": "The date the weekly NCH database load process cycle begins, during which the claim records are loaded into the Nearline file. This date will always be a Friday, although the claims will actually be appended to the database subsequent to the date.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nch_wkly_proc_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "weeklyProcessDate", + "ccwMapping": [ + "NCH_WKLY_PROC_DT" + ], + "cclfMapping": [ + "CCLF1.CLM_EFCTV_DT", + "CCLF5.CLM_EFCTV_DT", + "CCLF6.CLM_EFCTV_DT", + "CCLF7.CLM_EFCTV_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].timingDate", + "fhirPath": "supportingInfo.where(category.coding.where(code='https://bluebutton.cms.gov/resources/variables/nch_wkly_proc_dt')).timingDate", + "discriminator": [ + "supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nch_wkly_proc_dt'" + ], + "additional": [ + "(eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'clmrecvddate'", + "eob.supportingInfo[N].category.coding[N].display = 'Claim Received Date')", + "eob.supportingInfo[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].display = 'NCH Weekly Claim Processing Date')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 1,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"clmrecvddate\",\\n \"display\": \"Claim Received Date\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nch_wkly_proc_dt\",\\n \"display\": \"NCH Weekly Claim Processing Date\"\\n }\\n ]\\n },\\n \"timingDate\": \"1999-11-06\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0308_ncvrd_plan_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0308_ncvrd_plan_pd_amt.json new file mode 100644 index 0000000000..ff2c753af5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0308_ncvrd_plan_pd_amt.json @@ -0,0 +1,45 @@ +{ + "id": 308, + "name": "Part D Plan Noncovered Paid Amount", + "description": "This is the net amount paid by the Part D plan (i.e., for enhanced alternative benefits) including cost sharing fill-in and/or non-Part D drugs. This dollar amount is excluded from risk corridor calculations.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "ncvrd_plan_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "partDPlanNonCoveredPaidAmount", + "ccwMapping": [ + "NCVRD_PLAN_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/variables/ncvrd_plan_pd_amt')).reason.coding.code", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/ncvrd_plan_pd_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'benefit'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Benefit Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount paid by Part D plan for the PDE (drug is not covered by Part D)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "This value is only supplied if Drug Coverage Status Code = 'C'. See \"Drug Coverage Status Code\" and https://bluebutton.cms.gov/resources/variables/drug_cvrg_stus_cd/", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0309_nstd_frmt_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0309_nstd_frmt_cd.json new file mode 100644 index 0000000000..c5b633f63b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0309_nstd_frmt_cd.json @@ -0,0 +1,45 @@ +{ + "id": 309, + "name": "Non-standard Format Code", + "description": "This data element is used by CMS to identify PDE records that are compiled from non-standard sources.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "nstd_frmt_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "nonstandardFormatCode", + "ccwMapping": [ + "NSTD_FRMT_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Non-Standard Format Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 8,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd\",\\n \"display\": \"Non-Standard Format Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd\",\\n \"code\": \"X\",\\n \"display\": \"X12 837\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0310_op_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0310_op_physn_npi.json new file mode 100644 index 0000000000..08daf3ae88 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0310_op_physn_npi.json @@ -0,0 +1,50 @@ +{ + "id": 310, + "name": "Operating Physician NPI", + "description": "On an institutional claim, the National Provider Identifier (NPI) number assigned to uniquely identify the physician with the primary responsibility for performing the surgical procedure(s).", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "op_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "operatingPhysicianNpi", + "ccwMapping": [ + "OP_PHYSN_NPI" + ], + "cclfMapping": [ + "CCLF1.OPRTG_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code='operating')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].role.coding[N].code = 'operating'", + "careTeam[N].provider.identifier[N].system = 'http://hl7.org/fhir/sid/us-npi'" + ], + "additional": [ + "(eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Operating')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"3333444555\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0311_op_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0311_op_physn_upin.json new file mode 100644 index 0000000000..2529ad500a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0311_op_physn_upin.json @@ -0,0 +1,46 @@ +{ + "id": 311, + "name": "Operating Physician UPIN", + "description": "On an institutional claim, the unique physician identification number (UPIN) of the physician who performed the principal procedure. This element is used by the provider to identify the operating physician who performed the surgical procedure.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "op_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 6, + "bfdJavaFieldName": "operatingPhysicianUpin", + "ccwMapping": [ + "OP_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code='operating')).provider.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "careTeam[N].role.coding[N].code = 'operating'", + "careTeam[N].provider.identifier[N].system = 'http://hl7.org/fhir/sid/us-upin'" + ], + "additional": [ + "(eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Operating')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0312_org_npi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0312_org_npi_num.json new file mode 100644 index 0000000000..59f9f416ed --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0312_org_npi_num.json @@ -0,0 +1,51 @@ +{ + "id": 312, + "name": "Organization NPI", + "description": "The National Provider Identifier (NPI) of the organization or group practice.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "org_npi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "organizationNpi", + "ccwMapping": [ + "ORG_NPI_NUM" + ], + "cclfMapping": [ + "CCLF1.FAC_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "contained[N].identifier[N].value", + "fhirPath": "contained.where(resourceType='Organization').identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "contained[N].identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "contained[N].identifier[N].type.coding[N].code = 'npi'", + "contained[N].resourceType = 'Organization'" + ], + "additional": [ + "eob.contained[N].id = ", + "eob.contained[N].name", + "eob.contained[N].meta.profile = ['http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization' ]" + ], + "derived": "", + "note": "The will be used in the eob.provider field. This references the internal/contained provider ogranization.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\"\\n }\\n ]\\n },\\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\\n \"value\": \"0000000000\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0313_org_npi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0313_org_npi_num.json new file mode 100644 index 0000000000..1dcce76613 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0313_org_npi_num.json @@ -0,0 +1,48 @@ +{ + "id": 313, + "name": "Organization NPI", + "description": "The National Provider Identifier (NPI) of the organization or group practice.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "org_npi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "organizationNpi", + "ccwMapping": [ + "ORG_NPI_NUM" + ], + "cclfMapping": [ + "CCLF1.FAC_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'primary')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].role.coding[N].code = 'primary'", + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'" + ], + "additional": [ + "(eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claimcareteamrole'", + "eob.careTeam[N].role.coding[N].display = 'Primary provider')" + ], + "derived": "", + "note": "The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"0000000000\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0314_ot_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0314_ot_physn_npi.json new file mode 100644 index 0000000000..22f9b8ae9d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0314_ot_physn_npi.json @@ -0,0 +1,49 @@ +{ + "id": 314, + "name": "Other Physician NPI", + "description": "On an institutional claim, the National Provider Identifier (NPI) number assigned to uniquely identify the other physician associated with the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ot_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "otherPhysicianNpi", + "ccwMapping": [ + "OT_PHYSN_NPI" + ], + "cclfMapping": [ + "CCLF1.OTHR_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'otheroperating')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].role.coding[N].code = 'otheroperating'", + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'" + ], + "additional": [ + "(eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Other Operating')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"161943433\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0315_ot_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0315_ot_physn_upin.json new file mode 100644 index 0000000000..0fee776c23 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0315_ot_physn_upin.json @@ -0,0 +1,46 @@ +{ + "id": 315, + "name": "Other Physician UPIN", + "description": "On an institutional claim, the unique physician identification number (UPIN) of the other physician associated with the institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ot_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 6, + "bfdJavaFieldName": "otherPhysicianUpin", + "ccwMapping": [ + "OT_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'otheroperating')).provider.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "careTeam[N].role.coding[N].code = 'otheroperating'", + "careTeam[N].provider.identifier[N].system = 'http://hl7.org/fhir/sid/us-upin'" + ], + "additional": [ + "(eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Other Operating')" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0316_othr_troop_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0316_othr_troop_amt.json new file mode 100644 index 0000000000..06b5bace56 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0316_othr_troop_amt.json @@ -0,0 +1,45 @@ +{ + "id": 316, + "name": "Other True Out Of Pocket Paid Amount", + "description": "This is the amount of any payment made by other third-party payers that reduces the beneficiary\u2019s liability for the PDE and counts towards Part D\u2019s true out-of-pocket (TrOOP) requirement. Two examples are payments by qualified state pharmacy assistance programs or charities. This variable does not include amounts covered by the Part D low-income subsidy.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "othr_troop_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "otherTrueOutOfPocketPaidAmount", + "ccwMapping": [ + "OTHR_TROOP_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/othr_troop_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/othr_troop_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'priorpayerpaid'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Prior Payer Paid')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Other True Out-of-Pocket (TrOOP) Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/othr_troop_amt\",\\n \"display\": \"Other True Out-of-Pocket (TrOOP) Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 17.3,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0317_pd_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0317_pd_dt.json new file mode 100644 index 0000000000..2d0957f998 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0317_pd_dt.json @@ -0,0 +1,36 @@ +{ + "id": 317, + "name": "Payment Date", + "description": "The date on which the plan originally paid the pharmacy for the prescription drug.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "pd_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "paymentDate", + "ccwMapping": [ + "PD_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "payment.date", + "fhirPath": "payment.date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n \"2015-05-27\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0318_pde_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0318_pde_id.json new file mode 100644 index 0000000000..e8b6a16a54 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0318_pde_id.json @@ -0,0 +1,43 @@ +{ + "id": 318, + "name": "Event Id", + "description": "Identifies a unique Part D event for a beneficiary.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "pde_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "eventId", + "ccwMapping": [ + "PDE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='https://bluebutton.cms.gov/resources/variables/pde_id').value", + "discriminator": [ + "identifier[N].system = 'https://bluebutton.cms.gov/resources/variables/pde_id'" + ], + "additional": [ + "eob.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.identifier[N].type.coding[N].system = 'uc'", + "eob.identifier[N].type.coding[N].system = 'Unique Claim ID'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"uc\",\\n \"display\": \"Unique Claim ID\"\\n }\\n ]\\n },\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/pde_id\",\\n \"value\": \"89\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0319_phrmcy_srvc_type_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0319_phrmcy_srvc_type_cd.json new file mode 100644 index 0000000000..7f2dffd669 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0319_phrmcy_srvc_type_cd.json @@ -0,0 +1,43 @@ +{ + "id": 319, + "name": "Pharmacy Type Code", + "description": "The type of pharmacy used. This variable indicates the type of pharmacy that dispensed the prescription, as recorded on the PDE.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "phrmcy_srvc_type_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "pharmacyTypeCode", + "ccwMapping": [ + "PHRMCY_SRVC_TYPE_CD" + ], + "cclfMapping": [ + "CCLF7.CLM_PHRMCY_SRVC_TYPE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "facility.extension[N].valueCoding.code", + "fhirPath": "facility.extension.where(url='https://bluebutton.cms.gov/resources/variables/phrmcy_srvc_type_cd').valueCoding.code", + "discriminator": [ + "facility.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/phrmcy_srvc_type_cd'" + ], + "additional": [ + "eob.facility.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/phrmcy_srvc_type_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/phrmcy_srvc_type_cd\",\\n \"code\": \"01\",\\n \"display\": \"Community/retail pharmacy\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0320_plan_cntrct_rec_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0320_plan_cntrct_rec_id.json new file mode 100644 index 0000000000..952d2c6146 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0320_plan_cntrct_rec_id.json @@ -0,0 +1,41 @@ +{ + "id": 320, + "name": "Plan Contract ID", + "description": "This variable is the unique Part D contract identifier for the beneficiary\u2019s Part D plan of record for the year. CMS assigns an identifier to each contract that a Part D plan has with CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "plan_cntrct_rec_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "planContractId", + "ccwMapping": [ + "PLAN_CNTRCT_REC_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "insurance[N].coverage.extension[N].valueIdentifier.value", + "fhirPath": "insurance.coverage.extension.where(url='https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id').valueIdentifier.value", + "discriminator": [ + "insurance[N].coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id'", + "insurance[N].coverage.extension[N].valueIdentifier.system = 'https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id'" + ], + "additional": [ + "eob.insurance[N].focal = true" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id\",\\n \"value\": \"H9999\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0321_plan_pbp_rec_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0321_plan_pbp_rec_num.json new file mode 100644 index 0000000000..790bd1f711 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0321_plan_pbp_rec_num.json @@ -0,0 +1,41 @@ +{ + "id": 321, + "name": "Plan Benefit Package ID", + "description": "This variable is the unique plan benefit package (PBP) identifier for the beneficiary\u2019s Part D plan of record for the year. CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "plan_pbp_rec_num", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "planBenefitPackageId", + "ccwMapping": [ + "PLAN_PBP_REC_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "insurance[N].coverage.extension[N].valueIdentifier.value", + "fhirPath": "insurance.coverage.extension.where(url='https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num').valueIdentifier.value", + "discriminator": [ + "insurance[N].coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num'", + "insurance[N].coverage.extension[N].valueIdentifier.system = 'https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num'" + ], + "additional": [ + "eob.insurance[N].focal = true" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num\",\\n \"value\": \"020\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0322_plro_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0322_plro_amt.json new file mode 100644 index 0000000000..6d76c144e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0322_plro_amt.json @@ -0,0 +1,45 @@ +{ + "id": 322, + "name": "Patient Liability Reduction Other Paid Amount", + "description": "This is the amount of any payment by other third-party payers that reduces the beneficiary\u2019s liability for the PDE but does not count towards Part D\u2019s true out-of-pocket (TrOOP) requirement. Examples include payments by group health plans, worker's compensation, and governmental programs like the Veterans Administration and TRICARE.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "plro_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "patientLiabilityReductionOtherPaidAmount", + "ccwMapping": [ + "PLRO_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/plro_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/plro_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'priorpayerpaid'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Prior Payer Paid')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Reduction in patient liability due to payments by other payers (PLRO)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/plro_amt\",\\n \"display\": \"Reduction in patient liability due to payments by other payers (PLRO)\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 42.42,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0323_prcdr_dt1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0323_prcdr_dt1.json new file mode 100644 index 0000000000..19d6af2b92 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0323_prcdr_dt1.json @@ -0,0 +1,42 @@ +{ + "id": 323, + "name": "Procedure Code 1 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt1", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure1Date", + "ccwMapping": [ + "PRCDR_DT1" + ], + "cclfMapping": [ + "CCLF3.CLM_PRCDR_PRFRM_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[0].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-16T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0324_prcdr_dt10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0324_prcdr_dt10.json new file mode 100644 index 0000000000..33c3a755f4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0324_prcdr_dt10.json @@ -0,0 +1,39 @@ +{ + "id": 324, + "name": "Procedure Code 10 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt10", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure10Date", + "ccwMapping": [ + "PRCDR_DT10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[9].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0325_prcdr_dt11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0325_prcdr_dt11.json new file mode 100644 index 0000000000..f5eb4b9a08 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0325_prcdr_dt11.json @@ -0,0 +1,39 @@ +{ + "id": 325, + "name": "Procedure Code 11 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt11", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure11Date", + "ccwMapping": [ + "PRCDR_DT11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[10].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0326_prcdr_dt12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0326_prcdr_dt12.json new file mode 100644 index 0000000000..8e8b42a4a7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0326_prcdr_dt12.json @@ -0,0 +1,39 @@ +{ + "id": 326, + "name": "Procedure Code 12 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt12", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure12Date", + "ccwMapping": [ + "PRCDR_DT12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[11].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0327_prcdr_dt13.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0327_prcdr_dt13.json new file mode 100644 index 0000000000..a2597bb96d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0327_prcdr_dt13.json @@ -0,0 +1,39 @@ +{ + "id": 327, + "name": "Procedure Code 13 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt13", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure13Date", + "ccwMapping": [ + "PRCDR_DT13" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[12].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0328_prcdr_dt14.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0328_prcdr_dt14.json new file mode 100644 index 0000000000..277b9beb03 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0328_prcdr_dt14.json @@ -0,0 +1,39 @@ +{ + "id": 328, + "name": "Procedure Code 14 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt14", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure14Date", + "ccwMapping": [ + "PRCDR_DT14" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[13].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0329_prcdr_dt15.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0329_prcdr_dt15.json new file mode 100644 index 0000000000..1d06ff3640 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0329_prcdr_dt15.json @@ -0,0 +1,39 @@ +{ + "id": 329, + "name": "Procedure Code 15 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt15", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure15Date", + "ccwMapping": [ + "PRCDR_DT15" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[14].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0330_prcdr_dt16.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0330_prcdr_dt16.json new file mode 100644 index 0000000000..0025e27f45 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0330_prcdr_dt16.json @@ -0,0 +1,39 @@ +{ + "id": 330, + "name": "Procedure Code 16 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt16", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure16Date", + "ccwMapping": [ + "PRCDR_DT16" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[15].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0331_prcdr_dt17.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0331_prcdr_dt17.json new file mode 100644 index 0000000000..664459e252 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0331_prcdr_dt17.json @@ -0,0 +1,39 @@ +{ + "id": 331, + "name": "Procedure Code 17 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt17", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure17Date", + "ccwMapping": [ + "PRCDR_DT17" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[16].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0332_prcdr_dt18.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0332_prcdr_dt18.json new file mode 100644 index 0000000000..60777a937b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0332_prcdr_dt18.json @@ -0,0 +1,39 @@ +{ + "id": 332, + "name": "Procedure Code 18 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt18", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure18Date", + "ccwMapping": [ + "PRCDR_DT18" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[17].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0333_prcdr_dt19.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0333_prcdr_dt19.json new file mode 100644 index 0000000000..a4650495ca --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0333_prcdr_dt19.json @@ -0,0 +1,39 @@ +{ + "id": 333, + "name": "Procedure Code 19 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt19", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure19Date", + "ccwMapping": [ + "PRCDR_DT19" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[18].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0334_prcdr_dt2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0334_prcdr_dt2.json new file mode 100644 index 0000000000..a0b194e4b7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0334_prcdr_dt2.json @@ -0,0 +1,39 @@ +{ + "id": 334, + "name": "Procedure Code 2 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt2", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure2Date", + "ccwMapping": [ + "PRCDR_DT2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[1].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-16T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0335_prcdr_dt20.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0335_prcdr_dt20.json new file mode 100644 index 0000000000..ad98ff0e06 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0335_prcdr_dt20.json @@ -0,0 +1,39 @@ +{ + "id": 335, + "name": "Procedure Code 20 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt20", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure20Date", + "ccwMapping": [ + "PRCDR_DT20" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[19].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0336_prcdr_dt21.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0336_prcdr_dt21.json new file mode 100644 index 0000000000..e2bdb23d18 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0336_prcdr_dt21.json @@ -0,0 +1,39 @@ +{ + "id": 336, + "name": "Procedure Code 21 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt21", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure21Date", + "ccwMapping": [ + "PRCDR_DT21" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[20].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0337_prcdr_dt22.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0337_prcdr_dt22.json new file mode 100644 index 0000000000..da2e04acc0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0337_prcdr_dt22.json @@ -0,0 +1,39 @@ +{ + "id": 337, + "name": "Procedure Code 22 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt22", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure22Date", + "ccwMapping": [ + "PRCDR_DT22" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[21].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0338_prcdr_dt23.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0338_prcdr_dt23.json new file mode 100644 index 0000000000..25a1ba29c1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0338_prcdr_dt23.json @@ -0,0 +1,39 @@ +{ + "id": 338, + "name": "Procedure Code 23 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt23", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure23Date", + "ccwMapping": [ + "PRCDR_DT23" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[22].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0339_prcdr_dt24.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0339_prcdr_dt24.json new file mode 100644 index 0000000000..fe686cb61f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0339_prcdr_dt24.json @@ -0,0 +1,39 @@ +{ + "id": 339, + "name": "Procedure Code 24 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt24", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure24Date", + "ccwMapping": [ + "PRCDR_DT24" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[23].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0340_prcdr_dt25.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0340_prcdr_dt25.json new file mode 100644 index 0000000000..bf96195b0a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0340_prcdr_dt25.json @@ -0,0 +1,39 @@ +{ + "id": 340, + "name": "Procedure Code 25 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt25", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure25Date", + "ccwMapping": [ + "PRCDR_DT25" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[24].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0341_prcdr_dt3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0341_prcdr_dt3.json new file mode 100644 index 0000000000..623f049bc3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0341_prcdr_dt3.json @@ -0,0 +1,39 @@ +{ + "id": 341, + "name": "Procedure Code 3 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt3", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure3Date", + "ccwMapping": [ + "PRCDR_DT3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[2].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-15T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0342_prcdr_dt4.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0342_prcdr_dt4.json new file mode 100644 index 0000000000..88c67f6637 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0342_prcdr_dt4.json @@ -0,0 +1,39 @@ +{ + "id": 342, + "name": "Procedure Code 4 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt4", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure4Date", + "ccwMapping": [ + "PRCDR_DT4" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[3].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-17T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0343_prcdr_dt5.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0343_prcdr_dt5.json new file mode 100644 index 0000000000..d4d187f1e2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0343_prcdr_dt5.json @@ -0,0 +1,39 @@ +{ + "id": 343, + "name": "Procedure Code 5 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt5", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure5Date", + "ccwMapping": [ + "PRCDR_DT5" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[4].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-24T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0344_prcdr_dt6.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0344_prcdr_dt6.json new file mode 100644 index 0000000000..ce4c2d03ac --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0344_prcdr_dt6.json @@ -0,0 +1,39 @@ +{ + "id": 344, + "name": "Procedure Code 6 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt6", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure6Date", + "ccwMapping": [ + "PRCDR_DT6" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[5].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "[\\n \"2016-01-24T00:00:00+00:00\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0345_prcdr_dt7.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0345_prcdr_dt7.json new file mode 100644 index 0000000000..e12ba90432 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0345_prcdr_dt7.json @@ -0,0 +1,39 @@ +{ + "id": 345, + "name": "Procedure Code 7 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt7", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure7Date", + "ccwMapping": [ + "PRCDR_DT7" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[6].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0346_prcdr_dt8.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0346_prcdr_dt8.json new file mode 100644 index 0000000000..7bbc26af11 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0346_prcdr_dt8.json @@ -0,0 +1,39 @@ +{ + "id": 346, + "name": "Procedure Code 8 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt8", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure8Date", + "ccwMapping": [ + "PRCDR_DT8" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[7].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0347_prcdr_dt9.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0347_prcdr_dt9.json new file mode 100644 index 0000000000..8c7a862375 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0347_prcdr_dt9.json @@ -0,0 +1,39 @@ +{ + "id": 347, + "name": "Procedure Code 9 Date", + "description": "The date on which the procedure was performed. The date associated with the procedure identified in the corresponding procedure code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcdr_dt9", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "procedure9Date", + "ccwMapping": [ + "PRCDR_DT9" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "procedure[N].date", + "fhirPath": "procedure[8].date", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Procedure Date is stored in conjunction with it's related Procedure Code and Procedure Code Version within the eob.procedure[N].procedureCodeableConcept.coding. Ie.. Procedure Date 1 will be stored with the Procedure Code 1 etc\u2026", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0348_prcng_excptn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0348_prcng_excptn_cd.json new file mode 100644 index 0000000000..265d72601f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0348_prcng_excptn_cd.json @@ -0,0 +1,45 @@ +{ + "id": 348, + "name": "Pricing Exception Code", + "description": "This variable indicates if the PDE was processed by the Part D plan using pricing rules that differ from the plan's negotiated price. Most PDEs have missing values, indicating that they were obtained from in-network pharmacies.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prcng_excptn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "pricingExceptionCode", + "ccwMapping": [ + "PRCNG_EXCPTN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/prcng_excptn_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/prcng_excptn_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/nstd_frmt_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Pricing Exception Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 9,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/prcng_excptn_cd\",\\n \"display\": \"Pricing Exception Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/prcng_excptn_cd\",\\n \"code\": \"M\",\\n \"display\": \"Medicare is a secondary payer (MSP)\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0349_prf_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0349_prf_physn_npi.json new file mode 100644 index 0000000000..d71b11b44e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0349_prf_physn_npi.json @@ -0,0 +1,49 @@ +{ + "id": 349, + "name": "Performing Physician NPI", + "description": "The National Provider Identifier (NPI) assigned to the performing provider.", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prf_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "performingPhysicianNpi", + "ccwMapping": [ + "PRF_PHYSN_NPI" + ], + "cclfMapping": [ + "CCLF5.RNDRG_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'performing')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'", + "careTeam[N].role.coding[N].code = 'performing'" + ], + "additional": [ + "eob.careTeam[N].responsible = true", + "eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Performing provider')" + ], + "derived": "If 'Performing Physician NPI' is supplied then this will be used to populate the eob.careTeam[N] element, otherwise if 'Performing Physician UPIN' is supplied then that will be the identifier used to populate the eob.careTeam[N] element.", + "note": " The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"1923124\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0350_prf_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0350_prf_physn_upin.json new file mode 100644 index 0000000000..294be7528d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0350_prf_physn_upin.json @@ -0,0 +1,45 @@ +{ + "id": 350, + "name": "Performing Physician UPIN", + "description": "The unique physician identification number (UPIN) of the physician who performed the service for this line item on the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prf_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "performingPhysicianUpin", + "ccwMapping": [ + "PRF_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code = 'performing')).provider.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].code = 'upin'", + "careTeam[N].role.coding[N].code = 'performing'" + ], + "additional": [ + "eob.careTeam[N].responsible = true", + "eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Performing provider')" + ], + "derived": "If 'Performing Physician NPI' is supplied then this will be used to populate the eob.careTeam[N] element, otherwise if 'Performing Physician UPIN' is supplied then that will be the identifier used to populate the eob.careTeam[N] element.", + "note": " The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0351_prncpal_dgns_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0351_prncpal_dgns_cd.json new file mode 100644 index 0000000000..60ee450daf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0351_prncpal_dgns_cd.json @@ -0,0 +1,55 @@ +{ + "id": 351, + "name": "Principal Diagnosis Code", + "description": "The diagnosis code identifying the diagnosis, condition, problem, or other reason for the admission/encounter/visit shown in the medical record to be chiefly responsible for the services provided.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prncpal_dgns_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisPrincipalCode", + "ccwMapping": [ + "PRNCPAL_DGNS_CD" + ], + "cclfMapping": [ + "CCLF1.PRNCPL_DGNS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(code='principal')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'principal'", + "" + ], + "additional": [ + "Depending upon the related Diagnosis Code Version: (eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' OR", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10')", + "eob.diagnosis[N].type[N].coding[N].display = 'Principal'", + "eob.diagnosis[N].sequence (should be 1)" + ], + "derived": "", + "note": "There are more than one principal diagnosis at this time - this field as well as the diagnosisCode1.", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0352_prncpal_dgns_vrsn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0352_prncpal_dgns_vrsn_cd.json new file mode 100644 index 0000000000..f60c844db7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0352_prncpal_dgns_vrsn_cd.json @@ -0,0 +1,47 @@ +{ + "id": 352, + "name": "Principal Diagnosis Code Version", + "description": "The code used to indicate if the diagnosis code is ICD-9/ICD-10.", + "appliesTo": [ + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prncpal_dgns_vrsn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisPrincipalCodeVersion", + "ccwMapping": [ + "PRNCPAL_DGNS_VRSN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(code='principal')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'principal'", + "" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "", + "example": "[\\n {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n },\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10\",\\n \"code\": \"A02\",\\n \"display\": \"OTHER SALMONELLA INFECTIONS\"\\n }\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0353_prod_srvc_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0353_prod_srvc_id.json new file mode 100644 index 0000000000..45445c722d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0353_prod_srvc_id.json @@ -0,0 +1,43 @@ +{ + "id": 353, + "name": "Product Service National Drug Code", + "description": "This field identifies the dispensed drug product using a National Drug Code (NDC).", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prod_srvc_id", + "bfdDbType": "CHAR", + "bfdDbSize": 19, + "bfdJavaFieldName": "nationalDrugCode", + "ccwMapping": [ + "PROD_SRVC_ID" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_NDC_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].productOrService.coding[N].code", + "fhirPath": "item[%n].productOrService.coding.where(system='http://hl7.org/fhir/sid/ndc').code", + "discriminator": [ + "item[N].productOrService.coding[N].system = 'http://hl7.org/fhir/sid/ndc'" + ], + "additional": [ + "eob.item[N].productOrService.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/ndc\",\\n \"code\": \"000000000\",\\n \"display\": \"Fake Diluent - WATER\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0354_prscrbr_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0354_prscrbr_id.json new file mode 100644 index 0000000000..90d44e6a68 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0354_prscrbr_id.json @@ -0,0 +1,48 @@ +{ + "id": 354, + "name": "Prescriber Id", + "description": "This variable contains the prescriber identification number as reported by the Part D sponsor on the PDE record submitted to CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prscrbr_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "prescriberId", + "ccwMapping": [ + "PRSCRBR_ID" + ], + "cclfMapping": [ + "CCLF7.CLM_PRSBNG_PRVDR_GNRC_ID_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value", + "fhirPath": "careTeam.where(role.coding.where(code='prescribing')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'", + "careTeam[N].role.coding[N].code = 'prescribing'" + ], + "additional": [ + "eob.careTeam[N].provider.display = {corresponding description from valueset specified in .system}", + "eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].display = 'Prescribing provider')" + ], + "derived": "", + "note": "This eob.careTeam element will only be supplied if the Prescriber Id is populated and the Prescriber Id Qualifier Code = '01'. The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list for every single item.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"1750384806\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0355_prscrbr_id_qlfyr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0355_prscrbr_id_qlfyr_cd.json new file mode 100644 index 0000000000..f3e81dfeee --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0355_prscrbr_id_qlfyr_cd.json @@ -0,0 +1,39 @@ +{ + "id": 355, + "name": "Prescriber Id Qualifier Code", + "description": "This variable contains information regarding the type of prescriber identification number that was submitted on the original PDE data, as reported by the Part D sponsor on the PDE record submitted to CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prscrbr_id_qlfyr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "prescriberIdQualifierCode", + "ccwMapping": [ + "PRSCRBR_ID_QLFYR_CD" + ], + "cclfMapping": [ + "CCLF7.PRVDR_SRVC_ID_QLFYR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "The eob.careTeam element, for this prescriber id qualifier code, will only be supplied if the Prescriber Id is populated and the Prescriber Id Qualifier Code = '01'", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0356_prtcptng_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0356_prtcptng_ind_cd.json new file mode 100644 index 0000000000..ecdc6ceb57 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0356_prtcptng_ind_cd.json @@ -0,0 +1,43 @@ +{ + "id": 356, + "name": "Provider Participating Indicator Code", + "description": "Code indicating whether or not a provider is participating (accepting assignment) for this line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prtcptng_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "providerParticipatingIndCode", + "ccwMapping": [ + "PRTCPTNG_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].extension[N].valueCoding.code", + "fhirPath": "careTeam[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/prtcptng_ind_cd').valueCoding.code", + "discriminator": [ + "careTeam[N].extension[N].valueCoding.system = ''https://bluebutton.cms.gov/resources/variables/prtcptng_ind_cd'", + "careTeam[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/prtcptng_ind_cd'" + ], + "additional": [ + "eob.careTeam[N].extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "This is only set for the 'Performing' Provider in the list of CareTeam members, if one exists.", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0357_prvdr_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0357_prvdr_npi.json new file mode 100644 index 0000000000..3f36ee915a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0357_prvdr_npi.json @@ -0,0 +1,49 @@ +{ + "id": 357, + "name": "Provider NPI", + "description": "The National Provider Identifier (NPI) assigned to the supplier of the Part B service/DMEPOS line item.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prvdr_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "providerNPI", + "ccwMapping": [ + "PRVDR_NPI" + ], + "cclfMapping": [ + "CCLF6.PAYTO_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value AND item[N].careTeamSequence", + "fhirPath": "careTeam.where(role.coding.where(code='performing')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N].type.coding[N].code = 'npi'", + "careTeam[N].role.coding[N].code = 'performing'" + ], + "additional": [ + "eob.careTeam[N].responsible = true", + "eob.careTeam[N].provider.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier')", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].role.coding[N].system = 'Performing provider')" + ], + "derived": "", + "note": "The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"1244444444\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0358_prvdr_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0358_prvdr_num.json new file mode 100644 index 0000000000..3062df2667 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0358_prvdr_num.json @@ -0,0 +1,53 @@ +{ + "id": 358, + "name": "Provider Number", + "description": "This variable is the provider identification number. OR The billing number assigned to the supplier of the Part B service/DMEPOS by the National Supplier Clearinghouse, as reported on the line item for the DMERC claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prvdr_num", + "bfdDbType": "CHAR", + "bfdDbSize": 6, + "bfdJavaFieldName": "providerNumber", + "ccwMapping": [ + "PRVDR_NUM" + ], + "cclfMapping": [ + "CCLF1.PRVDR_OSCAR_NUM", + "CCLF2.PRVDR_OSCAR_NUM", + "CCLF3.PRVDR_OSCAR_NUM", + "CCLF4.PRVDR_OSCAR_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "contained[N].identifier[N].value", + "fhirPath": "contained.where(resourceType='Organization').identifier.where(type.coding.where(code='PRN')).value", + "discriminator": [ + "contained[N].resourceType = 'Organization'", + "contained[N].identifier[N].type.coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0203'", + "contained[N].identifier[N].type.coding.code = 'PRN'" + ], + "additional": [ + "eob.contained[N].id = (ie.. Provider-org3)", + "eob.provider.reference = # (ie.. #provider-org3)" + ], + "derived": "The unique org identifier (provider-org) will be utililzed to reference the contained element, which will have the organizations npi, supplied by the provider number from the database.", + "note": "For information about list elements and discriminators, see 'Slicing' in the Glossary tab. The eob.contained[N].id will be used/stored in the other element: eob.provider.reference (ie.. #provider-org3)", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\\n \"code\": \"PRN\"\\n }\\n ]\\n },\\n \"value\": \"777776\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0359_prvdr_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0359_prvdr_num.json new file mode 100644 index 0000000000..e2b238f9c2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0359_prvdr_num.json @@ -0,0 +1,42 @@ +{ + "id": 359, + "name": "Provider Number", + "description": "This variable is the provider identification number. OR The billing number assigned to the supplier of the Part B service/DMEPOS by the National Supplier Clearinghouse, as reported on the line item for the DMERC claim.", + "appliesTo": [ + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prvdr_num", + "bfdDbType": "CHAR", + "bfdDbSize": 6, + "bfdJavaFieldName": "providerBillingNumber", + "ccwMapping": [ + "PRVDR_NUM" + ], + "cclfMapping": [ + "CCLF1.PRVDR_OSCAR_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueIdentifier", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/suplrnum').valueIdentifier.value", + "discriminator": [ + "item[N].extension[N].url 'https://bluebutton.cms.gov/resources/variables/suplrnum' ", + "item[N].extension[N].system = 'https://bluebutton.cms.gov/resources/variables/suplrnum'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/suplrnum\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/suplrnum\",\\n \"value\": \"1219966666\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0360_prvdr_spclty.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0360_prvdr_spclty.json new file mode 100644 index 0000000000..85b1d8700c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0360_prvdr_spclty.json @@ -0,0 +1,45 @@ +{ + "id": 360, + "name": "Provider Speciality Code", + "description": "CMS (previously called HCFA) specialty code used for pricing the line-item service on the non-institutional claim.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "prvdr_spclty", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "providerSpecialityCode", + "ccwMapping": [ + "PRVDR_SPCLTY" + ], + "cclfMapping": [ + "CCLF5.CLM_PRVDR_SPCLTY_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].qualification.coding[N].code", + "fhirPath": "careTeam[%n].qualification.coding.where(system='https://bluebutton.cms.gov/resources/variables/prvdr_spclty').code", + "discriminator": [ + "careTeam[N].qualification.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/prvdr_spclty'" + ], + "additional": [ + "eob.careTeam[N].qualification.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "This is only set for the 'Performing' Provider in the list of CareTeam members, if one exists.", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/prvdr_spclty\",\\n \"code\": \"41\",\\n \"display\": \"Optometrist\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0361_prvdr_state_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0361_prvdr_state_cd.json new file mode 100644 index 0000000000..6d7d9cdc0f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0361_prvdr_state_cd.json @@ -0,0 +1,44 @@ +{ + "id": 361, + "name": "Provider State Code", + "description": "The two-digit numeric social security administration (SSA) state code where provider or facility is located.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prvdr_state_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "providerStateCode", + "ccwMapping": [ + "PRVDR_STATE_CD" + ], + "cclfMapping": [ + "CCLF1.PRVDR_FAC_FIPS_ST_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationAddress.state", + "fhirPath": "item[%n].locationAddress.state", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n \"IA\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0362_prvdr_state_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0362_prvdr_state_cd.json new file mode 100644 index 0000000000..e195076ec3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0362_prvdr_state_cd.json @@ -0,0 +1,44 @@ +{ + "id": 362, + "name": "Provider State Code", + "description": "The two-digit numeric social security administration (SSA) state code where provider or facility is located.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prvdr_state_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "providerStateCode", + "ccwMapping": [ + "PRVDR_STATE_CD" + ], + "cclfMapping": [ + "CCLF5.RNDRG_PRVDR_FIPS_ST_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationCodeableConcept.extension[N].valueCoding.code", + "fhirPath": "item[%n].locationCodeableConcept.extension.where(url='https://bluebutton.cms.gov/resources/variables/prvdr_state_cd').valueCoding.code", + "discriminator": [ + "item[N].locationCodeableConcept.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/prvdr_state_cd'", + "item[N].locationCodeableConcept.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/prvdr_state_cd'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/prvdr_state_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/prvdr_state_cd\",\\n \"code\": \"IL\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0363_prvdr_zip.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0363_prvdr_zip.json new file mode 100644 index 0000000000..de0bc08c27 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0363_prvdr_zip.json @@ -0,0 +1,39 @@ +{ + "id": 363, + "name": "Provider Zip Code", + "description": "The ZIP code of the physician/supplier who performed the Part B service for this line item on the carrier claim (non-DMERC).", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "prvdr_zip", + "bfdDbType": "CHAR", + "bfdDbSize": 9, + "bfdJavaFieldName": "providerZipCode", + "ccwMapping": [ + "PRVDR_ZIP" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].locationCodeableConcept.extension[N].valueCoding.code", + "fhirPath": "item[%n].locationCodeableConcept.extension.where(url = 'https://bluebutton.cms.gov/resources/variables/prvdr_zip').valueCoding.code", + "discriminator": [ + "item[N].locationCodeableConcept.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/prvdr_zip'", + "item[N].locationCodeableConcept.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/prvdr_zip'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/prvdr_zip\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/prvdr_zip\",\\n \"code\": \"555558202\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0364_ptnt_dschrg_stus_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0364_ptnt_dschrg_stus_cd.json new file mode 100644 index 0000000000..2074313987 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0364_ptnt_dschrg_stus_cd.json @@ -0,0 +1,50 @@ +{ + "id": 364, + "name": "Patient Discharge Status Code", + "description": "The code used to identify the status of the patient as of the Claim Through Date.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ptnt_dschrg_stus_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "patientDischargeStatusCode", + "ccwMapping": [ + "PTNT_DSCHRG_STUS_CD" + ], + "cclfMapping": [ + "CCLF1.BENE_PTNT_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/ptnt_dschrg_stus_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/ptnt_dschrg_stus_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'discharge-status'", + "eob.supportingInfo[N].category.coding[N].display = 'Discharge Status')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 9,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"discharge-status\",\\n \"display\": \"Discharge Status\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/ptnt_dschrg_stus_cd\",\\n \"code\": \"51\",\\n \"display\": \"Discharged/transferred to a Hospice \u2013 medical facility.\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0365_ptnt_pay_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0365_ptnt_pay_amt.json new file mode 100644 index 0000000000..c3aa572856 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0365_ptnt_pay_amt.json @@ -0,0 +1,48 @@ +{ + "id": 365, + "name": "Patient Pay Amount", + "description": "This variable is the dollar amount that the beneficiary paid for the PDE without being reimbursed by a third party.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "ptnt_pay_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "patientPaidAmount", + "ccwMapping": [ + "PTNT_PAY_AMT" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_BENE_PMT_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/ptnt_pay_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/ptnt_pay_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidbypatient'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid by Patient')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Amount Paid by Patient'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidbypatient\",\\n \"display\": \"Paid by patient\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/ptnt_pay_amt\",\\n \"display\": \"Amount Paid by Patient\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 235.85,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0366_ptnt_rsdnc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0366_ptnt_rsdnc_cd.json new file mode 100644 index 0000000000..9211e0bf13 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0366_ptnt_rsdnc_cd.json @@ -0,0 +1,46 @@ +{ + "id": 366, + "name": "Patient Residence Code", + "description": "This variable indicates where the beneficiary lived when the prescription was filled, as reported on the PDE record.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "ptnt_rsdnc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "patientResidenceCode", + "ccwMapping": [ + "PTNT_RSDNC_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/ptnt_rsdnc_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/ptnt_rsdnc_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/ptnt_rsdnc_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Patient Residence Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 13,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/ptnt_rsdnc_cd\",\\n \"display\": \"Patient Residence Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/ptnt_rsdnc_cd\",\\n \"code\": \"02\",\\n \"display\": \"Skilled Nursing Facility\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0367_qty_dspnsd_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0367_qty_dspnsd_num.json new file mode 100644 index 0000000000..bc09073a53 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0367_qty_dspnsd_num.json @@ -0,0 +1,39 @@ +{ + "id": 367, + "name": "Quantity Dispensed", + "description": "This field indicates the number of units, grams, milliliters, or other quantity dispensed in the current drug event.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "qty_dspnsd_num", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "quantityDispensed", + "ccwMapping": [ + "QTY_DSPNSD_NUM" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_SRVC_UNIT_QTY" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].quantity.value", + "fhirPath": "item[%n].quantity.value", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"value\": 60\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0368_rev_cntr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0368_rev_cntr.json new file mode 100644 index 0000000000..88d5c60f74 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0368_rev_cntr.json @@ -0,0 +1,47 @@ +{ + "id": 368, + "name": "Revenue Center Code", + "description": "The provider-assigned revenue code for each cost center for which a separate charge is billed (type of accommodation or ancillary).", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr", + "bfdDbType": "CHAR", + "bfdDbSize": 4, + "bfdJavaFieldName": "revenueCenterCode revenueCenter", + "ccwMapping": [ + "REV_CNTR" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_PROD_REV_CTR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].revenue.coding[N].code", + "fhirPath": "item[%n].revenue.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr').code", + "discriminator": [ + "item[N].revenue.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr'" + ], + "additional": [ + "eob.item[N].revenue.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr\",\\n \"code\": \"6767\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0369_rev_cntr_1st_ansi_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0369_rev_cntr_1st_ansi_cd.json new file mode 100644 index 0000000000..53583fa69b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0369_rev_cntr_1st_ansi_cd.json @@ -0,0 +1,42 @@ +{ + "id": 369, + "name": "Revenue Center 1st ANSI Code", + "description": "The first code used to identify the detailed reason an adjustment was made (e.g., reason for denial or reducing payment).", + "appliesTo": [ + "Outpatient", + "HHA" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_1st_ansi_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "revCntr1stAnsiCd", + "ccwMapping": [ + "REV_CNTR_1ST_ANSI_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "item[%n].adjudication.where(reason.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_ansi_cd')).reason.coding.code", + "discriminator": [ + "item[N].adjudication.reason.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_ansi_cd'" + ], + "additional": [ + "eob.item[N].adjudication.category.coding[N].code = 'denialreason'", + "eob.item[N].adjudication.category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator'", + "eob.item[N].adjudication.category.coding[N].display = 'Denial Reason'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator\",\\n \"code\": \"denialreason\",\\n \"display\": \"Denial Reason\"\\n }\\n ]\\n },\\n \"reason\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_ansi_cd\",\\n \"code\": \"CO120\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0370_rev_cntr_1st_msp_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0370_rev_cntr_1st_msp_pd_amt.json new file mode 100644 index 0000000000..279fd2afa4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0370_rev_cntr_1st_msp_pd_amt.json @@ -0,0 +1,45 @@ +{ + "id": 370, + "name": "Revenue Center 1st MSP Paid Amount", + "description": "The amount paid by the primary payer when the payer is primary to Medicare (Medicare is a secondary).", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_1st_msp_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "firstMspPaidAmount", + "ccwMapping": [ + "REV_CNTR_1ST_MSP_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_msp_pd_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_msp_pd_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'priorpayerpaid'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Prior payer paid')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center 1st Medicare Secondary Payer (MSP) Paid Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_1st_msp_pd_amt\",\\n \"display\": \"Revenue Center 1st Medicare Secondary Payer (MSP) Paid Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0371_rev_cntr_2nd_ansi_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0371_rev_cntr_2nd_ansi_cd.json new file mode 100644 index 0000000000..e4c35fd9c4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0371_rev_cntr_2nd_ansi_cd.json @@ -0,0 +1,41 @@ +{ + "id": 371, + "name": "Revenue Center 2nd ANSI Code", + "description": "The second code used to identify the detailed reason an adjustment was made (e.g., reason for denial or reducing payment).", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_2nd_ansi_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "revCntr2ndAnsiCd", + "ccwMapping": [ + "REV_CNTR_2ND_ANSI_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "item[%n].adjudication.where(reason.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_ansi_cd')).reason.coding.code", + "discriminator": [ + "item[N].adjudication.reason.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_ansi_cd'" + ], + "additional": [ + "eob.item[N].adjudication.category.coding[N].code = 'denialreason'", + "eob.item[N].adjudication.category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator'", + "eob.item[N].adjudication.category.coding[N].display = 'Denial Reason'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator\",\\n \"code\": \"denialreason\",\\n \"display\": \"Denial Reason\"\\n }\\n ]\\n },\\n \"reason\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_ansi_cd\",\\n \"code\": \"CR121\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0372_rev_cntr_2nd_msp_pd_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0372_rev_cntr_2nd_msp_pd_amt.json new file mode 100644 index 0000000000..f141142a90 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0372_rev_cntr_2nd_msp_pd_amt.json @@ -0,0 +1,45 @@ +{ + "id": 372, + "name": "Revenue Center 2nd MSP Paid Amount", + "description": "The amount paid by the secondary payer when two payers are primary to Medicare (Medicare is the tertiary payer).", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_2nd_msp_pd_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "secondMspPaidAmount", + "ccwMapping": [ + "REV_CNTR_2ND_MSP_PD_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_msp_pd_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_msp_pd_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'priorpayerpaid'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Prior payer paid')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center 2nd Medicare Secondary Payer (MSP) Paid Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"priorpayerpaid\",\\n \"display\": \"Prior payer paid\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_2nd_msp_pd_amt\",\\n \"display\": \"Revenue Center 2nd Medicare Secondary Payer (MSP) Paid Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0373_rev_cntr_3rd_ansi_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0373_rev_cntr_3rd_ansi_cd.json new file mode 100644 index 0000000000..a8e4ebb35a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0373_rev_cntr_3rd_ansi_cd.json @@ -0,0 +1,41 @@ +{ + "id": 373, + "name": "Revenue Center 3rd ANSI Code", + "description": "The third code used to identify the detailed reason an adjustment was made (e.g., reason for denial or reducing payment).", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_3rd_ansi_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "revCntr3rdAnsiCd", + "ccwMapping": [ + "REV_CNTR_3RD_ANSI_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "item[%n].adjudication.where(reason.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_3rd_ansi_cd')).reason.coding.code", + "discriminator": [ + "item[N].adjudication.reason.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_3rd_ansi_cd'" + ], + "additional": [ + "eob.item[N].adjudication.category.coding[N].code = 'denialreason'", + "eob.item[N].adjudication.category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator'", + "eob.item[N].adjudication.category.coding[N].display = 'Denial Reason'" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0374_rev_cntr_4th_ansi_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0374_rev_cntr_4th_ansi_cd.json new file mode 100644 index 0000000000..23626b2a59 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0374_rev_cntr_4th_ansi_cd.json @@ -0,0 +1,41 @@ +{ + "id": 374, + "name": "Revenue Center 4th ANSI Code", + "description": "The fourth code used to identify the detailed reason an adjustment was made (e.g., reason for denial or reducing payment).", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_4th_ansi_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "revCntr4thAnsiCd", + "ccwMapping": [ + "REV_CNTR_4TH_ANSI_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].reason.coding[N].code", + "fhirPath": "item[%n].adjudication.where(reason.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_4th_ansi_cd')).reason.coding.code", + "discriminator": [ + "item[N].adjudication.reason.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_4th_ansi_cd'" + ], + "additional": [ + "eob.item[N].adjudication.category.coding[N].code = 'denialreason'", + "eob.item[N].adjudication.category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudicationDiscriminator'", + "eob.item[N].adjudication.category.coding[N].display = 'Denial Reason'" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0375_rev_cntr_apc_hipps_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0375_rev_cntr_apc_hipps_cd.json new file mode 100644 index 0000000000..921c5fb2a6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0375_rev_cntr_apc_hipps_cd.json @@ -0,0 +1,34 @@ +{ + "id": 375, + "name": "APC/HIPPS Code", + "description": "This field contains one of two potential pieces of data; the Ambulatory Payment Classification (APC) code or the Health Insurance Prospective Payment System (HIPPS) code, which corresponds with the revenue center line for the claim.", + "appliesTo": [ + "Outpatient", + "HHA" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_apc_hipps_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "apcOrHippsCode", + "ccwMapping": [ + "REV_CNTR_APC_HIPPS_CD" + ], + "cclfMapping": [ + "CCLF2.CLM_REV_APC_HIPPS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0376_rev_cntr_bene_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0376_rev_cntr_bene_pmt_amt.json new file mode 100644 index 0000000000..51680ec90a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0376_rev_cntr_bene_pmt_amt.json @@ -0,0 +1,46 @@ +{ + "id": 376, + "name": "Revenue Center Payment Amount to Beneficiary", + "description": "The amount paid to the beneficiary for the services reported on the line item.", + "appliesTo": [ + "Outpatient", + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_bene_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "benficiaryPaymentAmount", + "ccwMapping": [ + "REV_CNTR_BENE_PMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_bene_pmt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_bene_pmt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidtopatient'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid to patient')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Payment Amount to Beneficiary'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidtopatient\",\\n \"display\": \"Paid to patient\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_bene_pmt_amt\",\\n \"display\": \"Revenue Center Payment Amount to Beneficiary\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 300,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0377_rev_cntr_blood_ddctbl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0377_rev_cntr_blood_ddctbl_amt.json new file mode 100644 index 0000000000..58f944b223 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0377_rev_cntr_blood_ddctbl_amt.json @@ -0,0 +1,45 @@ +{ + "id": 377, + "name": "Revenue Center Blood Deductible Amount", + "description": "This variable is the dollar amount the beneficiary is responsible for related to the deductible for blood products that appear on the revenue center record.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_blood_ddctbl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "bloodDeductibleAmount", + "ccwMapping": [ + "REV_CNTR_BLOOD_DDCTBL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_blood_ddctbl_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_blood_ddctbl_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'deductible'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Deductible')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Blood Deductible Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"deductible\",\\n \"display\": \"Deductible\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_blood_ddctbl_amt\",\\n \"display\": \"Revenue Center Blood Deductible Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 10.45,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0378_rev_cntr_cash_ddctbl_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0378_rev_cntr_cash_ddctbl_amt.json new file mode 100644 index 0000000000..4e35f25592 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0378_rev_cntr_cash_ddctbl_amt.json @@ -0,0 +1,45 @@ +{ + "id": 378, + "name": "Revenue Center Cash Deductible Amount", + "description": "This variable is the beneficiary\u2019s liability under the annual Part B deductible for the revenue center record. The Part B deductible applies to both institutional (e.g., HOP) and non-institutional (e.g., Carrier and DME) services.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_cash_ddctbl_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "cashDeductibleAmount", + "ccwMapping": [ + "REV_CNTR_CASH_DDCTBL_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_cash_ddctbl_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_cash_ddctbl_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'deductible'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Deductible')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Cash Deductible Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"deductible\",\\n \"display\": \"Deductible\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_cash_ddctbl_amt\",\\n \"display\": \"Revenue Center Cash Deductible Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 12.89,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0379_rev_cntr_coinsrnc_wge_adjstd_c.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0379_rev_cntr_coinsrnc_wge_adjstd_c.json new file mode 100644 index 0000000000..306a19a9ba --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0379_rev_cntr_coinsrnc_wge_adjstd_c.json @@ -0,0 +1,45 @@ +{ + "id": 379, + "name": "Revenue Center Coinsurance/Wage Adjusted Coinsurance Amount", + "description": "This variable is the beneficiary\u2019s liability for coinsurance for the revenue center record.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_coinsrnc_wge_adjstd_c", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "wageAdjustedCoinsuranceAmount", + "ccwMapping": [ + "REV_CNTR_COINSRNC_WGE_ADJSTD_C" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_coinsrnc_wge_adjstd_c')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_coinsrnc_wge_adjstd_c'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'coinsurance'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Co-insurance')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Coinsurance/Wage Adjusted Coinsurance Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"coinsurance\",\\n \"display\": \"Co-insurance\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_coinsrnc_wge_adjstd_c\",\\n \"display\": \"Revenue Center Coinsurance/Wage Adjusted Coinsurance Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 15.23,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0380_rev_cntr_ddctbl_coinsrnc_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0380_rev_cntr_ddctbl_coinsrnc_cd.json new file mode 100644 index 0000000000..a9ab8fd7e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0380_rev_cntr_ddctbl_coinsrnc_cd.json @@ -0,0 +1,43 @@ +{ + "id": 380, + "name": "Revenue Center Deductible Coinsurance Code", + "description": "Code indicating whether the revenue center charges are subject to deductible and/or coinsurance.", + "appliesTo": [ + "Inpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ddctbl_coinsrnc_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "deductibleCoinsuranceCd", + "ccwMapping": [ + "REV_CNTR_DDCTBL_COINSRNC_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].revenue.coding[N].code", + "fhirPath": "item[%n].revenue.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_ddctbl_coinsrnc_cd').code", + "discriminator": [ + "item[N].revenue.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_ddctbl_coinsrnc_cd'" + ], + "additional": [ + "eob.item[N].revenue.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_ddctbl_coinsrnc_cd\",\\n \"code\": \"A\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0381_rev_cntr_dscnt_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0381_rev_cntr_dscnt_ind_cd.json new file mode 100644 index 0000000000..2cfdc8ec53 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0381_rev_cntr_dscnt_ind_cd.json @@ -0,0 +1,31 @@ +{ + "id": 381, + "name": "Revenue Center Discount Indicator Code", + "description": "This code represents a factor that specifies the amount of any Ambulatory payment classification (APC) discount.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_dscnt_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "discountCode", + "ccwMapping": [ + "REV_CNTR_DSCNT_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0382_rev_cntr_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0382_rev_cntr_dt.json new file mode 100644 index 0000000000..9cc6f781c5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0382_rev_cntr_dt.json @@ -0,0 +1,42 @@ +{ + "id": 382, + "name": "Revenue Center Date", + "description": "This is the date of service for the revenue center record.", + "appliesTo": [ + "Outpatient", + "HHA", + "Hospice" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "revenueCenterDate", + "ccwMapping": [ + "REV_CNTR_DT" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_INSTNL_REV_CTR_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].servicedDate", + "fhirPath": "item[%n].servicedDate", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n \"1942-01-03\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0383_rev_cntr_ide_ndc_upc_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0383_rev_cntr_ide_ndc_upc_num.json new file mode 100644 index 0000000000..e1d24282a9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0383_rev_cntr_ide_ndc_upc_num.json @@ -0,0 +1,41 @@ +{ + "id": 383, + "name": "Revenue Center National Drug Code", + "description": "This field may contain one of three types of identifiers: the National Drug Code (NDC), the Universal Product Code (UPC), or the number assigned by the Food and Drug Administration (FDA) to an investigational device (IDE) after the manufacturer has approval to conduct a clinical trial.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ide_ndc_upc_num", + "bfdDbType": "CHAR", + "bfdDbSize": 24, + "bfdJavaFieldName": "nationalDrugCode", + "ccwMapping": [ + "REV_CNTR_IDE_NDC_UPC_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].productOrService.extension[N].valuecoding.code", + "fhirPath": "item[%n].productOrService.extension.where(url = 'http://hl7.org/fhir/sid/ndc').valueCoding.code", + "discriminator": [ + "item[N].productOrService.extension[N].url = 'http://hl7.org/fhir/sid/ndc'" + ], + "additional": [ + "eob.item[N].productOrService.extension[N].valuecoding.system = 'https://bluebutton.cms.gov/resources/variables/hcpcs_cd'", + "eob.item[N].productOrService.extension[N].valuecoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "For information about list elements and discriminators, see 'Slicing' in the Glossary tab", + "example": "[\\n {\\n \"url\": \"http://hl7.org/fhir/sid/ndc\",\\n \"valueCoding\": {\\n \"system\": \"http://hl7.org/fhir/sid/ndc\",\\n \"code\": \"000000000\",\\n \"display\": \"Fake Diluent - WATER\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0384_rev_cntr_ncvrd_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0384_rev_cntr_ncvrd_chrg_amt.json new file mode 100644 index 0000000000..08b76d99c8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0384_rev_cntr_ncvrd_chrg_amt.json @@ -0,0 +1,49 @@ +{ + "id": 384, + "name": "Revenue Center Non-Covered Charge Amount", + "description": "The charge amount related to a revenue center code for services that are not covered by Medicare.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ncvrd_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "nonCoveredChargeAmount", + "ccwMapping": [ + "REV_CNTR_NCVRD_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_ncvrd_chrg_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_ncvrd_chrg_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'noncovered'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Noncovered')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Non-Covered Charge Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"noncovered\",\\n \"display\": \"Noncovered\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_ncvrd_chrg_amt\",\\n \"display\": \"Revenue Center Non-Covered Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 3699,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0385_rev_cntr_ndc_qty.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0385_rev_cntr_ndc_qty.json new file mode 100644 index 0000000000..b453f6f39a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0385_rev_cntr_ndc_qty.json @@ -0,0 +1,41 @@ +{ + "id": 385, + "name": "Revenue Center National Drug Code Quantity", + "description": "The quantity dispensed for the drug reflected on the revenue center line item.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ndc_qty", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "nationalDrugCodeQuantity", + "ccwMapping": [ + "REV_CNTR_NDC_QTY" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].quantity.value", + "fhirPath": "item[%n].quantity.value", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"value\": 77\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0386_rev_cntr_ndc_qty_qlfr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0386_rev_cntr_ndc_qty_qlfr_cd.json new file mode 100644 index 0000000000..77936df278 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0386_rev_cntr_ndc_qty_qlfr_cd.json @@ -0,0 +1,42 @@ +{ + "id": 386, + "name": "Revenue Center NDC Quantity Qualifier Code", + "description": "The code used to indicate the unit of measurement for the drug that was administered.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ndc_qty_qlfr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "nationalDrugCodeQualifierCode", + "ccwMapping": [ + "REV_CNTR_NDC_QTY_QLFR_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].modifier[N].coding[N].code", + "fhirPath": "item[%n].modifier.coding.where(system='https://bluebutton.cms.gov/resources/variables/rev_cntr_ndc_qty_qlfr_cd').code", + "discriminator": [ + "item[N].modifier[N].coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_ndc_qty_qlfr_cd'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_ndc_qty_qlfr_cd\",\\n \"code\": \"GG\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0387_rev_cntr_otaf_pmt_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0387_rev_cntr_otaf_pmt_cd.json new file mode 100644 index 0000000000..1b2fd562eb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0387_rev_cntr_otaf_pmt_cd.json @@ -0,0 +1,31 @@ +{ + "id": 387, + "name": "Revenue Center Obligation to Accept As Full Payment Code", + "description": "The code used to indicate that the provider was obligated to accept as full payment the amount received from the primary (or secondary) payer.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_otaf_pmt_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "obligationToAcceptAsFullPaymentCode", + "ccwMapping": [ + "REV_CNTR_OTAF_PMT_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0388_rev_cntr_packg_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0388_rev_cntr_packg_ind_cd.json new file mode 100644 index 0000000000..11a1496e0c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0388_rev_cntr_packg_ind_cd.json @@ -0,0 +1,31 @@ +{ + "id": 388, + "name": "Revenue Center Packaging Indicator Code", + "description": "The code used to identify those services that are packaged/bundled with another service.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_packg_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "packagingCode", + "ccwMapping": [ + "REV_CNTR_PACKG_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0389_rev_cntr_pmt_amt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0389_rev_cntr_pmt_amt_amt.json new file mode 100644 index 0000000000..42b3a96447 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0389_rev_cntr_pmt_amt_amt.json @@ -0,0 +1,47 @@ +{ + "id": 389, + "name": "Revenue Center Payment Amount", + "description": "To obtain the Medicare payment amount for the services reported on the revenue center record, it is more accurate to use a different variable called the revenue center Medicare provider payment amount.", + "appliesTo": [ + "Outpatient", + "HHA", + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_pmt_amt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "paymentAmount", + "ccwMapping": [ + "REV_CNTR_PMT_AMT_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_pmt_amt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_pmt_amt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'submitted'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Submitted Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center (Medicare) Payment Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_pmt_amt_amt\",\\n \"display\": \"Revenue Center (Medicare) Payment Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 5000,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0390_rev_cntr_pmt_mthd_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0390_rev_cntr_pmt_mthd_ind_cd.json new file mode 100644 index 0000000000..ace8a1a2fb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0390_rev_cntr_pmt_mthd_ind_cd.json @@ -0,0 +1,34 @@ +{ + "id": 390, + "name": "Revenue Center Payment Method Indicator Code", + "description": "The code used to identify how the service is priced for payment.", + "appliesTo": [ + "Outpatient", + "HHA" + ], + "suppliedIn": [ + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_pmt_mthd_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "paymentMethodCode", + "ccwMapping": [ + "REV_CNTR_PMT_MTHD_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0391_rev_cntr_prvdr_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0391_rev_cntr_prvdr_pmt_amt.json new file mode 100644 index 0000000000..7de224cc32 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0391_rev_cntr_prvdr_pmt_amt.json @@ -0,0 +1,51 @@ +{ + "id": 391, + "name": "Revenue Center Provider Payment Amount", + "description": "The amount Medicare paid for the services reported on the revenue center record.", + "appliesTo": [ + "Outpatient", + "Hospice" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_prvdr_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "providerPaymentAmount", + "ccwMapping": [ + "REV_CNTR_PRVDR_PMT_AMT" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_CVRD_PD_AMT", + "CCLF5.CLM_LINE_CVRD_PD_AMT", + "CCLF6.CLM_LINE_CVRD_PD_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_prvdr_pmt_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_prvdr_pmt_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidtoprovider'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid to provider'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center (Medicare) Provider Payment Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidtoprovider\",\\n \"display\": \"Paid to provider\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_prvdr_pmt_amt\",\\n \"display\": \"Revenue Center (Medicare) Provider Payment Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 200,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0392_rev_cntr_ptnt_rspnsblty_pmt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0392_rev_cntr_ptnt_rspnsblty_pmt.json new file mode 100644 index 0000000000..b264219d28 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0392_rev_cntr_ptnt_rspnsblty_pmt.json @@ -0,0 +1,45 @@ +{ + "id": 392, + "name": "Revenue Center Patient Responsibility Payment Amount", + "description": "The amount paid by the beneficiary to the provider for the line-item service.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_ptnt_rspnsblty_pmt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "patientResponsibilityAmount", + "ccwMapping": [ + "REV_CNTR_PTNT_RSPNSBLTY_PMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_ptnt_rspnsblty_pmt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_ptnt_rspnsblty_pmt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'paidbypatient'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Paid by Patient')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Patient Responsibility Payment Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"paidbypatient\",\\n \"display\": \"Paid by patient\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_ptnt_rspnsblty_pmt\",\\n \"display\": \"Revenue Center Patient Responsibility Payment Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 500,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0393_rev_cntr_rate_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0393_rev_cntr_rate_amt.json new file mode 100644 index 0000000000..a9a7dab702 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0393_rev_cntr_rate_amt.json @@ -0,0 +1,49 @@ +{ + "id": 393, + "name": "Revenue Center Rate Amount", + "description": "Charges relating to unit cost associated with the revenue center code.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_rate_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "rateAmount", + "ccwMapping": [ + "REV_CNTR_RATE_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_rate_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_rate_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'submitted'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Submitted Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Rate Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_rate_amt\",\\n \"display\": \"Revenue Center Rate Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0394_rev_cntr_rdcd_coinsrnc_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0394_rev_cntr_rdcd_coinsrnc_amt.json new file mode 100644 index 0000000000..c9be5c6ddf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0394_rev_cntr_rdcd_coinsrnc_amt.json @@ -0,0 +1,45 @@ +{ + "id": 394, + "name": "Revenue Center Reduced Coinsurance Amount", + "description": "For all services subject to Outpatient prospective payment system (PPS or OPPS), the amount of coinsurance applicable to the line for a particular service (as indicated by the HCPCS code) for which the provider has elected to reduce the coinsurance amount.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_rdcd_coinsrnc_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "reducedCoinsuranceAmount", + "ccwMapping": [ + "REV_CNTR_RDCD_COINSRNC_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_rdcd_coinsrnc_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_rdcd_coinsrnc_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'coinsurance'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Co-insurance')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Reduced Coinsurance Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"coinsurance\",\\n \"display\": \"Co-insurance\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_rdcd_coinsrnc_amt\",\\n \"display\": \"Revenue Center Reduced Coinsurance Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 11,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0395_rev_cntr_stus_ind_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0395_rev_cntr_stus_ind_cd.json new file mode 100644 index 0000000000..b7d590a6d6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0395_rev_cntr_stus_ind_cd.json @@ -0,0 +1,42 @@ +{ + "id": 395, + "name": "Revenue Center Status Indicator Code", + "description": "This variable indicates how the service listed on the revenue center record was priced for payment purposes.", + "appliesTo": [ + "Outpatient", + "HHA" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_stus_ind_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "statusCode", + "ccwMapping": [ + "REV_CNTR_STUS_IND_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].revenue.extension[N].valueCoding.code", + "fhirPath": "item[%n].revenue.extension.where(url = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_stus_ind_cd').valueCoding.code", + "discriminator": [ + "item[N].revenue.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_stus_ind_cd'", + "" + ], + "additional": [ + "eob.item[N].revenue.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_stus_ind_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_stus_ind_cd\",\\n \"code\": \"A\",\\n \"display\": \"Services not paid under OPPS; uses a different fee schedule (e.g., ambulance, PT, mammography)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0396_rev_cntr_tot_chrg_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0396_rev_cntr_tot_chrg_amt.json new file mode 100644 index 0000000000..a5e2e48579 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0396_rev_cntr_tot_chrg_amt.json @@ -0,0 +1,49 @@ +{ + "id": 396, + "name": "Revenue Center Total Charge Amount", + "description": "The total charges (covered and non-covered) for all accommodations and services (related to the revenue code) for a billing period before reduction for the deductible and coinsurance amounts and before an adjustment for the cost of services provided.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_tot_chrg_amt", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "totalChargeAmount", + "ccwMapping": [ + "REV_CNTR_TOT_CHRG_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rev_cntr_tot_chrg_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_tot_chrg_amt'" + ], + "additional": [ + "(eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'submitted'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Submitted Amount')", + "eob.item[N].adjudication[N].category.coding[N].display = 'Revenue Center Total Charge Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\\n \"code\": \"submitted\",\\n \"display\": \"Submitted Amount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rev_cntr_tot_chrg_amt\",\\n \"display\": \"Revenue Center Total Charge Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 84888.88,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0397_rev_cntr_unit_cnt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0397_rev_cntr_unit_cnt.json new file mode 100644 index 0000000000..1ea3e31aaf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0397_rev_cntr_unit_cnt.json @@ -0,0 +1,45 @@ +{ + "id": 397, + "name": "Revenue Center Unit Count", + "description": "A quantitative measure (unit) of the number of times the service or procedure being reported was performed according to the revenue center/HCPCS code definition as described on an institutional claim.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rev_cntr_unit_cnt", + "bfdDbType": "NUM", + "bfdDbSize": 8, + "bfdJavaFieldName": "unitCount", + "ccwMapping": [ + "REV_CNTR_UNIT_CNT" + ], + "cclfMapping": [ + "CCLF2.CLM_LINE_SRVC_UNIT_QTY" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N]extension[N].valueQuantity.value", + "fhirPath": "item[%n].extension.where(url='https://bluebutton.cms.gov/resources/variables/rev_cntr_unit_cnt').valueQuantity.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rev_cntr_unit_cnt'" + ], + "additional": [], + "derived": "", + "note": "Technically speaking, this field should be in the eob.item.quantity, but since there is another value that was mapped, at least in V2, to this location, we are using an extension to store this value.", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0398_rfr_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0398_rfr_physn_npi.json new file mode 100644 index 0000000000..9d2c5960a5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0398_rfr_physn_npi.json @@ -0,0 +1,45 @@ +{ + "id": 398, + "name": "Referring Physician NPI", + "description": "The national provider identifier (NPI) number assigned to uniquely identify the referring physician.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rfr_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "referringPhysicianNpi", + "ccwMapping": [ + "RFR_PHYSN_NPI" + ], + "cclfMapping": [ + "CCLF6.ORDRG_PRVDR_NPI_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "referral.identifier[N].value", + "fhirPath": "referral.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "referral.identifier[N].type.coding.system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "referral.identifier[N].type.coding.code = 'npi'" + ], + "additional": [ + "eob.referral.identifier[N].type.coding.display = 'National Provider Identifier'" + ], + "derived": "If Referring Physician NPI is supplied then Referring Physician NPI will be used for the eob.referral.identifier.", + "note": "For information about list elements and discriminators, see 'Slicing' in the Glossary tab ", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"8765676\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0399_rfr_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0399_rfr_physn_upin.json new file mode 100644 index 0000000000..034c9c1003 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0399_rfr_physn_upin.json @@ -0,0 +1,41 @@ +{ + "id": 399, + "name": "Referring Physician UPIN", + "description": "The unique physician identification number (UPIN) of the physician who referred the beneficiary or the physician who ordered the Part B services or durable medical equipment (DME).", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rfr_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "referringPhysicianUpin", + "ccwMapping": [ + "RFR_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "referral.identifier[N].value", + "fhirPath": "referral.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "referral.identifier[N].type.coding.system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "referral.identifier[N].type.coding.code = 'upin'" + ], + "additional": [ + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers'" + ], + "derived": "If Referring Physician NPI is not supplied and Referring Physician UPIN is supplied then Referring Physician UPIN will be used for the eob.referral.identifier.", + "note": "For information about list elements and discriminators, see 'Slicing' in the Glossary tab ", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0400_rndrng_physn_npi.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0400_rndrng_physn_npi.json new file mode 100644 index 0000000000..1d66950127 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0400_rndrng_physn_npi.json @@ -0,0 +1,49 @@ +{ + "id": 400, + "name": "Rendering Physician NPI", + "description": "This variable is the National Provider Identifier (NPI) for the physician who rendered the services.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rndrng_physn_npi", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "revenueCenterRenderingPhysicianNPI", + "ccwMapping": [ + "RNDRNG_PHYSN_NPI" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value AND item[N].careTeamSequence", + "fhirPath": "careTeam.where(role.coding.where(code='performing')).provider.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [ + "careTeam[N].provider.identifier[N]type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "careTeam[N].provider.identifier[N]type.coding[N].code = 'npi'", + "careTeam[N].role.coding[N].code = 'performing'" + ], + "additional": [ + "(eob.careTeam[N].role.coding[N].display = 'Performing provider'", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole')", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'National Provider Identifier'" + ], + "derived": "", + "note": "The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list for the line item.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"345345345\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0401_rndrng_physn_upin.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0401_rndrng_physn_upin.json new file mode 100644 index 0000000000..1b04027ecc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0401_rndrng_physn_upin.json @@ -0,0 +1,48 @@ +{ + "id": 401, + "name": "Rendering Physician UPIN", + "description": "This variable is the unique physician identification number (UPIN) for the physician who rendered the services on the revenue center record.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rndrng_physn_upin", + "bfdDbType": "CHAR", + "bfdDbSize": 12, + "bfdJavaFieldName": "revenueCenterRenderingPhysicianUPIN", + "ccwMapping": [ + "RNDRNG_PHYSN_UPIN" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "careTeam[N].provider.identifier[N].value AND item[N].careTeamSequence", + "fhirPath": "careTeam.where(role.coding.where(code='performing')).provider.identifier.where(type.coding.where(code='upin')).value", + "discriminator": [ + "careTeam[N]provider.identifier[N]type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v2-0203'", + "careTeam[N]provider.identifier[N]type.coding[N].code = 'UPIN'", + "careTeam[N].role.coding[N].code = 'performing'" + ], + "additional": [ + "eob.careTeam[N].role.coding[N].display = 'Performing provider'", + "eob.careTeam[N].role.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimCareTeamRole'", + "eob.careTeam[N].provider.identifier[N].type.coding[N].display = 'Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers'" + ], + "derived": "For the Claim Line item that contains this provider upin the eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "note": "The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\",\\n \"display\": \"National Provider Identifier\"\\n }\\n ]\\n },\\n \"value\": \"345345345\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0402_rptd_gap_dscnt_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0402_rptd_gap_dscnt_num.json new file mode 100644 index 0000000000..6c7f3df21b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0402_rptd_gap_dscnt_num.json @@ -0,0 +1,45 @@ +{ + "id": 402, + "name": "Gap Discount Amount", + "description": "This variable indicates the amount of the discount provided by the drug\u2019s manufacturer under the Medicare Coverage Gap Discount Program, as calculated by CMS based on data reported in the PDE.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "rptd_gap_dscnt_num", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "gapDiscountAmount", + "ccwMapping": [ + "RPTD_GAP_DSCNT_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system='https://bluebutton.cms.gov/resources/codesystem/adjudication' and code='https://bluebutton.cms.gov/resources/variables/rptd_gap_dscnt_num')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/rptd_gap_dscnt_num'" + ], + "additional": [ + "eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'discount'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Discount'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Gap Discount Amount'", + "eob.item[N].adjudication[N].amount.currency = 'USD'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"discount\",\\n \"display\": \"Discount\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/rptd_gap_dscnt_num\",\\n \"display\": \"Gap Discount Amount\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 317.22,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0403_rsn_visit_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0403_rsn_visit_cd1.json new file mode 100644 index 0000000000..b47fc7a577 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0403_rsn_visit_cd1.json @@ -0,0 +1,44 @@ +{ + "id": 403, + "name": "Reason For Visit Diagnosis Code 1", + "description": "The diagnosis code used to identify the patient's reason for the Hospital Outpatient visit.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisAdmission1Code", + "ccwMapping": [ + "RSN_VISIT_CD1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [ + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "eob.diagnosis[N].type[N].coding[N].display = 'Patient Reason for Visit'", + "eob.diagnosis[N].sequence = ?" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0404_rsn_visit_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0404_rsn_visit_cd2.json new file mode 100644 index 0000000000..5a9c9fdaa1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0404_rsn_visit_cd2.json @@ -0,0 +1,44 @@ +{ + "id": 404, + "name": "Reason For Visit Diagnosis Code 2", + "description": "The diagnosis code used to identify the patient's reason for the Hospital Outpatient visit.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisAdmission2Code", + "ccwMapping": [ + "RSN_VISIT_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [ + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "eob.diagnosis[N].type[N].coding[N].display = 'Patient Reason for Visit'", + "eob.diagnosis[N].sequence = ?" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0405_rsn_visit_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0405_rsn_visit_cd3.json new file mode 100644 index 0000000000..5d91809502 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0405_rsn_visit_cd3.json @@ -0,0 +1,44 @@ +{ + "id": 405, + "name": "Reason For Visit Diagnosis Code 3", + "description": "The diagnosis code used to identify the patient's reason for the Hospital Outpatient visit.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 7, + "bfdJavaFieldName": "diagnosisAdmission3Code", + "ccwMapping": [ + "RSN_VISIT_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].code", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').code", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [ + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm'", + "eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10'", + "eob.diagnosis[N].type[N].coding[N].display = 'Patient Reason for Visit'", + "eob.diagnosis[N].sequence = ?" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0406_rsn_visit_vrsn_cd1.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0406_rsn_visit_vrsn_cd1.json new file mode 100644 index 0000000000..56ad223ddf --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0406_rsn_visit_vrsn_cd1.json @@ -0,0 +1,39 @@ +{ + "id": 406, + "name": "Reason For Visit Diagnosis Code 1 Version", + "description": "The code used to indicate if the reason for visit diagnosis code is ICD-9 or ICD-10.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_vrsn_cd1", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisAdmission1CodeVersion", + "ccwMapping": [ + "RSN_VISIT_VRSN_CD1" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0407_rsn_visit_vrsn_cd2.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0407_rsn_visit_vrsn_cd2.json new file mode 100644 index 0000000000..a2eddc4932 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0407_rsn_visit_vrsn_cd2.json @@ -0,0 +1,39 @@ +{ + "id": 407, + "name": "Reason For Visit Diagnosis Code 2 Version", + "description": "The code used to indicate if the reason for visit diagnosis code is ICD-9 or ICD-10.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_vrsn_cd2", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisAdmission2CodeVersion", + "ccwMapping": [ + "RSN_VISIT_VRSN_CD2" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0408_rsn_visit_vrsn_cd3.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0408_rsn_visit_vrsn_cd3.json new file mode 100644 index 0000000000..10b869f58a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0408_rsn_visit_vrsn_cd3.json @@ -0,0 +1,39 @@ +{ + "id": 408, + "name": "Reason For Visit Diagnosis Code 3 Version", + "description": "The code used to indicate if the reason for visit diagnosis code is ICD-9 or ICD-10.", + "appliesTo": [ + "Outpatient" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rsn_visit_vrsn_cd3", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "diagnosisAdmission3CodeVersion", + "ccwMapping": [ + "RSN_VISIT_VRSN_CD3" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "diagnosis[N].diagnosisCodeableConcept.coding[N].system", + "fhirPath": "diagnosis.where(type.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType' and code='patientreasonforvisit')).diagnosisCodeableConcept.coding.where(system='http://hl7.org/fhir/sid/icd-10-cm').system", + "discriminator": [ + "diagnosis[N].type[N].coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBClaimDiagnosisType'", + "diagnosis[N].type[N].coding[N].code = 'patientreasonforvisit'" + ], + "additional": [], + "derived": "IF = 9 then eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-9-cm' IF = 0 eob.diagnosis[N].diagnosisCodeableConcept.coding[N].system = 'http://hl7.org/fhir/sid/icd-10-cm'", + "note": "", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\\n \"code\": \"A37\",\\n \"display\": \"WHOOPING COUGH\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0409_rx_orgn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0409_rx_orgn_cd.json new file mode 100644 index 0000000000..0a3a6147f4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0409_rx_orgn_cd.json @@ -0,0 +1,43 @@ +{ + "id": 409, + "name": "Prescription Origin Code", + "description": "This variable indicates whether the prescription was transmitted as an electronic prescription, by phone, by fax, or as a written paper copy.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rx_orgn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "prescriptionOriginationCode", + "ccwMapping": [ + "RX_ORGN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/rx_orgn_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/rx_orgn_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType'", + "eob.supportingInfo[N].category.coding[N].code = 'rxorigincode'", + "eob.supportingInfo[N].category.coding[N].display = 'RX Origin Code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 11,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType\",\\n \"code\": \"rxorigincode\",\\n \"display\": \"Rx Origin Code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rx_orgn_cd\",\\n \"code\": \"3\",\\n \"display\": \"Electronic\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0410_rx_srvc_rfrnc_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0410_rx_srvc_rfrnc_num.json new file mode 100644 index 0000000000..9ce99756ea --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0410_rx_srvc_rfrnc_num.json @@ -0,0 +1,45 @@ +{ + "id": 410, + "name": "Prescription Reference Number", + "description": "This field contains the prescription reference number assigned by the pharmacy at the time the prescription is filled.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "rx_srvc_rfrnc_num", + "bfdDbType": "NUM", + "bfdDbSize": 12, + "bfdJavaFieldName": "prescriptionReferenceNumber", + "ccwMapping": [ + "RX_SRVC_RFRNC_NUM" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_RX_SRVC_RFRNC_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='https://bluebutton.cms.gov/resources/variables/rx_srvc_rfrnc_num').value", + "discriminator": [ + "identifier[N].system = 'https://bluebutton.cms.gov/resources/variables/rx_srvc_rfrnc_num'" + ], + "additional": [ + "eob.identifier[N].type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'", + "eob.identifier[N].type.coding[N].system = 'uc'", + "eob.identifier[N].type.coding[N].system = 'Unique Claim ID'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"uc\",\\n \"display\": \"Unique Claim ID\"\\n }\\n ]\\n },\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/rx_srvc_rfrnc_num\",\\n \"value\": \"799999\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0411_srvc_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0411_srvc_dt.json new file mode 100644 index 0000000000..c21e8c6b8e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0411_srvc_dt.json @@ -0,0 +1,39 @@ +{ + "id": 411, + "name": "Prescription Fill Date", + "description": "This field contains the date on which the prescription was filled.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "srvc_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "prescriptionFillDate", + "ccwMapping": [ + "SRVC_DT" + ], + "cclfMapping": [ + "CCLF7.CLM_LINE_FROM_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].servicedDate AND billablePeriod.start AND billablePeriod.end", + "fhirPath": "item[%n].servicedDate", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n \"2015-05-12\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0412_srvc_prvdr_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0412_srvc_prvdr_id.json new file mode 100644 index 0000000000..138ee980c9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0412_srvc_prvdr_id.json @@ -0,0 +1,42 @@ +{ + "id": 412, + "name": "Service Provider Id", + "description": "This variable is the identification number for the pharmacy or physicians' office that dispensed the drug, as reported by the Part D sponsor on the PDE record submitted to CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "srvc_prvdr_id", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "serviceProviderId", + "ccwMapping": [ + "SRVC_PRVDR_ID" + ], + "cclfMapping": [ + "CCLF7.CLM_SRVC_PRVDR_GNRC_ID_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "provider.identifier.value AND facility.identifier[N].value", + "fhirPath": "facility.identifier.where(type.coding.where(code='npi')).value", + "discriminator": [], + "additional": [ + "eob.provider.identifier.system = 'https://bluebutton.cms.gov/resources/variables/prvdr_num' AND", + "eob.facility.display = {corresponding description from valueset specified in .system}" + ], + "derived": "If serviceProviderIdQualiferCode = 01 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-npi' else if serviceProviderIdQualifierCode = 06 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-upin' else if serviceProviderIdQualifierCode = 07 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-ncpdp' else if serviceProviderIdQualifierCode = 08 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-sl' else if serviceProviderIdQualifierCode = 11 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-tax'", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\"\\n }\\n ]\\n },\\n \"value\": \"1023011079\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0413_srvc_prvdr_id_qlfyr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0413_srvc_prvdr_id_qlfyr_cd.json new file mode 100644 index 0000000000..c4595c414e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0413_srvc_prvdr_id_qlfyr_cd.json @@ -0,0 +1,41 @@ +{ + "id": 413, + "name": "Service Provider Qualifier Code", + "description": "This variable indicates the type of pharmacy provider identifier that was used in the SRVC_PRVDR_ID field, as reported by the Part D sponsor on the PDE record submitted to CMS.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "srvc_prvdr_id_qlfyr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "serviceProviderIdQualiferCode", + "ccwMapping": [ + "SRVC_PRVDR_ID_QLFYR_CD" + ], + "cclfMapping": [ + "CCLF7.PRVDR_PRSBNG_ID_QLFYR_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "facility.identifier[N].system", + "fhirPath": "facility.identifier.where(type.coding.where(code='npi')).type.coding.code", + "discriminator": [], + "additional": [ + "eob.facility.display = {corresponding description from valueset specified in .system}" + ], + "derived": "If serviceProviderIdQualiferCode = 01 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-npi' else if serviceProviderIdQualifierCode = 06 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-upin' else if serviceProviderIdQualifierCode = 07 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-ncpdp' else if serviceProviderIdQualifierCode = 08 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-sl' else if serviceProviderIdQualifierCode = 11 then eob.facility.identifier[N].system = 'http://hl7.org/fhir/sid/us-tax'", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"npi\"\\n }\\n ]\\n },\\n \"value\": \"1023011079\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0414_submsn_clr_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0414_submsn_clr_cd.json new file mode 100644 index 0000000000..4323933bc1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0414_submsn_clr_cd.json @@ -0,0 +1,45 @@ +{ + "id": 414, + "name": "Submission Clarification Code", + "description": "For beneficiaries living in long-term care (LTC) facilities, this variable indicates how many days\u2019 supply of the medication was dispensed by the long-term care pharmacy and provides some details about the dispensing event.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "submsn_clr_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "submissionClarificationCode", + "ccwMapping": [ + "SUBMSN_CLR_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "supportingInfo[N].code.coding[N].code", + "fhirPath": "supportingInfo.where(code.coding.where(system='https://bluebutton.cms.gov/resources/variables/submsn_clr_cd')).code.coding.code", + "discriminator": [ + "supportingInfo[N].code.coding[N].system = 'https://bluebutton.cms.gov/resources/variables/submsn_clr_cd'" + ], + "additional": [ + "eob.supportingInfo[N].code.coding[N].display = {corresponding description from valueset specified in .system}", + "eob.supportingInfo[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/claiminformationcategory'", + "eob.supportingInfo[N].category.coding[N].code = 'info'", + "eob.supportingInfo[N].category.coding[N].display = 'Information')", + "eob.supportingInfo[N].category.coding[N].system = https://bluebutton.cms.gov/resources/codesystem/information'", + "eob.supportingInfo[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/submsn_clr_cd'", + "eob.supportingInfo[N].category.coding[N].display = 'Submission clarification code')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"sequence\": 14,\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/claiminformationcategory\",\\n \"code\": \"info\",\\n \"display\": \"Information\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/information\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/submsn_clr_cd\",\\n \"display\": \"Submission clarification code\"\\n }\\n ]\\n },\\n \"code\": {\\n \"coding\": [\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/submsn_clr_cd\",\\n \"code\": \"08\",\\n \"display\": \"Process compound for approved ingredients\"\\n }\\n ]\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0415_tax_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0415_tax_num.json new file mode 100644 index 0000000000..9fefd7148b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0415_tax_num.json @@ -0,0 +1,43 @@ +{ + "id": 415, + "name": "Provider Tax Number", + "description": "The federal taxpayer identification number (TIN) that identifies the physician/practice/supplier to whom payment is made for the line-item service.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "tax_num", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "providerTaxNumber", + "ccwMapping": [ + "TAX_NUM" + ], + "cclfMapping": [ + "CCLF5.CLM_RNDRG_PRVDR_TAX_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].extension[N].valueCoding.code", + "fhirPath": "item[%n].extension.where(url = 'https://bluebutton.cms.gov/resources/variables/tax_num').valueCoding.code", + "discriminator": [ + "item[N].extension[N].url = 'https://bluebutton.cms.gov/resources/variables/tax_num'", + "item[N].extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/tax_num'" + ], + "additional": [], + "derived": "", + "note": "The eob.careTeam[N].sequence will be stored in the eob.item[N].careTeamSequence list.", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0416_tot_rx_cst_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0416_tot_rx_cst_amt.json new file mode 100644 index 0000000000..3fbb3067ad --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0416_tot_rx_cst_amt.json @@ -0,0 +1,48 @@ +{ + "id": 416, + "name": "Total Prescription Cost", + "description": "This variable is the total cost of the prescription drug event and is taken directly from the original PDE.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM LINE", + "bfdColumnName": "tot_rx_cst_amt", + "bfdDbType": "NUM", + "bfdDbSize": 10, + "bfdJavaFieldName": "totalPrescriptionCost", + "ccwMapping": [ + "TOT_RX_CST_AMT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "item[N].adjudication[N].amount.value AND total[N].amount.value", + "fhirPath": "item[%n].adjudication.where(category.coding.where(system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication' and code = 'https://bluebutton.cms.gov/resources/variables/tot_rx_cst_amt')).amount.value", + "discriminator": [ + "item[N].adjudication[N].category.coding[N].system = 'https://bluebutton.cms.gov/resources/codesystem/adjudication'", + "item[N].adjudication[N].category.coding[N].code = 'https://bluebutton.cms.gov/resources/variables/tot_rx_cst_amt'", + "total[N].category.coding.system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication'", + "total[N].category.coding.code = 'drugcost'" + ], + "additional": [ + "eob.item[N].adjudication[N].category.coding[N].system = 'http://terminology.hl7.org/CodeSystem/adjudication'", + "eob.item[N].adjudication[N].category.coding[N].code = 'drugcost'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Drug Cost'", + "eob.item[N].adjudication[N].category.coding[N].display = 'Total drug cost (Part D)'", + "eob.item[N].adjudication[N].amount.currency = 'USD'", + "eob.total[N].category.coding.display = 'Drug Cost'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBAdjudication\",\\n \"code\": \"drugcost\",\\n \"display\": \"Drug Cost\"\\n },\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/adjudication\",\\n \"code\": \"https://bluebutton.cms.gov/resources/variables/tot_rx_cst_amt\",\\n \"display\": \"Total drug cost (Part D)\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 550,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0417_eob_resource_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0417_eob_resource_id.json new file mode 100644 index 0000000000..e043e78e30 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0417_eob_resource_id.json @@ -0,0 +1,43 @@ +{ + "id": 417, + "name": "EOB Resource ID", + "description": "Each resource has an id element which contains the 'logical id' of the resource assigned by the server responsible for storing it.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "id", + "fhirPath": "id", + "discriminator": [], + "additional": [], + "derived": " - Claim Id OR - Event Id", + "note": " Is the short textual form of the claim type (ie\u2026 carrier, dme, or pde). For PDE (Part-D Event claims) this will use the Event Id which is the unique claim identifier, but for all other claims the Claim Id will be used for this composite field.", + "example": "[\\n \"pde-89\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0418_placeholder.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0418_placeholder.json new file mode 100644 index 0000000000..b996b8e6a6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0418_placeholder.json @@ -0,0 +1,31 @@ +{ + "id": 418, + "name": "Placeholder", + "description": "", + "appliesTo": [ + "" + ], + "suppliedIn": [], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "resourceType", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0419_eob_resource_last_updated_date.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0419_eob_resource_last_updated_date.json new file mode 100644 index 0000000000..e6da267f3e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0419_eob_resource_last_updated_date.json @@ -0,0 +1,43 @@ +{ + "id": 419, + "name": "EOB Resource Last Updated Date", + "description": "The date that this record was last updated within the database.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "", + "bfdDbType": "TIMESTAMP", + "bfdDbSize": null, + "bfdJavaFieldName": "lastUpdated", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "meta.lastUpdated", + "fhirPath": "meta.lastUpdated", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Format of the timestamp with time zone, of this field is as follows: YYYY-MM-DDTHH24:MI:SS.TIMEZONE", + "example": "[\\n {\\n \"lastUpdated\": \"2021-05-15T08:22:38.251+00:00\",\\n \"profile\": [\\n \"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional\"\\n ]\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0420_eob_resource_profile.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0420_eob_resource_profile.json new file mode 100644 index 0000000000..42bf7dd8ac --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0420_eob_resource_profile.json @@ -0,0 +1,43 @@ +{ + "id": 420, + "name": "EOB Resource Profile", + "description": "An assertion that the content within the FHIR resource response conforms to a FHIR resource profile defined by HL7 or other FHIR Accelerator Groups. The industry standard profile that is used as a template for this FHIR Resource.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "meta.profile", + "fhirPath": "meta.profile", + "discriminator": [], + "additional": [], + "derived": "IF DME, INPATIENT, HOSPICE, SNF then 'http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional'. IF CARRIER, HHA, then 'http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician'. IF OUTPATIENT then 'http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional'. IF PDE then 'http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy' ", + "note": "", + "example": "[\\n \"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0421_eob_insurance_coverage_reference.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0421_eob_insurance_coverage_reference.json new file mode 100644 index 0000000000..843bb40fc1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0421_eob_insurance_coverage_reference.json @@ -0,0 +1,44 @@ +{ + "id": 421, + "name": "EOB Insurance Coverage Reference", + "description": "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system.", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "insurance[N].coverage.reference", + "fhirPath": "insurance[%n].coverage.reference", + "discriminator": [], + "additional": [ + "eob.insurance[N].focal = true" + ], + "derived": "Coverage/''-'. ie... 'Coverage/part-b-1234567'. The medicare coverage part depends upon the claim type, for example PDE claims would be part-d.. The bene id is the CMS created beneficiary id.", + "note": "This reference allows one to pull data from the Coverage FHIR resource for a beneficiary.", + "example": "[\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/plan_cntrct_rec_id\",\\n \"value\": \"H9999\"\\n }\\n },\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/plan_pbp_rec_num\",\\n \"value\": \"020\"\\n }\\n }\\n ],\\n \"reference\": \"Coverage/part-d-567834\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0422_bene_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0422_bene_id.json new file mode 100644 index 0000000000..9f0a992daa --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0422_bene_id.json @@ -0,0 +1,36 @@ +{ + "id": 422, + "name": "Patient Resource ID", + "description": "Each resource has an id element which contains the 'logical id' of the resource assigned by the server responsible for storing it.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "beneficiaryId", + "ccwMapping": [ + "BENE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "id", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0423_bene_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0423_bene_id.json new file mode 100644 index 0000000000..172b3ce23d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0423_bene_id.json @@ -0,0 +1,41 @@ +{ + "id": 423, + "name": "Beneficiary Id", + "description": "The unique CCW identifier for a beneficiary. The CCW assigns a unique beneficiary identification number to each individual who receives Medicare and/or Medicaid and uses that number to identify an individual\u2019s records in all CCW data files. This number does not change during a beneficiary\u2019s lifetime, and CCW uses each number only once. The BENE_ID is specific to the CCW and is not applicable to any other identification system or data source.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "beneficiaryId", + "ccwMapping": [ + "BENE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='https://bluebutton.cms.gov/resources/variables/bene_id').value", + "discriminator": [ + "identifier[N].system = 'https://bluebutton.cms.gov/resources/variables/bene_id'" + ], + "additional": [ + "patient.identifier[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v2-0203' patient.identifier[N].type.coding[N].code = 'MB' patient.identifier[N].type.coding[N].display = 'Member Number'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\\n \"code\": \"MB\",\\n \"display\": \"Member Number\"\\n }\\n ]\\n },\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/bene_id\",\\n \"value\": \"567834\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0424_efctv_bgn_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0424_efctv_bgn_dt.json new file mode 100644 index 0000000000..1377922e3b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0424_efctv_bgn_dt.json @@ -0,0 +1,40 @@ +{ + "id": 424, + "name": "Previous Identifier Effective Date", + "description": "The date the previous identifier became active.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "efctv_bgn_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "mbiEffectiveDate", + "ccwMapping": [ + "EFCTV_BGN_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "identifier[N].period.start", + "fhirPath": "identifier.where(system='http://hl7.org/fhir/sid/us-mbi').where(type.coding.extension.where(url='https://bluebutton.cms.gov/resources/codesystem/identifier-currency' and valueCoding.code='current')).period.start", + "discriminator": [ + "identifier[N].system = 'http://hl7.org/fhir/sid/us-mbi'", + "identifier[N].type.coding[N].extension[N].url = 'https://bluebutton.cms.gov/resources/codesystem/identifier-currency'", + "identifier[N].type.coding[N].extension[N].valueCoding.code = 'current'" + ], + "additional": [], + "derived": "If mbiEffectiveDate and mbiObsolete Date are both null/empty, then the patient.identifier[N].period will not be present", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"code\": \"current\",\\n \"display\": \"Current\"\\n }\\n }\\n ],\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\\n \"code\": \"MC\",\\n \"display\": \"Patient's Medicare number\"\\n }\\n ]\\n },\\n \"system\": \"http://hl7.org/fhir/sid/us-mbi\",\\n \"value\": \"3456789\",\\n \"period\": {\\n \"start\": \"2020-07-30\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0425_efctv_end_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0425_efctv_end_dt.json new file mode 100644 index 0000000000..3e2b9a54d1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0425_efctv_end_dt.json @@ -0,0 +1,40 @@ +{ + "id": 425, + "name": "Previous Identifier Obsolete Date", + "description": "The date the previous identifier ceased to be active.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "efctv_end_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "mbiObsoleteDate", + "ccwMapping": [ + "EFCTV_END_DT" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "identifier[N].period.end", + "fhirPath": "identifier.where(system='http://hl7.org/fhir/sid/us-mbi').where(type.coding.extension.where(url='https://bluebutton.cms.gov/resources/codesystem/identifier-currency' and valueCoding.code='current')).period.end", + "discriminator": [ + "identifier[N].system = 'http://hl7.org/fhir/sid/us-mbi'", + "identifier[N].type.coding[N].extension[N].url = 'https://bluebutton.cms.gov/resources/codesystem/identifier-currency'", + "identifier[N].type.coding[N].extension[N].valueCoding.code = 'current'" + ], + "additional": [], + "derived": "If mbiEffectiveDate and mbiObsolete Date are both null/empty, then the patient.identifier[N].period will not be present", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"code\": \"current\",\\n \"display\": \"Current\"\\n }\\n }\\n ],\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\\n \"code\": \"MC\",\\n \"display\": \"Patient's Medicare number\"\\n }\\n ]\\n },\\n \"system\": \"http://hl7.org/fhir/sid/us-mbi\",\\n \"value\": \"3456789\",\\n \"period\": {\\n \"start\": \"2020-07-30\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0426_mbi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0426_mbi_num.json new file mode 100644 index 0000000000..fe450e6d73 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0426_mbi_num.json @@ -0,0 +1,58 @@ +{ + "id": 426, + "name": "Medicare Beneficiary Identifier (Current)", + "description": "A Medicare Beneficiary Identifier (MBI) assigned to a beneficiary. This particular (MBI) is the most recent/current identifier assigned to the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mbi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "medicareBeneficiaryId", + "ccwMapping": [ + "MBI_NUM" + ], + "cclfMapping": [ + "CCLF1.BENE_MBI_ID", + " CCLF2. BENE_MBI_ID", + " CCLF3. BENE_MBI_ID", + " CCLF4. BENE_MBI_ID", + " CCLF5. BENE_MBI_ID", + " CCLF6. BENE_MBI_ID", + " CCLF7. BENE_MBI_ID", + " CCLF8. BENE_MBI_ID", + " CCLF9. CRNT_NUM", + " CCLFA. BENE_MBI_ID", + " CCLFB. BENE_MBI_ID" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='http://hl7.org/fhir/sid/us-mbi').where(type.coding.extension.where(url='https://bluebutton.cms.gov/resources/codesystem/identifier-currency' and valueCoding.code='current')).value", + "discriminator": [ + "identifier[N].system = 'http://hl7.org/fhir/sid/us-mbi'", + "identifier[N].type.coding[N].extension[N].url = 'https://bluebutton.cms.gov/resources/codesystem/identifier-currency'", + "identifier[N].type.coding[N].extension[N].valueCoding.code = 'current'" + ], + "additional": [ + "patient.identifier[N].type.coding[N].extension[N].valueCoding.display = 'Current'", + "patient.identifier[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v2-0203'", + "patient.identifier[N].type.coding[N].code = 'MC'", + "patient.identifier[N].type.coding[N].display = 'Patient's Medicare number'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"code\": \"current\",\\n \"display\": \"Current\"\\n }\\n }\\n ],\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\\n \"code\": \"MC\",\\n \"display\": \"Patient's Medicare number\"\\n }\\n ]\\n },\\n \"system\": \"http://hl7.org/fhir/sid/us-mbi\",\\n \"value\": \"3456789\",\\n \"period\": {\\n \"start\": \"2020-07-30\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0427_mbi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0427_mbi_num.json new file mode 100644 index 0000000000..4128dd94b5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0427_mbi_num.json @@ -0,0 +1,48 @@ +{ + "id": 427, + "name": "Medicare Beneficiary Identifier (Historic)", + "description": "A Medicare Beneficiary Identifier (MBI) assigned to a beneficiary. This particular (MBI) is the a former/historic identifier assigned to the beneficiary that is no longer used.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "MEDICAREBENEFICIARYIDHISTORY", + "bfdColumnName": "mbi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "medicareBeneficiaryId", + "ccwMapping": [ + "MBI_NUM" + ], + "cclfMapping": [ + "CCLF9.PRVS_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='http://hl7.org/fhir/sid/us-mbi').where(type.coding.extension.where(url='https://bluebutton.cms.gov/resources/codesystem/identifier-currency' and valueCoding.code='historic')).value", + "discriminator": [ + "identifier[N].system = 'http://hl7.org/fhir/sid/us-mbi'", + "identifier[N].type.coding[N].extension[N].url = 'https://bluebutton.cms.gov/resources/codesystem/identifier-currency'", + "identifier[N].type.coding[N].extension[N].valueCoding.code = 'historic'" + ], + "additional": [ + "patient.identifier[N].type.coding[N].extension[N].valueCoding.display = 'Historic'", + "patient.identifier[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v2-0203'", + "patient.identifier[N].type.coding[N].code = 'MC'", + "patient.identifier[N].type.coding[N].display = 'Patient's Medicare number')" + ], + "derived": "If the MedicareBeneficiaryIdHistory.MBIEndDate is null/empty then this entire patient.identifier will not be present.", + "note": "", + "example": "{\\n \"system\": \"http://hl7.org/fhir/sid/us-mbi\",\\n \"type\": {\\n \"coding\": [\\n {\\n \"code\": \"MC\",\\n \"display\": \"Patient's Medicare number\",\\n \"extension\": [\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\",\\n \"valueCoding\": {\\n \"code\": \"historic\",\\n \"display\": \"Historic\",\\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/identifier-currency\"\\n }\\n }\\n ],\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\"\\n }\\n ]\\n },\\n \"value\": \"A1B2C3D4E50\"\\n}\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0428_lastupdated.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0428_lastupdated.json new file mode 100644 index 0000000000..3801ef80e0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0428_lastupdated.json @@ -0,0 +1,35 @@ +{ + "id": 428, + "name": "Patient Resource Last Updated Date", + "description": "The date that this record was last updated within the database.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES;MEDICAREBENEFICIARYIDHISTORY", + "bfdColumnName": "lastupdated", + "bfdDbType": "TIMESTAMP", + "bfdDbSize": null, + "bfdJavaFieldName": "lastUpdated", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "meta.lastUpdated", + "fhirPath": "meta.lastUpdated", + "discriminator": [], + "additional": [], + "derived": "The value will either be from the Beneficiary or MedicareBeneficiaryIdHistory table, depending upon which one is the latest date.", + "note": "", + "example": "{\\n \"lastUpdated\": \"2021-05-15T08:22:38.251+00:00\",\\n \"profile\": [\\n \"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage\"\\n ]\\n }\\n " + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0429_mbi_effective_end_date.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0429_mbi_effective_end_date.json new file mode 100644 index 0000000000..e9af248095 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0429_mbi_effective_end_date.json @@ -0,0 +1,35 @@ +{ + "id": 429, + "name": "MBI Effective End Date", + "description": "The date that an Medicare Beneficiary Identifier became inactive. In cases where the MBI has changed for a patient, this date will be supplied. This date will be empty if the MBI in question is the current MBI.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "MEDICAREBENEFICIARYIDHISTORY", + "bfdColumnName": "", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "mbiEndDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "If this field is not populated for a MedicareBeneficiaryIdHistory record then that record will not be added as an Historic MBI in the patient.identifier[N].", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0430_bene_state_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0430_bene_state_cd.json new file mode 100644 index 0000000000..4a99a38463 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0430_bene_state_cd.json @@ -0,0 +1,40 @@ +{ + "id": 430, + "name": "State Code for Beneficiary", + "description": "The social security administration (SSA) standard 2-digit state code of a beneficiary's residence.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_state_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "stateCode", + "ccwMapping": [ + "BENE_STATE_CD" + ], + "cclfMapping": [ + "CCLF8.BENE_FIPS_STATE_CD", + " CCLF8. GEO_USPS_STATE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].state", + "fhirPath": "address[%n].state", + "discriminator": [], + "additional": [], + "derived": "The valueset definition for the SSA state codes can be found at https://bluebutton.cms.gov/assets/ig/ValueSet-prvdr-state-cd.html", + "note": "This is always populated regardless of the request header parameter includeAddressFields (True or False)", + "example": "[\\n \"MO\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0431_bene_mlg_cntct_zip_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0431_bene_mlg_cntct_zip_cd.json new file mode 100644 index 0000000000..0d32e9b599 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0431_bene_mlg_cntct_zip_cd.json @@ -0,0 +1,41 @@ +{ + "id": 431, + "name": "Zip Code for Beneficiary", + "description": "This field specifies the zip code identified as the beneficiary mailing address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_mlg_cntct_zip_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 9, + "bfdJavaFieldName": "postalCode", + "ccwMapping": [ + "BENE_MLG_CNTCT_ZIP_CD" + ], + "cclfMapping": [ + "CCLF8.BENE_ZIP_CD", + " CCLF8. GEO_ZIP4_CD", + " CCLF8. GEO_ZIP5_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].postalCode", + "fhirPath": "address[%n].postalCode", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This is always populated regardless of the request header parameter includeAddressFields (True or False)", + "example": "[\\n \"12345\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0432_drvd_line_1_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0432_drvd_line_1_adr.json new file mode 100644 index 0000000000..3382cd0aee --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0432_drvd_line_1_adr.json @@ -0,0 +1,38 @@ +{ + "id": 432, + "name": "Beneficiary Derived Mailing Line One Address", + "description": "The first line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_1_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress1", + "ccwMapping": [ + "DRVD_LINE_1_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_1_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[0]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"204 SOUTH ST\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0433_drvd_line_2_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0433_drvd_line_2_adr.json new file mode 100644 index 0000000000..eb09db4a36 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0433_drvd_line_2_adr.json @@ -0,0 +1,38 @@ +{ + "id": 433, + "name": "Beneficiary Derived Mailing Line Two Address", + "description": "The second line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_2_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress2", + "ccwMapping": [ + "DRVD_LINE_2_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_2_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[1]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"7560 123TH ST\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0434_drvd_line_3_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0434_drvd_line_3_adr.json new file mode 100644 index 0000000000..23393614ba --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0434_drvd_line_3_adr.json @@ -0,0 +1,38 @@ +{ + "id": 434, + "name": "Beneficiary Derived Mailing Line Three Address", + "description": "The third line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_3_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress3", + "ccwMapping": [ + "DRVD_LINE_3_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_3_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[2]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"SURREY\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0435_drvd_line_4_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0435_drvd_line_4_adr.json new file mode 100644 index 0000000000..993c723fb4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0435_drvd_line_4_adr.json @@ -0,0 +1,38 @@ +{ + "id": 435, + "name": "Beneficiary Derived Mailing Line Four Address", + "description": "The fourth line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_4_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress4", + "ccwMapping": [ + "DRVD_LINE_4_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_4_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[3]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"DAEJEON SI 34867\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0436_drvd_line_5_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0436_drvd_line_5_adr.json new file mode 100644 index 0000000000..9a5bc10fcc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0436_drvd_line_5_adr.json @@ -0,0 +1,38 @@ +{ + "id": 436, + "name": "Beneficiary Derived Mailing Line Five Address", + "description": "The fifth line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_5_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress5", + "ccwMapping": [ + "DRVD_LINE_5_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_5_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[4]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"COLOMBIA\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0437_drvd_line_6_adr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0437_drvd_line_6_adr.json new file mode 100644 index 0000000000..11c003f17e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0437_drvd_line_6_adr.json @@ -0,0 +1,38 @@ +{ + "id": 437, + "name": "Beneficiary Derived Mailing Line Six Address", + "description": "The sixth line of the street address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "drvd_line_6_adr", + "bfdDbType": "CHAR", + "bfdDbSize": 40, + "bfdJavaFieldName": "derivedMailingAddress6", + "ccwMapping": [ + "DRVD_LINE_6_ADR" + ], + "cclfMapping": [ + "CCLF8.BENE_LINE_6_ADR" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].line[N]", + "fhirPath": "address[%n].line[5]", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"SURREY\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0438_city_name.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0438_city_name.json new file mode 100644 index 0000000000..5e6822fe01 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0438_city_name.json @@ -0,0 +1,38 @@ +{ + "id": 438, + "name": "City for Beneficiary", + "description": "The name of the city for the beneficiary mailing address.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "city_name", + "bfdDbType": "CHAR", + "bfdDbSize": 100, + "bfdJavaFieldName": "derivedCityName", + "ccwMapping": [ + "CITY_NAME" + ], + "cclfMapping": [ + "CCLF8.GEO_ZIP_PLC_NAME" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "address[N].city", + "fhirPath": "address[%n].city", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This will only be populated if the request header parameter includeAddressFields is set to True.", + "example": "[\\n \"PODUNK\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0439_bene_birth_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0439_bene_birth_dt.json new file mode 100644 index 0000000000..88c79aa242 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0439_bene_birth_dt.json @@ -0,0 +1,39 @@ +{ + "id": 439, + "name": "Beneficiary Birth Date", + "description": "This is the beneficiary's date of birth.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_birth_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "birthDate", + "ccwMapping": [ + "BENE_BIRTH_DT" + ], + "cclfMapping": [ + "CCLF8.BENE_DOB" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "birthDate", + "fhirPath": "birthDate", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Date Format: YYYY-MM-DD", + "example": "[\\n \"1981-03-17\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0440_bene_death_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0440_bene_death_dt.json new file mode 100644 index 0000000000..d0ea49fc4e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0440_bene_death_dt.json @@ -0,0 +1,39 @@ +{ + "id": 440, + "name": "Beneficiary Death Date", + "description": "This variable indicates the date of death of the beneficiary. A null value means that no death date was reported for the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_death_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "beneficiaryDateOfDeath", + "ccwMapping": [ + "BENE_DEATH_DT" + ], + "cclfMapping": [ + "CCLF8.BENE_DEATH_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "deceasedDateTime", + "fhirPath": "deceasedDateTime", + "discriminator": [], + "additional": [], + "derived": "", + "note": "Date Format: YYYY-MM-DD", + "example": "[\\n \"1981-03-17\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0441_bene_sex_ident_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0441_bene_sex_ident_cd.json new file mode 100644 index 0000000000..eaad9322b9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0441_bene_sex_ident_cd.json @@ -0,0 +1,39 @@ +{ + "id": 441, + "name": "Beneficiary Sex Code", + "description": "This variable indicates the sex of the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_sex_ident_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "sex", + "ccwMapping": [ + "BENE_SEX_IDENT_CD" + ], + "cclfMapping": [ + "CCLF8.BENE_SEX_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "gender", + "fhirPath": "gender", + "discriminator": [], + "additional": [], + "derived": "Based upon the code the values will either be 'Male', 'Female', or 'Unknown'", + "note": "", + "example": "[\\n \"male\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0442_bene_race_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0442_bene_race_cd.json new file mode 100644 index 0000000000..9a0cb2024d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0442_bene_race_cd.json @@ -0,0 +1,50 @@ +{ + "id": 442, + "name": "Beneficiary Race Code", + "description": "The race of the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_race_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "race", + "ccwMapping": [ + "BENE_RACE_CD" + ], + "cclfMapping": [ + "CCLF8.BENE_RACE_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/race').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/race'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/race'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system})", + "patient.extension[N].url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'", + "patient.extension[N].extension[N].url = 'ombCategory'", + "patient.extension[N].extension[N].valueCoding.system = 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor'", + "patient.extension[N].extension[N].valueCoding.code = 'UNK'", + "patient.extension[N].extension[N].valueCoding.display = 'Unknown'", + "patient.extension[N].extension[N].url = 'text' patient.extension[N].extension[N].valueString = 'Unknown')" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/race\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/race\",\\n \"code\": \"1\",\\n \"display\": \"White\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0443_bene_crnt_hic_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0443_bene_crnt_hic_num.json new file mode 100644 index 0000000000..1b96db2fff --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0443_bene_crnt_hic_num.json @@ -0,0 +1,36 @@ +{ + "id": 443, + "name": "Health Insurance Claim Number (HICN) Current", + "description": "The Health Insurance Claim Number (HICN) is a Medicare beneficiary's identification number, used for paying claims and for determining eligibility for services across multiple entities (e.g. Social Security Administration (SSA), Railroad Retirement Board (RRB), States, Medicare providers and health plans, etc.)", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_crnt_hic_num", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "hicnUnhashed", + "ccwMapping": [ + "BENE_CRNT_HIC_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0444_bene_crnt_hic_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0444_bene_crnt_hic_num.json new file mode 100644 index 0000000000..15c1401835 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0444_bene_crnt_hic_num.json @@ -0,0 +1,36 @@ +{ + "id": 444, + "name": "Health Insurance Claim Number (HICN) Historic", + "description": "The Health Insurance Claim Number (HICN) is a Medicare beneficiary's identification number, used for paying claims and for determining eligibility for services across multiple entities (e.g. Social Security Administration (SSA), Railroad Retirement Board (RRB), States, Medicare providers and health plans, etc.)", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIESHISTORY", + "bfdColumnName": "bene_crnt_hic_num", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "hicnUnhashed", + "ccwMapping": [ + "BENE_CRNT_HIC_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0445_mbi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0445_mbi_num.json new file mode 100644 index 0000000000..f979b53e73 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0445_mbi_num.json @@ -0,0 +1,36 @@ +{ + "id": 445, + "name": "Hashed MBI", + "description": "A hashed version of the Medicare Beneficiary Identifier to protect the PII for the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mbi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 64, + "bfdJavaFieldName": "mbiHash", + "ccwMapping": [ + "MBI_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0446_bene_crnt_hic_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0446_bene_crnt_hic_num.json new file mode 100644 index 0000000000..9e0c77f499 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0446_bene_crnt_hic_num.json @@ -0,0 +1,36 @@ +{ + "id": 446, + "name": "Hashed HICN", + "description": "A hashed version of the Health Insurance Claim Number to protect the PII for the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_crnt_hic_num", + "bfdDbType": "CHAR", + "bfdDbSize": 64, + "bfdJavaFieldName": "hicn", + "ccwMapping": [ + "BENE_CRNT_HIC_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0447_bene_gvn_name.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0447_bene_gvn_name.json new file mode 100644 index 0000000000..3f5e210e99 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0447_bene_gvn_name.json @@ -0,0 +1,41 @@ +{ + "id": 447, + "name": "Beneficiary First Name", + "description": "The first name of the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_gvn_name", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "nameGiven", + "ccwMapping": [ + "BENE_GVN_NAME" + ], + "cclfMapping": [ + "CCLF8.BENE_1ST_NAME" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "name[N].given[0]", + "fhirPath": "name.given[0]", + "discriminator": [ + "name[N].use = 'usual'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"use\": \"usual\",\\n \"family\": \"Doe\",\\n \"given\": [\\n \"John\",\\n \"A\"\\n ]\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0448_bene_srnm_name.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0448_bene_srnm_name.json new file mode 100644 index 0000000000..f71816ed61 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0448_bene_srnm_name.json @@ -0,0 +1,41 @@ +{ + "id": 448, + "name": "Beneficiary Last Name", + "description": "The last name of the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_srnm_name", + "bfdDbType": "CHAR", + "bfdDbSize": 24, + "bfdJavaFieldName": "nameSurname", + "ccwMapping": [ + "BENE_SRNM_NAME" + ], + "cclfMapping": [ + "CCLF8.BENE_LAST_NAME" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "name[N].family", + "fhirPath": "name.family", + "discriminator": [ + "name[N].use = 'usual'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"use\": \"usual\",\\n \"family\": \"Doe\",\\n \"given\": [\\n \"John\",\\n \"A\"\\n ]\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0449_bene_mdl_name.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0449_bene_mdl_name.json new file mode 100644 index 0000000000..27f3a33b5b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0449_bene_mdl_name.json @@ -0,0 +1,40 @@ +{ + "id": 449, + "name": "Beneficiary Middle Name", + "description": "The middle name of the beneficiary.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_mdl_name", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "nameMiddleInitial", + "ccwMapping": [ + "BENE_MDL_NAME" + ], + "cclfMapping": [ + "CCLF8.BENE_MIDL_NAME" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "name[N].given[1]", + "fhirPath": "name.given[1]", + "discriminator": [ + "name[N].use = 'usual'" + ], + "additional": [], + "derived": "If middle initial doesn't exist then just the first element of patient.name.given will be supplied.", + "note": "", + "example": "[\\n {\\n \"use\": \"usual\",\\n \"family\": \"Doe\",\\n \"given\": [\\n \"John\",\\n \"A\"\\n ]\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0450_dual_stus_cd_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0450_dual_stus_cd_01.json new file mode 100644 index 0000000000..150c11fadc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0450_dual_stus_cd_01.json @@ -0,0 +1,44 @@ +{ + "id": 450, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 January", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_01", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJanCode", + "ccwMapping": [ + "DUAL_STUS_CD_01" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_01'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_01'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_01\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_01\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0451_dual_stus_cd_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0451_dual_stus_cd_02.json new file mode 100644 index 0000000000..de19bdcd1a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0451_dual_stus_cd_02.json @@ -0,0 +1,44 @@ +{ + "id": 451, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 February", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_02", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityFebCode", + "ccwMapping": [ + "DUAL_STUS_CD_02" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_02'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_02'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_02\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_02\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0452_dual_stus_cd_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0452_dual_stus_cd_03.json new file mode 100644 index 0000000000..191da3411c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0452_dual_stus_cd_03.json @@ -0,0 +1,44 @@ +{ + "id": 452, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013March", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_03", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityMarCode", + "ccwMapping": [ + "DUAL_STUS_CD_03" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_03'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_03'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_03\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_03\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0453_dual_stus_cd_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0453_dual_stus_cd_04.json new file mode 100644 index 0000000000..b26b8459e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0453_dual_stus_cd_04.json @@ -0,0 +1,44 @@ +{ + "id": 453, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 April", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_04", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityAprCode", + "ccwMapping": [ + "DUAL_STUS_CD_04" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_04'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_04'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_04\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_04\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0454_dual_stus_cd_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0454_dual_stus_cd_05.json new file mode 100644 index 0000000000..2048f03ee9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0454_dual_stus_cd_05.json @@ -0,0 +1,44 @@ +{ + "id": 454, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 May", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_05", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityMayCode", + "ccwMapping": [ + "DUAL_STUS_CD_05" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_05'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_05'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_05\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_05\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0455_dual_stus_cd_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0455_dual_stus_cd_06.json new file mode 100644 index 0000000000..8f428ac4a1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0455_dual_stus_cd_06.json @@ -0,0 +1,44 @@ +{ + "id": 455, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 June", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_06", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJunCode", + "ccwMapping": [ + "DUAL_STUS_CD_06" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_06'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_06'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_06\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_06\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0456_dual_stus_cd_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0456_dual_stus_cd_07.json new file mode 100644 index 0000000000..3d42f9693b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0456_dual_stus_cd_07.json @@ -0,0 +1,44 @@ +{ + "id": 456, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 July", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_07", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJulCode", + "ccwMapping": [ + "DUAL_STUS_CD_07" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_07'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_07'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_07\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_07\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0457_dual_stus_cd_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0457_dual_stus_cd_08.json new file mode 100644 index 0000000000..c69635e3e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0457_dual_stus_cd_08.json @@ -0,0 +1,44 @@ +{ + "id": 457, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 August", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_08", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityAugCode", + "ccwMapping": [ + "DUAL_STUS_CD_08" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_08'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_08'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_08\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_08\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0458_dual_stus_cd_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0458_dual_stus_cd_09.json new file mode 100644 index 0000000000..b38c37cab3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0458_dual_stus_cd_09.json @@ -0,0 +1,44 @@ +{ + "id": 458, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 September", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_09", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilitySeptCode", + "ccwMapping": [ + "DUAL_STUS_CD_09" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_09'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_09'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_09\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_09\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0459_dual_stus_cd_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0459_dual_stus_cd_10.json new file mode 100644 index 0000000000..70dbd31af7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0459_dual_stus_cd_10.json @@ -0,0 +1,44 @@ +{ + "id": 459, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 October", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_10", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityOctCode", + "ccwMapping": [ + "DUAL_STUS_CD_10" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_10'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_10'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_10\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_10\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0460_dual_stus_cd_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0460_dual_stus_cd_11.json new file mode 100644 index 0000000000..3a045e8f55 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0460_dual_stus_cd_11.json @@ -0,0 +1,44 @@ +{ + "id": 460, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 November", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_11", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityNovCode", + "ccwMapping": [ + "DUAL_STUS_CD_11" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_11'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_11'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_11\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_11\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0461_dual_stus_cd_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0461_dual_stus_cd_12.json new file mode 100644 index 0000000000..ffc71ed9fe --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0461_dual_stus_cd_12.json @@ -0,0 +1,44 @@ +{ + "id": 461, + "name": "Monthly Medicare-Medicaid dual eligibility code \u2013 December", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_12", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityDecCode", + "ccwMapping": [ + "DUAL_STUS_CD_12" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_12'" + ], + "additional": [ + "patient.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_12'", + "patient.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_12\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_12\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0462_bene_enrollmt_ref_yr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0462_bene_enrollmt_ref_yr.json new file mode 100644 index 0000000000..5de0acd74e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0462_bene_enrollmt_ref_yr.json @@ -0,0 +1,38 @@ +{ + "id": 462, + "name": "Reference Year", + "description": "This field indicates the reference year of the enrollment data.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_enrollmt_ref_yr", + "bfdDbType": "NUM", + "bfdDbSize": 4, + "bfdJavaFieldName": "beneEnrollmentReferenceYear", + "ccwMapping": [ + "BENE_ENROLLMT_REF_YR" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "extension[N].valueDate", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rfrnc_yr').valueDate", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rfrnc_yr'" + ], + "additional": [], + "derived": "", + "note": "Date Format: YYYY", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/rfrnc_yr\",\\n \"valueDate\": \"2018\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0463_patient_resource_profile.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0463_patient_resource_profile.json new file mode 100644 index 0000000000..15eda1c147 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0463_patient_resource_profile.json @@ -0,0 +1,37 @@ +{ + "id": 463, + "name": "Patient Resource Profile", + "description": "An assertion that the content within the FHIR resource response conforms to a FHIR resource profile defined by HL7 or other FHIR Accelerator Groups. The industry standard profile that is used as a template for this FHIR Resource.", + "appliesTo": [ + "" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Patient", + "element": "meta.profile[N]", + "fhirPath": "meta.profile", + "discriminator": [ + "meta.profile[1]" + ], + "additional": [], + "derived": "http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient", + "note": "", + "example": "[\\n \"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0464_covstart.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0464_covstart.json new file mode 100644 index 0000000000..340041499b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0464_covstart.json @@ -0,0 +1,42 @@ +{ + "id": 464, + "name": "Medicare Coverage Start Date", + "description": "That date that Medicare Coverage began for the Beneficiary.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "covstart", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "covstart", + "ccwMapping": [ + "COVSTART" + ], + "cclfMapping": [ + "CCLF8.BENE_PART_A_ENRLMT_BGN_DT", + " CCLF8. BENE_PART_B_ENRLMT_BGN_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.start", + "fhirPath": "period.start", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0465_ptc_cntrct_id_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0465_ptc_cntrct_id_01.json new file mode 100644 index 0000000000..a2dbdb2fe7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0465_ptc_cntrct_id_01.json @@ -0,0 +1,41 @@ +{ + "id": 465, + "name": "Part C Contract Number - January", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_01", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberJanId", + "ccwMapping": [ + "PTC_CNTRCT_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0466_ptc_cntrct_id_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0466_ptc_cntrct_id_02.json new file mode 100644 index 0000000000..22df07b6c6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0466_ptc_cntrct_id_02.json @@ -0,0 +1,41 @@ +{ + "id": 466, + "name": "Part C Contract Number - February", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_02", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberFebId", + "ccwMapping": [ + "PTC_CNTRCT_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0467_ptc_cntrct_id_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0467_ptc_cntrct_id_03.json new file mode 100644 index 0000000000..074f92b635 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0467_ptc_cntrct_id_03.json @@ -0,0 +1,41 @@ +{ + "id": 467, + "name": "Part C Contract Number - March", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_03", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberMarId", + "ccwMapping": [ + "PTC_CNTRCT_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0468_ptc_cntrct_id_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0468_ptc_cntrct_id_04.json new file mode 100644 index 0000000000..47d47103b1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0468_ptc_cntrct_id_04.json @@ -0,0 +1,41 @@ +{ + "id": 468, + "name": "Part C Contract Number - April", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_04", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberAprId", + "ccwMapping": [ + "PTC_CNTRCT_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0469_ptc_cntrct_id_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0469_ptc_cntrct_id_05.json new file mode 100644 index 0000000000..a2cc26d2af --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0469_ptc_cntrct_id_05.json @@ -0,0 +1,41 @@ +{ + "id": 469, + "name": "Part C Contract Number - May", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_05", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberMayId", + "ccwMapping": [ + "PTC_CNTRCT_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0470_ptc_cntrct_id_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0470_ptc_cntrct_id_06.json new file mode 100644 index 0000000000..6d14af039d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0470_ptc_cntrct_id_06.json @@ -0,0 +1,41 @@ +{ + "id": 470, + "name": "Part C Contract Number - June", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_06", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberJunId", + "ccwMapping": [ + "PTC_CNTRCT_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0471_ptc_cntrct_id_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0471_ptc_cntrct_id_07.json new file mode 100644 index 0000000000..451c2e956d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0471_ptc_cntrct_id_07.json @@ -0,0 +1,41 @@ +{ + "id": 471, + "name": "Part C Contract Number - July", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_07", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberJulId", + "ccwMapping": [ + "PTC_CNTRCT_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0472_ptc_cntrct_id_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0472_ptc_cntrct_id_08.json new file mode 100644 index 0000000000..dedc3e9397 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0472_ptc_cntrct_id_08.json @@ -0,0 +1,41 @@ +{ + "id": 472, + "name": "Part C Contract Number - August", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_08", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberAugId", + "ccwMapping": [ + "PTC_CNTRCT_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0473_ptc_cntrct_id_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0473_ptc_cntrct_id_09.json new file mode 100644 index 0000000000..de6a66b446 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0473_ptc_cntrct_id_09.json @@ -0,0 +1,41 @@ +{ + "id": 473, + "name": "Part C Contract Number - September", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_09", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberSepId", + "ccwMapping": [ + "PTC_CNTRCT_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0474_ptc_cntrct_id_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0474_ptc_cntrct_id_10.json new file mode 100644 index 0000000000..6f37e5b1ca --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0474_ptc_cntrct_id_10.json @@ -0,0 +1,41 @@ +{ + "id": 474, + "name": "Part C Contract Number - October", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_10", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberOctId", + "ccwMapping": [ + "PTC_CNTRCT_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0475_ptc_cntrct_id_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0475_ptc_cntrct_id_11.json new file mode 100644 index 0000000000..8eae923cf5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0475_ptc_cntrct_id_11.json @@ -0,0 +1,41 @@ +{ + "id": 475, + "name": "Part C Contract Number - November", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_11", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberNovId", + "ccwMapping": [ + "PTC_CNTRCT_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0476_ptc_cntrct_id_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0476_ptc_cntrct_id_12.json new file mode 100644 index 0000000000..9257b1b9f9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0476_ptc_cntrct_id_12.json @@ -0,0 +1,41 @@ +{ + "id": 476, + "name": "Part C Contract Number - December", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_cntrct_id_12", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partCContractNumberDecId", + "ccwMapping": [ + "PTC_CNTRCT_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_cntrct_id_12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0477_ptc_pbp_id_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0477_ptc_pbp_id_01.json new file mode 100644 index 0000000000..f06b82e5f6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0477_ptc_pbp_id_01.json @@ -0,0 +1,41 @@ +{ + "id": 477, + "name": "Part C PBP Number - January", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_01", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberJanId", + "ccwMapping": [ + "PTC_PBP_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0478_ptc_pbp_id_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0478_ptc_pbp_id_02.json new file mode 100644 index 0000000000..be2e87a1e6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0478_ptc_pbp_id_02.json @@ -0,0 +1,41 @@ +{ + "id": 478, + "name": "Part C PBP Number - February", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_02", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberFebId", + "ccwMapping": [ + "PTC_PBP_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0479_ptc_pbp_id_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0479_ptc_pbp_id_03.json new file mode 100644 index 0000000000..98fd107edc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0479_ptc_pbp_id_03.json @@ -0,0 +1,41 @@ +{ + "id": 479, + "name": "Part C PBP Number - March", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_03", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberMarId", + "ccwMapping": [ + "PTC_PBP_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0480_ptc_pbp_id_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0480_ptc_pbp_id_04.json new file mode 100644 index 0000000000..376f56431f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0480_ptc_pbp_id_04.json @@ -0,0 +1,41 @@ +{ + "id": 480, + "name": "Part C PBP Number - April", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_04", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberAprId", + "ccwMapping": [ + "PTC_PBP_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0481_ptc_pbp_id_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0481_ptc_pbp_id_05.json new file mode 100644 index 0000000000..743429d0e1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0481_ptc_pbp_id_05.json @@ -0,0 +1,41 @@ +{ + "id": 481, + "name": "Part C PBP Number - May", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_05", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberMayId", + "ccwMapping": [ + "PTC_PBP_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0482_ptc_pbp_id_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0482_ptc_pbp_id_06.json new file mode 100644 index 0000000000..ca7b24758b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0482_ptc_pbp_id_06.json @@ -0,0 +1,41 @@ +{ + "id": 482, + "name": "Part C PBP Number - June", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_06", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberJunId", + "ccwMapping": [ + "PTC_PBP_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0483_ptc_pbp_id_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0483_ptc_pbp_id_07.json new file mode 100644 index 0000000000..7fb4db1a5e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0483_ptc_pbp_id_07.json @@ -0,0 +1,41 @@ +{ + "id": 483, + "name": "Part C PBP Number - July", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_07", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberJulId", + "ccwMapping": [ + "PTC_PBP_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0484_ptc_pbp_id_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0484_ptc_pbp_id_08.json new file mode 100644 index 0000000000..e269cfc62e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0484_ptc_pbp_id_08.json @@ -0,0 +1,41 @@ +{ + "id": 484, + "name": "Part C PBP Number - August", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_08", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberAugId", + "ccwMapping": [ + "PTC_PBP_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0485_ptc_pbp_id_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0485_ptc_pbp_id_09.json new file mode 100644 index 0000000000..9026194dc4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0485_ptc_pbp_id_09.json @@ -0,0 +1,41 @@ +{ + "id": 485, + "name": "Part C PBP Number - September", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_09", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberSepId", + "ccwMapping": [ + "PTC_PBP_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0486_ptc_pbp_id_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0486_ptc_pbp_id_10.json new file mode 100644 index 0000000000..d38454f627 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0486_ptc_pbp_id_10.json @@ -0,0 +1,41 @@ +{ + "id": 486, + "name": "Part C PBP Number - October", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_10", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberOctId", + "ccwMapping": [ + "PTC_PBP_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0487_ptc_pbp_id_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0487_ptc_pbp_id_11.json new file mode 100644 index 0000000000..443713aba3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0487_ptc_pbp_id_11.json @@ -0,0 +1,41 @@ +{ + "id": 487, + "name": "Part C PBP Number - November", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_11", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberNovId", + "ccwMapping": [ + "PTC_PBP_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0488_ptc_pbp_id_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0488_ptc_pbp_id_12.json new file mode 100644 index 0000000000..8fd4928ed7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0488_ptc_pbp_id_12.json @@ -0,0 +1,41 @@ +{ + "id": 488, + "name": "Part C PBP Number - December", + "description": "The variable is the Medicare Part C plan benefit package (PBP) for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part C plan sponsor has with CMS.", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_pbp_id_12", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPbpNumberDecId", + "ccwMapping": [ + "PTC_PBP_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_pbp_id_12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0489_ptc_plan_type_cd_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0489_ptc_plan_type_cd_01.json new file mode 100644 index 0000000000..a7fe9d138d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0489_ptc_plan_type_cd_01.json @@ -0,0 +1,40 @@ +{ + "id": 489, + "name": "Part C Plan Type Code - January", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_01", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeJanCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0490_ptc_plan_type_cd_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0490_ptc_plan_type_cd_02.json new file mode 100644 index 0000000000..aabfe20bc9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0490_ptc_plan_type_cd_02.json @@ -0,0 +1,40 @@ +{ + "id": 490, + "name": "Part C Plan Type Code - February", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_02", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeFebCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0491_ptc_plan_type_cd_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0491_ptc_plan_type_cd_03.json new file mode 100644 index 0000000000..59d2777078 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0491_ptc_plan_type_cd_03.json @@ -0,0 +1,40 @@ +{ + "id": 491, + "name": "Part C Plan Type Code - March", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_03", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeMarCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0492_ptc_plan_type_cd_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0492_ptc_plan_type_cd_04.json new file mode 100644 index 0000000000..648589b934 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0492_ptc_plan_type_cd_04.json @@ -0,0 +1,40 @@ +{ + "id": 492, + "name": "Part C Plan Type Code - April", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_04", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeAprCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0493_ptc_plan_type_cd_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0493_ptc_plan_type_cd_05.json new file mode 100644 index 0000000000..3d247159ac --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0493_ptc_plan_type_cd_05.json @@ -0,0 +1,40 @@ +{ + "id": 493, + "name": "Part C Plan Type Code - May", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_05", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeMayCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0494_ptc_plan_type_cd_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0494_ptc_plan_type_cd_06.json new file mode 100644 index 0000000000..49812f0258 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0494_ptc_plan_type_cd_06.json @@ -0,0 +1,40 @@ +{ + "id": 494, + "name": "Part C Plan Type Code - June", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_06", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeJunCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0495_ptc_plan_type_cd_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0495_ptc_plan_type_cd_07.json new file mode 100644 index 0000000000..01b2deee6c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0495_ptc_plan_type_cd_07.json @@ -0,0 +1,40 @@ +{ + "id": 495, + "name": "Part C Plan Type Code - July", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_07", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeJulCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0496_ptc_plan_type_cd_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0496_ptc_plan_type_cd_08.json new file mode 100644 index 0000000000..9dd64d4922 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0496_ptc_plan_type_cd_08.json @@ -0,0 +1,40 @@ +{ + "id": 496, + "name": "Part C Plan Type Code - August", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_08", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeAugCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0497_ptc_plan_type_cd_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0497_ptc_plan_type_cd_09.json new file mode 100644 index 0000000000..78537e2f9e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0497_ptc_plan_type_cd_09.json @@ -0,0 +1,40 @@ +{ + "id": 497, + "name": "Part C Plan Type Code - September", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_09", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeSepCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0498_ptc_plan_type_cd_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0498_ptc_plan_type_cd_10.json new file mode 100644 index 0000000000..5cad0572e7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0498_ptc_plan_type_cd_10.json @@ -0,0 +1,40 @@ +{ + "id": 498, + "name": "Part C Plan Type Code - October", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_10", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeOctCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0499_ptc_plan_type_cd_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0499_ptc_plan_type_cd_11.json new file mode 100644 index 0000000000..87ca72a9dc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0499_ptc_plan_type_cd_11.json @@ -0,0 +1,40 @@ +{ + "id": 499, + "name": "Part C Plan Type Code - November", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_11", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeNovCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0500_ptc_plan_type_cd_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0500_ptc_plan_type_cd_12.json new file mode 100644 index 0000000000..4521a7ac7a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0500_ptc_plan_type_cd_12.json @@ -0,0 +1,40 @@ +{ + "id": 500, + "name": "Part C Plan Type Code - December", + "description": "This variable is the type of Medicare Part C plan for the beneficiary for a given month (January through December).", + "appliesTo": [ + "Part-C" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptc_plan_type_cd_12", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partCPlanTypeDecCode", + "ccwMapping": [ + "PTC_PLAN_TYPE_CD_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptc_plan_type_cd_12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0501_ptd_cntrct_id_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0501_ptd_cntrct_id_01.json new file mode 100644 index 0000000000..ad03d2d182 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0501_ptd_cntrct_id_01.json @@ -0,0 +1,41 @@ +{ + "id": 501, + "name": "Part D Contract Number - January (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_01", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberJanId", + "ccwMapping": [ + "PTD_CNTRCT_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "{\\n \"url\" : \"https://bluebutton.cms.gov/resources/variables/ptdcntrct01\",\\n \"valueCoding\" : {\\n \"system\" : \"https://bluebutton.cms.gov/resources/variables/ptdcntrct01\",\\n \"code\" : \"S4607\"\\n}\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0502_ptd_cntrct_id_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0502_ptd_cntrct_id_02.json new file mode 100644 index 0000000000..5de237009b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0502_ptd_cntrct_id_02.json @@ -0,0 +1,41 @@ +{ + "id": 502, + "name": "Part D Contract Number - February (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_02", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberFebId", + "ccwMapping": [ + "PTD_CNTRCT_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0503_ptd_cntrct_id_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0503_ptd_cntrct_id_03.json new file mode 100644 index 0000000000..f6016fc9ad --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0503_ptd_cntrct_id_03.json @@ -0,0 +1,41 @@ +{ + "id": 503, + "name": "Part D Contract Number - March (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_03", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberMarId", + "ccwMapping": [ + "PTD_CNTRCT_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0504_ptd_cntrct_id_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0504_ptd_cntrct_id_04.json new file mode 100644 index 0000000000..e567d2424e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0504_ptd_cntrct_id_04.json @@ -0,0 +1,41 @@ +{ + "id": 504, + "name": "Part D Contract Number - April (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_04", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberAprId", + "ccwMapping": [ + "PTD_CNTRCT_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0505_ptd_cntrct_id_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0505_ptd_cntrct_id_05.json new file mode 100644 index 0000000000..21e505799b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0505_ptd_cntrct_id_05.json @@ -0,0 +1,41 @@ +{ + "id": 505, + "name": "Part D Contract Number - May (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_05", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberMayId", + "ccwMapping": [ + "PTD_CNTRCT_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0506_ptd_cntrct_id_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0506_ptd_cntrct_id_06.json new file mode 100644 index 0000000000..13cd869620 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0506_ptd_cntrct_id_06.json @@ -0,0 +1,41 @@ +{ + "id": 506, + "name": "Part D Contract Number - June (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_06", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberJunId", + "ccwMapping": [ + "PTD_CNTRCT_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0507_ptd_cntrct_id_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0507_ptd_cntrct_id_07.json new file mode 100644 index 0000000000..17c6adc710 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0507_ptd_cntrct_id_07.json @@ -0,0 +1,41 @@ +{ + "id": 507, + "name": "Part D Contract Number - July (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_07", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberJulId", + "ccwMapping": [ + "PTD_CNTRCT_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0508_ptd_cntrct_id_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0508_ptd_cntrct_id_08.json new file mode 100644 index 0000000000..9a50035e26 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0508_ptd_cntrct_id_08.json @@ -0,0 +1,41 @@ +{ + "id": 508, + "name": "Part D Contract Number - August (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_08", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberAugId", + "ccwMapping": [ + "PTD_CNTRCT_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0509_ptd_cntrct_id_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0509_ptd_cntrct_id_09.json new file mode 100644 index 0000000000..bbd569f7eb --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0509_ptd_cntrct_id_09.json @@ -0,0 +1,41 @@ +{ + "id": 509, + "name": "Part D Contract Number - September (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_09", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberSepId", + "ccwMapping": [ + "PTD_CNTRCT_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0510_ptd_cntrct_id_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0510_ptd_cntrct_id_10.json new file mode 100644 index 0000000000..8d44835766 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0510_ptd_cntrct_id_10.json @@ -0,0 +1,41 @@ +{ + "id": 510, + "name": "Part D Contract Number - October (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_10", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberOctId", + "ccwMapping": [ + "PTD_CNTRCT_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0511_ptd_cntrct_id_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0511_ptd_cntrct_id_11.json new file mode 100644 index 0000000000..9a396372aa --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0511_ptd_cntrct_id_11.json @@ -0,0 +1,41 @@ +{ + "id": 511, + "name": "Part D Contract Number - November (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_11", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberNovId", + "ccwMapping": [ + "PTD_CNTRCT_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0512_ptd_cntrct_id_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0512_ptd_cntrct_id_12.json new file mode 100644 index 0000000000..fcf37836cd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0512_ptd_cntrct_id_12.json @@ -0,0 +1,41 @@ +{ + "id": 512, + "name": "Part D Contract Number - December (Current Year)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cntrct_id_12", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberDecId", + "ccwMapping": [ + "PTD_CNTRCT_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0513_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0513_partd_contract_number_id.json new file mode 100644 index 0000000000..b28333ae1d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0513_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 513, + "name": "Part D Contract Number - January (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct01-[%y]-1').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--1'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0514_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0514_partd_contract_number_id.json new file mode 100644 index 0000000000..fd4bb96d06 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0514_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 514, + "name": "Part D Contract Number - February (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct02-[%y]-2').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct02--2'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0515_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0515_partd_contract_number_id.json new file mode 100644 index 0000000000..81db7c957d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0515_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 515, + "name": "Part D Contract Number - March (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct03-[%y]-3').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct03--3'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0516_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0516_partd_contract_number_id.json new file mode 100644 index 0000000000..ea2cf51109 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0516_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 516, + "name": "Part D Contract Number - April (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct04-[%y]-4').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct04--4'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0517_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0517_partd_contract_number_id.json new file mode 100644 index 0000000000..f68d0738ee --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0517_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 517, + "name": "Part D Contract Number - May (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct05-[%y]-5').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct05--5'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0518_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0518_partd_contract_number_id.json new file mode 100644 index 0000000000..4aa68e34db --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0518_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 518, + "name": "Part D Contract Number - June (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct06-[%y]-6').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct06--6'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0519_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0519_partd_contract_number_id.json new file mode 100644 index 0000000000..a9206e3d08 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0519_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 519, + "name": "Part D Contract Number - July (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct07-[%y]-7').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct07--7'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0520_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0520_partd_contract_number_id.json new file mode 100644 index 0000000000..e1bd5fb676 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0520_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 520, + "name": "Part D Contract Number - August (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct08-[%y]-8').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct08--8'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0521_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0521_partd_contract_number_id.json new file mode 100644 index 0000000000..868cc30d1b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0521_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 521, + "name": "Part D Contract Number - September (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct09-[%y]-9').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct09--9'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0522_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0522_partd_contract_number_id.json new file mode 100644 index 0000000000..dfaee6ad42 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0522_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 522, + "name": "Part D Contract Number - October (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct10-[%y]-10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct10--10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0523_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0523_partd_contract_number_id.json new file mode 100644 index 0000000000..98798b0180 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0523_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 523, + "name": "Part D Contract Number - November (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct11-[%y]-11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct11--11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0524_partd_contract_number_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0524_partd_contract_number_id.json new file mode 100644 index 0000000000..9355bb217f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0524_partd_contract_number_id.json @@ -0,0 +1,41 @@ +{ + "id": 524, + "name": "Part D Contract Number - December (Historic)", + "description": "This variable is the Medicare Part C contract number for the beneficiary\u2019s Medicare Advantage (MA) plan for a given month (January through December). CMS assigns an identifier to each contract that a managed care plan has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARYMONTHLY", + "bfdColumnName": "partd_contract_number_id", + "bfdDbType": "CHAR", + "bfdDbSize": 5, + "bfdJavaFieldName": "partDContractNumberId", + "ccwMapping": [ + "PTD_CNTRCT_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdcntrct12-[%y]-12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct12--12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "The discriminator is derived using the year and month from the beneficiaryMonthly.yearMonth column. . coverage.extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdcntrct01--'. the above is pulled from the beneficiaryMonthly table and the yearMonthly column. The is also pulled from this table and column.", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0525_ptd_pbp_id_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0525_ptd_pbp_id_01.json new file mode 100644 index 0000000000..cb0e30ddc9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0525_ptd_pbp_id_01.json @@ -0,0 +1,41 @@ +{ + "id": 525, + "name": "Part D PBP Number - January", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_01", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberJanId", + "ccwMapping": [ + "PTD_PBP_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "{\\n \"url\" : \"https://bluebutton.cms.gov/resources/variables/ptdpbpid01\",\\n \"valueCoding\" : {\\n \"system\" : \"https://bluebutton.cms.gov/resources/variables/ptdpbpid01\",\\n \"code\" : \"003\"\\n}" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0526_ptd_pbp_id_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0526_ptd_pbp_id_02.json new file mode 100644 index 0000000000..8751b304e3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0526_ptd_pbp_id_02.json @@ -0,0 +1,41 @@ +{ + "id": 526, + "name": "Part D PBP Number - February", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_02", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberFebId", + "ccwMapping": [ + "PTD_PBP_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0527_ptd_pbp_id_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0527_ptd_pbp_id_03.json new file mode 100644 index 0000000000..c026709ec5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0527_ptd_pbp_id_03.json @@ -0,0 +1,41 @@ +{ + "id": 527, + "name": "Part D PBP Number - March", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_03", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberMarId", + "ccwMapping": [ + "PTD_PBP_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0528_ptd_pbp_id_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0528_ptd_pbp_id_04.json new file mode 100644 index 0000000000..1f45b412f9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0528_ptd_pbp_id_04.json @@ -0,0 +1,41 @@ +{ + "id": 528, + "name": "Part D PBP Number - April", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_04", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberAprId", + "ccwMapping": [ + "PTD_PBP_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0529_ptd_pbp_id_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0529_ptd_pbp_id_05.json new file mode 100644 index 0000000000..60510234ad --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0529_ptd_pbp_id_05.json @@ -0,0 +1,41 @@ +{ + "id": 529, + "name": "Part D PBP Number - May", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_05", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberMayId", + "ccwMapping": [ + "PTD_PBP_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0530_ptd_pbp_id_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0530_ptd_pbp_id_06.json new file mode 100644 index 0000000000..72dde34161 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0530_ptd_pbp_id_06.json @@ -0,0 +1,41 @@ +{ + "id": 530, + "name": "Part D PBP Number - June", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_06", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberJunId", + "ccwMapping": [ + "PTD_PBP_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0531_ptd_pbp_id_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0531_ptd_pbp_id_07.json new file mode 100644 index 0000000000..64355d7ebc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0531_ptd_pbp_id_07.json @@ -0,0 +1,41 @@ +{ + "id": 531, + "name": "Part D PBP Number - July", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_07", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberJulId", + "ccwMapping": [ + "PTD_PBP_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0532_ptd_pbp_id_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0532_ptd_pbp_id_08.json new file mode 100644 index 0000000000..46a1f13e71 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0532_ptd_pbp_id_08.json @@ -0,0 +1,41 @@ +{ + "id": 532, + "name": "Part D PBP Number - August", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_08", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberAugId", + "ccwMapping": [ + "PTD_PBP_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0533_ptd_pbp_id_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0533_ptd_pbp_id_09.json new file mode 100644 index 0000000000..dfd3c83ab7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0533_ptd_pbp_id_09.json @@ -0,0 +1,41 @@ +{ + "id": 533, + "name": "Part D PBP Number - September", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_09", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberSepId", + "ccwMapping": [ + "PTD_PBP_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0534_ptd_pbp_id_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0534_ptd_pbp_id_10.json new file mode 100644 index 0000000000..3df9bdfdcc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0534_ptd_pbp_id_10.json @@ -0,0 +1,41 @@ +{ + "id": 534, + "name": "Part D PBP Number - October", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_10", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberOctId", + "ccwMapping": [ + "PTD_PBP_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0535_ptd_pbp_id_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0535_ptd_pbp_id_11.json new file mode 100644 index 0000000000..976607c4ea --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0535_ptd_pbp_id_11.json @@ -0,0 +1,41 @@ +{ + "id": 535, + "name": "Part D PBP Number - November", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_11", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberNovId", + "ccwMapping": [ + "PTD_PBP_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0536_ptd_pbp_id_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0536_ptd_pbp_id_12.json new file mode 100644 index 0000000000..1b1ffc93c4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0536_ptd_pbp_id_12.json @@ -0,0 +1,41 @@ +{ + "id": 536, + "name": "Part D PBP Number - December", + "description": "The variable is the Part D plan benefit package (PBP) for the beneficiary\u2019s Part D plan for a given month (January through December). CMS assigns an identifier to each PBP within a contract that a Part D plan sponsor has with CMS.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_pbp_id_12", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDPbpNumberDecId", + "ccwMapping": [ + "PTD_PBP_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ptdpbpid12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ptdpbpid12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0537_ptd_sgmt_id_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0537_ptd_sgmt_id_01.json new file mode 100644 index 0000000000..3a89c3cd9a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0537_ptd_sgmt_id_01.json @@ -0,0 +1,41 @@ +{ + "id": 537, + "name": "Part D Segment Number - January", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_01", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberJanId", + "ccwMapping": [ + "PTD_SGMT_ID_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0538_ptd_sgmt_id_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0538_ptd_sgmt_id_02.json new file mode 100644 index 0000000000..702e3cadec --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0538_ptd_sgmt_id_02.json @@ -0,0 +1,41 @@ +{ + "id": 538, + "name": "Part D Segment Number - February", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_02", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberFebId", + "ccwMapping": [ + "PTD_SGMT_ID_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0539_ptd_sgmt_id_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0539_ptd_sgmt_id_03.json new file mode 100644 index 0000000000..6e2ab2f142 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0539_ptd_sgmt_id_03.json @@ -0,0 +1,41 @@ +{ + "id": 539, + "name": "Part D Segment Number - March", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_03", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberMarId", + "ccwMapping": [ + "PTD_SGMT_ID_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0540_ptd_sgmt_id_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0540_ptd_sgmt_id_04.json new file mode 100644 index 0000000000..9c2fe1bd16 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0540_ptd_sgmt_id_04.json @@ -0,0 +1,41 @@ +{ + "id": 540, + "name": "Part D Segment Number - April", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_04", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberAprId", + "ccwMapping": [ + "PTD_SGMT_ID_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0541_ptd_sgmt_id_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0541_ptd_sgmt_id_05.json new file mode 100644 index 0000000000..c59d14ebb0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0541_ptd_sgmt_id_05.json @@ -0,0 +1,41 @@ +{ + "id": 541, + "name": "Part D Segment Number - May", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_05", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberMayId", + "ccwMapping": [ + "PTD_SGMT_ID_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0542_ptd_sgmt_id_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0542_ptd_sgmt_id_06.json new file mode 100644 index 0000000000..5a69b8ee3b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0542_ptd_sgmt_id_06.json @@ -0,0 +1,41 @@ +{ + "id": 542, + "name": "Part D Segment Number - June", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_06", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberJunId", + "ccwMapping": [ + "PTD_SGMT_ID_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0543_ptd_sgmt_id_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0543_ptd_sgmt_id_07.json new file mode 100644 index 0000000000..d41b115ef3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0543_ptd_sgmt_id_07.json @@ -0,0 +1,41 @@ +{ + "id": 543, + "name": "Part D Segment Number - July", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_07", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberJulId", + "ccwMapping": [ + "PTD_SGMT_ID_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0544_ptd_sgmt_id_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0544_ptd_sgmt_id_08.json new file mode 100644 index 0000000000..ea26f5795e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0544_ptd_sgmt_id_08.json @@ -0,0 +1,41 @@ +{ + "id": 544, + "name": "Part D Segment Number - August", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_08", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberAugId", + "ccwMapping": [ + "PTD_SGMT_ID_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0545_ptd_sgmt_id_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0545_ptd_sgmt_id_09.json new file mode 100644 index 0000000000..57a7de8240 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0545_ptd_sgmt_id_09.json @@ -0,0 +1,41 @@ +{ + "id": 545, + "name": "Part D Segment Number - September", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_09", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberSepId", + "ccwMapping": [ + "PTD_SGMT_ID_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0546_ptd_sgmt_id_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0546_ptd_sgmt_id_10.json new file mode 100644 index 0000000000..a591311a33 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0546_ptd_sgmt_id_10.json @@ -0,0 +1,41 @@ +{ + "id": 546, + "name": "Part D Segment Number - October", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_10", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberOctId", + "ccwMapping": [ + "PTD_SGMT_ID_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0547_ptd_sgmt_id_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0547_ptd_sgmt_id_11.json new file mode 100644 index 0000000000..92deed9256 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0547_ptd_sgmt_id_11.json @@ -0,0 +1,41 @@ +{ + "id": 547, + "name": "Part D Segment Number - November", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_11", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberNovId", + "ccwMapping": [ + "PTD_SGMT_ID_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0548_ptd_sgmt_id_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0548_ptd_sgmt_id_12.json new file mode 100644 index 0000000000..140a8e94ad --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0548_ptd_sgmt_id_12.json @@ -0,0 +1,41 @@ +{ + "id": 548, + "name": "Part D Segment Number - December", + "description": "This variable is the segment number that CMS assigns to identify a geographic market segment or subdivision of a Part D plan; the segment number allows you to determine the market area covered by the plan. The variable describes the market segment for a given month (January through December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_sgmt_id_12", + "bfdDbType": "CHAR", + "bfdDbSize": 3, + "bfdJavaFieldName": "partDSegmentNumberDecId", + "ccwMapping": [ + "PTD_SGMT_ID_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/sgmtid12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/sgmtid12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/sgmtid12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0549_dual_stus_cd_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0549_dual_stus_cd_01.json new file mode 100644 index 0000000000..5c7a49cba4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0549_dual_stus_cd_01.json @@ -0,0 +1,47 @@ +{ + "id": 549, + "name": "Medicare Medicaid Dual Eligibility Code - January", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_01", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJanCode", + "ccwMapping": [ + "DUAL_STUS_CD_01" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_01\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_01\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0550_dual_stus_cd_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0550_dual_stus_cd_02.json new file mode 100644 index 0000000000..b5c783635b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0550_dual_stus_cd_02.json @@ -0,0 +1,47 @@ +{ + "id": 550, + "name": "Medicare Medicaid Dual Eligibility Code - February", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_02", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityFebCode", + "ccwMapping": [ + "DUAL_STUS_CD_02" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_02\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_02\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0551_dual_stus_cd_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0551_dual_stus_cd_03.json new file mode 100644 index 0000000000..708beef523 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0551_dual_stus_cd_03.json @@ -0,0 +1,47 @@ +{ + "id": 551, + "name": "Medicare Medicaid Dual Eligibility Code - March", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_03", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityMarCode", + "ccwMapping": [ + "DUAL_STUS_CD_03" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_03\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_03\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0552_dual_stus_cd_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0552_dual_stus_cd_04.json new file mode 100644 index 0000000000..7228b5e1ec --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0552_dual_stus_cd_04.json @@ -0,0 +1,47 @@ +{ + "id": 552, + "name": "Medicare Medicaid Dual Eligibility Code - April", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_04", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityAprCode", + "ccwMapping": [ + "DUAL_STUS_CD_04" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_04\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_04\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0553_dual_stus_cd_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0553_dual_stus_cd_05.json new file mode 100644 index 0000000000..80a097d39a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0553_dual_stus_cd_05.json @@ -0,0 +1,47 @@ +{ + "id": 553, + "name": "Medicare Medicaid Dual Eligibility Code - May", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_05", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityMayCode", + "ccwMapping": [ + "DUAL_STUS_CD_05" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_05\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_05\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0554_dual_stus_cd_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0554_dual_stus_cd_06.json new file mode 100644 index 0000000000..8b4e1650c7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0554_dual_stus_cd_06.json @@ -0,0 +1,47 @@ +{ + "id": 554, + "name": "Medicare Medicaid Dual Eligibility Code - June", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_06", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJunCode", + "ccwMapping": [ + "DUAL_STUS_CD_06" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_06\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_06\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0555_dual_stus_cd_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0555_dual_stus_cd_07.json new file mode 100644 index 0000000000..702016ecda --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0555_dual_stus_cd_07.json @@ -0,0 +1,47 @@ +{ + "id": 555, + "name": "Medicare Medicaid Dual Eligibility Code - July", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_07", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityJulCode", + "ccwMapping": [ + "DUAL_STUS_CD_07" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_07\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_07\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0556_dual_stus_cd_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0556_dual_stus_cd_08.json new file mode 100644 index 0000000000..0991453fab --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0556_dual_stus_cd_08.json @@ -0,0 +1,47 @@ +{ + "id": 556, + "name": "Medicare Medicaid Dual Eligibility Code - August", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_08", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityAugCode", + "ccwMapping": [ + "DUAL_STUS_CD_08" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_08\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_08\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0557_dual_stus_cd_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0557_dual_stus_cd_09.json new file mode 100644 index 0000000000..2da14c2f5a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0557_dual_stus_cd_09.json @@ -0,0 +1,47 @@ +{ + "id": 557, + "name": "Medicare Medicaid Dual Eligibility Code - September", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_09", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilitySeptCode", + "ccwMapping": [ + "DUAL_STUS_CD_09" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_09\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_09\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0558_dual_stus_cd_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0558_dual_stus_cd_10.json new file mode 100644 index 0000000000..bae05bc48b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0558_dual_stus_cd_10.json @@ -0,0 +1,47 @@ +{ + "id": 558, + "name": "Medicare Medicaid Dual Eligibility Code - October", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_10", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityOctCode", + "ccwMapping": [ + "DUAL_STUS_CD_10" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_10\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_10\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0559_dual_stus_cd_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0559_dual_stus_cd_11.json new file mode 100644 index 0000000000..59e9800848 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0559_dual_stus_cd_11.json @@ -0,0 +1,47 @@ +{ + "id": 559, + "name": "Medicare Medicaid Dual Eligibility Code - November", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_11", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityNovCode", + "ccwMapping": [ + "DUAL_STUS_CD_11" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_11\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_11\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0560_dual_stus_cd_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0560_dual_stus_cd_12.json new file mode 100644 index 0000000000..e3a8042c8e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0560_dual_stus_cd_12.json @@ -0,0 +1,47 @@ +{ + "id": 560, + "name": "Medicare Medicaid Dual Eligibility Code - December", + "description": "This variable indicates whether the beneficiary was eligible for both Medicare and Medicaid in a given month (January through December).", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "dual_stus_cd_12", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicaidDualEligibilityDecCode", + "ccwMapping": [ + "DUAL_STUS_CD_12" + ], + "cclfMapping": [ + "CCLF8.BENE_DUAL_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/dual_12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/dual_12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/dual_12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/dual_12\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/dual_12\",\\n \"code\": \"**\",\\n \"display\": \"Enrolled in Medicare A and/or B, but no Part D enrollment data for the beneficiary. (This status was indicated as 'XX' for 2006-2009)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0561_cst_shr_grp_cd_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0561_cst_shr_grp_cd_01.json new file mode 100644 index 0000000000..8f0d96368a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0561_cst_shr_grp_cd_01.json @@ -0,0 +1,41 @@ +{ + "id": 561, + "name": "Part D Low Income Cost Share Group Code - January", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_01", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupJanCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "{\\n \"url\" : \"https://bluebutton.cms.gov/resources/variables/cstshr01\",\\n \"valueCoding\" : {\\n \"system\" : \"https://bluebutton.cms.gov/resources/variables/cstshr01\",\\n \"code\" : \"00\",\\n \"display\" : \"Not Medicare enrolled for the month\"\\n}" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0562_cst_shr_grp_cd_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0562_cst_shr_grp_cd_02.json new file mode 100644 index 0000000000..d309dde768 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0562_cst_shr_grp_cd_02.json @@ -0,0 +1,41 @@ +{ + "id": 562, + "name": "Part D Low Income Cost Share Group Code - February", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_02", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupFebCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0563_cst_shr_grp_cd_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0563_cst_shr_grp_cd_03.json new file mode 100644 index 0000000000..8a65cd87f9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0563_cst_shr_grp_cd_03.json @@ -0,0 +1,41 @@ +{ + "id": 563, + "name": "Part D Low Income Cost Share Group Code - March", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_03", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupMarCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0564_cst_shr_grp_cd_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0564_cst_shr_grp_cd_04.json new file mode 100644 index 0000000000..84f5722f6b --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0564_cst_shr_grp_cd_04.json @@ -0,0 +1,41 @@ +{ + "id": 564, + "name": "Part D Low Income Cost Share Group Code - April", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_04", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupAprCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0565_cst_shr_grp_cd_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0565_cst_shr_grp_cd_05.json new file mode 100644 index 0000000000..6982d17ff0 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0565_cst_shr_grp_cd_05.json @@ -0,0 +1,41 @@ +{ + "id": 565, + "name": "Part D Low Income Cost Share Group Code - May", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_05", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupMayCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0566_cst_shr_grp_cd_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0566_cst_shr_grp_cd_06.json new file mode 100644 index 0000000000..7aa1f71aa8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0566_cst_shr_grp_cd_06.json @@ -0,0 +1,41 @@ +{ + "id": 566, + "name": "Part D Low Income Cost Share Group Code - June", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_06", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupJunCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0567_cst_shr_grp_cd_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0567_cst_shr_grp_cd_07.json new file mode 100644 index 0000000000..f23fc956e8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0567_cst_shr_grp_cd_07.json @@ -0,0 +1,41 @@ +{ + "id": 567, + "name": "Part D Low Income Cost Share Group Code - July", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_07", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupJulCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0568_cst_shr_grp_cd_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0568_cst_shr_grp_cd_08.json new file mode 100644 index 0000000000..5bbc609d99 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0568_cst_shr_grp_cd_08.json @@ -0,0 +1,41 @@ +{ + "id": 568, + "name": "Part D Low Income Cost Share Group Code - August", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_08", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupAugCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0569_cst_shr_grp_cd_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0569_cst_shr_grp_cd_09.json new file mode 100644 index 0000000000..eb64f1c2a7 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0569_cst_shr_grp_cd_09.json @@ -0,0 +1,41 @@ +{ + "id": 569, + "name": "Part D Low Income Cost Share Group Code - September", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_09", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupSepCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0570_cst_shr_grp_cd_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0570_cst_shr_grp_cd_10.json new file mode 100644 index 0000000000..91a06c1112 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0570_cst_shr_grp_cd_10.json @@ -0,0 +1,41 @@ +{ + "id": 570, + "name": "Part D Low Income Cost Share Group Code - October", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_10", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupOctCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0571_cst_shr_grp_cd_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0571_cst_shr_grp_cd_11.json new file mode 100644 index 0000000000..563ebb1fa3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0571_cst_shr_grp_cd_11.json @@ -0,0 +1,41 @@ +{ + "id": 571, + "name": "Part D Low Income Cost Share Group Code - November", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_11", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupNovCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0572_cst_shr_grp_cd_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0572_cst_shr_grp_cd_12.json new file mode 100644 index 0000000000..eda3f396f5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0572_cst_shr_grp_cd_12.json @@ -0,0 +1,41 @@ +{ + "id": 572, + "name": "Part D Low Income Cost Share Group Code - December", + "description": "This variable indicates the beneficiary\u2019s Part D low-income subsidy cost sharing group for a given month (January). The Part D benefit requires enrollees to pay both premiums and cost-sharing, but the program also has a low-income subsidy (LIS) that covers some or all of those costs for certain lowincome individuals, including deductibles and cost-sharing during the coverage gap.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "cst_shr_grp_cd_12", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "partDLowIncomeCostShareGroupDecCode", + "ccwMapping": [ + "CST_SHR_GRP_CD_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/cstshr12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/cstshr12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/cstshr12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0573_bene_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0573_bene_id.json new file mode 100644 index 0000000000..1b61ec86a5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0573_bene_id.json @@ -0,0 +1,39 @@ +{ + "id": 573, + "name": "Beneficiary Id", + "description": "The unique CCW identifier for a beneficiary. The CCW assigns a unique beneficiary identification number to each individual who receives Medicare and/or Medicaid and uses that number to identify an individual\u2019s records in all CCW data files. This number does not change during a beneficiary\u2019s lifetime, and CCW uses each number only once. The BENE_ID is specific to the CCW and is not applicable to any other identification system or data source.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "beneficiaryId", + "ccwMapping": [ + "BENE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "beneficiary.reference", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "coverage.beneficiary = 'Patient/beneficiaryId' (ie. 'Patient/555888', 'Patient/7889873)", + "note": "The coverage.beneficiary is a reference to another FHIR Resource, Patient along with the beneficiaryId used to gather the data for that resource.", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0574_bene_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0574_bene_id.json new file mode 100644 index 0000000000..93b4dfd255 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0574_bene_id.json @@ -0,0 +1,39 @@ +{ + "id": 574, + "name": "Coverage Resource ID", + "description": "Each resource has an id element which contains the 'logical id' of the resource assigned by the server responsible for storing it.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_id", + "bfdDbType": "CHAR", + "bfdDbSize": 15, + "bfdJavaFieldName": "beneficiaryId", + "ccwMapping": [ + "BENE_ID" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "id", + "fhirPath": "id", + "discriminator": [], + "additional": [], + "derived": "coverage.id = 'medicare coverage part-beneficiaryId' (ie. 'part-a-555888', 'part-b-7889873')", + "note": "", + "example": "[\\n \"part-a-567834\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0575_mbi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0575_mbi_num.json new file mode 100644 index 0000000000..6fdfd017c9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0575_mbi_num.json @@ -0,0 +1,54 @@ +{ + "id": 575, + "name": "Medicare Beneficiary Identifier", + "description": "A Medicare Beneficiary Identifier (MBI) assigned to a beneficiary.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mbi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 11, + "bfdJavaFieldName": "medicareBeneficiaryId", + "ccwMapping": [ + "MBI_NUM" + ], + "cclfMapping": [ + "CCLF1.BENE_MBI_ID", + " CCLF2. BENE_MBI_ID", + " CCLF3. BENE_MBI_ID", + " CCLF4. BENE_MBI_ID", + " CCLF5. BENE_MBI_ID", + " CCLF6. BENE_MBI_ID", + " CCLF7. BENE_MBI_ID", + " CCLF8. BENE_MBI_ID", + " CCLF9. CRNT_NUM", + " CCLFA. BENE_MBI_ID", + " CCLFB. BENE_MBI_ID" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "subscriberId", + "fhirPath": "subscriberId", + "discriminator": [], + "additional": [ + "coverage.relationship.coding[N].system = 'http://terminology.hl7.org/CodeSystem/subscriber-relationship'", + "coverage.relationship.coding[N].code = 'self' coverage.relationship.coding[N].display = 'Self'" + ], + "derived": "", + "note": "The Coverage Relationship is always set to 'Self' for Medicare Beneficiaries.", + "example": "[\\n \"3456789\"\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0576_bene_entlmt_rsn_orig.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0576_bene_entlmt_rsn_orig.json new file mode 100644 index 0000000000..f2af300905 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0576_bene_entlmt_rsn_orig.json @@ -0,0 +1,44 @@ +{ + "id": 576, + "name": "Original Reason for Entitlement Code", + "description": "Original reason for Medicare entitlement.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_entlmt_rsn_orig", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementCodeOriginal", + "ccwMapping": [ + "BENE_ENTLMT_RSN_ORIG" + ], + "cclfMapping": [ + "CCLF8.BENE_ORGNL_ENTLMT_RSN_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/orec').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/orec'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/orec'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/orec\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/orec\",\\n \"code\": \"1\",\\n \"display\": \"Disability insurance benefits (DIB)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0577_bene_entlmt_rsn_curr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0577_bene_entlmt_rsn_curr.json new file mode 100644 index 0000000000..d10b84f31e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0577_bene_entlmt_rsn_curr.json @@ -0,0 +1,41 @@ +{ + "id": 577, + "name": "Current Reason for Entitlement Code", + "description": "Current reason for Medicare entitlement.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_entlmt_rsn_curr", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementCodeCurrent", + "ccwMapping": [ + "BENE_ENTLMT_RSN_CURR" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/crec').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/crec'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/crec'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/crec\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/crec\",\\n \"code\": \"1\",\\n \"display\": \"Disability insurance benefits (DIB)\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0578_bene_esrd_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0578_bene_esrd_ind.json new file mode 100644 index 0000000000..fedb511e6a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0578_bene_esrd_ind.json @@ -0,0 +1,41 @@ +{ + "id": 578, + "name": "End-stage Renal Disease (ESRD) Indicator", + "description": "This field specifies whether a beneficiary is entitled to Medicare benefits due to end stage renal disease (ESRD).", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_esrd_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "endStageRenalDiseaseCode", + "ccwMapping": [ + "BENE_ESRD_IND" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/esrd_ind').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/esrd_ind'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/esrd_ind'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/esrd_ind\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/esrd_ind\",\\n \"code\": \"N\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0579_bene_enrollmt_ref_yr.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0579_bene_enrollmt_ref_yr.json new file mode 100644 index 0000000000..aae4b716f3 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0579_bene_enrollmt_ref_yr.json @@ -0,0 +1,44 @@ +{ + "id": 579, + "name": "Reference Year", + "description": "This field indicates the reference year of the enrollment data.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_enrollmt_ref_yr", + "bfdDbType": "NUM", + "bfdDbSize": 4, + "bfdJavaFieldName": "beneEnrollmentReferenceYear", + "ccwMapping": [ + "BENE_ENROLLMT_REF_YR" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rfrnc_yr').valueDate", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rfrnc_yr'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rfrnc_yr'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/rfrnc_yr\",\\n \"valueDate\": \"2018\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0580_lastupdated.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0580_lastupdated.json new file mode 100644 index 0000000000..c8611dace2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0580_lastupdated.json @@ -0,0 +1,38 @@ +{ + "id": 580, + "name": "Coverage Resource Last Updated Date", + "description": "The date that this record was last updated within the database.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "lastupdated", + "bfdDbType": "TIMESTAMP", + "bfdDbSize": null, + "bfdJavaFieldName": "lastUpdated", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "meta.lastUpdated", + "fhirPath": "meta.lastUpdated", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "{\\n \"lastUpdated\": \"2021-05-15T08:22:38.251+00:00\"\\n}" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0581_bene_ptb_trmntn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0581_bene_ptb_trmntn_cd.json new file mode 100644 index 0000000000..ebf45977b4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0581_bene_ptb_trmntn_cd.json @@ -0,0 +1,41 @@ +{ + "id": 581, + "name": "Part B Termination Code", + "description": "This code specifies the reason Part B entitlement was terminated.", + "appliesTo": [ + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_ptb_trmntn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partBTerminationCode", + "ccwMapping": [ + "BENE_PTB_TRMNTN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "status AND extension[N].valueCoding.code", + "fhirPath": "", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/b_trm_cd'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/b_trm_cd'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "If Part B Termination Code = 0 then 'active' else 'cancelled'", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0582_rds_ind_01.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0582_rds_ind_01.json new file mode 100644 index 0000000000..827e51ff97 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0582_rds_ind_01.json @@ -0,0 +1,41 @@ +{ + "id": 582, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 January - (01)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_01", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyJanInd", + "ccwMapping": [ + "RDS_IND_01" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0583_rds_ind_02.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0583_rds_ind_02.json new file mode 100644 index 0000000000..6f3effab73 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0583_rds_ind_02.json @@ -0,0 +1,41 @@ +{ + "id": 583, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 February - (02)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_02", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyFebInd", + "ccwMapping": [ + "RDS_IND_02" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0584_rds_ind_03.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0584_rds_ind_03.json new file mode 100644 index 0000000000..9577f2188f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0584_rds_ind_03.json @@ -0,0 +1,41 @@ +{ + "id": 584, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 March - (03)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_03", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyMarInd", + "ccwMapping": [ + "RDS_IND_03" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0585_rds_ind_04.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0585_rds_ind_04.json new file mode 100644 index 0000000000..d536073ac8 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0585_rds_ind_04.json @@ -0,0 +1,41 @@ +{ + "id": 585, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 April - (04)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_04", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyAprInd", + "ccwMapping": [ + "RDS_IND_04" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0586_rds_ind_05.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0586_rds_ind_05.json new file mode 100644 index 0000000000..aeb9af4350 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0586_rds_ind_05.json @@ -0,0 +1,41 @@ +{ + "id": 586, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 May - (05)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_05", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyMayInd", + "ccwMapping": [ + "RDS_IND_05" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0587_rds_ind_06.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0587_rds_ind_06.json new file mode 100644 index 0000000000..2ab8dff344 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0587_rds_ind_06.json @@ -0,0 +1,41 @@ +{ + "id": 587, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 June - (06)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_06", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyJunInd", + "ccwMapping": [ + "RDS_IND_06" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0588_rds_ind_07.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0588_rds_ind_07.json new file mode 100644 index 0000000000..a23977bdbd --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0588_rds_ind_07.json @@ -0,0 +1,41 @@ +{ + "id": 588, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 July - (07)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_07", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyJulInd", + "ccwMapping": [ + "RDS_IND_07" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0589_rds_ind_08.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0589_rds_ind_08.json new file mode 100644 index 0000000000..c28caefdbc --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0589_rds_ind_08.json @@ -0,0 +1,41 @@ +{ + "id": 589, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 August - (08)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_08", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyAugInd", + "ccwMapping": [ + "RDS_IND_08" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0590_rds_ind_09.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0590_rds_ind_09.json new file mode 100644 index 0000000000..694b8c2dd2 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0590_rds_ind_09.json @@ -0,0 +1,41 @@ +{ + "id": 590, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 September - (09)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_09", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidySeptInd", + "ccwMapping": [ + "RDS_IND_09" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0591_rds_ind_10.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0591_rds_ind_10.json new file mode 100644 index 0000000000..51b0789dd6 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0591_rds_ind_10.json @@ -0,0 +1,41 @@ +{ + "id": 591, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 October - (10)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_10", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyOctInd", + "ccwMapping": [ + "RDS_IND_10" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0592_rds_ind_11.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0592_rds_ind_11.json new file mode 100644 index 0000000000..bc93ff7090 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0592_rds_ind_11.json @@ -0,0 +1,41 @@ +{ + "id": 592, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 November - (11)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_11", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyNovInd", + "ccwMapping": [ + "RDS_IND_11" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0593_rds_ind_12.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0593_rds_ind_12.json new file mode 100644 index 0000000000..32bc8f202c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0593_rds_ind_12.json @@ -0,0 +1,41 @@ +{ + "id": 593, + "name": "Monthly Part D Retiree Drug Subsidy Indicator \u2014 December - (12)", + "description": "This variable indicates if the beneficiary was enrolled in an employer-sponsored prescription drug plan that qualified for Part D\u2019s retiree drug subsidy (RDS) for a given month (January\u2013December).", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "rds_ind_12", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partDRetireeDrugSubsidyDecInd", + "ccwMapping": [ + "RDS_IND_12" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/rdsnind12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/rdsnind12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/rdsnind12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0594_mdcr_entlmt_buyin_1_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0594_mdcr_entlmt_buyin_1_ind.json new file mode 100644 index 0000000000..129730381c --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0594_mdcr_entlmt_buyin_1_ind.json @@ -0,0 +1,45 @@ +{ + "id": 594, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 January - (01)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_1_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInJanInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_1_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin01').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin01'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin01'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin01\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin01\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0595_mdcr_entlmt_buyin_2_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0595_mdcr_entlmt_buyin_2_ind.json new file mode 100644 index 0000000000..39517e4c8a --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0595_mdcr_entlmt_buyin_2_ind.json @@ -0,0 +1,45 @@ +{ + "id": 595, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 February - (02)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_2_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInFebInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_2_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin02').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin02'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin02'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin02\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin02\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0596_mdcr_entlmt_buyin_3_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0596_mdcr_entlmt_buyin_3_ind.json new file mode 100644 index 0000000000..742247f913 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0596_mdcr_entlmt_buyin_3_ind.json @@ -0,0 +1,45 @@ +{ + "id": 596, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 March - (03)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_3_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInMarInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_3_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin03').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin03'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin03'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin03\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin03\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0597_mdcr_entlmt_buyin_4_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0597_mdcr_entlmt_buyin_4_ind.json new file mode 100644 index 0000000000..5b0e810cfa --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0597_mdcr_entlmt_buyin_4_ind.json @@ -0,0 +1,45 @@ +{ + "id": 597, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 April - (04)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_4_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInAprInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_4_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin04').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin04'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin04'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin04\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin04\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0598_mdcr_entlmt_buyin_5_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0598_mdcr_entlmt_buyin_5_ind.json new file mode 100644 index 0000000000..d8153dc367 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0598_mdcr_entlmt_buyin_5_ind.json @@ -0,0 +1,45 @@ +{ + "id": 598, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 May - (05)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_5_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInMayInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_5_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin05').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin05'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin05'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin05\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin05\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0599_mdcr_entlmt_buyin_6_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0599_mdcr_entlmt_buyin_6_ind.json new file mode 100644 index 0000000000..a68e3bfe2d --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0599_mdcr_entlmt_buyin_6_ind.json @@ -0,0 +1,45 @@ +{ + "id": 599, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 June - (06)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_6_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInJunInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_6_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin06').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin06'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin06'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin06\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin06\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0600_mdcr_entlmt_buyin_7_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0600_mdcr_entlmt_buyin_7_ind.json new file mode 100644 index 0000000000..7dbff9a943 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0600_mdcr_entlmt_buyin_7_ind.json @@ -0,0 +1,45 @@ +{ + "id": 600, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 July - (07)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_7_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInJulInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_7_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin07').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin07'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin07'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin07\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin07\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0601_mdcr_entlmt_buyin_8_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0601_mdcr_entlmt_buyin_8_ind.json new file mode 100644 index 0000000000..e3cdbfdb2e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0601_mdcr_entlmt_buyin_8_ind.json @@ -0,0 +1,45 @@ +{ + "id": 601, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 August - (08)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_8_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInAugInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_8_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin08').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin08'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin08'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin08\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin08\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0602_mdcr_entlmt_buyin_9_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0602_mdcr_entlmt_buyin_9_ind.json new file mode 100644 index 0000000000..26386c2f09 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0602_mdcr_entlmt_buyin_9_ind.json @@ -0,0 +1,45 @@ +{ + "id": 602, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 September - (09)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_9_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInSeptInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_9_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin09').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin09'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin09'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin09\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin09\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0603_mdcr_entlmt_buyin_10_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0603_mdcr_entlmt_buyin_10_ind.json new file mode 100644 index 0000000000..61d617f162 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0603_mdcr_entlmt_buyin_10_ind.json @@ -0,0 +1,45 @@ +{ + "id": 603, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 October - (10)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_10_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInOctInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_10_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin10').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin10'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin10'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin10\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin10\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0604_mdcr_entlmt_buyin_11_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0604_mdcr_entlmt_buyin_11_ind.json new file mode 100644 index 0000000000..ae7bdb1b35 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0604_mdcr_entlmt_buyin_11_ind.json @@ -0,0 +1,45 @@ +{ + "id": 604, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 November - (11)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_11_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInNovInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_11_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin11').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin11'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin11'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin11\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin11\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0605_mdcr_entlmt_buyin_12_ind.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0605_mdcr_entlmt_buyin_12_ind.json new file mode 100644 index 0000000000..7a6e1b5d49 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0605_mdcr_entlmt_buyin_12_ind.json @@ -0,0 +1,45 @@ +{ + "id": 605, + "name": "Medicare Entitlement/Buy-In Indicator \u2014 December - (12)", + "description": "Monthly Part A and/or Part B entitlement indicator.", + "appliesTo": [ + "Part-A", + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "mdcr_entlmt_buyin_12_ind", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "entitlementBuyInDecInd", + "ccwMapping": [ + "MDCR_ENTLMT_BUYIN_12_IND" + ], + "cclfMapping": [ + "CCLF8.BENE_ENTLMT_BUYIN_IND" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/buyin12').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/buyin12'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/buyin12'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/buyin12\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/buyin12\",\\n \"code\": \"C\",\\n \"display\": \"Part A and Part B state buy-in\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0606_bene_mdcr_status_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0606_bene_mdcr_status_cd.json new file mode 100644 index 0000000000..3269fa73d5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0606_bene_mdcr_status_cd.json @@ -0,0 +1,46 @@ +{ + "id": 606, + "name": "Medicare Status Code", + "description": "This variable indicates how a beneficiary currently qualifies for Medicare.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_mdcr_status_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 2, + "bfdJavaFieldName": "medicareEnrollmentStatusCode", + "ccwMapping": [ + "BENE_MDCR_STATUS_CD" + ], + "cclfMapping": [ + "CCLF8.BENE_MDCR_STUS_CD" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/ms_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/ms_cd'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/ms_cd'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/ms_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/ms_cd\",\\n \"code\": \"20\",\\n \"display\": \"Disabled without ESRD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0607_bene_pta_trmntn_cd.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0607_bene_pta_trmntn_cd.json new file mode 100644 index 0000000000..07a20af7b4 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0607_bene_pta_trmntn_cd.json @@ -0,0 +1,41 @@ +{ + "id": 607, + "name": "Part A Termination Code", + "description": "This code specifies the reason Part A entitlement was terminated.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "bene_pta_trmntn_cd", + "bfdDbType": "CHAR", + "bfdDbSize": 1, + "bfdJavaFieldName": "partATerminationCode", + "ccwMapping": [ + "BENE_PTA_TRMNTN_CD" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "status AND extension[N].valueCoding.code", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/a_trm_cd').valueCoding.code", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/a_trm_cd'" + ], + "additional": [ + "coverage.extension[N].valueCoding.system = 'https://bluebutton.cms.gov/resources/variables/a_trm_cd'", + "coverage.extension[N].valueCoding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "If Part A Termination Code = 0 then 'active' else 'cancelled'", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/a_trm_cd\",\\n \"valueCoding\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/a_trm_cd\",\\n \"code\": \"9\",\\n \"display\": \"Other Termination\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0608_contract_identifier.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0608_contract_identifier.json new file mode 100644 index 0000000000..1a7fa8ab3e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0608_contract_identifier.json @@ -0,0 +1,35 @@ +{ + "id": 608, + "name": "Contract Identifier", + "description": "Identifier for the policy(s) which constitute this insurance coverage.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0609_contract_reference.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0609_contract_reference.json new file mode 100644 index 0000000000..8f3a223170 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0609_contract_reference.json @@ -0,0 +1,35 @@ +{ + "id": 609, + "name": "Contract Reference", + "description": "Reference identifier to the contract, with additional details, that exists within the coverage.contained section.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "", + "element": "", + "fhirPath": "", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0610_coverage_grouping___sub_group.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0610_coverage_grouping___sub_group.json new file mode 100644 index 0000000000..df5fa8da9f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0610_coverage_grouping___sub_group.json @@ -0,0 +1,38 @@ +{ + "id": 610, + "name": "Coverage Grouping - Sub Group", + "description": "Additional coverage classification. Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify a subset of an employer group.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "grouping.subGroup", + "fhirPath": "grouping.subGroup", + "discriminator": [], + "additional": [], + "derived": "Medicare", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0611_coverage_grouping___sub_plan.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0611_coverage_grouping___sub_plan.json new file mode 100644 index 0000000000..20c641be33 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0611_coverage_grouping___sub_plan.json @@ -0,0 +1,38 @@ +{ + "id": 611, + "name": "Coverage Grouping - Sub Plan", + "description": "Additional coverage classification. Identifies a sub-style or sub-collective of coverage issued by the underwriter, for example may be used to identify a subset of a collection of benefits provided to employees.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "grouping.subPlan", + "fhirPath": "grouping.subPlan", + "discriminator": [], + "additional": [], + "derived": "Medicare Coverage Part (ie. If Part-A then 'Part A', if Part-D then 'Part D', etc..)", + "note": "", + "example": "" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0612_coverage_resource_profile.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0612_coverage_resource_profile.json new file mode 100644 index 0000000000..2d877bb0e1 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0612_coverage_resource_profile.json @@ -0,0 +1,38 @@ +{ + "id": 612, + "name": "Coverage Resource Profile", + "description": "An assertion that the content within the FHIR resource response conforms to a FHIR resource profile defined by HL7 or other FHIR Accelerator Groups. The industry standard profile that is used as a template for this FHIR Resource.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "meta.profile[N]", + "fhirPath": "meta.profile", + "discriminator": [], + "additional": [], + "derived": "http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage", + "note": "", + "example": "[\\n \"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage\"\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0613_coverage_payor.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0613_coverage_payor.json new file mode 100644 index 0000000000..f298337754 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0613_coverage_payor.json @@ -0,0 +1,40 @@ +{ + "id": 613, + "name": "Coverage Payor", + "description": "The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "payor[N].identifier[N].value", + "fhirPath": "payor.identifier.value", + "discriminator": [ + "payor[1].identifier[1]" + ], + "additional": [], + "derived": "Centers for Medicare and Medicaid Services", + "note": "", + "example": "[\\n {\\n \"identifier\": {\\n \"value\": \"Centers for Medicare and Medicaid Services\"\\n }\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0614_coverage_class___group.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0614_coverage_class___group.json new file mode 100644 index 0000000000..a916ef127f --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0614_coverage_class___group.json @@ -0,0 +1,43 @@ +{ + "id": 614, + "name": "Coverage Class - Group", + "description": "The type of classification for which an insurer-specific class label or number and optional name is provided, for example may be used to identify a class of coverage or employer group, Policy, Plan.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "class[N].value", + "fhirPath": "class.where(type.coding.where(code='group')).value", + "discriminator": [ + "class[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/coverage-class'", + "class[N].type.coding[N].code = 'group'" + ], + "additional": [ + "coverage.class[N].type.coding[N].display = 'Group'" + ], + "derived": "Medicare", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\\n \"code\": \"group\",\\n \"display\": \"Group\"\\n }\\n ]\\n },\\n \"value\": \"Medicare\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0615_coverage_class___plan.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0615_coverage_class___plan.json new file mode 100644 index 0000000000..61f07c744e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0615_coverage_class___plan.json @@ -0,0 +1,43 @@ +{ + "id": 615, + "name": "Coverage Class - Plan", + "description": "The type of classification for which an insurer-specific class label or number and optional name is provided, for example may be used to identify a class of coverage or employer group, Policy, Plan.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "class[N].value", + "fhirPath": "class.where(type.coding.where(code='plan')).value", + "discriminator": [ + "class[N].type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/coverage-class'", + "class[N].type.coding[N].code = 'plan'" + ], + "additional": [ + "coverage.class[N].type.coding[N].display = 'Plan'" + ], + "derived": "Medicare Coverage Part (ie. If Part-A then 'Part A', if Part-D then 'Part D', etc..)", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\\n \"code\": \"plan\",\\n \"display\": \"Plan\"\\n }\\n ]\\n },\\n \"value\": \"Part A\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0616_coverage_type.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0616_coverage_type.json new file mode 100644 index 0000000000..a76321bdac --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0616_coverage_type.json @@ -0,0 +1,40 @@ +{ + "id": 616, + "name": "Coverage Type", + "description": "The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.", + "appliesTo": [ + "Part-A", + "Part-B", + "Part-C", + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BFD", + "DPC" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "type.coding[N].code", + "fhirPath": "type.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ActCode').code", + "discriminator": [ + "type.coding[N].system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode'" + ], + "additional": [], + "derived": "SUBSIDIZ", + "note": "", + "example": "[\\n {\\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\\n \"code\": \"SUBSIDIZ\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0617_claim_group_id.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0617_claim_group_id.json new file mode 100644 index 0000000000..254bbe998e --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0617_claim_group_id.json @@ -0,0 +1,46 @@ +{ + "id": 617, + "name": "Claim Group Id", + "description": "", + "appliesTo": [ + "PDE", + "Carrier", + "Inpatient", + "Outpatient", + "HHA", + "DME", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "claim_group_id", + "bfdDbType": "NUM", + "bfdDbSize": null, + "bfdJavaFieldName": "claimGroupId", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "identifier[N].value", + "fhirPath": "identifier.where(system='https://bluebutton.cms.gov/resources/identifier/claim-group').value", + "discriminator": [ + "identifier[N].system = 'https://bluebutton.cms.gov/resources/identifier/claim-group'" + ], + "additional": [], + "derived": "This value is derived within the process from loading CCW data into the BFD database.", + "note": "", + "example": "[\\n {\\n \"type\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType\",\\n \"code\": \"uc\",\\n \"display\": \"Unique Claim ID\"\\n }\\n ]\\n },\\n \"system\": \"https://bluebutton.cms.gov/resources/identifier/claim-group\",\\n \"value\": \"900\"\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0618_benefit_payment_status.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0618_benefit_payment_status.json new file mode 100644 index 0000000000..086953da01 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0618_benefit_payment_status.json @@ -0,0 +1,39 @@ +{ + "id": 618, + "name": "Benefit Payment Status", + "description": "Categorized monetary totals for the adjudication. To provide the requestor with financial totals by category for the adjudication. Indicates the in network or out of network payment status of the claim.", + "appliesTo": [ + "PDE" + ], + "suppliedIn": [ + "BB2", + "BFD", + "SyntheticData" + ], + "bfdTableType": "", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "total[N].category.coding.code", + "fhirPath": "total.where(category.coding.where(system='http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBPayerAdjudicationStatus')).amount.value", + "discriminator": [ + "total[N].category.coding.system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBPayerAdjudicationStatus'" + ], + "additional": [ + "eob.total[N].category.coding.display = {corresponding description from valueset specified in .system}" + ], + "derived": "IF Claim Type 'PDE' = 'other'", + "note": "The benefitPaymentStatus slice is required by CARIN in the eob.total. The eob.total[N].amount.value will always be set to 0.", + "example": "[\\n {\\n \"category\": {\\n \"coding\": [\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBPayerAdjudicationStatus\",\\n \"code\": \"other\",\\n \"display\": \"Other\"\\n }\\n ]\\n },\\n \"amount\": {\\n \"value\": 0,\\n \"currency\": \"USD\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0619_fi_doc_clm_cntl_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0619_fi_doc_clm_cntl_num.json new file mode 100644 index 0000000000..51d8a8a8be --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0619_fi_doc_clm_cntl_num.json @@ -0,0 +1,48 @@ +{ + "id": 619, + "name": "FI Document Claim Control Number", + "description": "This field is an identification value for institutional claims processed by the fiscal intermediary standard system (FISS). It provides a reference number for the control and monitoring of specific claims, and to differentiate between claims for the beneficiary. This is a unique field created by FISS.", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "fi_doc_clm_cntl_num", + "bfdDbType": "CHAR", + "bfdDbSize": 23, + "bfdJavaFieldName": "fiOriginalClaimControlNumber", + "ccwMapping": [ + "FI_DOC_CLM_CNTL_NUM" + ], + "cclfMapping": [ + "CCLF5.CLM_CNTL_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueIdentifier.value", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/fi_doc_clm_cntl_num').valueIdentifier.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/fi_doc_clm_cntl_num'" + ], + "additional": [ + "eob.extension[N].valueIdentifier.system = 'https://bluebutton.cms.gov/resources/variables/fi_doc_clm_cntl_num'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/fi_doc_clm_cntl_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/fi_doc_clm_cntl_num\",\\n \"value\": \"28486613848\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0620_carr_clm_cntl_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0620_carr_clm_cntl_num.json new file mode 100644 index 0000000000..fd3f5450e9 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0620_carr_clm_cntl_num.json @@ -0,0 +1,45 @@ +{ + "id": 620, + "name": "Carrier Clam Control Number", + "description": "This field is an identification number for professional claims processed by the multi-carrier system (MCS). This field contains a numeric value that identifies a claim throughout the processing cycle and allows for a linkage between the claim and the beneficiary for whom it was submitted. This should be handled as a character field due to leading \u20180\u2019s. This is a unique field created by MCS.", + "appliesTo": [ + "Carrier", + "DME" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC", + "SyntheticData" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_cntl_num", + "bfdDbType": "CHAR", + "bfdDbSize": 23, + "bfdJavaFieldName": "claimCarrierControlNumber", + "ccwMapping": [ + "CARR_CLM_CNTL_NUM" + ], + "cclfMapping": [ + "CCLF5.CLM_CNTL_NUM" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueIdentifier.value", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/carr_clm_cntl_num').valueIdentifier.value", + "discriminator": [ + "extension[N].url = 'https://bluebutton.cms.gov/resources/variables/carr_clm_cntl_num'" + ], + "additional": [ + "eob.extension[N].valueIdentifier.system = 'https://bluebutton.cms.gov/resources/variables/carr_clm_cntl_num'" + ], + "derived": "", + "note": "", + "example": "[\\n {\\n \"url\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_cntl_num\",\\n \"valueIdentifier\": {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_cntl_num\",\\n \"value\": \"74655592568216\"\\n }\\n }\\n]" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0621_carr_clm_blg_npi_num.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0621_carr_clm_blg_npi_num.json new file mode 100644 index 0000000000..63e5479c17 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0621_carr_clm_blg_npi_num.json @@ -0,0 +1,38 @@ +{ + "id": 621, + "name": "Carrier Claim Billing NPI Number", + "description": "The CMS National Provider Identifier (NPI) number assigned to the billing provider", + "appliesTo": [ + "Carrier" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "carr_clm_blg_npi_num", + "bfdDbType": "CHAR", + "bfdDbSize": 10, + "bfdJavaFieldName": "carrierClaimBlgNpiNumber", + "ccwMapping": [ + "CARR_CLM_BLG_NPI_NUM" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "provider.identifier.value", + "fhirPath": "provider.identifier.where(system='https://bluebutton.cms.gov/resources/variables/carr_clm_blg_npi_num').value", + "discriminator": [ + "provider.identifier.system='https://bluebutton.cms.gov/resources/variables/carr_clm_blg_npi_num'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"system\": \"https://bluebutton.cms.gov/resources/variables/carr_clm_blg_npi_num\",\\n \"value\": \"1234567890\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0622_pta_cvrg_strt_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0622_pta_cvrg_strt_dt.json new file mode 100644 index 0000000000..2820fff091 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0622_pta_cvrg_strt_dt.json @@ -0,0 +1,38 @@ +{ + "id": 622, + "name": "Medicare Coverage A Start Date", + "description": "That date that Medicare Coverage Part A started for the Beneficiary.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "pta_cvrg_strt_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partACoverageStartDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [ + "CCLF8.BENE_PART_A_ENRLMT_BGN_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.start", + "fhirPath": "period.start", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0623_pta_cvrg_end_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0623_pta_cvrg_end_dt.json new file mode 100644 index 0000000000..38ed8c8644 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0623_pta_cvrg_end_dt.json @@ -0,0 +1,36 @@ +{ + "id": 623, + "name": "Medicare Coverage A End Date", + "description": "That date that Medicare Coverage Part A ended for the Beneficiary.", + "appliesTo": [ + "Part-A" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "pta_cvrg_end_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partACoverageEndDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.end", + "fhirPath": "period.end", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0624_ptb_cvrg_strt_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0624_ptb_cvrg_strt_dt.json new file mode 100644 index 0000000000..253b26e171 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0624_ptb_cvrg_strt_dt.json @@ -0,0 +1,38 @@ +{ + "id": 624, + "name": "Medicare Coverage B Start Date", + "description": "That date that Medicare Coverage Part B started for the Beneficiary.", + "appliesTo": [ + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptb_cvrg_strt_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partBCoverageStartDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [ + "CCLF8.BENE_PART_B_ENRLMT_BGN_DT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.start", + "fhirPath": "period.start", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0625_ptb_cvrg_end_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0625_ptb_cvrg_end_dt.json new file mode 100644 index 0000000000..e5aca1ee60 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0625_ptb_cvrg_end_dt.json @@ -0,0 +1,36 @@ +{ + "id": 625, + "name": "Medicare Coverage B End Date", + "description": "That date that Medicare Coverage Part B ended for the Beneficiary.", + "appliesTo": [ + "Part-B" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptb_cvrg_end_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partBCoverageEndDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.end", + "fhirPath": "period.end", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0626_ptd_cvrg_strt_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0626_ptd_cvrg_strt_dt.json new file mode 100644 index 0000000000..1f5f88c312 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0626_ptd_cvrg_strt_dt.json @@ -0,0 +1,36 @@ +{ + "id": 626, + "name": "Medicare Coverage D Start Date", + "description": "That date that Medicare Coverage Part D started for the Beneficiary.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cvrg_strt_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partDCoverageStartDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.start", + "fhirPath": "period.start", + "discriminator": [], + "additional": [], + "derived": "", + "note": "", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0627_ptd_cvrg_end_dt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0627_ptd_cvrg_end_dt.json new file mode 100644 index 0000000000..3f18e3afa5 --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0627_ptd_cvrg_end_dt.json @@ -0,0 +1,36 @@ +{ + "id": 627, + "name": "Medicare Coverage D End Date", + "description": "That date that Medicare Coverage Part D ended for the Beneficiary.", + "appliesTo": [ + "Part-D" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "BENEFICIARIES", + "bfdColumnName": "ptd_cvrg_end_dt", + "bfdDbType": "DATE", + "bfdDbSize": 8, + "bfdJavaFieldName": "partDCoverageEndDate", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "Coverage", + "element": "period.end", + "fhirPath": "period.end", + "discriminator": [], + "additional": [], + "derived": "", + "note": "This attribute is supplied for CARIN conformance. However, Eob.type is recommended as it provides more detailed information.", + "example": "[\\n {\\n \"start\": \"2020-03-17\",\\n \"end\": \"2020-06-17\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0628_claim_sub_type.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0628_claim_sub_type.json new file mode 100644 index 0000000000..300abf04ab --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0628_claim_sub_type.json @@ -0,0 +1,45 @@ +{ + "id": 628, + "name": "Claim Sub Type", + "description": "The sub type of claim that was submitted. See the CARIN IG and specifically this valueset for more information: http://www.hl7.org/fhir/us/carin-bb/ValueSet-C4BBInstitutionalClaimSubType.html", + "appliesTo": [ + "Inpatient", + "Outpatient", + "HHA", + "Hospice", + "SNF" + ], + "suppliedIn": [ + "AB2D", + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "", + "bfdDbType": "", + "bfdDbSize": null, + "bfdJavaFieldName": "", + "ccwMapping": [ + "" + ], + "cclfMapping": [], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "subType.coding[N].code", + "fhirPath": "subType.coding.code", + "discriminator": [ + "type.coding[N].system = 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBInstitutionalClaimSubType'" + ], + "additional": [ + "eob.subType.coding[N].display = {corresponding description from valueset specified in .system}" + ], + "derived": "", + "note": "Note that the value of this field is rule-based, and is not stored in the BFD database", + "example": "[\\n {\\n \"system\": \"http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBInstitutionalClaimSubType\",\\n \"code\": \"inpatient\"\\n }\\n]\\n" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0629_clm_uncompd_care_pmt_amt.json b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0629_clm_uncompd_care_pmt_amt.json new file mode 100644 index 0000000000..a0b983beee --- /dev/null +++ b/apps/bfd-model/bfd-model-rif/fhir-mapping-path/V2/0629_clm_uncompd_care_pmt_amt.json @@ -0,0 +1,40 @@ +{ + "id": 629, + "name": "Claim Uncompensated Care Payment Amount", + "description": "This field identifies the payment for disproportionate share hospitals (DSH). It represents the uncompensated care amount of the payment", + "appliesTo": [ + "Inpatient" + ], + "suppliedIn": [ + "BB2", + "BCDA", + "BFD", + "DPC" + ], + "bfdTableType": "CLAIM", + "bfdColumnName": "clm_uncompd_care_pmt_amt", + "bfdDbType": "NUM", + "bfdDbSize": null, + "bfdJavaFieldName": "claimUncompensatedCareAmount", + "ccwMapping": [ + "CLM_UNCOMPD_CARE_PMT_AMT" + ], + "cclfMapping": [ + "CCLF1.CLM_HIPPS_UNCOMPD_CARE_AMT" + ], + "fhirMapping": [ + { + "version": "R4", + "resource": "ExplanationOfBenefit", + "element": "extension[N].valueMoney.value", + "fhirPath": "extension.where(url='https://bluebutton.cms.gov/resources/variables/clm_uncompd_care_pmt_amt').valueMoney.value", + "discriminator": [ + "extension.url = 'url='https://bluebutton.cms.gov/resources/variables/clm_uncompd_care_pmt_amt'" + ], + "additional": [], + "derived": "", + "note": "", + "example": "{\\n \"url\" : \"https://bluebutton.cms.gov/resources/variables/clm_uncompd_care_pmt_amt\",\\n \"valueMoney\" : {\\n \"value\" : 120.56,\\n \"system\" : \"urn:iso:std:iso:4217\",\\n \"code\" : \"USD\"\\n}" + } + ] +} diff --git a/apps/bfd-model/bfd-model-rif/pom.xml b/apps/bfd-model/bfd-model-rif/pom.xml index 16a432f66a..234e05151d 100644 --- a/apps/bfd-model/bfd-model-rif/pom.xml +++ b/apps/bfd-model/bfd-model-rif/pom.xml @@ -151,6 +151,11 @@ ${project.version} ${project.basedir}/mappings + ${project.basedir}/fhir-mapping-path + ${project.version} + ${project.basedir}/../../../dist-temp + ${project.basedir}/data-dictionary-template/v1-to-csv.json + ${project.basedir}/data-dictionary-template/v2-to-csv.json @@ -158,6 +163,7 @@ entities sql transformers + dataDictionary From 43f8a27c7f53ba58d2c205edfeda7ec4e692cec9 Mon Sep 17 00:00:00 2001 From: Melissa Guzman Date: Wed, 6 Mar 2024 16:37:30 -0800 Subject: [PATCH 2/3] BFD-3304: generates R4 fhir resourse yaml files --- .gitignore | 1 + .../GenerateDataDictionaryFromDslMojo.java | 79 ++++--- .../codegen/plugin/model/FhirElementBean.java | 4 + .../dsl/codegen/plugin/model/ModelUtil.java | 220 ++++++++++++++---- .../dsl/codegen/plugin/model/RootBean.java | 9 - 5 files changed, 231 insertions(+), 82 deletions(-) diff --git a/.gitignore b/.gitignore index cfdb50f59f..43022be167 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # Ignore everything within top-level dist directory /dist/**/* +/dist-temp/**/* # OSX system files .DS_Store diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java index 56dd69c1ae..93ed786f88 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java @@ -9,11 +9,14 @@ import gov.cms.model.dsl.codegen.plugin.model.ModelUtil; import gov.cms.model.dsl.codegen.plugin.model.RootBean; import gov.cms.model.dsl.codegen.plugin.util.Version; +import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Collection; import java.util.Collections; +import java.util.Comparator; import java.util.List; import java.util.Map; import org.apache.maven.plugin.AbstractMojo; @@ -62,6 +65,12 @@ public class GenerateDataDictionaryFromDslMojo extends AbstractMojo { @Parameter(property = "project", readonly = true) private MavenProject project; + /** Path to directory to contain generated code. */ + @Parameter( + property = "fhirEntitiesDirectory", + defaultValue = "${project.build.directory}/generated-sources/fhirEntities") + private String fhirEntitiesDirectory; + /** Parameterless constructor used by Maven to instantiate the plugin. */ public GenerateDataDictionaryFromDslMojo() {} @@ -72,6 +81,7 @@ public GenerateDataDictionaryFromDslMojo() {} * @throws MojoExecutionException if the process fails due to some error */ public void execute() throws MojoExecutionException { + final File fhirMappingDir = MojoUtil.initializeOutputDirectory(fhirEntitiesDirectory); var templateFileMap = Map.of(Version.V1, v1TemplateFilePath, Version.V2, v2TemplateFilePath); var xlsxFilename = String.format("%s/data-dictionary-%s.xlsx", destinationDirectory, projectVersion); @@ -81,13 +91,17 @@ public void execute() throws MojoExecutionException { var workbook = new XSSFWorkbook()) { // Process each data dictionary resource directory in turn - for (Version version : List.of(Version.V1, Version.V2)) { + for (Version version : List.of(Version.V2)) { var resourceDirPath = String.format("%s/%s", fhirMappingPath, version.name()); var templatePath = templateFileMap.get(version); final RootBean root = - ModelUtil.loadModelFromYamlFileAndJsonFiles( - mappingPath, resourceDirPath); // todo: modify so does V1 vs V2 + ModelUtil.appendFhirElementsToYamlFiles(mappingPath, fhirMappingDir, resourceDirPath); MojoUtil.validateModel(root); // modify so fits for our use case + + if (project != null) { + project.addCompileSourceRoot(fhirEntitiesDirectory); + } + processYamlFiles( root, destinationDirectory, projectVersion, templatePath, workbook, version); } @@ -123,6 +137,8 @@ public static void processYamlFiles( var jsonPath = basePath + ".json"; var csvPath = basePath + ".csv"; + List allFhirElements = new ArrayList<>(); + try { // create transformers/writers and stream var elementToJson = FhirElementToJson.createInstance(new FileWriter(jsonPath)); @@ -133,35 +149,46 @@ public static void processYamlFiles( switch (version) { case Version.V2: fhirElements = mapping.getR4FhirElements(); - System.out.println("fhirElements: " + fhirElements.size()); break; case Version.V1: System.out.println("V1 not yet supported"); break; } - fhirElements.stream() - .map( - bean -> - FhirElement.builder() - .id(bean.getId()) - .name(bean.getName()) - .description(bean.getDescription()) - .appliesTo(bean.getAppliesTo()) - .suppliedIn(bean.getSuppliedIn()) - .bfdTableType(bean.getBfdTableType()) - .bfdColumnName(bean.getBfdColumnName()) - .bfdDbType(bean.getBfdDbType()) - .bfdDbSize(bean.getBfdDbSize()) - .bfdJavaFieldName(bean.getBfdJavaFieldName()) - .ccwMapping(bean.getCcwMapping()) - .cclfMapping(bean.getCclfMapping()) - .fhirMapping(bean.getFhirMapping()) - .build()) - .map(elementToJson) - .map(elementToCsv) - .flatMap(Collection::stream) - .forEach(csvToExcel); + List fhirElementList = + fhirElements.stream() + .map( + bean -> + FhirElement.builder() + .id(bean.getId()) + .name(bean.getName()) + .description(bean.getDescription()) + .appliesTo(bean.getAppliesTo()) + .suppliedIn(bean.getSuppliedIn()) + .bfdTableType(bean.getBfdTableType()) + .bfdColumnName(bean.getBfdColumnName()) + .bfdDbType(bean.getBfdDbType()) + .bfdDbSize(bean.getBfdDbSize()) + .bfdJavaFieldName(bean.getBfdJavaFieldName()) + .ccwMapping(bean.getCcwMapping()) + .cclfMapping(bean.getCclfMapping()) + .fhirMapping(bean.getFhirMapping()) + .build()) + .toList(); + allFhirElements.addAll(fhirElementList); } + allFhirElements.sort( + new Comparator() { + @Override + public int compare(final FhirElement fhirElement1, FhirElement fhirElement2) { + return Integer.compare(fhirElement1.getId(), fhirElement2.getId()); + } + }); + allFhirElements.stream() + .map(elementToJson) + .map(elementToCsv) + .flatMap(Collection::stream) + .forEach(csvToExcel); + csvToExcel.close(); } catch (IOException e) { throw new RuntimeException(e); } diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java index 97d883e067..b3eb379f06 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/FhirElementBean.java @@ -12,6 +12,10 @@ @AllArgsConstructor @Builder public class FhirElementBean implements ModelBean { + + /** Mapping Id. */ + private String mappingId; + /** Id. */ private int id; diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java index f737d23340..6f5e956b15 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java @@ -13,9 +13,13 @@ import java.time.Instant; import java.time.LocalDate; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; +import lombok.Builder; +import lombok.Data; /** Utility methods for use by and with the various model classes. */ public class ModelUtil { @@ -105,22 +109,32 @@ public static RootBean loadModelFromYamlFileOrDirectory(String mappingPath) thro return loadMappingsFromYamlFileOrDirectory(mappingPath); } + /*public static RootBean loadModelFromYamlFileAndJsonFiles( + String mappingPath, String fhirMappingPath) throws IOException { + if (!isValidMappingSource(mappingPath)) { + throw new IOException("mappingPath not defined or does not exist"); + } + + return loadMappingsFromYamlFileAndJsonFiles(mappingPath, fhirMappingPath); + }*/ + /** * Load all mappings from the provided file or directory. If a directory is provided all YAML * files in that directory will be loaded. * * @param mappingPath path to a file or directory containing mappings + * @param fhirEntitiesDirectory stuff * @param fhirMappingPath stuff * @return consolidated {@link RootBean} containing all mappings * @throws IOException if any I/O errors prevent loading */ - public static RootBean loadModelFromYamlFileAndJsonFiles( - String mappingPath, String fhirMappingPath) throws IOException { + public static RootBean appendFhirElementsToYamlFiles( + String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath) throws IOException { if (!isValidMappingSource(mappingPath)) { throw new IOException("mappingPath not defined or does not exist"); } - return loadMappingsFromYamlFileAndJsonFiles(mappingPath, fhirMappingPath); + return loadFhirElementsFromJsonFiles(mappingPath, fhirEntitiesDirectory, fhirMappingPath); } /** @@ -205,15 +219,7 @@ private static RootBean loadMappingsFromYamlFileOrDirectory(String mappingPath) return combinedRoot; } - /** - * Load mappings from the given path. - * - * @param mappingPath path to a file or directory - * @param fhirMappingPath stuff - * @return a {@link RootBean} containing the mappings loaded from path - * @throws IOException if anything could not be loaded - */ - private static RootBean loadMappingsFromYamlFileAndJsonFiles( + /*private static RootBean loadMappingsFromYamlFileAndJsonFiles( String mappingPath, String fhirMappingPath) throws IOException { final var file = new File(mappingPath); final var fileAttributes = Files.readAttributes(file.toPath(), BasicFileAttributes.class); @@ -230,46 +236,41 @@ private static RootBean loadMappingsFromYamlFileAndJsonFiles( List allFhirElements = convertJsonFilesToFhirElementBeans(fhirMappingPath); for (File mappingFile : mappingFiles) { RootBean rootBean = objectMapper.readValue(mappingFile, RootBean.class); - List mappingBeans = - rootBean.getMappings().stream() - .map( - mappingBean -> { - // collect corresponding fhir elements for mapping - List fhirElements = - allFhirElements.stream() - .filter( - fhirElementBean -> - map( - mappingBean.getId(), - fhirElementBean, - fhirElementBean.getBfdTableType())) - .map( - fhirElementBean -> { - // identify column that contains data corresponding to json file - TableBean tableBean = mappingBean.getTable(); - String tableName = tableBean.getName(); - Optional columnFound = - findColumn(fhirElementBean, tableBean); - - // Update Fhir Element fields - fhirElementBean.setBfdTableType(tableName); - updateFhirElements(fhirElementBean, mappingBean, columnFound); - return fhirElementBean; - }) - .collect(Collectors.toList()); - - mappingBean.setR4FhirElements(fhirElements); - return mappingBean; - }) - .collect(Collectors.toList()); - // rootBean.setMappings(mappingBeans); + rootBean.getMappings().stream() + .forEach( + mappingBean -> { + // collect corresponding fhir elements for mapping + List fhirElements = + allFhirElements.stream() + .filter( + fhirElementBean -> + map( + mappingBean.getId(), + fhirElementBean, + fhirElementBean.getBfdTableType())) + .map( + fhirElementBean -> { + // identify column that contains data corresponding to json file + TableBean tableBean = mappingBean.getTable(); + String tableName = tableBean.getName(); + Optional columnFound = + findColumn(fhirElementBean, tableBean); + + // Update Fhir Element fields + fhirElementBean.setBfdTableType(tableName); + updateFhirElements(fhirElementBean, mappingBean, columnFound); + return fhirElementBean; + }) + .collect(Collectors.toList()); + + mappingBean.setR4FhirElements(fhirElements); + }); combinedRoot.addMappingsFrom(rootBean); - // combinedRoot.addMappings(mappingBeans); } } return combinedRoot; - } + }*/ /** * hi. @@ -344,6 +345,131 @@ private static FhirElementBean updateFhirElements( return fhirElementBean; } + /** + * Load mappings from the given path. + * + * @param mappingPath path to a file or directory + * @param fhirEntitiesDirectory stuff + * @param fhirMappingPath stuff + * @return a {@link RootBean} containing the mappings loaded from path + * @throws IOException if anything could not be loaded + */ + private static RootBean loadFhirElementsFromJsonFiles( + String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath) throws IOException { + final var file = new File(mappingPath); + final var fileAttributes = Files.readAttributes(file.toPath(), BasicFileAttributes.class); + if (fileAttributes.isRegularFile()) { + return objectMapper.readValue(file, RootBean.class); + } + if (!fileAttributes.isDirectory()) { + throw new IOException("expected a file or directory: " + mappingPath); + } + + var combinedRoot = new RootBean(new ArrayList<>()); + var mappingFiles = file.listFiles(f -> f.getName().endsWith(".yaml")); + if (mappingFiles != null) { + List allFhirElements = convertJsonFilesToFhirElementBeans(fhirMappingPath); + + Map> fhirResources = + new HashMap<>() { + { + put("", new ArrayList<>()); + put("Coverage", new ArrayList<>()); + put("ExplanationOfBenefit", new ArrayList<>()); + put("Patient", new ArrayList<>()); + } + }; + + for (File mappingFile : mappingFiles) { + // collect corresponding fhir elements for mapping + RootBean rootBean = objectMapper.readValue(mappingFile, RootBean.class); + rootBean.getMappings().stream() + .forEach( + mappingBean -> { + List fhirElements = + allFhirElements.stream() + .filter( + fhirElementBean -> + map( + mappingBean.getId(), + fhirElementBean, + fhirElementBean.getBfdTableType())) + .map( + fhirElementBean -> { + // identify column that contains data corresponding to json file + TableBean tableBean = mappingBean.getTable(); + String tableName = tableBean.getName(); + Optional columnFound = + findColumn(fhirElementBean, tableBean); + + // Update Fhir Element fields + fhirElementBean.setMappingId(mappingBean.getId()); + fhirElementBean.setBfdTableType(tableName); + updateFhirElements(fhirElementBean, mappingBean, columnFound); + return fhirElementBean; + }) + .collect(Collectors.toList()); + + if (!fhirElements.isEmpty()) { + mappingBean.setR4FhirElements(fhirElements); + // fhirElements group by fhir resource + aggregateFhirResourceGroups(fhirElements, fhirResources); + } + }); + combinedRoot.addMappingsFrom(rootBean); + } + + // create yaml files + for (Map.Entry> entry : fhirResources.entrySet()) { + FhirResourceMapping fhirResourceMapping = + FhirResourceMapping.builder().fhirVersion("R4").fhirElements(entry.getValue()).build(); + objectMapper.writeValue( + new File(fhirEntitiesDirectory + "/" + entry.getKey() + ".yaml"), fhirResourceMapping); + } + } + return combinedRoot; + } + + /** Utility methods for use by and with the various model classes. */ + @Builder + @Data + public static class FhirResourceMapping { + /** FHIR Version. */ + private String fhirVersion; + + /** List of FHIR elements. */ + private List fhirElements; + } + + /** + * Compute the appropriate {@link TypeName} to use for the given {@code javaType}. + * + * @param fhirElements hi + * @param fhirResources hi + */ + private static void aggregateFhirResourceGroups( + List fhirElements, Map> fhirResources) { + Map> fhirResourceGroups = + fhirElements.stream() + .collect( + Collectors.groupingBy( + element -> { + List fhirMappings = element.getFhirMapping(); + if (!fhirMappings.isEmpty()) { + return element.getFhirMapping().getFirst().getResource(); + } + return ""; // todo: investigate case where R4 resource not specified + })); + + for (Map.Entry> entry : fhirResourceGroups.entrySet()) { + List currentFhirResources = fhirResources.get(entry.getKey()); + if (currentFhirResources != null) { + currentFhirResources.addAll(entry.getValue()); + fhirResources.put(entry.getKey(), currentFhirResources); + } + } + } + /** * Compute the appropriate {@link TypeName} to use for the given {@code javaType}. * diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java index 48c3c84f97..8fea68c862 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/RootBean.java @@ -30,15 +30,6 @@ public void addMappingsFrom(RootBean other) { mappings.addAll(other.mappings); } - /** - * Adds all {@link MappingBean}s from the given {@link RootBean} into this {@link RootBean}. - * - * @param otherMappings another {@link RootBean} containing mappings we want to add - */ - public void addMappings(List otherMappings) { - mappings.addAll(otherMappings); - } - /** * Search for a {@link MappingBean} with the given id value. * From 1fccd0959759ccd95879fb35f886c16e7f344fb3 Mon Sep 17 00:00:00 2001 From: Melissa Guzman Date: Mon, 18 Mar 2024 12:01:43 -0700 Subject: [PATCH 3/3] BFD-3331: Pulls variable descriptions from codebook and injects into dd along with a few FHIR paths --- .../bfd-model-dsl-codegen-plugin/pom.xml | 35 +++++ .../GenerateDataDictionaryFromDslMojo.java | 7 +- .../dsl/codegen/plugin/model/ModelUtil.java | 146 +++++++++++++++++- apps/bfd-model/bfd-model-rif/pom.xml | 1 + 4 files changed, 183 insertions(+), 6 deletions(-) diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml index 234cf3a21e..6817e394f5 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/pom.xml @@ -112,6 +112,41 @@ org.apache.poi poi-ooxml + + + ca.uhn.hapi.fhir + hapi-fhir-structures-r4 + ${hapi-fhir.version} + + + junit + junit + + + + com.squareup.okhttp3 + okhttp + + + + + + ca.uhn.hapi.fhir + hapi-fhir-server + ${hapi-fhir.version} + + + + ca.uhn.hapi.fhir + hapi-fhir-client + ${hapi-fhir.version} + + + + ca.uhn.hapi.fhir + hapi-fhir-base + ${hapi-fhir.version} + diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java index 93ed786f88..b29e47d159 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/GenerateDataDictionaryFromDslMojo.java @@ -42,6 +42,10 @@ public class GenerateDataDictionaryFromDslMojo extends AbstractMojo { @Parameter(property = "fhirMappingPath") private String fhirMappingPath; + /** Path to a single mapping file or a directory containing one or more mapping files. */ + @Parameter(property = "codeBookPath") + private String codeBookPath; + /** Project version. */ @Parameter(property = "projectVersion") private String projectVersion; @@ -95,7 +99,8 @@ public void execute() throws MojoExecutionException { var resourceDirPath = String.format("%s/%s", fhirMappingPath, version.name()); var templatePath = templateFileMap.get(version); final RootBean root = - ModelUtil.appendFhirElementsToYamlFiles(mappingPath, fhirMappingDir, resourceDirPath); + ModelUtil.appendFhirElementsToYamlFiles( + mappingPath, fhirMappingDir, resourceDirPath, codeBookPath); MojoUtil.validateModel(root); // modify so fits for our use case if (project != null) { diff --git a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java index 6f5e956b15..bbbaf608f9 100644 --- a/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java +++ b/apps/bfd-model/bfd-model-dsl-codegen/bfd-model-dsl-codegen-plugin/src/main/java/gov/cms/model/dsl/codegen/plugin/model/ModelUtil.java @@ -1,5 +1,6 @@ package gov.cms.model.dsl.codegen.plugin.model; +import ca.uhn.fhir.model.api.annotation.Child; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.google.common.base.Strings; @@ -7,6 +8,8 @@ import com.squareup.javapoet.TypeName; import java.io.File; import java.io.IOException; +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; import java.math.BigDecimal; import java.nio.file.Files; import java.nio.file.attribute.BasicFileAttributes; @@ -14,12 +17,23 @@ import java.time.LocalDate; import java.util.ArrayList; import java.util.HashMap; +import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Optional; +import java.util.Set; import java.util.stream.Collectors; +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; import lombok.Builder; import lombok.Data; +import org.hl7.fhir.r4.model.Coverage; +import org.hl7.fhir.r4.model.ExplanationOfBenefit; +import org.hl7.fhir.r4.model.Patient; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; /** Utility methods for use by and with the various model classes. */ public class ModelUtil { @@ -125,16 +139,122 @@ public static RootBean loadModelFromYamlFileOrDirectory(String mappingPath) thro * @param mappingPath path to a file or directory containing mappings * @param fhirEntitiesDirectory stuff * @param fhirMappingPath stuff + * @param codeBookPath stuff * @return consolidated {@link RootBean} containing all mappings * @throws IOException if any I/O errors prevent loading */ public static RootBean appendFhirElementsToYamlFiles( - String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath) throws IOException { + String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath, String codeBookPath) + throws IOException { if (!isValidMappingSource(mappingPath)) { throw new IOException("mappingPath not defined or does not exist"); } - return loadFhirElementsFromJsonFiles(mappingPath, fhirEntitiesDirectory, fhirMappingPath); + return loadFhirElementsFromJsonFiles( + mappingPath, fhirEntitiesDirectory, fhirMappingPath, codeBookPath); + } + + /** + * Extracts descriptions of each variable from the xml files parsed from the code books. + * + * @param codeBookPath path of xml files parsed from the code books + * @return map that maps variable IDs to descriptions + */ + public static Map getDescriptionsFromCodeBook(String codeBookPath) { + Map variableIdToDescription = new HashMap<>(); + File file = new File(codeBookPath); + var codeBookFiles = file.listFiles(f -> f.getName().endsWith(".xml")); + if (codeBookFiles != null) { + for (File codeBookFile : codeBookFiles) { + DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + DocumentBuilder db = null; + try { + db = dbf.newDocumentBuilder(); + Document document = db.parse(codeBookFile); + document.getDocumentElement().normalize(); + + NodeList variables = document.getElementsByTagName("variable"); + for (int variableIndex = 0; variableIndex < variables.getLength(); variableIndex++) { + Node variable = variables.item(variableIndex); + if (variable.getNodeType() == Node.ELEMENT_NODE) { + NodeList childNodes = variable.getChildNodes(); + for (int index = 0; index < childNodes.getLength(); index++) { + Node childNode = childNodes.item(index); + if (childNode.getNodeName().equals("description")) { + String description = childNode.getTextContent().replaceAll("\\s+", " "); + Element element = (Element) variable; + String variableId = element.getAttribute("id"); + variableIdToDescription.put(variableId, description); + } + } + } + } + } catch (Exception e) { + throw new RuntimeException(e); + } + } + } + return variableIdToDescription; + } + + /** + * this. + * + * @param fhirElementBean this + * @return FhirElementBean + */ + public static FhirElementBean buildFhirPath(FhirElementBean fhirElementBean) { + Map> fhirClassesMap = + new HashMap<>() { + { + put("Coverage", Coverage.class); + put("ExplanationOfBenefit", ExplanationOfBenefit.class); + put("Patient", Patient.class); + } + }; + + List fhirMappings = fhirElementBean.getFhirMapping(); + for (FhirMapping fhirMapping : fhirMappings) { + String resource = fhirMapping.getResource(); + if (!resource.isEmpty()) { + Set fhirElements = findFields(fhirClassesMap.get(resource), Child.class); + String currentElement = fhirMapping.getElement(); + if (!currentElement.isEmpty()) { + String[] splitCurrentElement = currentElement.split("\\."); + + if (fhirElements.contains(splitCurrentElement[0])) { + // fhir path is the expression under search parameters in specification + fhirMapping.setFhirPath(currentElement); + } else { + // element is an extension + System.out.println("element is an extension"); + } + } + } + } + fhirElementBean.setFhirMapping(fhirMappings); + return fhirElementBean; + } + + /** + * this. + * + * @param classs this + * @param ann this + * @return elements of a resource + */ + public static Set findFields(Class classs, Class ann) { + Set set = new HashSet<>(); + Class c = classs; + while (c != null) { + for (Field field : c.getDeclaredFields()) { + if (field.isAnnotationPresent(ann)) { + set.add(field.getName()); + } + } + c = c.getSuperclass(); + } + return set; } /** @@ -318,10 +438,14 @@ private static Optional findColumn( * @param fhirElementBean stuff * @param mappingBean stuff * @param columnBean stuff + * @param ccwMappingToDescriptionMap stuff * @return stuff */ private static FhirElementBean updateFhirElements( - FhirElementBean fhirElementBean, MappingBean mappingBean, Optional columnBean) { + FhirElementBean fhirElementBean, + MappingBean mappingBean, + Optional columnBean, + Map ccwMappingToDescriptionMap) { if (columnBean.isPresent()) { ColumnBean column = columnBean.get(); fhirElementBean.setBfdColumnName(column.getColumnName()); @@ -337,7 +461,12 @@ private static FhirElementBean updateFhirElements( transformationsFound.forEach( transformationBean -> ccwMappings.add(transformationBean.getFrom())); fhirElementBean.setCcwMapping(ccwMappings); + if (ccwMappingToDescriptionMap.containsKey(ccwMappings.getFirst())) { + fhirElementBean.setDescription(ccwMappingToDescriptionMap.get(ccwMappings.getFirst())); + } } + + return buildFhirPath(fhirElementBean); } else { System.out.println( "Couldn't find column based off bfdColumnName. Defaults to using values in json"); @@ -351,11 +480,13 @@ private static FhirElementBean updateFhirElements( * @param mappingPath path to a file or directory * @param fhirEntitiesDirectory stuff * @param fhirMappingPath stuff + * @param codeBookPath stuff * @return a {@link RootBean} containing the mappings loaded from path * @throws IOException if anything could not be loaded */ private static RootBean loadFhirElementsFromJsonFiles( - String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath) throws IOException { + String mappingPath, File fhirEntitiesDirectory, String fhirMappingPath, String codeBookPath) + throws IOException { final var file = new File(mappingPath); final var fileAttributes = Files.readAttributes(file.toPath(), BasicFileAttributes.class); if (fileAttributes.isRegularFile()) { @@ -369,6 +500,7 @@ private static RootBean loadFhirElementsFromJsonFiles( var mappingFiles = file.listFiles(f -> f.getName().endsWith(".yaml")); if (mappingFiles != null) { List allFhirElements = convertJsonFilesToFhirElementBeans(fhirMappingPath); + Map ccwMappingToDescriptionMap = getDescriptionsFromCodeBook(codeBookPath); Map> fhirResources = new HashMap<>() { @@ -405,7 +537,11 @@ private static RootBean loadFhirElementsFromJsonFiles( // Update Fhir Element fields fhirElementBean.setMappingId(mappingBean.getId()); fhirElementBean.setBfdTableType(tableName); - updateFhirElements(fhirElementBean, mappingBean, columnFound); + updateFhirElements( + fhirElementBean, + mappingBean, + columnFound, + ccwMappingToDescriptionMap); return fhirElementBean; }) .collect(Collectors.toList()); diff --git a/apps/bfd-model/bfd-model-rif/pom.xml b/apps/bfd-model/bfd-model-rif/pom.xml index 234e05151d..ce033f1896 100644 --- a/apps/bfd-model/bfd-model-rif/pom.xml +++ b/apps/bfd-model/bfd-model-rif/pom.xml @@ -152,6 +152,7 @@ ${project.basedir}/mappings ${project.basedir}/fhir-mapping-path + ${project.basedir}/../bfd-model-codebook-data/target/generated-resources ${project.version} ${project.basedir}/../../../dist-temp ${project.basedir}/data-dictionary-template/v1-to-csv.json