Versions Compared

Key

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

...

http://localhost:8000/api_fhir_R4r4/Medication

Supported HTTP operation:

  • POST - the operation currently not supported
    Used to create a new medication. List of supported fields can be found in the table which shows the mapping between openIMIS and FHIR. The body as JSON representation.

    The response is:

    • OperationOutcome which notice about the failure (list of possible errors);

    • Medication resource created (includes the generated IDs)

  • GET - by default return list of all available Medication (medical items).
    To fetch information about a specific object you should add the ItemUUID to URL for instance:
    http://localhost:8000/api_fhir_R4r4/Medication/{ItemUUID}
    To search for a Medication resource based on ItemCode, use query variable ‘identifier’ with the ItemCode code value:
    http://localhost:8000/api_fhir_R4r4/Medication?identifier={ItemCode}

  • PUT - the operation currently not supported
    Used to update a Medication (medical item).

  • DELETE - the operation currently not supported
    Used to delete a Medication (medical item).

...