Skip to content

Commit

Permalink
cleanup for the day
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasalmeida committed Nov 4, 2024
1 parent ba71916 commit 2282f4d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
add it to bank document
-->

<div id="geminiChat"></div>
<div id="geminiChat">Element of your choice</div>
<link href="https://episphere.github.io/gemini/gem.css" rel="stylesheet">
<script>
(async function(){
if(location.hash.match('geminiDoc')){
//let docURL='https://episphere.github.io/gemini/connectStudy.txt'
let docURL=location.hash.match('geminiDoc').input.match(/[^\$]+geminiDoc=([^\$]+)/g)[0].split('=')[1];
console.log('reading ... ',docURL);
//let chat = (await import("./chat.mjs")).chat;
//chat("geminiChat",docURL)
(await import("./chat.mjs")).chat("geminiChat",docURL)

}
})()
// try, for example, insert reference doc URL in the domain hash:
// '#geminiChat=https://episphere.github.io/gemini/doc/TCGA-BP-5195.25c0b433-5557-4165-922e-2c1eac9c26f0.txt
// '#geminiChat=https://episphere.github.io/gemini/doc/connectStudy.txt
// etc
// 3 pathology reports from TCGA, more at https://pubmed.ncbi.nlm.nih.gov/38487800
// TCGA-BP-5195.25c0b433-5557-4165-922e-2c1eac9c26f0
// TCGA-D7-8573.b7306a47-697d-4ed3-bbe1-81d49674a8f8
// TCGA-EI-7004.13591eed-30e5-47a3-91be-7a370663d2d4
</script>
1 change: 1 addition & 0 deletions chat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ async function chat(div,url='https://episphere.github.io/gemini/connectStudy.txt
div = document.createElement('div')
document.body.appendChild(div)
}
//const shadow = div.attachShadow({ mode: "open" });
console.log('chatting at ',div)
div.innerHTML = `<hr><div id="divConverse"></div><textarea id="txtPrompt" style="width:40em">studying documentation at ${url}...</textarea><br>[<a href="${url}" target="_blank">source</a>]`
//debugger
Expand Down
Binary file added doc/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions doc/TCGA-D7-8573.b7306a47-697d-4ed3-bbe1-81d49674a8f8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Material: 1) Material: stomach, Method of collection: Lesion resection. Histopathological diagnosis: (including test No. G-3155/12): Adenocarcinoma tubuläre ventriculi. G3, pT3, pNO. Tubular adenocarcinoma of the. stomach. Typus intestinalis sec Lauren. Intestinal type Lauren. Macroscopic description: Adenocarcinoma tubuläre G3. Cancerous proliferation reaches the periteneal surface of the stomach. Surgical incision lines free of. neoplastic lesions. Mucosa outside the tumour showing features of chronic inflammation with focal intestinal metaplasia. Adjacent part of the omentum free of cancerous lesions. 3 - (lesser curvature): Lymphonodulitis reactivaNo VIII. 4 - (greater curvature) :Lymphonodulitis reactiva No VII. 5 - (peripyloric): Lymphonodulitis reactivaNo IV. Microscopic description: The specimen containing the stomach, after being incised along the greater curvature sized 18.5 X 16cm with the. omentum sized 30 X 16cm. Cauliflower-shaped tumour on the greater curvature sized 5.5 X 4.5 X 2.4 cm. Distance from. the proximal end: 8.0cm, from distal end: 5.0cm.
1 change: 1 addition & 0 deletions doc/TCGA-EI-7004.13591eed-30e5-47a3-91be-7a370663d2d4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
page 1 / 1. copy No. 3. Examination: Histopathological examination. Cost of diagnostic procedure. Material: 1. Total organ resection - rectum and sigmoid colon. Material collected. Expected time of examination: Clinical diagnosis: Cancer of the rectosigmoid junction. Macroscopic description: A 26 cm length of the large intestine with a piece of mesentery and periintestinal tissue sized 20 X 11.7 cm. A tumour. sized 1.6 X 1 X 1.8 cm found in the mesentery. A flat tumour sized 7.8 X 2 X 0.6 cm found in the mesentery infiltrating. the whole thickness of the intestine. The lesion surrounds 100% of the intestine circumference and narrows its. lumen, is located 14.5 cm away from one of the excision lines and 4.3 cm from the other one. Minimum side margin. is 3 cm. Neighbouring lymph nodes are metastatic in gross appearance forming concretions. Microscopic description: Adenocarcinoma mucocellulare et mucinosum (G3). Infiltratio carcinomatosa profunda tunicae. muscularis priopriae et serosae flexure coli (sigmoideo - rectalis) et telae adiposae mesenterii et. mesorecti. Intestine ends clear of neoplastic lesions. Metastases carcinomatosae in lymphonodis (NO XXX/XXX). Infiltratio carcinomatosa capsulae lymphonodorum et telae adiposae perinodalis. The number of lymph nodes difficult to assess due to the concretions. Histopathology diagnosis: Adenocarcinoma mucocellulare et mucinosum flexure sigmoideo - rectalis. Mucocellular and mucinous. adenocarcinoma of sigmoid rectal junction. Metastases carcinomatosae in lymphonodis. Cancer metastases in the lymph nodes (No XXX/XXX). (G3, Dukes C, Atler - Coller C2, pT4, pN2b).

0 comments on commit 2282f4d

Please sign in to comment.