Skip to content

Instantly share code, notes, and snippets.

@scottfrazer
Created August 28, 2017 13:39
Show Gist options
  • Save scottfrazer/2a8f439b140c25a3c85235e42e28d8b8 to your computer and use it in GitHub Desktop.
Save scottfrazer/2a8f439b140c25a3c85235e42e28d8b8 to your computer and use it in GitHub Desktop.

combined

concepts_2:

{
    "_id": "UMLS:ICD10CM:C50",
    "category": "Diagnosis",
    "chronicIndicator": "U",
    "code": "C50",
    "ordinal": 42664,
    "system": "ICD10CM",
    "hierarchy": {
        "Diagnosis": {
            "children": [
                "UMLS:ICD10CM:C50.8",
                "UMLS:ICD10CM:C50.2",
                "UMLS:ICD10CM:C50.1",
                "UMLS:ICD10CM:C50.5",
                "UMLS:ICD10CM:C50.0",
                "UMLS:ICD10CM:C50.6",
                "UMLS:ICD10CM:C50.4",
                "UMLS:ICD10CM:C50.9",
                "UMLS:ICD10CM:C50.3"
            ],
            "parents": [
                "UMLS:ICD10CM:C50-C50"
            ],
            "selectable": true
        },
        "Oncology": {
        	"children": [
                "UMLS:ICD10CM:C50.8",
                "UMLS:ICD10CM:C50.2",
                "UMLS:ICD10CM:C50.1",
                "UMLS:ICD10CM:C50.5",
                "UMLS:ICD10CM:C50.0",
                "UMLS:ICD10CM:C50.6",
                "UMLS:ICD10CM:C50.4",
                "UMLS:ICD10CM:C50.9",
                "UMLS:ICD10CM:C50.3"
            ],
            "parents": [
            	"TNX:Oncology"
            ]
        }
    }
}

separated

concepts_2:

{
    "_id": "UMLS:ICD10CM:C50",
    "category": "Diagnosis",
    "chronicIndicator": "U",
    "code": "C50",
    "ordinal": 42664,
    "system": "ICD10CM"
}

concept_hierarchies_2:

{
    "_id": "<unique deterministic hash>"
    "Concept_ID": "UMLS:ICD10CM:C50",
    "ordinal": 42664,
    "category": "Diagnosis",
    "selectable": true,
    "children": [
        "UMLS:ICD10CM:C50.8",
        "UMLS:ICD10CM:C50.2",
        "UMLS:ICD10CM:C50.1",
        "UMLS:ICD10CM:C50.5",
        "UMLS:ICD10CM:C50.0",
        "UMLS:ICD10CM:C50.6",
        "UMLS:ICD10CM:C50.4",
        "UMLS:ICD10CM:C50.9",
        "UMLS:ICD10CM:C50.3"
    ],
    "parents": [
        "UMLS:ICD10CM:C50-C50"
    ]
}
{
    "_id": "<unique deterministic hash>"
    "Concept_ID": "UMLS:ICD10CM:C50",
    "ordinal": 42664,
    "category": "Oncology",
    "selectable": "true"
    "children": [
        "UMLS:ICD10CM:C50.8",
        "UMLS:ICD10CM:C50.2",
        "UMLS:ICD10CM:C50.1",
        "UMLS:ICD10CM:C50.5",
        "UMLS:ICD10CM:C50.0",
        "UMLS:ICD10CM:C50.6",
        "UMLS:ICD10CM:C50.4",
        "UMLS:ICD10CM:C50.9",
        "UMLS:ICD10CM:C50.3"
    ],
    "parents": [
        "TNX:Oncology"
    ]
}

hybrid

concepts_2:

{
    "_id": "UMLS:ICD10CM:C50",
    "category": "Diagnosis",
    "chronicIndicator": "U",
    "code": "C50",
    "ordinal": 42664,
    "system": "ICD10CM"
}

concept_hierarchies_2:

{
    "_id": "UMLS:ICD10CM:C50",
    "ordinal": 42664,
    "hierarchy": {
        "Diagnosis": {
            "children": [
                "UMLS:ICD10CM:C50.8",
                "UMLS:ICD10CM:C50.2",
                "UMLS:ICD10CM:C50.1",
                "UMLS:ICD10CM:C50.5",
                "UMLS:ICD10CM:C50.0",
                "UMLS:ICD10CM:C50.6",
                "UMLS:ICD10CM:C50.4",
                "UMLS:ICD10CM:C50.9",
                "UMLS:ICD10CM:C50.3"
            ],
            "parents": [
                "UMLS:ICD10CM:C50-C50"
            ],
            "selectable": true
        },
        "Oncology": {
        	"children": [
                "UMLS:ICD10CM:C50.8",
                "UMLS:ICD10CM:C50.2",
                "UMLS:ICD10CM:C50.1",
                "UMLS:ICD10CM:C50.5",
                "UMLS:ICD10CM:C50.0",
                "UMLS:ICD10CM:C50.6",
                "UMLS:ICD10CM:C50.4",
                "UMLS:ICD10CM:C50.9",
                "UMLS:ICD10CM:C50.3"
            ],
            "parents": [
            	"TNX:Oncology"
            ]
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment