You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
A new API endpoint /link that returns matches
Renaming the person.internal_id column
Adding the patient.reference_id column
Test cases for the new API
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.
is_match: bool
patient_reference_id: uuid
person_reference_id: uuid
Model Changes
rename person.internal_id to person.reference_id
add patient.reference_id to the Patient table (uuid with a default value of uuid.uuid4())
The text was updated successfully, but these errors were encountered:
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
/link
that returns matchesperson.internal_id
columnpatient.reference_id
columnDetails / 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
The text was updated successfully, but these errors were encountered: