CDCgov / RecordLinker

The RecordLinker is a service that links records from two datasets based on a set of common attributes. The service is designed to be used in a variety of public health contexts, such as linking patient records from different sources or linking records from different public health surveillance systems.
https://cdcgov.github.io/RecordLinker/
Apache License 2.0
2 stars 0 forks source link

New /link API endpoint #5

Closed ericbuckley closed 3 weeks ago

ericbuckley commented 2 months ago

Summary

Create a new API endpoint, /link, that behaves similar to the existing /link-record endpoint. The difference is that it will accept a raw PII payload rather than a FHIR bundle.

Acceptance Criteria

Details / Tasks

Inputs

The new endpoint should accept the other parameters like external_person_id and algorithm, the new record parameter should map to the PIIRecord class. That is the PIIRecord class should act as a validator and serializer for the incoming data.

Outputs

The output will be different in that we will no longer return a FHIR bundle. Instead a payload should be returned with the following information.

Model Changes