Smart Container API Documentation for SMART App Developers

Unknown macro: {composition-setup}

This is the technical API documentation for SMART app developers.

Overview

The smartcontainer module supports the following SMART REST calls for SMART data types according to SMART REST API specification.

The typical base URL is

http://127.0.0.1:9999/openmrs/smartcontainer/rest/api/

Container Calls

Capabilities

Ontology

User

Record Calls

Allergy

Demographics

Get all demographics for a patient.

GET /records/{patient_id}/demographics

Unknown macro: {toggle-cloak}
Click here to see typical output

Unknown macro: {cloak}

<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sp="http://smartplatforms.org/terms#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:v="http://www.w3.org/2006/vcard/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <foaf:Person rdf:nodeID="node167gl12stx1"> <foaf:givenName>Horatio</foaf:givenName> <foaf:familyName>Hornblower</foaf:familyName> <foaf:gender>male</foaf:gender> <sp:zipcode>46202</sp:zipcode> <sp:birthday>1994-05-25</sp:birthday> </foaf:Person> </rdf:RDF>

Unknown macro: {cloak}

Fulfillment

Lab Result

Get all the lab results for a given patient

Unknown macro: {toggle-cloak}
Click here to see typical output

Unknown macro: {cloak}

Unknown macro: {cloak}

Lab Result Panel

Medication

Get All medications for a patient

Unknown macro: {toggle-cloak}
Click here to see typical output

Note

Problem

Get all problems for a given patient.

Click here to see typical output

Vital Signs

Get all Vital signs for a given patient.

Click here to see typical output