DNASequences.png
DNASequence 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:

<DNASequence>
    <patient><!--1..1 Resource(patient) Owner of this DNASequence--></patient>
    <sequence><!--1..1 Resource(sequence) Details about this DNASequence--></sequence>
    <relatedGene><!--0..1 Resource(gene) Gene that this DNASequence relates to--></relatedGene>
</DNASequence>

EXAMPLE IN: XML JSON

XML
<?xml version="1.0" encoding="UTF-8"?>
<DNASequence>
    <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
            <p>DNA sequence at chr17:134-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/chr17_124_214357"/>
        <display value="BRCA1"/>
    </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="BRCA1"/>
    </relatedGene>
</DNASequence>



JSON
    "DNASequence": {
        "text": {
            "status": {
                "value": "generated"
            }
    "div" : "<div xmlns='http://www.w3.org/1999/xhtml'><p>DNA sequence at chr17:134-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/chr17_124_214357"
                },
                "type": {
                    "value": "Gene"
                },
                "display": {
                    "value": "BRCA1"
                }
            }
        ],
        "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": "BRCA1"
            }
        }
    }