...
The AI input model is represented by a matrix having on each row one Medical Item/Service from a Claim. If the FHIR Claim Bundle contains multiple Claims then the AI input model will contain all Items/Services from all Claims. Each row contains the following informations (either FHIR Medical OR ActivityDefinition, representing an Item in FHIR Claim):
identifier (ItemUUID) | identifier (ServiceUUID) | identifier (ClaimUUID) | identifier (InsureeUUID, CHFID) | identifier (HfUUID) |
extension.unitPrice | unitPrice | billablePeriod (start, end) | birthDate (to calculate age) | location (HFLocationUUID) |
frequency | frequency | created | gender | category |
extension.useContext (ItemPatCat) | useContext (ItemPatCat) | type | extension.isHead | type |
item.quantity | link.type | |||
item.unitPrice | extension.povertyStatus | |||
diagnosis.diagnosisReference (for icd_0 and icd_1 get ICDID) | extension.locationCode (LocationUUID) | |||
enterer (ClaimAdminUUID) | extension.group (FamilyUUID) |
...