Welcome to SnoChillies on FHIR

SnoChillies is a cloud based clinical terminology server that is has been designed to meet the needs of modern cloud based clinical systems. SnoChillies already has a comprehensive REST API for terminology services integration in any clinical application. To support standards based plug and play API we are now introducing the following FHIR Resource Types in our API.


Value Set

Value Set FHIR resource API supports the $expand and $validate-code operations for both explicit and implicit value sets.


Code System

Code System FHIR resource API supports the $lookup operations for both explicit and implicit code systems.


Concept Map

Concept Map FHIR resource API supports the $translate and $closure operations for ConceptMaps.


Value Set FHIR resource API supports the $expand and $validate-code operations for both Explicit and Implicit value sets.
Expand

A ValueSet resource can be expanded by using a GET request URL such as:

https://valentiatech.snochillies.com/fhir/ValueSet/[id]/$expand (instance level)

Example:

https://valentiatech.snochillies.com/fhir/ValueSet/activity-reason/$expand?count=10


https://valentiatech.snochillies.com/fhir/ValueSet/$expand (type-level)

Example:

https://valentiatech.snochillies.com/fhir/ValueSet/$expand?identifier=http://snomed.info/sct?fhir_vs&filter=malaria&count=100


The value set to be expanded in a type-level request by using the identifier parameter, potential values for this parameter are explained in detail below. A value set expansion can also be controlled using the following parameters:


Parameter Type Description
Filter String A text filter that is applied to restrict the codes that are returned (this is useful in a UI context).
If filter request is a number it exactly return matching result. Example:
https://valentiatech.snochillies.com/fhir/ValueSet/$expand?identifier=http://snomed.info/sct?fhir_vs&filter=61462000

If filter request as a text string then it return records where string matches by using full text search.
Example:
https://valentiatech.snochillies.com/fhir/ValueSet/$expand?identifier=http://snomed.info/sct?fhir_vs&filter=malaria
Count Integer Paging support - how many results should be provided in a partial view as potentially result count could be in thousands.
Example:
https://valentiatech.snochillies.com/fhir/ValueSet/$expand?identifier=http://snomed.info/sct?fhir_vs&filter=malaria&count=100
Offset Integer offset = 2 means that the second matching record will be returned, not the second page
Example:
https://valentiatech.snochillies.com/fhir/ValueSet/$expand?identifier=http://snomed.info/sct?fhir_vs&filter=malaria&offset=2
{
"resourceType" : "ValueSet",
"url" : "
", // Logical URI to reference this value set (globally unique)
"identifier" : [{ Identifier }], // Additional identifier for the value set
"version" : "
", // Business version of the value set
"name" : "
", // Name for this value set (computer friendly)
"title" : "
", // Name for this value set (human friendly)
"status" : "
", // R! draft | active | retired | unknown
"experimental" :
, // For testing purposes, not real usage
"date" : "
", // Date this was last changed
"publisher" : "
", // Name of the publisher (organization or individual)
"contact" : [{ ContactDetail }], // Contact details for the publisher
"description" : "
", // Natural language description of the value set
"useContext" : [{ UsageContext }], // Context the content is intended to support
"jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for value set (if applicable)
"immutable" :
, // Indicates whether or not any change to the content logical definition may occur
"purpose" : "
", // Why this value set is defined
"copyright" : "
", // Use and/or publishing restrictions
"extensible" :
, // Whether this is intended to be used with an extensible binding
"compose" : { // C? Definition of the content of the value set (CLD)
"lockedDate" : "
", // Fixed date for version-less references (transitive)
"inactive" :
, // Whether inactive codes are in the value set
"include" : [{ // R! Include one or more codes from a code system or other value set(s)
"system" : "
", // C? The system the codes come from
"version" : "
", // Specific version of the code system referred to
"concept" : [{ // C? A concept defined in the system
"code" : "
", // R! Code or expression from system
"display" : "
", // Text to display for this code for this value set in this valueset
"designation" : [{ // Additional representations for this concept
"language" : "
", // Human language of the designation
"use" : { Coding }, // Details how this designation would be used
"value" : "
" // R! The text value for this designation
}]
}],
"filter" : [{ // C? Select codes/concepts by their properties (including relationships)
"property" : "
", // R! A property defined by the code system
"op" : "
", // R! = | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists
"value" : "
" // R! Code from the system, or regex criteria, or boolean value for exists
}],
"valueSet" : ["
"] // C? Select only contents included in this value set
}],
"exclude" : [{ Content as for ValueSet.compose.include }] // C? Explicitly exclude codes from a code system or other value sets
},
"expansion" : { // C? Used when the value set is "expanded"
"identifier" : "
", // R! Uniquely identifies this expansion
"timestamp" : "
", // R! Time ValueSet expansion happened
"total" :
, // Total number of codes in the expansion
"offset" :
, // Offset at which this resource starts
"parameter" : [{ // Parameter that controlled the expansion process
"name" : "
", // R! Name as assigned by the server
// value[x]: Value of the named parameter. One of these 6:
"valueString" : "
" "valueBoolean" :
"valueInteger" :
"valueDecimal" :
"valueUri" : "
" "valueCode" : "
" }],
"contains" : [{ // Codes in the value set
"system" : "
", // System value for the code
"abstract" :
, // If user cannot select this entry
"inactive" :
, // If concept is inactive in the code system
"version" : "
", // Version in which this code/display is defined
"code" : "
", // C? Code - if blank, this is not a selectable code
"display" : "
", // C? User display for the concept
"designation" : [{ Content as for ValueSet.compose.include.concept.designation }], // Additional representations for this item
"contains" : [{ Content as for ValueSet.expansion.contains }] // Codes contained under this entry
}]
}
}