Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenIMIS fieldDB typeRequest or responseFHIR fieldDescriptionNoteSTPHMapping status
ClaimIDPKRequestclaim.Identifier
this isn't required, most important is the ClaimCode (see below) but FHIR claim can has multi identifiers
mapped
InsureeIDFK(tblInsuree)Requestclaim.patient - Reference(Patient)
We can represent the insuree as the FHIR patient resource but the most important is claim.patient.identifierclaim.patient.identifiermapped
ClaimCodenvarcharRequestclaim.Identifier


mapped
DateFromsmalldatetimeRequest
claim.billablePeriod



mapped
DateTosmalldatetimeRequest


mapped
ICDIDFK(tblICDCodes)Requestclaim.diagnosis
If ICD is some fixed set of coded value then we can use the CodeableCondept to describe this. The sequence field can be used to create an order of diagnosis.
mapped
ClaimStatustinyintResponseclaimResponse.processNoteDefault value: 2;
1 - rejected
2 - entered
4 - checked
8 - processed
16 - valuated
We can try to use the process note or create the FHIR extension (if needed) because the FHIR ClaimResponse STU3 haven't the type field.

Alternatively we can use the claimResponse.status but then only 4 of 5 statuses can be mapped.
can be also request claim.status

AdjusterFK(tblUsers)Requestclaim.provider - Reference(Practitioner)
I'm not sure if this field is used, all records created by me have null values in that field.

AdjustmentntextResponseclaimResponse.disposition



ClaimeddecimalRequestclaim.total


mapped
ApproveddecimalResponseclaimResponse.totalBenefit



ReinsureddecimalResponse

If needed we can create the FHIR extension.

ValuateddecimalResponse

If needed we can create the FHIR extension.

DateClaimeddateRequestclaim.createddefault: getDate()

mapped
DateProcessedsmalldatetimeResponseclaimResponse.created



Feedbackbit

default value: 0
This is probably used only by OpenIMIS and I don't know if this is valuable for external systems.


FeedbackIDFK(tblFeedback)

default value: 0

ExplanationntextRequestclaim.information.valueString
I couldn't find a better place for information about the explanation. The FHIR claim can consider multiple information elements. We can use the information category to distinguish the type of information.
mapped
FeedbackStatustinyint-
default value: 1
1 - idle
2 - not selected
4 - selected for feedback
8 - delicered
16 - by passed
else select status
This field probably is used only by the OpenIMIS and isn't requirement by external systems.

ReviewStatustinyint-
default value: 1
1 - idle
2 - not selected
4 - selected for review
8 - reviewed
16 - by passed
else select status
This field probably is used only by the OpenIMIS and isn't requirement by external systems.


ApprovalStatustinyint-
default value: 1;Probably not used field

RejectionReasontinyintResponseclaimResponse.errordefault value: 0I'm not sure if that field is used.

ValidityFromdatetime-
This information are valuable for OpenIMIS but I probably not required by external systems.


ValidityTodatetime-


LegacyIDint-


AuditUserIDint-


ValidityFromReviewdatetimeResponse

I'm not sure if this information are valuable for external systems. If needed we can try to use the claimResponse.processNote or add the FHIR extensions.


ValidityToReviewdatetimeResponse



AuditUserIDReviewintResponse



RowIDtimestamp-

I'm not sure but this is probably some unique value used to distinguish database rows. Probably not useful for external systems.

HFIDFK(tblHF)Requestclaim.facility - Reference(Location)



RunIDFK(tblBatchRun)-

This is probably useful only for the internal system not for external systems. If needed add the FHIR extension can be considered.

AuditUserIDSubmitintResponse

I'm not sure if this information are valuable for external systems. If needed we can try to use the claimResponse.processNote or add the FHIR extensions.


AuditUserIDProcessintResponse



SubmitStampdatetimeResponse



ProcessStampdatetimeResponse



RemunerateddecimalResponse

If needed we can create the FHIR extension.

GuaranteeIdnvarcharRequestclaim.information.valueString
I couldn't find a better place for information about the guarantee Id. The FHIR claim can consider multiple information elements. We can use the information category to distinguish the type of information.

ClaimAdminIdFK(tblClaimAdmin)Requestclaim.enterer - Reference(PractitionerRole)



ICDID1intRequestclaim.diagnosis
If ICD is some fixed set of coded value then we can use the CodeableCondept to describe this. The sequence field can be used to create an order of diagnosis.

ICDID2intRequestclaim.diagnosis
If ICD is some fixed set of coded value then we can use the CodeableCondept to describe this. The sequence field can be used to create an order of diagnosis.

ICDID3intRequestclaim.diagnosis
If ICD is some fixed set of coded value then we can use the CodeableCondept to describe this. The sequence field can be used to create an order of diagnosis.

ICDID4intRequestclaim.diagnosis
If ICD is some fixed set of coded value then we can use the CodeableCondept to describe this. The sequence field can be used to create an order of diagnosis.

VisitTypecharRequestclaim.typeE - emergency
R - referrals
O - other
"" - select type



ClaimCategorychar-

I didn't find the logic related to this field.

...

Configuration keyDescriptionDefault value
default_audit_user_iddefault value which will be used for 'audit_user_id' field"default_audit_user_id": 1,
iso_date_formatiso format used for FHIR date representation "iso_date_format": "%Y-%m-%d", 
iso_datetime_formatiso format used for FHIR datetime representation"iso_datetime_format": "%Y-%m-%dT%H:%M:%S",
stu3_fhir_identifier_type_configconfiguration of system and codes used to represent the specific types of identifiers

"stu3_fhir_identifier_type_config":{
  "system":"https://hl7.org/fhir/valueset-identifier-type.html",
  "fhir_code_for_imis_db_id_type":"ACSN",
  "fhir_code_for_imis_chfid_type":"SB",
  "fhir_code_for_imis_passport_type":"PPN",
  "fhir_code_for_imis_facility_id_type":"FI",
  "fhir_code_for_imis_claim_admin_code_type":"FILL",
  "fhir_code_for_imis_claim_code_type":"MR",

},

stu3_fhir_issue_type_configconfiguration of system and codes used to represent the specific types of operation outcome"stu3_fhir_issue_type_config":{
  "fhir_code_for_exception":"exception",
  "fhir_code_for_not_found":"not-found",
  "fhir_code_for_informational":"informational"
},
stu3_fhir_claim_configconfiguration of system and codes used to represent the specific types of claim codes"stu3_fhir_claim_config":{
  "fhir_claim_information_guarantee_id_code":"guarantee_id",
  "fhir_claim_information_explanation_code": "explanation",
  "fhir_claim_item_code":"item",
  "fhir_claim_service_code":"service"
}

...