Patient Golden Record

POST {{baseUrl}}/get_patient_golden_record/execute

This function will provide the golden state of a patient demographic information given patient id or MRN. Golden state will provide the latest possible value for each of these fields based on the information received till end_date (current time if not provided).

Request Body

{"patient_mrn"=>"<string>", "patient_id"=>"<string>", "start_date"=>"<string>", "end_date"=>"<string>", "identifiers"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: Created

{&quot;lineage&quot;:&quot;\u003cstring\u003e&quot;,&quot;batch_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;language&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_account_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_address&quot;:[{&quot;city&quot;:&quot;\u003cstring\u003e&quot;,&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;line&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;postalCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:&quot;\u003cstring\u003e&quot;,&quot;district&quot;:&quot;\u003cstring\u003e&quot;},{&quot;city&quot;:&quot;\u003cstring\u003e&quot;,&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;line&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;postalCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:&quot;\u003cstring\u003e&quot;,&quot;district&quot;:&quot;\u003cstring\u003e&quot;}],&quot;vip_indicator&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_family_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;death_datetime&quot;:&quot;\u003cstring\u003e&quot;,&quot;xc_visit_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_given_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;death_indicator&quot;:&quot;\u003cstring\u003e&quot;,&quot;ethnic_group&quot;:&quot;\u003cstring\u003e&quot;,&quot;alternate_visit_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;home_phone&quot;:&quot;\u003cstring\u003e&quot;,&quot;race&quot;:&quot;\u003cstring\u003e&quot;,&quot;sex&quot;:&quot;\u003cstring\u003e&quot;,&quot;birth_place&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_second_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;visit_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;office_phone&quot;:&quot;\u003cstring\u003e&quot;,&quot;marital_status&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;bundle_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_modified_datetime&quot;:&quot;\u003cstring\u003e&quot;,&quot;birth_datetime&quot;:&quot;\u003cstring\u003e&quot;,&quot;identifiers&quot;:[{&quot;id_type_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;id_value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id_type_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;id_value&quot;:&quot;\u003cstring\u003e&quot;}]}