Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

1. Format

The API is based on REST convention and would use JSON forma for exchange of data.


2. Authentication


This API needs Basic Authentication. The username and passwords will be of a user created in TR system with role TR API CONSUMER.


GET http://{tr-server}/openmrs/ws/rest/v1/tr/concepts/{identifier}

 

 {
    "uuid": "bd6d50e2-878d-11e5-95dd-005056b0145c",
    "uri": "http://{tr-server}/openmrs/ws/rest/v1/tr/concepts/{identifier}",
    "version": "0.1",
    "datatypeName": "N/A",
    "conceptClass": "Diagnosis",
    "retireReason": null,
    "fullySpecifiedName": {
        "conceptName": "Acute nasopharyngitis [common cold]",
        "conceptNameType": "FULLY_SPECIFIED",
        "locale": "en",
        "preferred": true
    },
    "names": [
        {
            "conceptName": "Acute nasopharyngitis [common cold]",
            "conceptNameType": "FULLY_SPECIFIED",
            "locale": "en",
            "preferred": true
        }
    ],
    "referenceTerms": [
        {
            "uri": "http://{tr-server}/openmrs/ws/rest/v1/tr/referenceterms/{identifier}",
            "uuid": "bd6d809c-878d-11e5-95dd-005056b0145c",
            "code": "J00",
            "name": "Acute nasopharyngitis [common cold]",
            "conceptSource": {
                "uuid": "a6d721b4-7d6b-11e5-a0cb-005056b0145c",
                "name": "ICD10-BD",
                "description": "ICD10-BD",
                "hl7Code": "ICD10-BD"
            },
            "mapType": "SAME-AS",
            "retired": false,
            "conceptReferenceTermMaps": []
        }
    ],
    "description": null,
    "setMembers": [],
    "properties": {},
    "conceptAnswers": [],
    "set": false,
    "retired": false
}

In this page:

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.