intersystems-community / FHIR-contest-topics

Topics for InterSystems FHIR programming contest
MIT License
0 stars 0 forks source link

Display and edit patient data frontend application #2

Open evshvarov opened 4 years ago

pjamieso commented 4 years ago

Using the developer portal, one can easily explore FHIR resources to get patient data. For example, the Patient Resource contains demographic data such as age, address, and marital status. If some of this data needs to be updated one could retrieve the resource, modify it, and then using update Post it back to the FHIR server using the Update Interaction: The update interaction creates a new current version for an existing resource or creates an initial version if no resource already exists for the given id. The update interaction is performed by an HTTP PUT command as shown:

PUT [base]/[type]/[id] {?_format=[mime-type]}