ValueSet
ValueSet contains all currently available entries (codes and display values) of the selected catalog on the SAMPLES Server.
These codes shall be used in a ServiceRequest (creating an order).
Query
Endpoint
GET <serveraddress>/fhir/ValueSet
This returns a Bundle with all available ValueSets.
Parameter
Parameter |
Query example |
Description |
id |
<endpoint>/<id> |
the technical id of the catalog |
Following ids are available:
- cellpopulations
- clinicaltrials
- diagnoses
- goals
- indications
- medications
- sampletypes
- units
Examples
Cell populations
{
"name": "SAMPLES Server ValueSet for cell populations",
"description": "This ValueSet contains all currently available cell populations on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/cellpopulations",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
"value": "cellpopulations"
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/cellpopulations",
"code": "CELLPOPULATION-1",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/cellpopulations",
"code": "CELLPOPULATION-2",
}
]
}
}
Clinical trials
{
"name": "SAMPLES Server ValueSet for clinical trials",
"description": "This ValueSet contains all currently available clinical trials on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/clinicaltrials",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
"value": "clinicaltrials"
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/clinicaltrials",
"code": "CLINICALTRIAL-1",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/clinicaltrials",
"code": "CLINICALTRIAL-2",
}
]
}
}
Diagnoses
{
"name": "SAMPLES Server ValueSet for diagnoses",
"description": "This ValueSet contains all currently available diagnoses on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/diagnoses",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/diagnoses",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/diagnoses",
}
]
}
}
Goals
{
"name": "SAMPLES Server ValueSet for goals",
"description": "This ValueSet contains all currently available goals on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/goals",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/goals",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/goals",
}
]
}
}
Indications
{
"name": "SAMPLES Server ValueSet for indications",
"description": "This ValueSet contains all currently available indications on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/indications",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/indications",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/indications",
}
]
}
}
Medications
{
"name": "SAMPLES Server ValueSet for medications",
"description": "This ValueSet contains all currently available medications on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/medications",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/medications",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/medications",
}
]
}
}
Sample types
{
"name": "SAMPLES Server ValueSet for sample types",
"description": "This ValueSet contains all currently available sample types on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/sampletypes",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/sampletypes",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/sampletypes",
}
]
}
}
Units
{
"name": "SAMPLES Server ValueSet for units",
"description": "This ValueSet contains all currently available units on the SAMPLES Server.",
"url": "http://www.qualitype.de/samples/fhir/ValueSet/units",
{
"system": "http://www.qualitype.de/samples/fhir/NamingSystem/valueset-identifier",
}
],
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/units",
},
{
"system": "http://www.qualitype.de/samples/fhir/CodeSystem/units",
}
]
}
}