File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class CSVCancerDiseaseStatusExtractor extends BaseCSVExtractor {
36
36
status : observationStatus || 'final' ,
37
37
value : {
38
38
code : diseaseStatusCode ,
39
- system : 'http://snomed.info/sct' ,
39
+ system : diseaseStatusCode . includes ( 'USCRS' ) ? 'http://hl7.org/fhir/us/mcode/CodeSystem/snomed-requested-cs' : 'http://snomed.info/sct' ,
40
40
display : diseaseStatusText || getDiseaseStatusDisplay ( diseaseStatusCode , this . implementation ) ,
41
41
} ,
42
42
subject : {
Original file line number Diff line number Diff line change 1
1
const { createInvertedLookup, createLowercaseLookup } = require ( '../lookupUtils' ) ;
2
2
3
- // Code mapping is based on current values at https://www.hl7.org/fhir/us/mcode/2021May/ValueSet-mcode-condition-status-trend-vs.html
3
+ // Code mapping is based on current values at https://hl7.org/fhir/us/mcode/ValueSet-mcode-condition-status-trend-vs.html
4
+ // along with legacy codes included at https://www.hl7.org/fhir/us/mcode/2021May/ValueSet-mcode-condition-status-trend-vs.html
4
5
const mcodeDiseaseStatusTextToCodeLookup = {
5
- 'No abnormality detected (finding)' : '281900007' ,
6
+ 'No abnormality detected (finding)' : '281900007' , // No longer in the Vs, included for backwards compatibility
6
7
'Patient condition improved (finding)' : '268910001' ,
7
8
'Patient\'s condition stable (finding)' : '359746009' ,
8
9
'Patient\'s condition worsened (finding)' : '271299001' ,
9
10
'Patient condition undetermined (finding)' : '709137006' ,
11
+ // TODO: These are placeholder codes representing codes that are requested additions to the SNOMED vocabulary
12
+ // They will likely need to be updated in future versions of mCODE
13
+ 'Cancer in complete remission(finding)' : 'USCRS-352236' ,
14
+ 'Cancer in partial remission (finding)' : 'USCRS-352237'
10
15
} ;
11
16
const mcodeDiseaseStatusCodeToTextLookup = createInvertedLookup ( mcodeDiseaseStatusTextToCodeLookup ) ;
12
17
Original file line number Diff line number Diff line change 3
3
"type" : " collection" ,
4
4
"entry" : [
5
5
{
6
- "fullUrl" : " urn:uuid:4b9e9b5a8db529782cd9e89b68c6a3fac408d2195f025691a3f2850cab18057f " ,
6
+ "fullUrl" : " urn:uuid:e8293a0d18fb20d6b1749009032a26f2d34d8418369c87c8345f6c988fa0fc33 " ,
7
7
"resource" : {
8
8
"resourceType" : " Observation" ,
9
- "id" : " 4b9e9b5a8db529782cd9e89b68c6a3fac408d2195f025691a3f2850cab18057f " ,
9
+ "id" : " e8293a0d18fb20d6b1749009032a26f2d34d8418369c87c8345f6c988fa0fc33 " ,
10
10
"meta" : {
11
11
"profile" : [
12
12
" http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-disease-status"
47
47
"valueCodeableConcept" : {
48
48
"coding" : [
49
49
{
50
- "system" : " http://snomed.info/sct " ,
51
- "code" : " 268910001 " ,
52
- "display" : " Patient condition improved (finding)"
50
+ "system" : " http://hl7.org/fhir/us/mcode/CodeSystem/snomed-requested-cs " ,
51
+ "code" : " USCRS-352236 " ,
52
+ "display" : " Cancer in complete remission (finding)"
53
53
}
54
54
]
55
55
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"mrn" : " mrn-1" ,
4
4
"conditionid" : " cond-1" ,
5
- "diseasestatuscode" : " 268910001 " ,
5
+ "diseasestatuscode" : " USCRS-352236 " ,
6
6
"dateofobservation" : " 2019-12-02" ,
7
7
"evidence" : " 363679005|252416005" ,
8
8
"observationstatus" : " amended"
You can’t perform that action at this time.
0 commit comments