Post ValueSet with filter
POST {{host}}/terminology/ValueSet
Request Body
[{"name"=>"data", "value"=>"{\n \"resourceType\": \"ValueSet\",\n \"meta\": {\n \"lastUpdated\": \"2019-11-01T09:29:23.356+11:00\",\n \"profile\": [\n \"http://hl7.org/fhir/StructureDefinition/shareablevalueset\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div>!-- Snipped for Brevity --></div>\"\n },\n \"url\": \"http://hl7.org/fhir/ValueSet/filter-test\",\n \"version\": \"4.0.4\",\n \"name\": \"filter-test\",\n \"title\": \"Iso 3166 Part 1: 3 Letter Codes\",\n \"status\": \"active\",\n \"experimental\": false,\n \"publisher\": \"FHIR Project team\",\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"url\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ]\n }\n ],\n \"description\": \"This value set defines the ISO 3166 Part 1 3-letter codes\",\n \"compose\": {\n \"include\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/testCS\",\n \"filter\": [\n {\n \"property\": \"display\",\n \"op\": \"regex\",\n \"value\": \"^[A-Z]{3}$\"\n }\n ]\n }\n ]\n }\n}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
content-type | string |