code for labelstudio

 avatar
unknown
plain_text
3 years ago
6.0 kB
5
Indexable
<View>
  <Relations>
    <Relation value="spec_subspec"/>
    <Relation value="spec_properties"/>
    <Relation value="subspec_properties"/>
  </Relations>
  <View style="height: 600px; overflow: auto;">
    <View style="height: 100%; width: 70%; padding-left: 5%; float:left; overflow: auto;">
      <Text name="text" value="$TEXT"/>
    </View>
    <View style="height: 99%; width: 30%; overflow: auto;">
      <Labels name="Attributes" toName="text" showInline="true">
        <Label alias="abdpain" hotkey="P" value="abdpain" background="#d9534f"/>
        <Label alias="backpain" hotkey="B" value="backpain" background="#d9534f"/>
        <Label alias="Unexplained weight loss" hotkey="W" value="weightloss" background="#2bbbad"/>
        <Label alias="Loss of appetite" hotkey="A" value="anorexia" background="#5cb0de"/>
        <Label alias="Jaundice" hotkey="J" value="jaundice" background="#aa66cc"/>
        <Label alias="Indigestion" hotkey="I" value="indigestion" background="#808080"/>
        <Label alias="Steatorrhea" hotkey="S" value="steatorrhea" background="#ffdf4f"/>
        <Label alias="Urine Color change" hotkey="U" value="urinecolorchange" background="#d9534f"/>
        <Label alias="Constipation" hotkey="C" value="constipation" background="#d9534f"/>
        <Label alias="Nausea" hotkey="N" value="nausea" background="#2bbbad"/>
        <Label alias="vomiting" hotkey="V" value="vomiting" background="#5cb0de"/>
        <Label alias="Diarrhea" hotkey="D" value="Diarrhea" background="#aa66cc"/>
        <Label alias="Fatigue" hotkey="F" value="fatigue" background="#808080"/>
        <Label alias="Malaise" hotkey="M" value="malaise" background="#ffdf4f"/>
        <Label alias="Lethargy" hotkey="L" value="lethargy" background="#ffdf4f"/>
      </Labels>
    </View>
  </View>
  <View style="height: 100%; overflow: auto;">
	<View style="height: 100%; width: 50%; padding-left: 5%; float:left; overflow: auto;">
    <Header value="Abdominal Pain"/>
    <Choices name="abdpain" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Back Pain"/>
    <Choices name="backpain" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Weight Loss"/>
    <Choices name="weightloss" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Loss of Appetite"/>
    <Choices name="anorexia" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Jaundice"/>
    <Choices name="jaundice" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Indigestion"/>
    <Choices name="indigestion" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Steatorrhea"/>
    <Choices name="steatorrhea" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Urine Color Change"/>
    <Choices name="urinecolorchange" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
  </View>
  <View style="height: 99%; width: 40%; float:right; overflow: auto;">
    <Header value="Constipation"/>
    <Choices name="constipation" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Nausea"/>
    <Choices name="nausea" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Vomiting"/>
    <Choices name="vomiting" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Diarrhea"/>
    <Choices name="diarrhea" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Fatigue"/>
    <Choices name="fatigue" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Malaise"/>
    <Choices name="malaise" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    <Header value="Lethargy"/>
    <Choices name="lethargy" toName="text" choice="single" showInLine="true">
      <Choice value="Present"/>
      <Choice value="Confirmed absent"/>
      <Choice value="Not discussed" selected="true"/>
    </Choices>
    </View>
    </View>
</View>
Editor is loading...