This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Clinical Genomics Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Simple sequence example
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <https://loinc.org/rdf/> . @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:MolecularDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:type [ fhir:v "dna"] ; # fhir:representation ( [ fhir:literal [ fhir:value [ fhir:v "ATGAACAGACAAGTAAAAGACATGACAGYGATACTTTCCCAGAGCTGAAGTTAACAAATGCACCTGGTTC TTTTACTAAGTGTTCAAATACCAGTGAACTTAAAGAATTTGTCAATCCTAGCCTTCCAAGAGAAGAAAAA GAAGAGAAACTAGAAACAGTTAAAGTGTCTAATAATGCTGAAGACCCCAAAGATCTCATGTTAAGTGGAG AAAGGGTTTTGCAAACTGAAAGATCTGTAGAGAGTAGCAGTATTTCAYTGGTACCTGGTACTGATTATGG CACTCAGGAAAGTATCTCGTTACTGGAAGTTAGCACTCTAGGGAAGGCAAAAACAGAACCAAATAAATGT GTGAGTCAGTGTGCAGCATTTGAAAACCCCAAGGGACTAATTCATGGTTGTTCCAAAGATAATAGAAATG ACACAGAAGGCTTTAAGTATCCATTGGGACATGAAGTTAACCACAGTCGGGAAACAAGCATAGAAATGGA AGAAAGTGAACTTGATGCTCAGTATTTGCAGAATACATTCAAGGTTTCAAAGCGCCAGTCATTTGCTCYG TTTTCAAATCCAGGAAATGCAGAAGAGGAATGTGCAACATTCTCTGCCCACTCTGGGTCCTTAAAGAAAC AAAGTCCAAAAGTCACTTTTGAATGTGAACAAAAGGAAGAAAATCAAGGAAAGAATGAGTCTAATATCAA GCCTGTACAGACAGTTAATATCACTGCAGGCTTTCCTGTGGTTGGTCAGAAAGA" ] ] ; # <encoding>\n <coding>\n <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/...\"\/>\n <code value=\"\"\/>\n <display value=\"\"\/>\n <\/coding>\n <text value=\"\"\/>\n <\/encoding> fhir:resolvable [ fhir:contentType [ fhir:v "text/html" ] ; fhir:url [ fhir:v "https://www.ncbi.nlm.nih.gov/nuccore/MW716256.1?report=fasta"^^xsd:anyURI ] ] ; fhir:extracted [ fhir:startingMolecule [ fhir:reference [ fhir:v "MolecularDefinition/example-starting-sequence-2b-extracted" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Starting Sequence Resource" ] ] ; fhir:start [ fhir:v "0"^^xsd:integer ] ; fhir:end [ fhir:v "745"^^xsd:integer ] ; fhir:coordinateSystem [ fhir:coding ( [ a loinc:LA30100-4 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "LA30100-4" ] ; fhir:display [ fhir:v "0-based interval counting" ] ] ) ; fhir:text [ fhir:v "0-based interval counting" ] ] ; fhir:reverseComplement [ fhir:v "false"^^xsd:boolean ] ] ; fhir:concatenated [ fhir:sequenceElement ( [ fhir:sequence [ fhir:reference [ fhir:v "MolecularDefinition/example-sequence0-2b-concatenated" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Sequence-of index 0-Resource for concatenated sequence example" ] ] ; fhir:ordinalIndex [ fhir:v "0"^^xsd:integer ] ] [ fhir:sequence [ fhir:reference [ fhir:v "MolecularDefinition/example-sequence1-2b-concatenated" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Sequence-of index 1-Resource for concatenated sequence example" ] ] ; fhir:ordinalIndex [ fhir:v "1"^^xsd:integer ] ] [ fhir:sequence [ fhir:reference [ fhir:v "MolecularDefinition/example-sequence2-2b-concatenated" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Sequence-of index 2-Resource for concatenated sequence example" ] ] ; fhir:ordinalIndex [ fhir:v "2"^^xsd:integer ] ] ) ] ; fhir:relative [ fhir:startingMolecule [ fhir:reference [ fhir:v "MolecularDefinition/example-starting-sequence-2b-relative" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Starting Sequence Resource" ] ] ; fhir:edit ( [ fhir:coordinateSystem [ fhir:coding ( [ a loinc:LA30100-4 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "LA30100-4" ] ; fhir:display [ fhir:v "0-based interval counting" ] ] ) ; fhir:text [ fhir:v "0-based interval counting" ] ] ; fhir:start [ fhir:v "0"^^xsd:integer ] ; fhir:end [ fhir:v "725"^^xsd:integer ] ; fhir:replacementMolecule [ fhir:reference [ fhir:v "MolecularDefinition/example-replacement-sequence" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Replacement Sequence Resource" ] ] ; fhir:replacedMolecule [ fhir:reference [ fhir:v "MolecularDefinition/example-replaced-sequence" ] ; fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ; fhir:display [ fhir:v "Replaced Sequence Resource" ] ] ] ) ] ] )] . # <subject> # <reference value="Patient/example"/> # </subject> , <formatted> # <contentType value="application/json"/> # <url value="http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json"/> # <title value="GA4GH API"/> # </formatted> , <repeated> # <sequenceMotif> # <reference value="MolecularDefinition/SequenceMotifExample"/> # <type value="MolecularDefinition"/> # <display value="Sequence Motif Resource"/> # </sequenceMotif> # <copyCount value="5"/> # </repeated> # -------------------------------------------------------------------------------------
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Fri, Nov 22, 2024 02:22+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change