HIV data uploaded in CSV format must be converted to FHIR before it can be sent to the ReportStream Universal Pipeline so that it can be routed to LAC.
Action requested
Update gov.cdc.usds.simplereport.service.TestResultUploadService#processHIVResultCSV to convert input to FHIR and send to UP
You can use processResultCSV as a reference.
Should be able to change fhir converter code to conditionally include sections on gender and birth sex if they are in the row
Acceptance Criteria
A CSV of the correct schema uploaded via our support page link is converted to a FHIR bundle
log the serialized fhir bundle in processHIVResultCSV
A CSV of incorrect schema can just fail silently (no need for validation support at this time)
Exclude fields related to sexuality or gender of sexual partners at this time
Background
HIV data uploaded in CSV format must be converted to FHIR before it can be sent to the ReportStream Universal Pipeline so that it can be routed to LAC.
Action requested
Update gov.cdc.usds.simplereport.service.TestResultUploadService#processHIVResultCSV to convert input to FHIR and send to UP You can use
processResultCSV
as a reference. Should be able to change fhir converter code to conditionally include sections on gender and birth sex if they are in the rowAcceptance Criteria
A CSV of the correct schema uploaded via our support page link is converted to a FHIR bundle log the serialized fhir bundle in processHIVResultCSV A CSV of incorrect schema can just fail silently (no need for validation support at this time) Exclude fields related to sexuality or gender of sexual partners at this time
Additional context
TestResultUploadService BulkUploadResultsToFhir