Versions Compared

Key

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

...

  • 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 Medication code ItemUUID to URL for instance:
    http://localhost:8000/api_fhir_R4/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_R4/Medication?identifier={MedicationCodeItemCode}

  • 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).

(warning) All references to a Medication resource (ex. from Claim) should be coded as Medication/{ItemUUID}.

Module configuration used by the endpoint:

...