Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
353 changes: 181 additions & 172 deletions src/flavours/bbmri/body.json
Original file line number Diff line number Diff line change
@@ -1,172 +1,181 @@
{
"lang": "cql",
"lib": {
"content": [
{
"contentType": "text/cql",
"data": "{{LIBRARY_ENCODED}}"
}
],
"resourceType": "Library",
"status": "active",
"type": {
"coding": [
{
"code": "logic-library",
"system": "http://terminology.hl7.org/CodeSystem/library-type"
}
]
},
"url": "{{LIBRARY_UUID}}"
},
"measure": {
"group": [
{
"code": {
"text": "patient"
},
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "InInitialPopulation",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "gender"
},
"criteria": {
"expression": "Gender",
"language": "text/cql"
}
},
{
"code": {
"text": "donor_age"
},
"criteria": {
"expression": "AgeClass",
"language": "text/cql"
}
},
{
"code": {
"text": "Custodian"
},
"criteria": {
"expression": "Custodian",
"language": "text/cql"
}
}
]
},
{
"code": {
"text": "diagnosis"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "Condition"
}
],
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "Diagnosis",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "diagnosis"
},
"criteria": {
"expression": "DiagnosisCode",
"language": "text/cql-identifier"
}
}
]
},
{
"code": {
"text": "specimen"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "Specimen"
}
],
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "Specimen",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "sample_kind"
},
"criteria": {
"expression": "SampleType",
"language": "text/cql"
}
}
]
}
],
"library": "{{LIBRARY_UUID}}",
"resourceType": "Measure",
"scoring": {
"coding": [
{
"code": "cohort",
"system": "http://terminology.hl7.org/CodeSystem/measure-scoring"
}
]
},
"status": "active",
"subjectCodeableConcept": {
"coding": [
{
"code": "Patient",
"system": "http://hl7.org/fhir/resource-types"
}
]
},
"url": "{{MEASURE_UUID}}"
}
}
{
"lang": "cql",
"lib": {
"content": [
{
"contentType": "text/cql",
"data": "{{LIBRARY_ENCODED}}"
}
],
"resourceType": "Library",
"status": "active",
"type": {
"coding": [
{
"code": "logic-library",
"system": "http://terminology.hl7.org/CodeSystem/library-type"
}
]
},
"url": "{{LIBRARY_UUID}}"
},
"measure": {
"group": [
{
"code": {
"text": "patient"
},
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "InInitialPopulation",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "gender"
},
"criteria": {
"expression": "Gender",
"language": "text/cql"
}
},
{
"code": {
"text": "donor_age"
},
"criteria": {
"expression": "AgeClass",
"language": "text/cql"
}
},
{
"code": {
"text": "age_at_diagnosis"
},
"criteria": {
"expression": "AgeAtDiagnosis",
"language": "text/cql"
}
},
{
"code": {
"text": "Custodian"
},
"criteria": {
"expression": "Custodian",
"language": "text/cql"
}
}
]
},
{
"code": {
"text": "diagnosis"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "Condition"
}
],
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "Diagnosis",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "diagnosis"
},
"criteria": {
"expression": "DiagnosisCode",
"language": "text/cql-identifier"
}
}
]
},
{
"code": {
"text": "specimen"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "Specimen"
}
],
"population": [
{
"code": {
"coding": [
{
"code": "initial-population",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
}
]
},
"criteria": {
"expression": "Specimen",
"language": "text/cql-identifier"
}
}
],
"stratifier": [
{
"code": {
"text": "sample_kind"
},
"criteria": {
"expression": "SampleType",
"language": "text/cql"
}
}
]
}
],
"library": "{{LIBRARY_UUID}}",
"resourceType": "Measure",
"scoring": {
"coding": [
{
"code": "cohort",
"system": "http://terminology.hl7.org/CodeSystem/measure-scoring"
}
]
},
"status": "active",
"subjectCodeableConcept": {
"coding": [
{
"code": "Patient",
"system": "http://hl7.org/fhir/resource-types"
}
]
},
"url": "{{MEASURE_UUID}}"
}
}
Loading
Loading