forked from chb/indivo_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update CodedValue - Move Procedure to SMART data model, fixes chb#24 - Update LabResult, fixes chb#28 - Update Vital Signs, fixes chb#29 - Update Allergy, fixes chb#30 -
- Loading branch information
Travers Franckle
committed
Dec 31, 2012
1 parent
9826c67
commit 0817432
Showing
68 changed files
with
3,266 additions
and
962 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,22 +1,23 @@ | ||
from indivo.models import Allergy | ||
|
||
allergy_fact = Allergy( | ||
allergic_reaction_title="Anaphylaxis", | ||
allergic_reaction_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
allergic_reaction_identifier="39579001", | ||
category_title="Drug allergy", | ||
category_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
category_identifier="416098002", | ||
drug_class_allergen_title="Sulfonamide Antibacterial", | ||
drug_class_allergen_system="http://purl.bioontology.org/ontology/NDFRT/", | ||
drug_class_allergen_identifier="N0000175503", | ||
severity_title="Severe", | ||
severity_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
severity_identifier="24484000", | ||
allergic_reaction_code_title="Anaphylaxis", | ||
allergic_reaction_code_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
allergic_reaction_code_identifier="39579001", | ||
category_code_title="Drug allergy", | ||
category_code_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
category_code_identifier="416098002", | ||
drug_class_allergen_code_title="Sulfonamide Antibacterial", | ||
drug_class_allergen_code_system="http://purl.bioontology.org/ontology/NDFRT/", | ||
drug_class_allergen_code_identifier="N0000175503", | ||
severity_code_title="Severe", | ||
severity_code_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
severity_code_identifier="24484000", | ||
) | ||
|
||
allergy_exclusion = AllergyExclusion( | ||
name_title="No known allergies", | ||
name_identifier="160244002", | ||
name_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
name_code_title="No known allergies", | ||
name_code_identifier="160244002", | ||
name_code_system="http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
) |
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 |
---|---|---|
@@ -1,21 +1,22 @@ | ||
[{ | ||
"__modelname__": "Allergy", | ||
"allergic_reaction_title": "Anaphylaxis", | ||
"allergic_reaction_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"allergic_reaction_identifier": "39579001", | ||
"category_title": "Drug allergy", | ||
"category_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"category_identifier": "416098002", | ||
"drug_class_allergen_title": "Sulfonamide Antibacterial", | ||
"drug_class_allergen_system": "http://purl.bioontology.org/ontology/NDFRT/", | ||
"drug_class_allergen_identifier": "N0000175503", | ||
"severity_title": "Severe", | ||
"severity_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"severity_identifier": "24484000" | ||
"allergic_reaction_code_title": "Anaphylaxis", | ||
"allergic_reaction_code_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"allergic_reaction_code_identifier": "39579001", | ||
"category_code_title": "Drug allergy", | ||
"category_code_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"category_code_identifier": "416098002", | ||
"drug_class_allergen_code_title": "Sulfonamide Antibacterial", | ||
"drug_class_allergen_code_system": "http://purl.bioontology.org/ontology/NDFRT/", | ||
"drug_class_allergen_code_identifier": "N0000175503", | ||
"severity_code_title": "Severe", | ||
"severity_code_system": "http://purl.bioontology.org/ontology/SNOMEDCT/", | ||
"severity_code_identifier": "24484000" | ||
}, | ||
{ | ||
"__modelname__": "AllergyExclusion", | ||
"name_title": "No known allergies", | ||
"name_identifier":"160244002", | ||
"name_system": "http://purl.bioontology.org/ontology/SNOMEDCT" | ||
"name_code_title": "No known allergies", | ||
"name_code_identifier":"160244002", | ||
"name_code_system": "http://purl.bioontology.org/ontology/SNOMEDCT" | ||
}] |
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 |
---|---|---|
@@ -1,21 +1,22 @@ | ||
<Models> | ||
<Models xmlns="http://indivo.org/vocab/xml/documents#"> | ||
<Model name="Allergy"> | ||
<Field name="allergic_reaction_title">Anaphylaxis</Field> | ||
<Field name="allergic_reaction_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="allergic_reaction_identifier">39579001</Field> | ||
<Field name="category_title">Drug allergy</Field> | ||
<Field name="category_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="category_identifier">416098002</Field> | ||
<Field name="drug_class_allergen_title">Sulfonamide Antibacterial</Field> | ||
<Field name="drug_class_allergen_system">http://purl.bioontology.org/ontology/NDFRT/</Field> | ||
<Field name="drug_class_allergen_identifier">N0000175503</Field> | ||
<Field name="severity_title">Severe</Field> | ||
<Field name="severity_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="severity_identifier">24484000</Field> | ||
<Field name="allergic_reaction_code_title">Anaphylaxis</Field> | ||
<Field name="allergic_reaction_code_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="allergic_reaction_code_identifier">39579001</Field> | ||
<Field name="category_code_title">Drug allergy</Field> | ||
<Field name="category_code_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="category_code_identifier">416098002</Field> | ||
<Field name="drug_class_allergen_code_title">Sulfonamide Antibacterial</Field> | ||
<Field name="drug_class_allergen_code_system">http://purl.bioontology.org/ontology/NDFRT/</Field> | ||
<Field name="drug_class_allergen_code_identifier">N0000175503</Field> | ||
<Field name="severity_code_title">Severe</Field> | ||
<Field name="severity_code_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="severity_code_identifier">24484000</Field> | ||
</Model> | ||
<Model name="AllergyExclusion"> | ||
<Field name="name_title">No known allergies</Field> | ||
<Field name="name_identifier">160244002</Field> | ||
<Field name = "name_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
<Field name="name_title">No known allergies</Field> | ||
<Field name="name_code_title">No known allergies</Field> | ||
<Field name="name_code_identifier">160244002</Field> | ||
<Field name = "name_code_system">http://purl.bioontology.org/ontology/SNOMEDCT/</Field> | ||
</Model> | ||
</Models> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"__modelname__": "Immunization", | ||
"date": "2009-05-16T12:00:00Z", | ||
"administration_status_title": "Not Administered", | ||
"administration_status_system": "http://smartplatforms.org/terms/codes/ImmunizationAdministrationStatus#", | ||
"administration_status_identifier": "notAdministered", | ||
"product_class_title": "TYPHOID", | ||
"product_class_system": "http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=vg#", | ||
"product_class_identifier": "TYPHOID", | ||
"product_name_title": "typhoid, oral", | ||
"product_name_system": "http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=cvx#", | ||
"product_name_identifier": "25", | ||
"refusal_reason_title": "Allergy to vaccine/vaccine components, or allergy to eggs", | ||
"refusal_reason_system": "http://smartplatforms.org/terms/codes/ImmunizationRefusalReason#", | ||
"refusal_reason_identifier": "allergy" | ||
"administration_status_code_title": "Not Administered", | ||
"administration_status_code_system": "http://smartplatforms.org/terms/codes/ImmunizationAdministrationStatus#", | ||
"administration_status_code_identifier": "notAdministered", | ||
"product_class_code_title": "TYPHOID", | ||
"product_class_code_system": "http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=vg#", | ||
"product_class_code_identifier": "TYPHOID", | ||
"product_name_code_title": "typhoid, oral", | ||
"product_name_code_system": "http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=cvx#", | ||
"product_name_code_identifier": "25", | ||
"refusal_reason_code_title": "Allergy to vaccine/vaccine components, or allergy to eggs", | ||
"refusal_reason_code_system": "http://smartplatforms.org/terms/codes/ImmunizationRefusalReason#", | ||
"refusal_reason_code_identifier": "allergy" | ||
} | ||
|
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<Models> | ||
<Models xmlns="http://indivo.org/vocab/xml/documents#"> | ||
<Model name="Immunization"> | ||
<Field name="date">2009-05-16T12:00:00Z</Field> | ||
<Field name="administration_status_title">Not Administered</Field> | ||
<Field name="administration_status_system">http://smartplatforms.org/terms/codes/ImmunizationAdministrationStatus#</Field> | ||
<Field name="administration_status_identifier">notAdministered</Field> | ||
<Field name="product_class_title">TYPHOID</Field> | ||
<Field name="product_class_system">http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=vg#</Field> | ||
<Field name="product_class_identifier">TYPHOID</Field> | ||
<Field name="product_name_title">typhoid, oral</Field> | ||
<Field name="product_name_system">http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=cvx#</Field> | ||
<Field name="product_name_identifier">25</Field> | ||
<Field name="refusal_reason_title">Allergy to vaccine/vaccine components, or allergy to eggs</Field> | ||
<Field name="refusal_reason_system">http://smartplatforms.org/terms/codes/ImmunizationRefusalReason#</Field> | ||
<Field name="refusal_reason_identifier">allergy</Field> | ||
<Field name="administration_status_code_title">Not Administered</Field> | ||
<Field name="administration_status_code_system">http://smartplatforms.org/terms/codes/ImmunizationAdministrationStatus#</Field> | ||
<Field name="administration_status_code_identifier">notAdministered</Field> | ||
<Field name="product_class_code_title">TYPHOID</Field> | ||
<Field name="product_class_code_system">http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=vg#</Field> | ||
<Field name="product_class_code_identifier">TYPHOID</Field> | ||
<Field name="product_name_code_title">typhoid, oral</Field> | ||
<Field name="product_name_code_system">http://www2a.cdc.gov/nip/IIS/IISStandards/vaccines.asp?rpt=cvx#</Field> | ||
<Field name="product_name_code_identifier">25</Field> | ||
<Field name="refusal_reason_code_title">Allergy to vaccine/vaccine components, or allergy to eggs</Field> | ||
<Field name="refusal_reason_code_system">http://smartplatforms.org/terms/codes/ImmunizationRefusalReason#</Field> | ||
<Field name="refusal_reason_code_identifier">allergy</Field> | ||
</Model> | ||
</Models> | ||
|
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.