...
Note: A complete patient resource is not required - only fields like identifier(s), name, birthdate, gender and address, those you want to be updated with a value from FHIR patient in registration are expected.
If you provide patientUuid in FHIR patient.Id field, it will redirect to that patientUuid dashboard and update the respective details passed as a part of FHIR object. If not, it will update the details in the patient dashboard (new or edit patient) from where you opened extension iframe.
For example: consider the following FHIR Patient object
Code Block |
---|
{ id: 'XYZpatientUuid', identifiers: [ { type: { text: "identifierType1" }, value: "hina@xyz" }, { type: { text: "identifierType2" }, value: "57-0517-6745" } ], names: [ { familyName: 'Patel', givenName: [ 'Hina', '' ], use: '' } ], gender: "F", birthDate: "2000-10-21", contactPoint: [ { system: 'phone', value: '+919800083232' } ], address: [ { city: "", country: "IN", district: "Bhopal", line: [ 'A-12, Dholakpur' ], postalCode: "212021", state: "Madhya Pradesh", } ] } |
...