This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Clinical Genomics Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Patient |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Simple sequence example
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:MolecularSequence; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MolecularSequence</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MolecularSequence "example" </p></div><p><b>type</b>: dna</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><h3>Formatteds</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td></tr><tr><td>*</td><td>application/json</td><td><a href=\"http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json\">http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json</a></td><td>GA4GH API</td></tr></table></div>" ]; fhir:MolecularSequence.type [ fhir:value "dna"]; fhir:MolecularSequence.subject [ fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:MolecularSequence.formatted [ fhir:index 0; fhir:Attachment.contentType [ fhir:value "application/json" ]; fhir:Attachment.url [ fhir:value "http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json" ]; fhir:Attachment.title [ fhir:value "GA4GH API" ] ]] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.