DGHS Project

Looking for help?
< All Topics
Print

Value Set API

Request :

GET – https://{{tr_server}}/openmrs/ws/rest/v1/tr/vs/{{valueset_name}}

Authorization :

Username

Password

Headers:

None

Response(Example)
{ 
   "resourceType":"ValueSet",
   "identifier":"https://{{tr_server}}/openmrs/ws/rest/v1/tr/vs/{{valueset_name}}",
   "name":{{valueset_name}},
   "description":"",
   "status":"active",
   "codeSystem":{ 
      "system":"https://{{tr_server}}/openmrs/ws/rest/v1/tr/vs/{{valueset_name}}",
      "caseSensitive":true,
      "concept":[ 
         { 
            "code":"385669000",
            "display":"Procedure Outcome Successful",
            "definition":""
         },
         { 
            "code":"385671000",
            "display":"Procedure Outcome Unsuccessful",
            "definition":""
         },
         { 
            "code":"385670004",
            "display":"Procedure Outcome Partially Successful",
            "definition":""
         }
      ]
   }
}
Table of Contents