Introduction


Meditab Patient API(s) for IMS (Intelligent Medical Softwares )allow outside apps to be integrated with the Meditab IMS EHR platform. These APIs are Meditab’s implementation of HL7 CDA® R2 standard.


Developer Terms of Use


  1. Accepting the Terms. These Terms of Use ("Terms") govern your access to and use of the Meditab Patient APIs and related SDKs, documentation, services, etc. By accessing or using the Meditab Patient APIs, you agree to be bound by these Terms. “Meditab Patient API” means the API provided by Meditab to allow development of consumer-facing (i.e., patient or a patient’s authorized representative) applications only (“Apps”). You represent and warrant that you are at least 18 years of age and that you possess the legal right and ability to agree to these Terms and to use the Meditab Patient API in accordance with these Terms.
  2. Meditab will issue a unique client identifier for each App you submit to keep track of which Apps uses Meditab Patient APIs. Meditab or a mutual client might need to suspend or revoke an App’s client identifier if there are issues, service interruptions or other concerns with one of your Apps. If this happens, your App will not be able to communicate with Client’s Meditab based EHR systems until the concern is resolved and the suspended client identifier is restored. Contact Meditab or the Client in question to work on resolving the problem that led to the App’s client identifier being suspended. Because it is possible that your app will be suspended, you will clearly inform users of your app that it might not always be available to them and that they should not rely on it in case of an emergency.
  3. Direct access to Meditab’s EHR software is not required to develop or test your products. Testing can be done via the Demo API sandbox, or by working with a Client to test against a particular system. Your receipt of the materials does not give you permission to access Meditab’s IMS software, and does not give you permission to access a Client’s Meditab IMS system. Your access to Meditab’s IMS software can only be granted by Meditab.
  4. Other Terms. You may have a dually-executed agreement in place with Meditab relating to your use of the Meditab Patient APIs, and if so, such dually-executed agreement will govern and control in the event of a conflict with these Terms. Meditab’s published Terms of Use relating to use of its websites also apply to your use of Meditab’s websites.
  5. You may be required to provide contact information, organizational details, billing details, and other information, and you agree to keep the information updated at all times.
  6. Entity representation. If you are using the Meditab Patient API on behalf of a legal entity (i.e. an App company), you represent that you have proper authority to act on behalf of and bind the entity to these Terms, and by accepting, you accept on behalf of the entity (and all references to “you” in the Terms refer to the entity).
  7. You warrant that your Apps will not contain any viruses or other malicious computer instructions, devices, or techniques that can or were designed to threaten, infect, damage, disable, or shut down the Meditab Patient APIs, any technology, software, solution, equipment or any computer system.
  8. Developers are responsible for the Apps developed and how the Apps connect to the Meditab’s EHR platform. Developers are also responsible for complying with all applicable laws, including not infringing on intellectual property rights, copyright or trademark rights of Meditab or any third party. Developers are encouraged to work closely with Meditab and mutual client in order to avoid unfavorable results.
  9. You are solely responsible for the demonstration, pricing, sales support (including product analyst support), licensing (via a written agreement with the Meditab client), configuration, installation, implementation, maintenance and technical support of your Apps.
  10. Changes. Meditab may, in its sole and absolute discretion, make changes, modifications or updates to the Meditab Patient API (including without limitation changes to the capabilities and tech specs), Process or any portion of its websites without notice to you. In addition, Meditab may withdraw, suspend or discontinue any functionality or feature of the Meditab Patient APIs at any time; provided, however, that if your dually-executed agreement with Meditab provides for the continued use of any functionality or feature, Meditab will continue to provide that respective functionality or feature to you subject to the provisions of such dually-executed agreement.

Things Every Developer Should Know


  • The API aims to be a RESTful resource: The Meditab API attempts to conform to the design principles of Representational State Transfer (REST). Meditab APIs use the JSON/XML data format for responses.
  • For response type, you can define "accept" parameter for your desired response format. Allowed format is xml,json. Default response type is XML.
  • The API is HTTP-based (over SSL) : Methods to retrieve data from the Meditab API require a GET request.
  • API methods will return an error if you do not make your request with the correct parameters and endpoints.
  • HTTP Response Codes are meaningful to understand. Meaningful error messages will be presented to the Developers.
  • Authentication via OAUTH2.0 Protocols.

Authentication


The Meditab Patient API uses OAuth 2 for the authorization. You can refer OAUTH2.0 documentation for your reference.

For Authentication, you need to pass client ID and Client secret provided by Meditab. Using the client Id and client secret, do the following to obtain the access token

After obtaining the token, you can subsequently call the Patient resource API passing the bearer token as a header parameter.

You can always get a new access token by calling the authorization server


Request

$ curl --request POST \ --url https://meditab.auth0.com/oauth/token \ --header '   content-type: application/json   ' \ --data   '{"client_id":"Client_ID","client_secret":"Client_Secret","audience":"ims-ccda-api","grant_type":"client_credentials"}'


Response

{   "access_token"   :   "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMjU0NTE0NCwiaWF0IjoxU4NzQ0LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.tjwi6OVoHiqb1K1EeZwYs1dSJtBKizeeZQLJdCYdrwD5J2CLTW7yGRFDnXqppB0Wa6-h1xGODLPkqq8jzpA8kZBMGvEpiLBd7M8MUGFwoc-96o_QHuexoS1FHRYsuwmkzu5s2V2RnC2VWYd_MA7jgv7LAS1jzVDpntHjyJBu-lOOUlKtl-VNOQ_MzDabNC9MbxQE6-AVClsYJb7bqg-bOdrMzez1wAFf7g0LPdtgJ0OdMUHkBcHpLWru9m5Iny4KYcVutJB_FrffMrXQ6j7-JxOTNsQ4fSeBb7W2_C8jj-w2NkdtwpSAToatOks7deWY7axDFyOKWsuvD0SQ"   ,   "token_type"   :   "Bearer"   }

Patient Search


Table 1. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 2. Parameters

Parameter Description
lastName (Required) Last Name of patient to search
firstName (Required) First Name of patient to search
dob (Required) Date of Birth of patient to search. Format must be YYYY-MM-DD.
zip (Required) Zip of patient to search
gender (Required) Initial (i.e. 'M' or 'F') of gender of patient to search
middleName (Optional) Last Name of patient to search
street (Optional) Address of patient to search
ssn (Optional) SSNo of patient to search
insuranceId (Optional) Insurance Id of patient to search

Request

GET /api/patient/search?lastName=Smith&firstName=Emma&dob=1949-07-09&zip=95825&gender=F HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 20


{"patientNo": "MTA1" }


Curl

$ curl 'https://demoapi.meditab.com/api/patient/search?lastName=Smith&firstName=Emma&dob=1949-07-09&zip=95825&gender=F' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Demographics


Table 3. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 4. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/demographics?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 1262


<recordTarget><patientRole><id extension=" 105 " root=" 2.16.840.1.113883.4.6 "/><id root=" 2.16.840.1.113883.4.1 "/><addr use=" HP "><streetAddressLine>2233 watt avenue</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr><telecom value=" tel:(510)201-0130 " use=" HP "/><patient><name use=" L "><given>Emma</given><given>Marie</given><family>Smith</family></name><administrativeGenderCode code=" F " codeSystem=" 2.16.840.1.113883.5.1 " displayName=" Female "/><birthTime value=" 19490709 "/><raceCode code=" 2054-5 " displayName=" Black or African American " codeSystem=" 2.16.840.1.113883.6.238 " codeSystemName="Race and Ethnicity - CDC"/><ethnicGroupCode code="2186-5" displayName=" Non - Hispanic/Latino " codeSystem=" 2.16.840.1.113883.6.238 " codeSystemName="Race and Ethnicity - CDC"/><languageCommunication><languageCode code=" eng "/></languageCommunication></patient><providerOrganization><id root=" 2.16.840.1.113883.4.6 "/><name>Edit your office name</name><telecom value=" tel:(000-000-0000) " use=" WP "/><addr><streetAddressLine>Office street address</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr></providerOrganization></patientRole></recordTarget>


Curl

$ curl   'https://demoapi.meditab.com/api/patient/demographics?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Medications


Table 5. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 6. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/medications?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 366


<component><section nullFlavor=" NI "><templateId root=" 2.16.840.1.113883.10.20.22.2.1.1 " extension=" 2014-06-09 "/><templateId root=" 2.16.840.1.113883.10.20.22.2.1.1 "/><code code=" 10160-0 " codeSystem=" 2.16.840.1.113883.6.1 " codeSystemName=" LOINC " displayName=" HISTORY OF MEDICATION USE "/><title>MEDICATIONS</title><text>No known Medications</text></section></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/medications?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Vital Signs


Table 7. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 8. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/vitalSigns?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 7085


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.4.1" extension="2015-08-01"/><code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="VITAL SIGNS"/><title>VITAL SIGNS</title><text><table border="1" width="100%"><thead><tr><th align="right">Date: </th><th>Feb 20, 2017</th></tr></thead><tbody><tr><th align="left">Inhaled Oxygen Concentration</th><td><content ID="Vit1">0.000000 %</content></td></tr></tbody><tbody><tr><th align="left">Height</th><td><content ID="Vit2">167.640000 cm</content></td></tr></tbody><tbody><tr><th align="left">Temprature</th><td><content ID="Vit3">38.000000 Cel</content></td></tr></tbody><tbody><tr><th align="left">Diastolic Blood Pressure</th><td><content ID="Vit4">120.000000 mm[Hg]</content></td></tr></tbody><tbody><tr><th align="left">Systolic Blood Pressure</th><td><content ID="Vit5">85.000000 mm[Hg]</content></td></tr></tbody><tbody><tr><th align="left">Heart Rate</th><td><content ID="Vit6">75.000000 /min</content></td></tr></tbody><tbody><tr><th align="left">Respiration</th><td><content ID="Vit7">15.000000 /min</content></td></tr></tbody><tbody><tr><th align="left">Weight</th><td><content ID="Vit8">70.307000 kg</content></td></tr></tbody><tbody><tr><th align="left">BMI</th><td><content ID="Vit9">25.010000 kg/m2</content></td></tr></tbody></table></text><entry typeCode="DRIV"><organizer moodCode="EVN" classCode="CLUSTER"><templateId root="2.16.840.1.113883.10.20.22.4.26" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.26"/><id root="28cff002-67ae-49f3-8803-c8f53de67392"/><code displayName="Vital Sign" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96" code="46680005"><translation displayName="Vital Sign" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" code="74728-7"/></code><statusCode code="completed"/><effectiveTime value="20170220"/><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="c7167c33-e880-460b-b5fc-8d739c4b1694"/><code code="3150-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Inhaled Oxygen Concentration"/><text><reference value="#Vit1"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="%" value="0.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="b8c5fd30-9610-41f9-aad0-8fa497f928c2"/><code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/><text><reference value="#Vit2"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="cm" value="167.640000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="97cf2a20-e4bf-46e8-9ec9-4b744b66cdc0"/><code code="8310-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Temprature"/><text><reference value="#Vit3"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="Cel" value="38.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="085b19a8-fc76-4278-92c4-d2e145977ca7"/><code code="8462-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Diastolic Blood Pressure"/><text><reference value="#Vit4"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="mm[Hg]" value="120.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="885dc3e3-e689-48a8-831f-610f875cd601"/><code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Systolic Blood Pressure"/><text><reference value="#Vit5"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="mm[Hg]" value="85.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="8b0da8f7-2eb0-431c-9525-f4f2013d2527"/><code code="8867-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Heart Rate"/><text><reference value="#Vit6"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="/min" value="75.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="9bb57403-e6bc-4cd3-972d-c4631b6397cc"/><code code="9279-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Respiration"/><text><reference value="#Vit7"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="/min" value="15.000000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="095d49f4-875a-42e2-9f1b-d9214ab560a2"/><code code="29463-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Weight"/><text><reference value="#Vit8"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="kg" value="70.307000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="8e1fd620-a63f-4873-930a-cbd8f36e3696"/><code code="39156-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BMI"/><text><reference value="#Vit9"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="kg/m2" value="25.010000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component></organizer></entry></section></component>



Curl

$ curl     'https://demoapi.meditab.com/api/patient/vitalSigns?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Immunization


Table 9. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 10. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET   /api/patient/immunization?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01   HTTP/1.1

Target-Client:   5968babcb8392e2b4cf5fe89

Authorization:   Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:     demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:     ims-service-client:dev:-1

Content-Type:     application/json;charset=UTF-8

Content-Length:   3467


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.2.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.2.1"/><code code="11369-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of immunizations"/><title>IMMUNIZATIONS</title><text><content ID="immunSect"/><table border="1" width="100%"><thead><tr><th>Vaccine</th><th>Date</th><th>Status</th></tr></thead><tbody><tr><td><content ID="immi1"/>Hepatitis A</td><td>Dec 31, 2016</td><td>Active</td></tr><tr><td><content ID="immi2"/>Influenza</td><td>Dec 06, 2015</td><td>Active</td></tr></tbody></table></text><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="INT" negationInd="false"><templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.52"/><id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/><text><reference value="#immi1"/></text><statusCode code="active"/><effectiveTime xsi:type="IVL_TS" value="20161231" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><routeCode nullFlavor="NA"/><doseQuantity nullFlavor="NA"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.54"/><manufacturedMaterial><code code="52" codeSystem="2.16.840.1.113883.12.292" displayName="Hepatitis A" codeSystemName="CVX"><originalText>Hepatitis A</originalText></code><lotNumberText nullFlavor="NA"/></manufacturedMaterial></manufacturedProduct></consumable><entryRelationship typeCode="SUBJ" inversionInd="true"><act classCode="ACT" moodCode="INT"><templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/><code xsi:type="CE" code="171044003" codeSystem="2.16.840.1.113883.6.96" displayName="immunization education" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#immunSect"/> </text><statusCode code="completed"/></act></entryRelationship></substanceAdministration></entry><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="INT" negationInd="false"><templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.52"/><id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/><text><reference value="#immi2"/></text><statusCode code="active"/><effectiveTime xsi:type="IVL_TS" value="20151206" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><routeCode nullFlavor="NA"/><doseQuantity nullFlavor="NA"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.54"/><manufacturedMaterial><code code="141" codeSystem="2.16.840.1.113883.12.292" displayName="Influenza" codeSystemName="CVX"><originalText>Influenza</originalText></code><lotNumberText nullFlavor="NA"/></manufacturedMaterial></manufacturedProduct></consumable><entryRelationship typeCode="SUBJ" inversionInd="true"><act classCode="ACT" moodCode="INT"><templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/><code xsi:type="CE" code="171044003" codeSystem="2.16.840.1.113883.6.96" displayName="immunization education" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#immunSect"/> </text><statusCode code="completed"/></act></entryRelationship></substanceAdministration></entry></section></component>


Curl

$ curl     'https://demoapi.meditab.com/api/patient/immunization?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01'   -i -H   'Target-Client: 5968babcb8392e2b4cf5fe89'   -H   'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA'   -H   'Content-Type: application/json;charset=UTF-8'


Allergy


Table 11. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 12. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/allergy?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01   HTTP/1.1

Target-Client:   5968babcb8392e2b4cf5fe89

Authorization:   Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 6369


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.6.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.6.1"/><code code="48765-2" codeSystem="2.16.840.1.113883.6.1"/><title>ALLERGIES, ADVERSE REACTIONS, ALERTS</title><text><table border="1" width="100%"><thead><tr><th>Substance</th><th>Reaction</th><th>Severity</th><th>Status</th></tr></thead><tbody><tr><td><content ID="product1">cefadroxil</content></td><td><content ID="Reaction1">N/A</content></td><td><content ID="Severity1">Mild</content></td><td>active</td></tr><tr><td><content ID="product2">Codeine</content></td><td><content ID="Reaction2">N/A</content></td><td><content ID="Severity2">Mild</content></td><td>active</td></tr></tbody></table></text><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.30"/><id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6"/><statusCode code="active"/><effectiveTime><low value="20070515"/></effectiveTime><entryRelationship typeCode="SUBJ"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.7"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><statusCode code="completed"/><effectiveTime><low value="20070515"/></effectiveTime><value xsi:type="CD" code="419199007" displayName="Allergy to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><participant typeCode="CSM"><participantRole classCode="MANU"><playingEntity classCode="MMAT"><code codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm" displayName="cefadroxil" code="243313"><originalText><reference value="#product1"/></originalText></code></playingEntity></participantRole></participant><entryRelationship typeCode="MFST" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.9"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><text><reference value="#Reaction1"/></text><statusCode code="completed"/><effectiveTime><low value="20070515"/><high nullFlavor="NA"/></effectiveTime><value xsi:type="CD" code="NI" codeSystem="2.16.840.1.113883.6.96" displayName="N/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.8"/><code xsi:type="CE" code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#Severity1"/></text><statusCode code="completed"/><value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><interpretationCode code="S" displayName="Suceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/></observation></entryRelationship></observation></entryRelationship></observation></entryRelationship></act></entry><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.30"/><id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6"/><statusCode code="active"/><effectiveTime><low value="20070515"/></effectiveTime><entryRelationship typeCode="SUBJ"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.7"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><statusCode code="completed"/><effectiveTime><low value="20070515"/></effectiveTime><value xsi:type="CD" code="419199007" displayName="Allergy to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><participant typeCode="CSM"><participantRole classCode="MANU"><playingEntity classCode="MMAT"><code codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm" displayName="Codeine" code="2670"><originalText><reference value="#product2"/></originalText></code></playingEntity></participantRole></participant><entryRelationship typeCode="MFST" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.9"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><text><reference value="#Reaction2"/></text><statusCode code="completed"/><effectiveTime><low value="20070515"/><high nullFlavor="NA"/></effectiveTime><value xsi:type="CD" code="NI" codeSystem="2.16.840.1.113883.6.96" displayName="N/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.8"/><code xsi:type="CE" code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#Severity2"/></text><statusCode code="completed"/><value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><interpretationCode code="S" displayName="Suceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/></observation></entryRelationship></observation></entryRelationship></observation></entryRelationship></act></entry></section></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/allergy?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01'   -i -H   'Target-Client: 5968babcb8392e2b4cf5fe89'   -H   'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA'   -H   'Content-Type: application/json;charset=UTF-8'


Problems


Table 13. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 14. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/problems?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01   HTTP/1.1

Target-Client:   5968babcb8392e2b4cf5fe89

Authorization:   Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length:   1648


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.5.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.5.1"/><code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PROBLEM LIST"/><title>PROBLEMS</title><text><content ID="problems"/><list listType="ordered"><item>Problem #1<list><item>Complex ovarian cyst (disorder)</item></list></item></list></text><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.3"/><id root="ec8a6ff8-ed4b-4f7e-84c3-e98e58b45de8"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/><statusCode code="active"/><effectiveTime><low value="20170220"/></effectiveTime><entryRelationship typeCode="SUBJ"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.4"/><id root="ab1791b0-5c71-11db-b0de-0812200c9a68"/><code code="409586006" codeSystem="2.16.840.1.113883.6.96" displayName="Complaint"><translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/></code><text><reference value="Problem #1"/></text><statusCode code="completed"/><effectiveTime><low value="20170220"/></effectiveTime><value xsi:type="CD" code="421000119103" codeSystem="2.16.840.1.113883.6.96" displayName="Complex ovarian cyst (disorder)" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></entryRelationship></act></entry></section></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/problems?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01'   -i -H   'Target-Client: 5968babcb8392e2b4cf5fe89'   -H   'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA'   -H   'Content-Type: application/json;charset=UTF-8'


Labs


Table 15. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 16. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET  /api/patient/labs?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host: demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length:   3642


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.3.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.3.1"/><code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RESULTS"/><title>RESULTS</title><text><table border="1" width="100%"><thead><tr><th>Test Name</th><th>Observation Name</th><th>Actual Result</th><th>Date</th></tr></thead><tbody><tr><td ID="result1">Fasting glucose in serum or plasma</td><td>Fasting glucose in serum or plasma</td><td>75.000</td><td>Jan 31, 2017</td></tr><tr><td ID="result2">Hemoglobin A1c/hemoglobin.total in blood</td><td>Hemoglobin A1c/hemoglobin.total in blood</td><td>5.500</td><td>Jan 31, 2017</td></tr></tbody></table></text><entry typeCode="DRIV"><organizer classCode="BATTERY" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.1"/><id root="7d5a02b0-67a4-11db-bd13-0800221c9a23"/><code code="1558-6" displayName="Fasting glucose in serum or plasma" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><statusCode code="completed"/><effectiveTime><low value="20170131"/><high value="20170712"/></effectiveTime><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="201708110000000-0500"/><assignedAuthor><id root="676ea6fc-31f8-4292-a2f1-72ba567cb9e9"/><assignedPerson><name><given>Provider</given><family>Steve</family></name></assignedPerson></assignedAuthor></author><component><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.2"/><id root="f1aa44dd-6f39-4f5c-b267-897c3824b673"/><code xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CE" code="1234" displayName="Fasting glucose in serum or plasma" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><text><reference value="#Result1"/></text><statusCode code="completed"/><effectiveTime value="20170131"/><value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PQ" value="75.000" unit="mg/dl"/></observation></component></organizer></entry><entry typeCode="DRIV"><organizer classCode="BATTERY" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.1"/><id root="7d5a02b0-67a4-11db-bd13-0800221c9a23"/><code code="4548-4" displayName="Hemoglobin A1c/hemoglobin.total in blood" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><statusCode code="completed"/><effectiveTime><low value="20170131"/><high value="20170712"/></effectiveTime><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="201708110000000-0500"/><assignedAuthor><id root="676ea6fc-31f8-4292-a2f1-72ba567cb9e9"/><assignedPerson><name><given>Provider</given><family>Steve</family></name></assignedPerson></assignedAuthor></author><component><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.2"/><id root="f1aa44dd-6f39-4f5c-b267-897c3824b673"/><code xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CE" code="1234" displayName="Hemoglobin A1c/hemoglobin.total in blood" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><text><reference value="#Result2"/></text><statusCode code="completed"/><effectiveTime value="20170131"/><value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PQ" value="5.500" unit="%"/></observation></component></organizer></entry></section></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/labs?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Procedures


Table 17. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 18. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/procedures?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:     demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:     ims-service-client:dev:-1

Content-Type:     application/json;charset=UTF-8

Content-Length:   5021


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.7.1" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.2.7.1"/><code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF PROCEDURES"/><title>PROCEDURES</title><text><table border="1" width="100%"><thead><tr><th>Procedure</th><th>Date</th></tr></thead><tbody><tr><td ID="Proc1">RADEX CH 2 VIEWS FRNT&amp;LAT</td><td>Feb 20, 2017</td></tr><tr><td ID="Proc2">SCOPE OF COLON FOR DIAGNOSIS</td><td>Jan 31, 2017</td></tr><tr><td ID="Proc3">Standard chest X-ray (procedure)</td><td>Feb 20, 2017</td></tr><tr><td ID="Proc4">Colonoscopy (procedure)</td><td>Jan 31, 2017</td></tr></tbody></table></text><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.12" codeSystemName="CPT-4" code="71020" displayName="RADEX CH 2 VIEWS FRNT&amp;LAT"/><statusCode code="active"/><effectiveTime value="20170220"/><performer typeCode="PRF"><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine>Office street address</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.12" codeSystemName="CPT-4" code="45378" displayName="SCOPE OF COLON FOR DIAGNOSIS"/><statusCode code="active"/><effectiveTime value="20170131"/><performer typeCode="PRF"><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine>Office street address</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" code="168731009" displayName="Standard chest X-ray (procedure)"/><statusCode code="active"/><effectiveTime value="20170220"/><performer typeCode="PRF"><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine>Office street address</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" code="73761001" displayName="Colonoscopy (procedure)"/><statusCode code="active"/><effectiveTime value="20170131"/><performer typeCode="PRF"><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine>Office street address</streetAddressLine><city>Sacramento</city><state>CA</state><postalCode>95825</postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry></section></component>


Curl

$ curl   'https://demoapi.meditab.com/api/patient/procedures?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Device Identifiers


Table 19. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 20. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/deviceIdentifiers?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:       application/json;charset=UTF-8

Host:       demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:       ims-service-client:dev:-1

Content-Type:       application/json;charset=UTF-8

Content-Length:       404


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.23" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.2.23"/><code code="46264-8" codeSystem="2.16.840.1.113883.6.1"/><title>MEDICAL EQUIPMENT</title><text><content ID="Proc"/><list><item>Radiology picture archiving and communication system application software: Jul 12, 2017</item></list></text></section></component>


Curl

$ curl     'https://demoapi.meditab.com/api/patient/deviceIdentifiers?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'


Smoking Status


Table 21. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 22. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

   

Request

GET  /api/patient/smokingStatus?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type: application/json;charset=UTF-8

Host:   demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:         ims-service-client:dev:-1

Content-Type:         application/json;charset=UTF-8

Content-Length: 494


<component><observation classCode="OBS" moodcode="EVN"><templateID root="2.16.840.1.113883.10.20.22.4.78" extenstion="2014-06-09"/><id extension="123456789" root="2.16.840.1.113883.19"/><code code="72166-2" codeSystem="2.16.840.1.113883.6.1" displayName="Tobacco smoking status NHIS"/><statusCode code="completed"/><effectiveTime value="20170707"/><value xsi:type="CD" code="449868002" displayName="Smokes tobacco daily (finding)" codeSystem="2.16.840.1.113883.6.96"/></observation></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/smokingStatus?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'

Care Team


Table 23. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 24. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/careTeam?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:   demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 738


<performer typeCode="PRF"><time value="20170811173114+0530"/><assignedEntity><id extension="NA" root="2.16.840.1.113883.4.6"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><assignedPerson><name><given>Steve</given><family>Dirks</family></name></assignedPerson></assignedEntity></performer><performer typeCode="SPRF"><time value="20170811173114+0530"/><assignedEntity><id extension="NA" root="2.16.840.1.113883.4.6"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><assignedPerson><name><given>Nancy</given><family>Bray</family></name></assignedPerson></assignedEntity></performer>


Curl

$ curl     'https://demoapi.meditab.com/api/patient/careTeam?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'

Assessment Plan


Table 25. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 26. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET /api/patient/assessmentPlan?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:   demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 334


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.17" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.17"/><code code="29762-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Social History"/><title>SOCIAL HISTORY</title><text>No information</text></section></component>


Curl

$ curl     'https://demoapi.meditab.com/api/patient/assessmentPlan?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'

Goals


Table 27. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 28. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

   

Request

GET /api/patient/goals?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:   demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context: ims-service-client:dev:-1

Content-Type: application/json;charset=UTF-8

Content-Length: 3484


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.60"/><code code="61146-7" displayName="Goals" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><title>GOALS SECTION</title><text><table border="1" width="100%"><thead><tr><th>Goal</th><th>Date</th></tr></thead><tbody><tr><td>Increase calcium intake.</td><td>Feb 20, 2017</td></tr><tr><td> Increase exercise.</td><td>Feb 20, 2017</td></tr><tr><td></td><td>Feb 20, 2017</td></tr></tbody></table><paragraph styleCode="paragraph">Patient priority:</paragraph>high priority<br/></text><entry><observation classCode="OBS" moodCode="GOL"><templateId root="2.16.840.1.113883.10.20.22.4.121"/><id root="3700b3b0-fbed-11e2-b778-0800200c9a66"/><code code="73985-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Increase calcium intake."/><statusCode code="active"/><effectiveTime value="20170220143200"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170220143200"/><assignedAuthor><id root="d839038b-7171-4165-a760-467925b43857"/><code codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><entryRelationship typeCode="REFR"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.122"/><id root="4eab0e52-dd7d-4285-99eb-72d32ddb195c"/><code nullFlavor="NP"/><statusCode code="completed"/></act></entryRelationship></observation></entry><entry><observation classCode="OBS" moodCode="GOL"><templateId root="2.16.840.1.113883.10.20.22.4.121"/><id root="3700b3b0-fbed-11e2-b778-0800200c9a66"/><code code="73985-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName=" Increase exercise."/><statusCode code="active"/><effectiveTime value="20170220143200"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170220143200"/><assignedAuthor><id root="d839038b-7171-4165-a760-467925b43857"/><code codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><entryRelationship typeCode="REFR"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.122"/><id root="4eab0e52-dd7d-4285-99eb-72d32ddb195c"/><code nullFlavor="NP"/><statusCode code="completed"/></act></entryRelationship></observation></entry><entry><observation classCode="OBS" moodCode="GOL"><templateId root="2.16.840.1.113883.10.20.22.4.121"/><id root="3700b3b0-fbed-11e2-b778-0800200c9a66"/><code code="73985-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><statusCode code="active"/><effectiveTime value="20170220143200"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170220143200"/><assignedAuthor><id root="d839038b-7171-4165-a760-467925b43857"/><code codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><entryRelationship typeCode="REFR"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.122"/><id root="4eab0e52-dd7d-4285-99eb-72d32ddb195c"/><code nullFlavor="NP"/><statusCode code="completed"/></act></entryRelationship></observation></entry></section></component>


Curl

$ curl     'https://demoapi.meditab.com/api/patient/procedures?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'

Health Concerns


Table 29. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 30. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

   

   

Request

GET  /api/patient/healthConcerns?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:     application/json;charset=UTF-8

Host:       demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:     ims-service-client:dev:-1

Content-Type:     application/json;charset=UTF-8

Content-Length: 1397


<component><section><templateId root="2.16.840.1.113883.10.20.22.2.58" extension="2015-08-01"/><code code="75310-3" displayName="Health Concerns Document" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><title>HEALTH CONCERNS SECTION</title><text><table border="1" width="100%"><thead><tr><th>Concern</th><th>Status</th><th>Date</th></tr></thead><tbody><tr><td></td><td>Active</td><td>Feb 20, 2017</td></tr></tbody></table><table border="1" width="100%"><thead><tr><th>Related observation</th><th>Date</th></tr></thead><tbody><tr><td>General health good (finding)</td><td>Feb 20, 2017</td></tr></tbody></table></text><entry><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.132" extension="2015-08-01"/><id root="8ab400f3-0783-4fe7-aded-39ddfe584bb5"/><code code="75310-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Health Concern"/><statusCode code="active"/></act></entry><entry><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.5" extension="2014-06-09"/><id root="ef257eaa-7c74-4350-9546-6d43ceb06fd4"/><code code="11323-3" codeSystem="2.16.840.1.113883.6.1"/><statusCode code="completed"/><value xsi:type="CD" code="135815002" displayName="General health good (finding)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/></observation></entry></section></component>


Curl

$ curl 'https://demoapi.meditab.com/api/patient/healthConcerns?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'

Patient CCDA


Table 29. Headers

Name Description
Target-Client The client identifier.
Content-Type application/json
Authorization Bearer Token for Authorization

Table 30. Parameters

Parameter Description
patientUID (Required) Encrypted Patient Unique Identifier
fromDate (Optional)Date from which the data needs to be returned. Format must be YYYY-MM-DD.
toDate (Optional)Date to which the data needs to be returned. Format must be YYYY-MM-DD.

Request

GET    /api/patient/ccda?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01 HTTP/1.1

Target-Client: 5968babcb8392e2b4cf5fe89

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA

Content-Type:         application/json;charset=UTF-8

Host:           demoapi.meditab.com


Response

HTTP/1.1 200 OK

X-Application-Context:         ims-service-client:dev:-1

Content-Type:         application/json;charset=UTF-8

Content-Length:   1397

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="CDA.xsl"?><ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc" ><realmCode code="US"/><typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/><templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.1.1"/><templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.1.2"/><id extension="IMS_Clinical Summary" root="1.1.1.1.1.3.11"/><code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="34133-9" displayName="Summarization of Episode Note"/><title>Clinical Summary: Consolidated CDA</title><effectiveTime value="20170812"/><confidentialityCode code="N" displayName="Normal" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality"/><languageCode code="en-US"/><setId extension="sTT660" root="2.16.840.1.113883.19.5.99999.19"/><versionNumber value="1"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170812133830-0500"/><assignedAuthor><id extension="NONPI" root="2.16.840.1.113883.4.6"/><code codeSystem="2.16.840.1.113883.6.101"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="UNK"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><dataEnterer><assignedEntity><id root="2.16.840.1.113883.4.6" extension="NONPI"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom use="WP" value="tel:(000)-000-0000"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></dataEnterer><informant><assignedEntity><id extension="NONPI" root="2.16.840.1.113883.4.6"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom use="WP" value="tel:(000)-000-0000"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></informant><custodian><assignedCustodian><representedCustodianOrganization><id extension="NA" root="2.16.840.1.113883.4.6"/><name>Edit your office name</name><telecom value="tel:(000)-000-0000" use="WP"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedCustodianOrganization></assignedCustodian></custodian><informationRecipient><intendedRecipient><informationRecipient><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></informationRecipient><receivedOrganization><name>Edit your office name</name></receivedOrganization></intendedRecipient></informationRecipient><legalAuthenticator><time value="20170812"/><signatureCode code="S"/><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom use="WP" value="tel:(000)-000-0000"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></legalAuthenticator><authenticator><time value="20170812"/><signatureCode code="S"/><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom use="WP" value="tel:(000)-000-0000"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></authenticator><authenticator><time value="20170812"/><signatureCode code="S"/><assignedEntity><id root="2.16.840.1.113883.4.6"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom use="WP" value="tel:(000)-000-0000"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Dirks</family></name></assignedPerson></assignedEntity></authenticator><documentationOf typeCode="DOC"><serviceEvent classCode="PCPR"><code code="421000119103" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT" displayName="Complex ovarian cyst (disorder)"/><effectiveTime><low value="20170707"/><high value="20170707"/></effectiveTime><performer typeCode="PRF"><functionCode code="PP" displayName="Primary Care Provider" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role"><originalText>Primary Care Provider</originalText></functionCode><time><low value="19490709"/><high value="20170812"/></time><assignedEntity><id extension="PseudoMD-1" root="2.16.840.1.113883.4.6"/><code code="208D00000X" displayName="General Practice" codeSystemName="Provider Codes" codeSystem="2.16.840.1.113883.6.101"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="UNK"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></assignedPerson><representedOrganization><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></serviceEvent></documentationOf><documentationOf typeCode="DOC"><serviceEvent classCode="PCPR"><code code="421000119103" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT" displayName="Complex ovarian cyst (disorder)"/><effectiveTime><low value="20170707"/><high value="20170707"/></effectiveTime><performer typeCode="PRF"><functionCode code="PP" displayName="Primary Care Provider" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role"><originalText>Primary Care Provider</originalText></functionCode><time><low value="19490709"/><high value="20170812"/></time><assignedEntity><id extension="PseudoMD-1" root="2.16.840.1.113883.4.6"/><code code="208D00000X" displayName="General Practice" codeSystemName="Provider Codes" codeSystem="2.16.840.1.113883.6.101"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="UNK"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Provider</family></name></assignedPerson><representedOrganization><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></serviceEvent></documentationOf><documentationOf typeCode="DOC"><serviceEvent classCode="PCPR"><code code="421000119103" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT" displayName="Complex ovarian cyst (disorder)"/><effectiveTime><low value="20170707"/><high value="20170707"/></effectiveTime><performer typeCode="PRF"><functionCode code="PP" displayName="Primary Care Provider" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role"><originalText>Primary Care Provider</originalText></functionCode><time><low value="19490709"/><high value="20170812"/></time><assignedEntity><id extension="PseudoMD-1" root="2.16.840.1.113883.4.6"/><code code="208D00000X" displayName="General Practice" codeSystemName="Provider Codes" codeSystem="2.16.840.1.113883.6.101"/><addr><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="UNK"/><assignedPerson><name><prefix>Dr.</prefix><given>Steve</given><family>Dirks</family></name></assignedPerson><representedOrganization><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></serviceEvent></documentationOf><componentOf><encompassingEncounter><id extension="1" root="2.16.840.1.113883.4.6"/><effectiveTime><low value="20170707"/><high value="20170131"/></effectiveTime><responsibleParty><assignedEntity><id root="2.16.840.1.113883.4.6"/><assignedPerson><name><prefix>Dr</prefix><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></responsibleParty><encounterParticipant typeCode="ATND"><assignedEntity><id root="2.16.840.1.113883.4.6"/><assignedPerson><name><prefix>Dr</prefix><given>Steve</given><family>Provider</family></name></assignedPerson></assignedEntity></encounterParticipant><location><healthCareFacility><id extension="9985647" root="2.16.840.1.113883.19"/><code code="261QU0200X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="NUCC" displayName="Urgent Care"/><location><name>Edit your office name</name><addr><streetAddressLine>Office street address</streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></location></healthCareFacility></location></encompassingEncounter></componentOf><component><structuredBody><component><section><templateId root="2.16.840.1.113883.10.20.22.2.6.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.6.1"/><code code="48765-2" codeSystem="2.16.840.1.113883.6.1"/><title>ALLERGIES, ADVERSE REACTIONS, ALERTS</title><text><table border="1" width="100%"><thead><tr><th>Substance</th><th>Reaction</th><th>Severity</th><th>Status</th></tr></thead><tbody><tr><td><content ID="product1">cefadroxil</content></td><td><content ID="Reaction1">N/A</content></td><td><content ID="Severity1">Mild</content></td><td>Active</td></tr><tr><td><content ID="product2">Codeine</content></td><td><content ID="Reaction2">N/A</content></td><td><content ID="Severity2">Mild</content></td><td>Active</td></tr></tbody></table></text><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.30"/><id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6"/><statusCode code="active"/><effectiveTime><low value="20070515"/></effectiveTime><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.7"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><statusCode code="completed"/><effectiveTime><low value="20070515"/></effectiveTime><value xsi:type="CD" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><participant typeCode="CSM"><participantRole classCode="MANU"><playingEntity classCode="MMAT"><code codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm" displayName="cefadroxil" code="243313"><originalText><reference value="#product1"/></originalText></code></playingEntity></participantRole></participant><entryRelationship typeCode="MFST" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.9"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><text><reference value="#Reaction1"/></text><statusCode code="completed"/><effectiveTime><low value="20070515"/><high nullFlavor="NA"/></effectiveTime><value xsi:type="CD" codeSystem="2.16.840.1.113883.6.96" displayName="N/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.8"/><code xsi:type="CE" code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#Severity1"/></text><statusCode code="completed"/><value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><interpretationCode code="S" displayName="Suceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/></observation></entryRelationship></observation></entryRelationship></observation></entryRelationship></act></entry><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.30"/><id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6"/><statusCode code="active"/><effectiveTime><low value="20070515"/></effectiveTime><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.7"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><statusCode code="completed"/><effectiveTime><low value="20070515"/></effectiveTime><value xsi:type="CD" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><participant typeCode="CSM"><participantRole classCode="MANU"><playingEntity classCode="MMAT"><code codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm" displayName="Codeine" code="2670"><originalText><reference value="#product2"/></originalText></code></playingEntity></participantRole></participant><entryRelationship typeCode="MFST" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.9"/><id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/><code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/><text><reference value="#Reaction2"/></text><statusCode code="completed"/><effectiveTime><low value="20070515"/><high nullFlavor="NA"/></effectiveTime><value xsi:type="CD" codeSystem="2.16.840.1.113883.6.96" displayName="N/A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><entryRelationship typeCode="SUBJ" inversionInd="true"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.8"/><code xsi:type="CE" code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#Severity2"/></text><statusCode code="completed"/><value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><interpretationCode code="S" displayName="Suceptible" codeSystem="2.16.840.1.113883.1.11.78" codeSystemName="Observation Interpretation"/></observation></entryRelationship></observation></entryRelationship></observation></entryRelationship></act></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.1.1" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.2.1.1"/><code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF MEDICATION USE"/><title>Medications</title><text><table border="1" width="100%"><thead><tr><th>Medication</th><th>Directions</th><th>Start Date</th><th>Status</th><th>Indications</th><th>Fill Instructions</th></tr></thead><tbody><tr><td><content ID="MED1">TEMAZEPAM 15 MG CAPSULE</content></td><td>2 times daily</td><td>Feb 20, 2017</td><td>Active</td><td>TEMAZEPAM 15 MG CAPSULE</td><td><content ID="FillIns1"></content></td></tr><tr><td><content ID="MED2">IBUPROFEN 800 MG TABLET</content></td><td></td><td>Jan 31, 2017</td><td>Active</td><td>IBUPROFEN 800 MG TABLET</td><td><content ID="FillIns2"></content></td></tr></tbody></table></text><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.16"/><id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/><statusCode code="active"/><effectiveTime xsi:type="EIVL_TS"><low value="20170220"/><high nullFlavor="NA"/></effectiveTime><doseQuantity value="0.000000"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.23"/><id root="2a620155-9d11-439e-92b3-5d9816ff4ee8"/><manufacturedMaterial><code code="198241" displayName="TEMAZEPAM 15 MG CAPSULE" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/></manufacturedMaterial></manufacturedProduct></consumable></substanceAdministration></entry><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.16"/><id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/><statusCode code="active"/><effectiveTime xsi:type="EIVL_TS"><low value="20170131"/><high nullFlavor="NA"/></effectiveTime><doseQuantity value="0.000000"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.23"/><id root="2a620155-9d11-439e-92b3-5d9816ff4ee8"/><manufacturedMaterial><code code="197807" displayName="IBUPROFEN 800 MG TABLET" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/></manufacturedMaterial></manufacturedProduct></consumable></substanceAdministration></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.5.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.5.1"/><code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PROBLEM LIST"/><title>PROBLEMS</title><text><content ID="problems"/><list listType="ordered"><item>Problem #1<list><item>Complex ovarian cyst (disorder)</item></list></item></list></text><entry typeCode="DRIV"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.3"/><id root="ec8a6ff8-ed4b-4f7e-84c3-e98e58b45de8"/><code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/><statusCode code="completed"/><effectiveTime><low value="20170220"/><high value="20170220"/></effectiveTime><entryRelationship typeCode="SUBJ"><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.4"/><id root="ab1791b0-5c71-11db-b0de-0812200c9a68"/><code code="409586006" codeSystem="2.16.840.1.113883.6.96" displayName="Complaint"><translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/></code><text><reference value="Problem #1"/></text><statusCode code="completed"/><effectiveTime><low value="20170220"/><high value="20170220"/></effectiveTime><value xsi:type="CD" code="421000119103" codeSystem="2.16.840.1.113883.6.96" displayName="Complex ovarian cyst (disorder)" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></entryRelationship></act></entry></section></component><component><section nullFlavor="NI"><templateId root="2.16.840.1.113883.10.20.22.2.22.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.22.1"/><code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/><title>ENCOUNTERS</title><text>No Encounters</text></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.7.1" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.2.7.1"/><code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF PROCEDURES"/><title>PROCEDURES</title><text><table border="1" width="100%"><thead><tr><th>Procedure</th><th>Date</th></tr></thead><tbody><tr><td ID="Proc1">RADEX CH 2 VIEWS FRNT&LAT</td><td>Feb 20, 2017</td></tr><tr><td ID="Proc2">SCOPE OF COLON FOR DIAGNOSIS</td><td>Jan 31, 2017</td></tr><tr><td ID="Proc3">Standard chest X-ray (procedure)</td><td>Feb 20, 2017</td></tr><tr><td ID="Proc4">Colonoscopy (procedure)</td><td>Jan 31, 2017</td></tr></tbody></table></text><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.12" codeSystemName="CPT-4" code="71020" displayName="RADEX CH 2 VIEWS FRNT&LAT"/><statusCode code="completed"/><effectiveTime value="20170220"/><performer><assignedEntity><id root="2.16.840.1.113883.19.5.9999.456"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.12" codeSystemName="CPT-4" code="45378" displayName="SCOPE OF COLON FOR DIAGNOSIS"/><statusCode code="completed"/><effectiveTime value="20170131"/><performer><assignedEntity><id root="2.16.840.1.113883.19.5.9999.456"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" code="168731009" displayName="Standard chest X-ray (procedure)"/><statusCode code="completed"/><effectiveTime value="20170220"/><performer><assignedEntity><id root="2.16.840.1.113883.19.5.9999.456"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry><entry typeCode="DRIV"><procedure classCode="PROC" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.14"/><id root="d68b7e32-7811-4f5b-9cc2-acd54b0fd85d"/><code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" code="73761001" displayName="Colonoscopy (procedure)"/><statusCode code="completed"/><effectiveTime value="20170131"/><performer><assignedEntity><id root="2.16.840.1.113883.19.5.9999.456"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr><telecom nullFlavor="NI"/><representedOrganization classCode="ORG"><id root="2.16.840.1.113883.19.5.9999.1393"/><name>Edit your office name</name><telecom use="WP" value="tel:(000)-000-0000"/><addr use="WP"><streetAddressLine></streetAddressLine><city></city><state></state><postalCode></postalCode><country>US</country></addr></representedOrganization></assignedEntity></performer></procedure></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.2.1" extension="2015-08-01"/><code code="11369-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of immunizations"/><title>IMMUNIZATIONS</title><text><content ID="immunSect"/><table border="1" width="100%"><thead><tr><th>Vaccine</th><th>Date</th><th>Status</th></tr></thead><tbody><tr><td><content ID="immi1"/>Hepatitis A</td><td>Dec 31, 2016</td><td>Completed</td></tr><tr><td><content ID="immi2"/>Influenza</td><td>Dec 06, 2015</td><td>Completed</td></tr></tbody></table></text><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="INT" negationInd="false"><templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.52"/><id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/><text><reference value="#immi1"/></text><statusCode code="completed"/><effectiveTime xsi:type="IVL_TS" value="20161231" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><routeCode nullFlavor="UNK"/><doseQuantity nullFlavor="UNK"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.54"/><manufacturedMaterial><code code="52" codeSystem="2.16.840.1.113883.12.292" displayName="Hepatitis A" codeSystemName="CVX"><originalText>Hepatitis A</originalText></code><lotNumberText nullFlavor="NA"/></manufacturedMaterial></manufacturedProduct></consumable><entryRelationship typeCode="SUBJ" inversionInd="true"><act classCode="ACT" moodCode="INT"><templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/><code xsi:type="CE" code="171044003" codeSystem="2.16.840.1.113883.6.96" displayName="immunization education" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#immunSect"/> </text><statusCode code="completed"/></act></entryRelationship></substanceAdministration></entry><entry typeCode="DRIV"><substanceAdministration classCode="SBADM" moodCode="INT" negationInd="false"><templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.52"/><id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/><text><reference value="#immi2"/></text><statusCode code="completed"/><effectiveTime xsi:type="IVL_TS" value="20151206" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><routeCode nullFlavor="UNK"/><doseQuantity nullFlavor="UNK"/><consumable><manufacturedProduct classCode="MANU"><templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.54"/><manufacturedMaterial><code code="141" codeSystem="2.16.840.1.113883.12.292" displayName="Influenza" codeSystemName="CVX"><originalText>Influenza</originalText></code><lotNumberText nullFlavor="NA"/></manufacturedMaterial></manufacturedProduct></consumable><entryRelationship typeCode="SUBJ" inversionInd="true"><act classCode="ACT" moodCode="INT"><templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/><code xsi:type="CE" code="171044003" codeSystem="2.16.840.1.113883.6.96" displayName="immunization education" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><text><reference value="#immunSect"/> </text><statusCode code="completed"/></act></entryRelationship></substanceAdministration></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.4.1" extension="2015-08-01"/><code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="VITAL SIGNS"/><title>VITAL SIGNS</title><text><table border="1" width="100%"><thead><tr><th align="right">Date: </th><th>Feb 20, 2017</th></tr></thead><tbody><tr><th align="left">Systolic Blood Pressure</th><td><content ID="Vit1">120 mm[Hg]</content></td></tr></tbody><tbody><tr><th align="left">Weight</th><td><content ID="Vit2">70.307 kg</content></td></tr></tbody><tbody><tr><th align="left">Height</th><td><content ID="Vit3">167.64 cm</content></td></tr></tbody><tbody><tr><th align="left">Inhaled Oxygen Concentration</th><td><content ID="Vit4">0.00 %</content></td></tr></tbody><tbody><tr><th align="left">BMI</th><td><content ID="Vit5">25.01 kg/m2</content></td></tr></tbody><tbody><tr><th align="left">Respiration</th><td><content ID="Vit6">15 /min</content></td></tr></tbody><tbody><tr><th align="left">Heart Rate</th><td><content ID="Vit7">75 /min</content></td></tr></tbody><tbody><tr><th align="left">Temprature</th><td><content ID="Vit8">38.0000 Cel</content></td></tr></tbody><tbody><tr><th align="left">Diastolic Blood Pressure</th><td><content ID="Vit9">85 mm[Hg]</content></td></tr></tbody></table></text><entry typeCode="DRIV"><organizer moodCode="EVN" classCode="CLUSTER"><templateId root="2.16.840.1.113883.10.20.22.4.26" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.26"/><id root="6ac74ddf-ae34-44fe-868b-1ea6aa240b66"/><code displayName="Vital Sign" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96" code="46680005"><translation displayName="Vital Sign" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" code="74728-7"/></code><statusCode code="completed"/><effectiveTime value="20170220"/><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="cb097868-62c5-46f1-9143-532df94a436e"/><code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Systolic Blood Pressure"/><text><reference value="#Vit1"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="mm[Hg]" value="120" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="17832da9-c0c8-48bb-8325-1dea97f7ce63"/><code code="29463-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Weight"/><text><reference value="#Vit2"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="kg" value="70.307" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="d29c36ed-984a-4d27-b576-1268f5cae564"/><code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/><text><reference value="#Vit3"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="cm" value="167.64" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="a444b9b9-daa6-4cfa-9ba1-c856297cd618"/><code code="3150-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Inhaled Oxygen Concentration"/><text><reference value="#Vit4"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="%" value="0.00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="b744e995-bc4a-439b-a1da-8b37b8bbdcdd"/><code code="39156-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BMI"/><text><reference value="#Vit5"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="kg/m2" value="25.01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="82922f35-d244-41ac-9354-4bfdcf6bab2b"/><code code="9279-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Respiration"/><text><reference value="#Vit6"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="/min" value="15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="03c178cb-cc97-4853-8897-96aa159152bb"/><code code="8867-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Heart Rate"/><text><reference value="#Vit7"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="/min" value="75" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="26bb1931-369e-4453-ab3b-efec337ea1bb"/><code code="8310-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Temprature"/><text><reference value="#Vit8"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="Cel" value="38.0000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component><component><observation moodCode="EVN" classCode="OBS"><templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.4.27"/><id root="13366fc1-0a8a-444e-95a1-e886aa496098"/><code code="8462-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Diastolic Blood Pressure"/><text><reference value="#Vit9"/></text><statusCode code="completed"/><effectiveTime value="20170220"/><value xsi:type="PQ" unit="mm[Hg]" value="85" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></observation></component></organizer></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.3.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.3.1"/><code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RESULTS"/><title>RESULTS</title><text><table border="1" width="100%"><thead><tr><th>Test Name</th><th>Observation Name</th><th>Actual Result</th><th>Date</th></tr></thead><tbody><tr><td ID="result1">Hemoglobin A1c/hemoglobin.total in blood</td><td>Hemoglobin A1c/hemoglobin.total in blood</td><td>5.500</td><td>Jan 31, 2017</td></tr><tr><td ID="result2">Fasting glucose in serum or plasma</td><td>Fasting glucose in serum or plasma</td><td>75.000</td><td>Jan 31, 2017</td></tr></tbody></table></text><entry typeCode="DRIV"><organizer classCode="BATTERY" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.1"/><id root="7d5a02b0-67a4-11db-bd13-0800221c9a23"/><code code="4548-4" displayName="Hemoglobin A1c/hemoglobin.total in blood" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><statusCode code="completed"/><effectiveTime><low value="20170131"/><high value="20170131"/></effectiveTime><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170812"/><assignedAuthor><id root="0d57967b-2180-4d8f-af27-6113a5a35939"/><code code="163W00000X" codeSystem="2.16.840.1.113883.5.53" codeSystemName="Health Care Provider Taxonomy" displayName="Registered nurse"/><assignedPerson><name><given>Provider</given><family>Steve</family></name></assignedPerson><representedOrganization><id root="2.16.840.1.113883.19.5"/><name>Lab of your choice</name></representedOrganization></assignedAuthor></author><component><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.2"/><id root="f1aa44dd-6f39-4f5c-b267-897c3824b673"/><code xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CE" displayName="Hemoglobin A1c/hemoglobin.total in blood" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><text><reference value="#Result1"/></text><statusCode code="completed"/><effectiveTime value="20170131"/><value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PQ" value="5.500" unit="%"/><author><time/><assignedAuthor><id root="2a620155-9d11-439e-92b3-5d9816ff4de8"/></assignedAuthor></author></observation></component></organizer></entry><entry typeCode="DRIV"><organizer classCode="BATTERY" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.1"/><id root="7d5a02b0-67a4-11db-bd13-0800221c9a23"/><code code="1558-6" displayName="Fasting glucose in serum or plasma" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><statusCode code="completed"/><effectiveTime><low value="20170131"/><high value="20170131"/></effectiveTime><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170812"/><assignedAuthor><id root="0d57967b-2180-4d8f-af27-6113a5a35939"/><code code="163W00000X" codeSystem="2.16.840.1.113883.5.53" codeSystemName="Health Care Provider Taxonomy" displayName="Registered nurse"/><assignedPerson><name><given>Provider</given><family>Steve</family></name></assignedPerson><representedOrganization><id root="2.16.840.1.113883.19.5"/><name>Lab of your choice</name></representedOrganization></assignedAuthor></author><component><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.4.2"/><id root="f1aa44dd-6f39-4f5c-b267-897c3824b673"/><code xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CE" displayName="Fasting glucose in serum or plasma" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><text><reference value="#Result2"/></text><statusCode code="completed"/><effectiveTime value="20170131"/><value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PQ" value="75.000" unit="mg/dl"/><author><time/><assignedAuthor><id root="2a620155-9d11-439e-92b3-5d9816ff4de8"/></assignedAuthor></author></observation></component></organizer></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.17" extension="2015-08-01"/><templateId root="2.16.840.1.113883.10.20.22.2.17"/><code code="29762-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Social History"/><title>SOCIAL HISTORY</title><text>No information</text></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.23" extension="2014-06-09"/><templateId root="2.16.840.1.113883.10.20.22.2.23"/><code code="46264-8" codeSystem="2.16.840.1.113883.6.1"/><title>MEDICAL EQUIPMENT</title><text><content ID="Proc"/><list><item>Patient has no history of implantable devices: </item></list></text></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.58" extension="2015-08-01"/><code code="75310-3" displayName="Health Concerns Document" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><title>Health Concerns Section</title><text><table border="1" width="100%"><thead><tr><th>Concern</th><th>Status</th><th>Date</th></tr></thead><tbody><tr><td></td><td>active</td><td>Feb 20, 2017</td></tr></tbody></table><table border="1" width="100%"><thead><tr><th>Related observation</th><th>Date</th></tr></thead><tbody><tr><td>General health good (finding)</td><td>Feb 20, 2017</td></tr></tbody></table></text><entry><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.132" extension="2015-08-01"/><id nullFlavor="UNK"/><code code="75310-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Health Concern"/><statusCode code="active"/></act></entry><entry><observation classCode="OBS" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.5" extension="2014-06-09"/><id root="ef257eaa-7c74-4350-9546-6d43ceb06fd4"/><code code="11323-3" codeSystem="2.16.840.1.113883.6.1"/><statusCode code="completed"/><value xsi:type="CD" code="135815002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/></observation></entry></section></component><component><section><templateId root="2.16.840.1.113883.10.20.22.2.60"/><code code="61146-7" displayName="Goals" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/><title>Goals Section</title><text><table border="1" width="100%"><thead><tr><th>Goal</th><th>Date</th></tr></thead><tbody><tr><td>Increase calcium intake.</td><td>Feb 20, 2017</td></tr><tr><td> Increase exercise.</td><td>Feb 20, 2017</td></tr></tbody></table><paragraph styleCode="paragraph">Patient priority:</paragraph>high priority<br/></text><entry><observation classCode="OBS" moodCode="GOL"><templateId root="2.16.840.1.113883.10.20.22.4.121"/><id root="3700b3b0-fbed-11e2-b778-0800200c9a66"/><code codeSystem="codeSystem" codeSystemName="LOINC" displayName="Increase calcium intake."/><statusCode code="active"/><effectiveTime value="20170220"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170220"/><assignedAuthor><id root="d839038b-7171-4165-a760-467925b43857"/><code codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><entryRelationship typeCode="REFR"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.122"/><id root="4eab0e52-dd7d-4285-99eb-72d32ddb195c"/><code nullFlavor="NP"/><statusCode code="completed"/></act></entryRelationship></observation></entry><entry><observation classCode="OBS" moodCode="GOL"><templateId root="2.16.840.1.113883.10.20.22.4.121"/><id root="3700b3b0-fbed-11e2-b778-0800200c9a66"/><code codeSystem="codeSystem" codeSystemName="LOINC" displayName=" Increase exercise."/><statusCode code="active"/><effectiveTime value="20170220"/><author><templateId root="2.16.840.1.113883.10.20.22.4.119"/><time value="20170220"/><assignedAuthor><id root="d839038b-7171-4165-a760-467925b43857"/><code codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/><assignedPerson><name><given>Steve</given><family>Provider</family></name></assignedPerson></assignedAuthor></author><entryRelationship typeCode="REFR"><act classCode="ACT" moodCode="EVN"><templateId root="2.16.840.1.113883.10.20.22.4.122"/><id root="4eab0e52-dd7d-4285-99eb-72d32ddb195c"/><code nullFlavor="NP"/><statusCode code="completed"/></act></entryRelationship></observation></entry></section></component></structuredBody></component></ClinicalDocument>

   

Curl

$ curl   'https://demoapi.meditab.com/api/patient/ccda?patientUID=MTA1&fromDate=1900-01-01&toDate=9999-01-01' -i -H 'Target-Client: 5968babcb8392e2b4cf5fe89' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6ZzRSRVZDUkRSRE5EYzNSamt4TXpWRU1EQTJSRUkwTmprd1FUY3pSamczT0RVNU4wVkZOUSJ9.eyJpc3MiOiJodHRwczovL2Fua3VyYS5hdXRoMC5jb20vIiwic3ViIjoidTZOVXNIcjNkUXB0Um5Hd1d1SnphNGZHdEdwaVlNbVBAY2xpZW50cyIsImF1ZCI6Imltcy1jY2RhLWFwaSIsImV4cCI6MTUwMTc2Mjk5NSwiaWF0IjoxNTAxNjc2NTk1LCJzY29wZSI6InJlYWQ6cGF0aWVudCIsImh0dHBzOi8vbWVkcGhhcm1zZXJ2aWNlcy9tZXRhZGF0YSI6eyJuaWNrbmFtZSI6ImFua3VyIn19.uWV1DPY5QOUgM2QueHVUmb4MFtmokLu6oEaxxc93beba-JEPmsj50okxL_3xIZONWtps8Mf1BnDjStkgpFYyeq_gg7JWIT6ndOO8rbEwMVMg1AoV0Nmep2qDIA-Ucb1Guum5feG9qK8BADCQpHwvnI_hlIXTKR3wzJzQCi6XGpcFM7NHBQKULEJ5AqyQjZBDDjo0Qo4MzsDAazggdssR8TJWIn8AAhaLA1j3DCZ3e7ZJ7KMbBWk3VTIbJcv3apKEMZT6WhSgRjcQOEKXj5KbfT7q5OHwCqBLHOJoZ4mi8WPBtt0L2ifFf18vAPew6gM1reJrG4kAbZktAAs9N_dlfA' -H 'Content-Type: application/json;charset=UTF-8'    

Error Codes


Meditab Patient API methods will return an error if you do not make your request with the correct parameters and endpoints.HTTP Response Codes are meaningful to understand. Meaningful error messages will be presented to the Developers. Please refer below table for the possible error scenarios with the standard HTTP status codes.

HTTP Error Code Description
200 (Success Response) API will successfully return the requested data/response.
300 (Multiple records) When multiple patients found in the resource server while calling the patient search API for given search critiera.
400 (Bad Request) The request failed because it is missing or contained invalid value. The value could be a parameter value, a header value, property value, wrong URL or wrong method etc.
401 (Unauthorized access) If the access token used in the request is invalid, expired, or the user has not been authorized to access the requested Resource.
404 (Not Found) When patient is not found in the resource server. Unique client identifier (Target-Client) is incorrect.
417 (Expectation failed) API services are disabled at client's end or patient has not given the consent to access the data.
500 (Internal Server error) Network or connectivity issue on API server or resource server or any other server related issue.
Share by: