Skip to content

Commit

Permalink
Merge pull request #32 from NIH-NCPI/condition-phenotype
Browse files Browse the repository at this point in the history
Add Condition Profile
  • Loading branch information
aw3334 authored Sep 10, 2024
2 parents a7f12c0 + 2c18e63 commit f9c6bce
Show file tree
Hide file tree
Showing 11 changed files with 697 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ These markdown files will be defined inside the input/pagecontent directory with
### Linking Markdown into the Menu
Content inside properly formed -info.md and -notes.md files will be merged into the appropriate pages built around the various FSH artifacts. The other .md files inside input/pagecontent will be compiled into .html but must be manually referenced either by link markup from other pages, or directly to the menu via the root file, sushi-config.yaml.

We provide a top level menu entry for Modules, Use Case Guides and Examples and authors should link their top level pages accordingly. Profiles will automatically be added to the the Artifacts links.
We provide a top level menu entry for Modules, Use Case Guides and Examples and authors should link their top level pages accordingly. Profiles will automatically be added to the the Artifacts links.
8 changes: 8 additions & 0 deletions fsh-generated/resources/CodeSystem-condition-codes.json
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"
}
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"
}
]
}
]
}
}
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"
}
]
}
]
}
}
Loading

0 comments on commit f9c6bce

Please sign in to comment.