recruIT FHIR IG
11.3.0 - trial-use
recruIT FHIR IG - Local Development build (v11.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Active as of 2026-12-01 |
{
"resourceType" : "Library",
"id" : "sql-query-library-example",
"meta" : {
"profile" : [
🔗 "https://openrecruit.dev/fhir/StructureDefinition/sql-query-library"
]
},
"language" : "en",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"narrative-table\">\n <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"metadata\"> </a>Metadata</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">All patients</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">11.3.0</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">The recruIT Developers</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward Contact</th>\n\n\n\n<td class=\"content-container\">The recruIT Developers</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n <a href=\"https://simplifier.net/resolve?scope=de.medizininformatikinitiative.kerndatensatz.studie@2026.0.2&canonical=https://sql-on-fhir.org/ig/CodeSystem/LibraryTypesCodes\">https://sql-on-fhir.org/ig/CodeSystem/LibraryTypesCodes</a>#sql-query\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"parameters\"> </a>Parameters</th>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n\n\n<td class=\"content-container\">None</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Library Content</th>\n\n\n</tr>\n \n \n <tr>\n <th scope=\"row\" class=\"row-header\">application/sql;dialect=trinoContent</th>\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code>Encoded data </code></pre>\n </td>\n </tr>\n \n \n\n\n\n<tr>\n <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.6 of the sample-content-ig Liquid templates</th>\n</tr>\n\n </tbody>\n </table>\n</div>"
},
"url" : "https://openrecruit.dev/fhir/Library/sql-query-library-example",
"version" : "11.3.0",
"name" : "all-patients",
"title" : "All patients",
"status" : "active",
"type" : {
"coding" : [
{
"system" : "https://sql-on-fhir.org/ig/CodeSystem/LibraryTypesCodes",
"code" : "sql-query"
}
]
},
"date" : "2026-12-01T18:57:23+00:00",
"publisher" : "The recruIT Developers",
"contact" : [
{
"name" : "The recruIT Developers",
"telecom" : [
{
"system" : "url",
"value" : "https://openrecruit.dev"
}
]
}
],
"content" : [
{
"extension" : [
{
"url" : "https://sql-on-fhir.org/ig/StructureDefinition/sql-text",
"valueString" : "SELECT patient.id AS patient_id, TRUE AS is_met FROM fhir.default.patient AS patient"
}
],
"contentType" : "application/sql;dialect=trino",
"data" : "U0VMRUNUIHBhdGllbnQuaWQgQVMgcGF0aWVudF9pZCwgVFJVRSBBUyBpc19tZXQgRlJPTSBmaGlyLmRlZmF1bHQucGF0aWVudCBBUyBwYXRpZW50"
}
]
}