Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Update
URLDescription
 /ws/fhir/Practitioner/{id}
  • If the Practitioner with the given uuid exists, update the existing attributes according to the representation.
  • If the Practitioner with the given uuid doesn't exists, Create a Practitioner Resource with the given uuid.

If you update attributes which are associates with the underlying Person Resource, all the update conditions of Person Resource applies here as well.

OpenMRS specific constrains

  • if the request body contains enough information to create a person, a new person resource will be created and that person will be associates with the practitioner.  If not practitioner resource will be created only having the given name by the request body. No person resource will be attached to it in this case.