RNASequence.png

RNASequence is a resource derived from Sequence,and contains 1) the basic of the sequence 2) the gene that the sequence relates to(if any)








RESOURCE PROFILE:
<RNASequence>
    <patient><!--1..1 Resource(patient) Owner of this RNASequence--></patient>
    <sequence><!--1..1 Resource(sequence) Detail about this RNASequence--></sequence>
    <relatedGene><!--0..1 Resource(gene) Gene that this RNASequence transcribed from--></relatedGene>
</RNASequence>


EXAMPLE IN: XML JSON

XML
<?xml version="1.0" encoding="UTF-8"?>
<RNASequence>
    <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
            <p>RNA seuqence transcribed from region chr12:12456-214357 for patient 123</p>
        </div>
    </text>
    <contained>
        <type value="Patient"/>
        <url value="../patient/123"/>
        <display value="John Doe"/>
    </contained>
    <contained>
        <type value="Sequence"/>
        <url value="../sequence/231"/>
    </contained>
    <contained>
        <type value="Gene"/>
        <url value="../gene/chr12_12456_214357"/>
        <display value="GBA"/>
    </contained>
    <patient>
        <type value="Patient"/>
        <url value="../patient/123"/>
    </patient>
    <sequence>
        <type value="Sequence"/>
        <url value="../sequence/231"/>
    </sequence>
    <relatedGene>
        <type value="Gene"/>
        <url value="../gene/478"/>
        <display value="GBA"/>
    </relatedGene>
</RNASequence>

JSON
    {
        "text": {
            "status": {
                "value": "generated"
            },
            "div" : "<div xmlns='http://www.w3.org/1999/xhtml'><p>RNA seuqence transcribed from region chr12:12456-214357 for patient 123</p></div>"
        },
        "contained": [
            {
                "url": {
                    "value": "../patient/123"
                },
                "type": {
                    "value": "Patient"
                },
                "display": {
                    "value": "John Doe"
                }
            },
            {
                "url": {
                    "value": "../sequence/231"
                },
                "type": {
                    "value": "Sequence"
                }
            },
            {
                "url": {
                    "value": "../gene/chr12_12456_214357"
                },
                "type": {
                    "value": "Gene"
                },
                "display": {
                    "value": "GBA"
                }
            }
        ],
        "patient": {
            "url": {
                "value": "../patient/123"
            },
            "type": {
                "value": "Patient"
            }
        },
        "sequence": {
            "url": {
                "value": "../sequence/231"
            },
            "type": {
                "value": "Sequence"
            }
        },
        "relatedGene": {
            "url": {
                "value": "../gene/478"
            },
            "type": {
                "value": "Gene"
            },
            "display": {
                "value": "GBA"
            }
        }
    }