Upsert Patient (Conditional Create/Update)
PUT {{fhir_url}}/Patient/?identifier=https://zusapi.com/test|test-identifier-value
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
identifier | string |
Request Body
{"resourceType"=>"Patient", "identifier"=>[{"system"=>"https://zusapi.com/test", "value"=>"test-identifier-value"}], "name"=>[{"use"=>"official", "family"=>"Bergamel", "given"=>["Soloman"]}], "gender"=>"male", "birthDate"=>"1970-03-21", "active"=>true, "address"=>[{"line"=>["1948 Bainbridge St"], "city"=>"Philadelphia", "state"=>"PA", "postalCode"=>"19146", "country"=>"US"}], "telecom"=>[{"system"=>"phone", "value"=>"8131234567"}, {"system"=>"email", "value"=>"testpatient@gmail.com"}]}