Skip to content

Instantly share code, notes, and snippets.

@fedorov
Last active November 19, 2024 18:32
Show Gist options
  • Save fedorov/8b27fa4bad9ad3d8da3dbe83e488fcd5 to your computer and use it in GitHub Desktop.
Save fedorov/8b27fa4bad9ad3d8da3dbe83e488fcd5 to your computer and use it in GitHub Desktop.
window.config = {
// This must match the location configured for web server
path: "/",
servers: [
{
id: "test",
// This must match the proxy location configured for the web server
url: "https://dev-proxy.canceridc.dev/current/viewer-only-no-downloads-see-tinyurl-dot-com-slash-3j3d9jyp/dicomWeb",
write: true,
},
],
oidc: {
authority: "https://accounts.google.com",
//clientId: "298603720522-8lsan13gjd28jlmhjkbegmt31hbh1116.apps.googleusercontent.com",
// 4testing.idc - clientId: "866294449609-jalb26md7p2j99gjuf6c0nv4i5f2cc02.apps.googleusercontent.com",
// from idc-external-31-kaapana
clientId: "293449031882-k4um45hl4g94fsgbnviel0lh38836i9v.apps.googleusercontent.com",
scope: "email profile openid https://www.googleapis.com/auth/cloud-healthcare",
grantType: "implicit"
},
disableWorklist: false,
disableAnnotationTools: false,
enableServerSelection: true,
mode: "light",
preload: true,
annotations: [
{
finding: {
value: "85756007",
schemeDesignator: "SCT",
meaning: "Tissue",
},
findingCategory: {
value: "91723000",
schemeDesignator: "SCT",
meaning: "Anatomical structure",
},
geometryTypes: ["polygon", "freehandpolygon"],
style: {
stroke: {
color: [255, 255, 0, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
{
finding: {
value: "108369006",
schemeDesignator: "SCT",
meaning: "Tumor",
},
findingCategory: {
value: "49755003",
schemeDesignator: "SCT",
meaning: "Morphologically abnormal structure",
},
geometryTypes: ["polygon", "freehandpolygon"],
style: {
stroke: {
color: [255, 0, 255, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
{
finding: {
value: "34823008",
schemeDesignator: "SCT",
meaning: "Tumor necrosis",
},
findingCategory: {
value: "49755003",
schemeDesignator: "SCT",
meaning: "Morphologically abnormal structure",
},
geometryTypes: ["polygon", "freehandpolygon"],
style: {
stroke: {
color: [51, 204, 51, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
{
finding: {
value: "369705002",
schemeDesignator: "SCT",
meaning: "Invasive tumor border",
},
findingCategory: {
value: "395557000",
schemeDesignator: "SCT",
meaning: "Tumor finding",
},
geometryTypes: ["line", "freehandline"],
style: {
stroke: {
color: [51, 102, 255, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
{
finding: {
value: "399721002",
schemeDesignator: "SCT",
meaning: "Tumor infiltration by lymphocytes present",
},
findingCategory: {
value: "395557000",
schemeDesignator: "SCT",
meaning: "Tumor finding",
},
geometryTypes: ["polygon", "freehandpolygon"],
style: {
stroke: {
color: [51, 204, 204, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
{
finding: {
value: "47973001",
schemeDesignator: "SCT",
meaning: "Artifact",
},
geometryTypes: ["polygon", "freehandpolygon"],
style: {
stroke: {
color: [255, 80, 80, 1],
width: 2,
},
fill: {
color: [255, 255, 255, 0.2],
},
},
},
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment