Resource: Annotation
An annotation record.
JSON representation | |
---|---|
{ "name": string, "annotationSource": { object( |
Fields | ||
---|---|---|
name |
Resource name of the Annotation, of the form |
|
annotationSource |
Details of the source. |
|
customData |
Additional information for this annotation record, such as annotator and verifier information or study campaign. An object containing a list of |
|
Union field
|
||
resourceAnnotation |
Annotations for resource. For example, classification tags. |
|
imageAnnotation |
Annotations for images. For example, bounding polygons. |
|
textAnnotation |
Annotations for sensitive texts. For example, a range that describes the location of sensitive text. |
AnnotationSource
AnnotationSource holds the source information of the annotation.
JSON representation | |
---|---|
{
"cloudHealthcareSource": {
object( |
Fields | |
---|---|
cloudHealthcareSource |
Cloud Healthcare API resource. |
CloudHealthcareSource
Cloud Healthcare API resource.
JSON representation | |
---|---|
{ "name": string } |
Fields | |
---|---|
name |
Full path of a Cloud Healthcare API resource. |
ResourceAnnotation
Resource level annotation.
JSON representation | |
---|---|
{ "label": string } |
Fields | |
---|---|
label |
A description of the annotation record. |
ImageAnnotation
Image annotation.
JSON representation | |
---|---|
{
"boundingPolys": [
{
object( |
Fields | |
---|---|
boundingPolys[] |
The list of polygons outlining the sensitive regions in the image. |
frameIndex |
0-based index of the image frame. For example, an image frame in a DICOM instance. |
BoundingPoly
A bounding polygon for the detected image annotation.
JSON representation | |
---|---|
{
"vertices": [
{
object( |
Fields | |
---|---|
vertices[] |
List of the vertices of this polygon. |
label |
A description of this polygon. |
Vertex
A 2D coordinate in an image. The origin is the top-left.
JSON representation | |
---|---|
{ "x": number, "y": number } |
Fields | |
---|---|
x |
X coordinate. |
y |
Y coordinate. |
SensitiveTextAnnotation
A TextAnnotation specifies a text range that includes sensitive information.
JSON representation | |
---|---|
{
"details": {
string: {
object( |
Fields | |
---|---|
details |
Maps from a resource slice. For example, FHIR resource field path to a set of sensitive text findings. For example, Appointment.Narrative text1 --> {findings_1, findings_2, findings_3} An object containing a list of |
Methods |
|
---|---|
|
Creates a new Annotation record. |
|
Deletes an Annotation or returns NOT_FOUND if it does not exist. |
|
Gets an Annotation . |
|
Lists the Annotations in the given Annotation store for a source resource. |
|
Updates the Annotation . |