Skip to content

Commit

Permalink
Forgot to commit fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
saulakravitz committed Mar 29, 2011
1 parent f2065bd commit 65a11ed
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"first": "Felicity", // personal data
"last": "Bloggs",
"gender": "F",
"birthdate": -631152000, // Time.gm(1950, 1, 1).to_i
"measures": {
"0387": {
"encounter_office_visit_encounter": [1267401600, 1277942400], // Time.gm(2010, 3, 1), Time.gm(2010, 7, 1)
"breast_cancer_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_stage_ic_iiic_procedure_result": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_er_or_pr_positive_procedure_result": [1275350400] // Time.gm(2010, 6, 1)
}
}
}
16 changes: 16 additions & 0 deletions fixtures/measures/0387_erpr_breast_cancer/patients/exclusion.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"first": "Fergerita", // personal data
"last": "Bloggs",
"birthdate": -631152000, // Time.gm(1950, 1, 1).to_i
"gender": "F",
"measures": {
"0387": {
"encounter_office_visit_encounter": [1267401600, 1277942400], // Time.gm(2010, 3, 1), Time.gm(2010, 7, 1)
"breast_cancer_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_stage_ic_iiic_procedure_result": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_er_or_pr_positive_procedure_result": [1275350400], // Time.gm(2010, 6, 1)
"radiation_therapy_procedure_performed": [1275350400] // Time.gm(2010, 6, 1)

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ // 10 year old - too young for population match...and male
"first": "Bert", // personal data
"last": "Bloggs",
"gender": "M",
"birthdate": 946684800, // Time.gm(2000, 1, 1)
"measures": { // bag of measures, one entry per measure
"0387": {
}
}
}
16 changes: 16 additions & 0 deletions fixtures/measures/0387_erpr_breast_cancer/patients/numerator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"first": "Frederica", // personal data
"last": "Bloggs",
"gender": "F",
"birthdate": -631152000, // Time.gm(1950, 1, 1).to_i
"measures": {
"0387": {
"encounter_office_visit_encounter": [1267401600, 1277942400], // Time.gm(2010, 3, 1), Time.gm(2010, 7, 1)
"breast_cancer_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_stage_ic_iiic_procedure_result": [1275350400], // Time.gm(2010, 6, 1)
"breast_cancer_er_or_pr_positive_procedure_result": [1275350400], // Time.gm(2010, 6, 1)
"tamoxifen_or_aromatase_inhibitor_therapy_medication_order": [1275350400] // Time.gm(2010, 6, 1)

}
}
}
12 changes: 12 additions & 0 deletions fixtures/measures/0387_erpr_breast_cancer/patients/population.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"first": "Brad", // personal data
"last": "Bloggs",
"gender": "F",
"birthdate": -631152000, // Time.gm(1950, 1, 1).to_i
"measures": {
"0387": {
"encounter_office_visit_encounter": [1267401600, 1277942400], // Time.gm(2010, 3, 1), Time.gm(2010, 7, 1)
"breast_cancer_diagnosis_active": [1275350400] // Time.gm(2010, 6, 1)
}
}
}
6 changes: 6 additions & 0 deletions fixtures/measures/0387_erpr_breast_cancer/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"initialPopulation": 4,
"numerator": 1,
"denominator": 2,
"exclusions": 1
}

0 comments on commit 65a11ed

Please sign in to comment.