Looking for help?
-
Introduction
-
HIE Components
-
-
Developers Guide
-
System Integration
-
User Workflows
-
Release Notes
-
Implementer's Guide
< All Topics
Print
Medication Feed API
PostedDecember 5, 2023
UpdatedDecember 5, 2023
Byadmin
1. Format
The API is based on REST convention and atom+xml feed for exchange of data
2. Authentication
None
API
Medication Feed
Request
Request :
GET /openmrs/ws/atomfeed/medication/recent
Headers :
None
Body:
None
Response (Example)
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Patient AOP</title>
<link rel="self" type="application/atom+xml" href="https://{{tr_server}}/openmrs/ws/atomfeed/medication/recent" />
<link rel="via" type="application/atom+xml" href="https://{{tr_server}}/openmrs/ws/atomfeed/medication/2" />
<link rel="prev-archive" type="application/atom+xml" href="https://{{tr_server}}/openmrs/ws/atomfeed/medication/1" />
<author>
<name>OpenMRS</name>
</author>
<id>bec795b1-3d17-451d-b43e-a094019f6984+2</id>
<generator uri="https://github.com/ICT4H/atomfeed">OpenMRS Feed Publisher</generator>
<updated>2015-11-05T11:31:54Z</updated>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:90b2f279-8147-11e5-b875-0050568225ca</id>
<updated>2015-11-02T09:53:27Z</updated>
<published>2015-11-02T09:53:27Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b2c862-8147-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:90b36e6f-8147-11e5-b875-0050568225ca</id>
<updated>2015-11-02T09:53:27Z</updated>
<published>2015-11-02T09:53:27Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b344bf-8147-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:90b3fd46-8147-11e5-b875-0050568225ca</id>
<updated>2015-11-02T09:53:27Z</updated>
<published>2015-11-02T09:53:27Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b3d308-8147-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:d0b64f0f-83b0-11e5-b875-0050568225ca</id>
<updated>2015-11-05T11:31:54Z</updated>
<published>2015-11-05T11:31:54Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b61b98-83b0-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:d0b6e439-83b0-11e5-b875-0050568225ca</id>
<updated>2015-11-05T11:31:54Z</updated>
<published>2015-11-05T11:31:54Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b6b248-83b0-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:d0b78203-83b0-11e5-b875-0050568225ca</id>
<updated>2015-11-05T11:31:54Z</updated>
<published>2015-11-05T11:31:54Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b753fd-83b0-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:d0b80bfe-83b0-11e5-b875-0050568225ca</id>
<updated>2015-11-05T11:31:54Z</updated>
<published>2015-11-05T11:31:54Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b7dce1-83b0-11e5-b875-0050568225ca]]></content>
</entry>
<entry>
<title>Medication</title>
<category term="Medication" />
<id>tag:atomfeed.ict4h.org:d0b894bb-83b0-11e5-b875-0050568225ca</id>
<updated>2015-11-05T11:31:54Z</updated>
<published>2015-11-05T11:31:54Z</published>
<content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b86718-83b0-11e5-b875-0050568225ca]]></content>
</entry>
</feed>
Table of Contents