Resource: Annotation
An annotation record.
JSON representation |
---|
{ "name": string, "annotationSource": { object( |
Fields | |
---|---|
name |
Identifier. Resource name of the Annotation, of the form |
annotation |
Required. Details of the source. |
custom |
Additional information for this annotation record, such as annotator and verifier information or study campaign. An object containing a list of |
Union field
|
|
resource |
Annotations for resource. For example, classification tags. |
image |
Annotations for images. For example, bounding polygons. |
text |
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 |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
cloud |
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 | |
---|---|
bounding |
The list of polygons outlining the sensitive regions in the image. |
frame |
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 |
Detail
Contains multiple sensitive information findings for each resource slice.
JSON representation |
---|
{
"findings": [
{
object( |
Fields | |
---|---|
findings[] |
|
Finding
JSON representation |
---|
{ "infoType": string, "start": string, "end": string, "quote": string } |
Fields | |
---|---|
info |
The type of information stored in this text range. For example, HumanName, BirthDate, or Address. |
start |
Zero-based starting index of the found text, inclusively. |
end |
Zero-based ending index of the found text, exclusively. |
quote |
The snippet of the sensitive text. This field is only populated during deidentification if |
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 . |