Skip to content

Instantly share code, notes, and snippets.

@brianraila
Created June 29, 2023 09:48
Show Gist options
  • Save brianraila/c822f60a84346a357e548347b74c23a0 to your computer and use it in GitHub Desktop.
Save brianraila/c822f60a84346a357e548347b74c23a0 to your computer and use it in GitHub Desktop.
{
"resourceType" : "Library",
"id" : "example",
"identifier" : [{
"use" : "official",
"value" : "ChlamydiaScreening_Common"
}],
"version" : "2.0.0",
"name" : "ChlamydiaScreeningCommonLibrary",
"title" : "Chlamydia Screening Common Library",
"status" : "draft",
"type" : {
"coding" : [{
"code" : "logic-library"
}]
},
"date" : "2015-07-22",
"description" : "Common Logic for adherence to Chlamydia Screening guidelines",
"topic" : [{
"text" : "Chlamydia Screening"
}],
"relatedArtifact" : [{
"type" : "depends-on",
"resource" : "http://hl7.org/fhir/Library/library-quick-model-definition"
}],
"dataRequirement" : [{
"type" : "Condition",
"codeFilter" : [{
"path" : "code",
"valueSet" : "urn:oid:2.16.840.1.113883.3.464.1003.111.12.1006"
}]
}],
"content" : [{
"contentType" : "text/cql",
"data" : "bGlicmFyeSBDaGxhbXlkaWFTY3JlZW5pbmdfQ29tbW9uIHZlcnNpb24gJzInCgp1c2luZyBRVUlDSwoKdmFsdWVzZXQgIkZlbWFsZSBBZG1pbmlzdHJhdGl2ZSBTZXgiOiAnMi4xNi44NDAuMS4xMTM4ODMuMy41NjAuMTAwLjInCnZhbHVlc2V0ICJPdGhlciBGZW1hbGUgUmVwcm9kdWN0aXZlIENvbmRpdGlvbnMiOiAnMi4xNi44NDAuMS4xMTM4ODMuMy40NjQuMTAwMy4xMTEuMTIuMTAwNicKdmFsdWVzZXQgIkdlbml0YWwgSGVycGVzIjogJzIuMTYuODQwLjEuMTEzODgzLjMuNDY0LjEwMDMuMTEwLjEyLjEwNDknCnZhbHVlc2V0ICJHZW5vY29jY2FsIEluZmVjdGlvbnMgYW5kIFZlbmVyZWFsIERpc2Vhc2VzIjogJzIuMTYuODQwLjEuMTEzODgzLjMuNDY0LjEwMDMuMTEy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VyZm9ybWVkIEZvciBDaGxhbXlkaWEiOgoJWyJEaWFnbm9zdGljUmVwb3J0IjogIkNobGFteWRpYSBTY3JlZW5pbmciXQoKZGVmaW5lICJSZXN1bHRzIFByZXNlbnQgRm9yIENobGFteWRpYSBTY3JlZW5pbmciOgogICAgWyJEaWFnbm9zdGljUmVwb3J0IjogIkNobGFteWRpYSBTY3JlZW5pbmciXSBSIHdoZXJlIFIuInJlc3VsdCIgaXMgbm90IG51bGwK"
}]
}
{
"resourceType" : "Library",
"id" : "library-exclusive-breastfeeding-cds-logic",
"identifier" : [{
"use" : "official",
"value" : "Exclusive_Breastfeeding_CDS_Logic"
}],
"version" : "1.0.0",
"name" : "ExclusiveBreastfeedingCDSLogic",
"title" : "Exclusive Breastfeeding CDS Logic",
"status" : "active",
"experimental" : true,
"type" : {
"coding" : [{
"code" : "logic-library"
}]
},
"date" : "2016-03-08",
"description" : "Decision support logic for improving outcomes for exclusive breastmilk feeding of newborns",
"topic" : [{
"text" : "Exclusive Breastfeeding"
}],
"relatedArtifact" : [{
"type" : "depends-on",
"resource" : "http://example.org/fhir/Library/library-quick-model-definition"
},
{
"type" : "derived-from",
"resource" : "http://example.org/fhir/Measure/measure-exclusive-breastfeeding"
}],
"dataRequirement" : [{
"type" : "Condition",
"codeFilter" : [{
"path" : "code",
"valueSet" : "urn:oid:2.16.840.1.113883.3.117.1.7.1.25"
}]
}],
"content" : [{
"contentType" : "text/cql",
"url" : "http://cqlrepository.org/CMS9v4_CDS.cql"
}]
}
{
"resourceType" : "Library",
"id" : "library-exclusive-breastfeeding-cqm-logic",
"identifier" : [{
"use" : "official",
"value" : "Exclusive_Breastfeeding_CQM_Logic"
}],
"version" : "1.0.0",
"name" : "ExclusiveBreastfeedingCQMLogic",
"title" : "Exclusive Breastfeeding CQM Logic",
"status" : "active",
"experimental" : true,
"type" : {
"coding" : [{
"code" : "logic-library"
}]
},
"date" : "2016-03-08",
"description" : "Quality measure logic for measuring outcomes for exclusive breastmilk feeding of newborns",
"topic" : [{
"text" : "Exclusive Breastfeeding"
}],
"relatedArtifact" : [{
"type" : "depends-on",
"resource" : "http://example.org/fhir/Library/library-quick-model-definition"
}],
"dataRequirement" : [{
"type" : "Condition",
"codeFilter" : [{
"path" : "code",
"valueSet" : "urn:oid:2.16.840.1.113883.3.117.1.7.1.25"
}]
}],
"content" : [{
"contentType" : "text/cql",
"url" : "http://cqlrepository.org/CMS9v4_CQM.cql"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment