-
Notifications
You must be signed in to change notification settings - Fork 1
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 #32 from NIH-NCPI/condition-phenotype
Add Condition Profile
- Loading branch information
Showing
11 changed files
with
697 additions
and
2 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
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,8 @@ | ||
{ | ||
"resourceType": "CodeSystem", | ||
"status": "draft", | ||
"content": "complete", | ||
"name": "ConditionCodes", | ||
"id": "condition-codes", | ||
"url": "http://purl.obolibrary.org/obo/hp.owl" | ||
} |
197 changes: 197 additions & 0 deletions
197
fsh-generated/resources/StructureDefinition-SharedDataModelCondition.json
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,197 @@ | ||
{ | ||
"resourceType": "StructureDefinition", | ||
"id": "SharedDataModelCondition", | ||
"url": "https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/SharedDataModelCondition", | ||
"name": "CdmCondition", | ||
"title": "Shared Data Model for Condition", | ||
"status": "draft", | ||
"description": "The **Shared Data Model for Condition**", | ||
"fhirVersion": "4.3.0", | ||
"kind": "logical", | ||
"abstract": false, | ||
"type": "https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/SharedDataModelCondition", | ||
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", | ||
"derivation": "specialization", | ||
"differential": { | ||
"element": [ | ||
{ | ||
"id": "SharedDataModelCondition", | ||
"path": "SharedDataModelCondition", | ||
"short": "Shared Data Model for Condition", | ||
"definition": "The **Shared Data Model for Condition**" | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.participantID", | ||
"path": "SharedDataModelCondition.participantID", | ||
"short": "The participant we are describing", | ||
"definition": "The participant we are describing", | ||
"min": 1, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "Extension", | ||
"profile": [ | ||
"http://hl7.org/fhir/StructureDefinition/valueset-reference" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.condition", | ||
"path": "SharedDataModelCondition.condition", | ||
"short": "The condition, disease, phenotypic feature, etc that this participant may have.", | ||
"definition": "The condition, disease, phenotypic feature, etc that this participant may have.", | ||
"min": 0, | ||
"max": "*", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.conditonText", | ||
"path": "SharedDataModelCondition.conditonText", | ||
"short": "Detailed description / free text about this condition.", | ||
"definition": "Detailed description / free text about this condition.", | ||
"min": 1, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.ageAtAssertion", | ||
"path": "SharedDataModelCondition.ageAtAssertion", | ||
"short": "The date or age at which this condition is being asserted. ", | ||
"definition": "The date or age at which this condition is being asserted. ", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "date" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.assertion", | ||
"path": "SharedDataModelCondition.assertion", | ||
"short": "Does the participant have this condition?", | ||
"definition": "Does the participant have this condition?", | ||
"min": 1, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.conditionType", | ||
"path": "SharedDataModelCondition.conditionType", | ||
"short": "Does this condition represent a specific \"type\" of condition, such as \"Phenotypic Feature\" vs \"Disease\" in a rare disease setting.", | ||
"definition": "Does this condition represent a specific \"type\" of condition, such as \"Phenotypic Feature\" vs \"Disease\" in a rare disease setting.", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.ageAtOnset", | ||
"path": "SharedDataModelCondition.ageAtOnset", | ||
"short": "The age of onset for this condition. Could be expressed with a term, an age, or an age range.", | ||
"definition": "The age of onset for this condition. Could be expressed with a term, an age, or an age range.", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.ageAtResolution", | ||
"path": "SharedDataModelCondition.ageAtResolution", | ||
"short": "The age at which this condition was resolved, abated, or cured. Should be left empty in cases of current active status. Could be expressed with a term, an age, or an age range.", | ||
"definition": "The age at which this condition was resolved, abated, or cured. Should be left empty in cases of current active status. Could be expressed with a term, an age, or an age range.", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "date" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.otherModifiers", | ||
"path": "SharedDataModelCondition.otherModifiers", | ||
"short": "Any additional modifiers for this condition, such as severity.", | ||
"definition": "Any additional modifiers for this condition, such as severity.", | ||
"min": 0, | ||
"max": "*", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.stage", | ||
"path": "SharedDataModelCondition.stage", | ||
"short": "Cancer staging information", | ||
"definition": "Cancer staging information", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "date" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.location", | ||
"path": "SharedDataModelCondition.location", | ||
"short": "Location information, such as site and/or laterality, of the condition. Multiple values should be interpreted cumulatively, so complex location information, such as \"right lung\" and \"left kidney\" may require multiple condition rows.", | ||
"definition": "Location information, such as site and/or laterality, of the condition. Multiple values should be interpreted cumulatively, so complex location information, such as \"right lung\" and \"left kidney\" may require multiple condition rows.", | ||
"min": 0, | ||
"max": "*", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.assertionSource", | ||
"path": "SharedDataModelCondition.assertionSource", | ||
"short": "Where or how was this this assertion about the Participant recorded? This can support understanding the differences between surveys, automated EHR extraction, manual chart abstraction, etc.", | ||
"definition": "Where or how was this this assertion about the Participant recorded? This can support understanding the differences between surveys, automated EHR extraction, manual chart abstraction, etc.", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SharedDataModelCondition.asserter", | ||
"path": "SharedDataModelCondition.asserter", | ||
"short": "Who recorded this assertion about the Participant? This can support understanding the differences between self-report, doctor, trained research staff.", | ||
"definition": "Who recorded this assertion about the Participant? This can support understanding the differences between self-report, doctor, trained research staff.", | ||
"min": 0, | ||
"max": "1", | ||
"type": [ | ||
{ | ||
"code": "code" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
fsh-generated/resources/StructureDefinition-condition-asserter.json
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,51 @@ | ||
{ | ||
"resourceType": "StructureDefinition", | ||
"id": "condition-asserter", | ||
"url": "https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/condition-asserter", | ||
"name": "ConditionAsserter", | ||
"title": "Person who recorded assertion about participant", | ||
"status": "draft", | ||
"description": "Person who recorded assertion about participant", | ||
"fhirVersion": "4.3.0", | ||
"kind": "complex-type", | ||
"abstract": false, | ||
"context": [ | ||
{ | ||
"type": "element", | ||
"expression": "Observation" | ||
} | ||
], | ||
"type": "Extension", | ||
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", | ||
"derivation": "constraint", | ||
"differential": { | ||
"element": [ | ||
{ | ||
"id": "Extension", | ||
"path": "Extension", | ||
"short": "Person who recorded assertion about participant", | ||
"definition": "Person who recorded assertion about participant" | ||
}, | ||
{ | ||
"id": "Extension.extension", | ||
"path": "Extension.extension", | ||
"max": "0" | ||
}, | ||
{ | ||
"id": "Extension.url", | ||
"path": "Extension.url", | ||
"fixedUri": "https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/condition-asserter" | ||
}, | ||
{ | ||
"id": "Extension.value[x]", | ||
"path": "Extension.value[x]", | ||
"short": "Who recorded this assertion about the Participant? This can support understanding the differences between self-report, doctor, trained research staff.", | ||
"type": [ | ||
{ | ||
"code": "CodeableConcept" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.