Activity #4145
closedFeature #63: DigiPatho Web -- Development, Validation, Certification and Deployment
Feature #406: WSI Processing Pipeline
Activity #3606: API to sync AI annotations to .Global
Create function for save
100%
Description
Sample request JSON:
{"res_get_slide_process_status":[{"get_slide_process_status":[{"processing_state":6,"created_for_hospital_id":"HS50","slide_reg_cervid":"GSC252"}],"row_no":1}],"res_image_annotation_details":[{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221395","annotation_details":{"id":"ANN221395","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:8193,51841,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:8193,51841,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"},{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221396","annotation_details":{"id":"ANN221396","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:45057,23761,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:45057,23761,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"},{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221397","annotation_details":{"id":"ANN221397","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:8193,2161,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:8193,2161,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"}]}
Updated by Aswathy M G 11 months ago
{"res_get_slide_process_status":[{"get_slide_process_status":[{"processing_state":6,"created_for_hospital_id":"HS50","slide_reg_cervid":"GSC25100","rawFileImageLocation":"D://DCTC//slides_images"}],"row_no":1}],"res_image_annotation_details":[{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221395","annotation_details":{"id":"ANN221395","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:8193,51841,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:8193,51841,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"},{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221396","annotation_details":{"id":"ANN221396","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:45057,23761,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:45057,23761,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"},{"global_slide_reg_cervid":"GSC221019","annotation_id":"ANN221397","annotation_details":{"id":"ANN221397","body":[{"type":"TextualBody","value":"","created":"","creator":{},"purpose":"commenting"}],"type":"Annotation","target":{"selector":{"type":"FragmentSelector","value":"xywh=pixel:8193,2161,4096,2160","conformsTo":"http://www.w3.org/TR/media-frags/"}},"@context":"http://www.w3.org/ns/anno.jsonld"},"annotation_coordinates":"\"xywh=pixel:8193,2161,4096,2160\"","entry_type":"S","result_status":null,"ai_status":null,"created_for_hospital_id":"HS50"}]}
Updated by Sneha K V 11 months ago
- Status changed from New to In Progress
- % Done changed from 0 to 80
UPDATED JSON
{
"res_get_slide_process_status": [
{
"get_slide_process_status": [
{
"processing_state": 6,
"created_for_hospital_id": "HS50",
"slide_reg_cervid": "GSC252",
"rawFileImageLocation":"D://DCTC//slides_images"
}
],
"row_no": 1
}
],
"res_image_annotation_details": [
{
"slide_reg_cervid": "GSC252",
"global_slide_reg_cervid": "GSC25680",
"annotation_details": {
"id": "ANN221395",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,51841,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,51841,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"global_slide_reg_cervid": "GSC25680",
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221396",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:45057,23761,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:45057,23761,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"global_slide_reg_cervid": "GSC25680",
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221397",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,2161,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,2161,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
}
]
}
Updated by Aswathy M G 11 months ago
Updated JSON:
{
"res_get_slide_process_status": [
{
"get_slide_process_status": [
{
"processing_state": 6,
"created_for_hospital_id": "HS50",
"slide_reg_cervid": "GSC252",
"rawFileImageLocation": "D://DCTC//slides_images"
}
],
"row_no": 1
}
],
"res_image_annotation_details": [
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221395",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,51841,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,51841,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221396",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:45057,23761,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:45057,23761,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221397",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,2161,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,2161,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
}
]
}
Updated by Aswathy M G 11 months ago
{
"res_get_slide_process_status": [
{
"get_slide_process_status": [
{
"processing_state": 6,
"created_for_hospital_id": "HS50",
"slide_reg_cervid": "GSC252",
"rawFileImageLocation": "D://DCTC//slides_images",
"res_image_annotation_details": [
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221395",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,51841,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,51841,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221396",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:45057,23761,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:45057,23761,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
},
{
"slide_reg_cervid": "GSC252",
"annotation_details": {
"id": "ANN221397",
"body": [
{
"type": "TextualBody",
"value": "",
"created": "",
"creator": {},
"purpose": "commenting"
}
],
"type": "Annotation",
"target": {
"selector": {
"type": "FragmentSelector",
"value": "xywh=pixel:8193,2161,4096,2160",
"conformsTo": "http://www.w3.org/TR/media-frags/"
}
},
"@context": "http://www.w3.org/ns/anno.jsonld"
},
"annotation_coordinates": "\"xywh=pixel:8193,2161,4096,2160\"",
"entry_type": "S",
"result_status": null,
"ai_status": null,
"created_for_hospital_id": "HS50"
}
]
}
],
"row_no": 1
}
]
}
Updated by Aswathy M G 11 months ago
updated JSON:
{
"res_get_slide_process_status": [
{
"get_slide_process_status": [
{
"processing_state": 6,
"created_for_hospital_id": "HS50",
"slide_reg_cervid": "GSC252",
"rawFileImageLocation": "D://DCTC//slides_images",
"res_image_annotation_details": {"clinic_id":"GSC354","coordinates":"xywh=pixel:8193,51841,4096,2160","current_user_id":1,"mode":"STANDALONE","hospital_id":"HS50"
}
}
],
"row_no": 1
}
]
}
Updated by Aswathy M G 11 months ago
{"res_get_slide_process_status":[{"get_slide_process_status":[{"processing_state":6,"created_for_hospital_id":"HS50","slide_reg_cervid":"GSC252","rawFileImageLocation":"D://DCTC//slides_images","res_image_annotation_details":{"clinic_id":"GSC252","coordinates":[{"xywh":"xywh=pixel:8193,21601,4096,2160"},{"xywh":"xywh=pixel:57345,34561,4096,2160"},{"xywh":"xywh=pixel:1,4321,4096,2160"},{"xywh":"xywh=pixel:12289,21601,4096,2160"},{"xywh":"xywh=pixel:36865,34561,4096,2160"},{"xywh":"xywh=pixel:40961,4321,4096,2160"},{"xywh":"xywh=pixel:45057,79921,4096,2160"},{"xywh":"xywh=pixel:57345,108001,4096,2160"},{"xywh":"xywh=pixel:8193,23761,4096,2160"},{"xywh":"xywh=pixel:32769,32401,4096,2160"},{"xywh":"xywh=pixel:49153,77761,4096,2160"},{"xywh":"xywh=pixel:28673,36721,4096,2160"},{"xywh":"xywh=pixel:32769,71281,4096,2160"},{"xywh":"xywh=pixel:45057,4321,4096,2160"},{"xywh":"xywh=pixel:40961,2161,4096,2160"},{"xywh":"xywh=pixel:53249,30241,4096,2160"},{"xywh":"xywh=pixel:28673,88561,4096,2160"},{"xywh":"xywh=pixel:36865,105841,4096,2160"},{"xywh":"xywh=pixel:40961,17281,4096,2160"},{"xywh":"xywh=pixel:40961,19441,4096,2160"},{"xywh":"xywh=pixel:28673,62641,4096,2160"},{"xywh":"xywh=pixel:1,19441,4096,2160"},{"xywh":"xywh=pixel:53249,66961,4096,2160"},{"xywh":"xywh=pixel:61441,92881,4096,2160"},{"xywh":"xywh=pixel:28673,71281,4096,2160"}],"current_user_id":1,"hospital_id":"HS50","mode":"STANDALONE"}}],"row_no":1}]}