Skip to content

Commit

Permalink
Added diagnose example
Browse files Browse the repository at this point in the history
  • Loading branch information
julsas committed Jan 12, 2024
1 parent 4f23c35 commit 91ac411
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 1 deletion.
8 changes: 8 additions & 0 deletions fsh-generated/fsh-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@
"startLine": 1,
"endLine": 29
},
{
"outputFile": "Condition-mii-exa-diagnose.json",
"fshName": "mii-exa-diagnose",
"fshType": "Instance",
"fshFile": "oBDS/05_Diagnose/mii-exa-onko-diagnose.fsh",
"startLine": 1,
"endLine": 13
},
{
"outputFile": "Observation-mii-exa-onko-anzahl-befallene-lymphknoten-0.json",
"fshName": "mii-exa-onko-anzahl-befallene-lymphknoten-0",
Expand Down
1 change: 1 addition & 0 deletions fsh-generated/fsh-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CodeSystem-mii-cs-onko-primaertumor-seitenlokalisation.json MI
CodeSystem-mii-cs-onko-tnm-uicc.json MII_CS_Onko_TNM_UICC CodeSystem oBDS/08_TNMKlassifikation/mii-cs-onko-tnm-uicc.fsh 1 - 144
CodeSystem-mii-cs-onko-tnm-version.json MII_CS_Onko_TNM_Version CodeSystem oBDS/08_TNMKlassifikation/mii-cs-onko-tnm-version.fsh 1 - 21
ConceptMap-mii-cm-onko-tnm-uicc-snomed.json mii-cm-onko-tnm-uicc-snomed Instance oBDS/08_TNMKlassifikation/mii-cm-onko-tnm-uicc-snomed.fsh 1 - 29
Condition-mii-exa-diagnose.json mii-exa-diagnose Instance oBDS/05_Diagnose/mii-exa-onko-diagnose.fsh 1 - 13
Observation-mii-exa-onko-anzahl-befallene-lymphknoten-0.json mii-exa-onko-anzahl-befallene-lymphknoten-0 Instance oBDS/06_Histologie/mii-exa-onko-anzahl-befallene-lymphknoten-0.fsh 1 - 9
Observation-mii-exa-onko-anzahl-untersuchte-lymphknoten-23.json mii-exa-onko-anzahl-untersuchte-lymphknoten-23 Instance oBDS/06_Histologie/mii-exa-onko-anzahl-untrsuchte-lymphknoten-23.fsh 1 - 9
Observation-mii-exa-onko-tnm-klassifikation-TisN0M0.json mii-exa-onko-tnm-klassifikation-TisN0M0 Instance oBDS/08_TNMKlassifikation/mii-exa-onko-tnm-klassifikation-TisN0M0.fsh 1 - 12
Expand Down
1 change: 1 addition & 0 deletions fsh-generated/includes/fsh-link-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
[MII_VS_Onko_TNM_UICC_Stadium]: ValueSet-mii-vs-onko-tnm-uicc-stadium.html
[MII_VS_Onko_TNM_V_Kategorie_Werte]: ValueSet-mii-vs-onko-tnm-v-kategorie-werte.html
[MII_VS_Onko_TNM_Version]: ValueSet-mii-vs-onko-tnm-version.html
[mii-exa-diagnose]: Condition-mii-exa-diagnose.html
[mii-exa-onko-anzahl-befallene-lymphknoten-0]: Observation-mii-exa-onko-anzahl-befallene-lymphknoten-0.html
[mii-exa-onko-anzahl-untersuchte-lymphknoten-23]: Observation-mii-exa-onko-anzahl-untersuchte-lymphknoten-23.html
[mii-exa-onko-tnm-klassifikation-TisN0M0]: Observation-mii-exa-onko-tnm-klassifikation-TisN0M0.html
Expand Down
75 changes: 75 additions & 0 deletions fsh-generated/resources/Condition-mii-exa-diagnose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"resourceType": "Condition",
"id": "mii-exa-diagnose",
"meta": {
"profile": [
"https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-diagnose"
]
},
"code": {
"coding": [
{
"system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
"extension": [
{
"url": "http://fhir.de/StructureDefinition/seitenlokalisation",
"valueCoding": {
"code": "R",
"system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION",
"display": "rechts"
}
}
],
"code": "C50.4",
"version": "2020",
"display": "Oberer äußerer Quadrant der Brustdrüse"
},
{
"system": "http://terminology.hl7.org/CodeSystem/icd-o-3",
"code": "8500/3",
"display": "Invasives duktales Karzinom o.n.A. [C50.-]"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed"
},
{
"system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-primaertumor-diagnosesicherung",
"code": "7",
"display": "histologische Untersuchung eines Primärtumors"
}
]
},
"bodySite": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "76365002",
"display": "Structure of upper outer quadrant of breast (body structure)"
},
{
"system": "http://terminology.hl7.org/CodeSystem/icd-o-3",
"code": "C50.4",
"display": "Oberer äußerer Quadrant der Brust"
}
]
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
}
]
},
"subject": {
"reference": "Patient/example"
},
"recordedDate": "2020-02-16"
}
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,13 @@
"description": "Codes für TNM Version/Auflage nach welcher Version des TNM klassifiziert wird.",
"exampleBoolean": false
},
{
"reference": {
"reference": "Condition/mii-exa-diagnose"
},
"name": "mii-exa-diagnose",
"exampleCanonical": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-diagnose"
},
{
"reference": {
"reference": "Observation/mii-exa-onko-anzahl-befallene-lymphknoten-0"
Expand Down
4 changes: 3 additions & 1 deletion input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ Alias: $DeIcdSeitenlokalisation = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_IC
Alias: $DeIcdDiagnosesicherheit = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT
Alias: $DeIcdO3TopologieVS = http://fhir.de/onkologie/ValueSet/icd-o-3-topologie
Alias: $DeOnkoTumorstatusFernmetastasenVS = http://fhir.de/onkologie/ValueSet/TumorstatusFernmetastasenVS
Alias: $icd-seitenlokalisation = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION

// FHIR Core
Alias: $EventStatus = http://hl7.org/fhir/event-status
Alias: $VerificationStatus = http://terminology.hl7.org/CodeSystem/condition-ver-status
Alias: $condition-ver-status = http://terminology.hl7.org/CodeSystem/condition-ver-status
Alias: $verification-status-vs = http://hl7.org/fhir/ValueSet/condition-ver-status
Alias: $observation-category = http://terminology.hl7.org/CodeSystem/observation-category
Alias: $condition-clinical = http://terminology.hl7.org/CodeSystem/condition-clinical

// Code Systems
Alias: $CTCAE = http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
Expand Down
13 changes: 13 additions & 0 deletions input/fsh/oBDS/05_Diagnose/mii-exa-onko-diagnose.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Instance: mii-exa-diagnose
InstanceOf: mii-pr-onko-diagnose
Usage: #example
* clinicalStatus = $condition-clinical#active
* verificationStatus.coding[condition-ver-status] = $condition-ver-status#confirmed
* verificationStatus.coding[primaertumorDiagnosesicherung] = $mii-cs-onko-primaertumor-diagnosesicherung#7 "histologische Untersuchung eines Primärtumors"
* code.coding[icd10-gm] = $ICD10GM|2020#C50.4 "Oberer äußerer Quadrant der Brustdrüse"
* code.coding[icd10-gm].extension[Seitenlokalisation].valueCoding = $icd-seitenlokalisation#R "rechts"
* code.coding[icd-o-3] = $ICDO3#8500/3 "Invasives duktales Karzinom o.n.A. [C50.-]"
* subject = Reference(Patient/example)
* recordedDate = "2020-02-16"
* bodySite.coding[snomed-ct] = $SCT#76365002 "Structure of upper outer quadrant of breast (body structure)"
* bodySite.coding[icd-o-3] = $ICDO3#C50.4 "Oberer äußerer Quadrant der Brust"

0 comments on commit 91ac411

Please sign in to comment.