How to search codes on particular code-system

I am searching for partial codes from the specific codesystem based on search criteria, But am getting all the code system which matches the criteria

Please see the below link which tells that what am searching for:
http://localhost:8090/hapi-fhir-jpaserver/fhir/CodeSystem?code=Patient,Doctor&_id=simon_codes

Hi @Ashok_Siramdasu

Kindly note that we cannot access the URL you sent because that is only on your computer so everyone on the forum cannot access or see what you are seeing. Here is a query similar to yours on a publicly accessible server: http://fhir.hl7fundamentals.org/r4/CodeSystem?code=U,chol-mass&_id=17582

May you state what your question is about this query?

Hi @Blessed_Tabvirwa, I have a code system with 10 different codes from that I need only two codes, so can i apply filter on that to get specific codes from code system through URL query paramters???

Hi @Ashok_Siramdasu

May you have a look at this wiki page for the available search options that you can use to filter out for only the codes your want: https://www.hl7.org/fhir/codesystem.html#search

Also look at the general FHIR search wiki for more search options: https://www.hl7.org/fhir/search.html

Hi @Blessed_Tabvirwa,
Yeah am using the search paramter(code), But while searching with code it is getting all the resources by matching the code, But I want to get only the codes matched with in one code system resource.

Ex: I need only active and stopped codes, But am getting all the codes if it matches with any one of the code in particular code-system

{

“resourceType”: “CodeSystem”,
“id”: “xxxxxxxxxxxxxxxxxxxxx”,
“content”: “complete”,
“concept”: [
{
“code”: “active”,
“display”: “Active”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “completed”,
“display”: “Completed”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “entered-in-error”,
“display”: “Entered in Error”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “intended”,
“display”: “Intended”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “stopped”,
“display”: “Inactive”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “on-hold”,
“display”: “On Hold”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “unknown”,
“display”: “Unknown”,
“definition”: “xxxxxxxxxxxxx”
},
{
“code”: “not-taken”,
“display”: “Not Taken”,
“definition”: “xxxxxxxxxxxxx”
}
]
}

Perhaps you have not configured your server correctly. Why don’t you try posting your question here: https://groups.google.com/g/hapi-fhir