-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from I-TECH-UW/use-poetry
- Loading branch information
Showing
9 changed files
with
1,635 additions
and
54 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[virtualenvs] | ||
in-project = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[tool.poetry] | ||
name = "who-l3-smart-tools" | ||
version = "0.2.0" | ||
description = "Tools for automating extraction of L3 technical resources from L2 packages" | ||
authors = ["I-TECH DIGI"] | ||
license = "MPL-2.0" | ||
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
pandas = ">=1.0" | ||
xlrd = ">=1.2" | ||
openpyxl = ">=3.0" | ||
fhirpy = ">=1.4" | ||
"fhir.resources" = ">=7.0" | ||
Faker = ">=25.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = ">=6" | ||
flake8 = ">=3.8" | ||
Sphinx = ">=3.2" | ||
stringcase = ">=1.2" | ||
pyright = "^1.1.367" | ||
|
||
[tool.pyright] | ||
venvPath = "." | ||
venv = ".venv" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Instance: HIVIND27Logic | ||
InstanceOf: Library | ||
Title: "HIV.IND.27 Logic" | ||
Description: "Number and % of people on ART among all people living with HIV at the end of the reporting period" | ||
Usage: #definition | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary" | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary" | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library" | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module" | ||
* url = "http://smart.who.int/immunizations-measles/Library/HIVIND27Logic" | ||
* extension[+] | ||
* url = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" | ||
* valueCode = #computable | ||
* name = "HIVIND27Logic" | ||
* status = #draft | ||
* experimental = true | ||
* publisher = "World Health Organization (WHO)" | ||
* type = $library-type#logic-library | ||
* content.id = "ig-loader-HIVIND27Logic.cql" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Instance: HIVIND27 | ||
InstanceOf: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm | ||
Title: "HIV.IND.27 People living with HIV on ART" | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure" | ||
* meta.profile[+] = "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablemeasure" | ||
* extension[http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis].valueCode = #boolean | ||
* description = "Number and % of people on ART among all people living with HIV at the end of the reporting period" | ||
* url = "http://smart.who.int/immunizations-measles/Measure/HIVIND27" | ||
* status = #draft | ||
* experimental = true | ||
* date = "2024-06-14" | ||
* name = "HIVIND27" | ||
* title = "HIV.IND.27 People living with HIV on ART" | ||
* publisher = "World Health Organization (WHO)" | ||
* library = "http://smart.who.int/immunizations-measles/Library/HIVIND27Logic" | ||
* scoring = $measure-scoring#proportion "Proportion" | ||
* group[+] | ||
* population[denominator] | ||
* id = "HIV.IND.27.DEN" | ||
* description = "1. To determine treatment coverage: estimated number of people living with HIV (from models, such as Spectrum AIM) | ||
2. To gauge progress toward the second 95 target: number of people living with HIV who know their HIV status (from surveys or models)" | ||
* code = $measure-population#denominator "Denominator" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "Denominator" | ||
* population[numerator] | ||
* id = "HIV.IND.27.NUM" | ||
* description = "Number of people on ART at the end of the reporting period (HIV patient monitoring data from, for example, ART registers, patient records or EMRs). For key populations survey data may be required." | ||
* code = $measure-population#numerator "Numerator" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "Numerator" | ||
* stratifier[+] | ||
* id = "HIV.IND.27.S.AG" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "Administrative Gender Stratifier" | ||
* stratifier[+] | ||
* id = "HIV.IND.27.S.A" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "Age Stratifier" | ||
* stratifier[+] | ||
* id = "HIV.IND.27.S.GR" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "Geographic Region Stratifier" | ||
* stratifier[+] | ||
* id = "HIV.IND.27.S.P" | ||
* criteria.language = #text/cql-identifier | ||
* criteria.expression = "patientGroups Stratifier" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.