STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Sequence-example.ttl

Raw Turtle, JSON-LD

Example of sequence

@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 sct: <http://snomed.info/sct/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//Sequence/example> a fhir:Sequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Sequence.type [ fhir:value "DNA"];
  fhir:Sequence.patient [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Sequence.species [
     a sct:337915000;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:337915000;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "337915000" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Homo sapiens" ]
  ];
  fhir:Sequence.referenceSeq [
     fhir:index 0;
     fhir:Sequence.referenceSeq.referenceSeqId [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore" ];
         fhir:Coding.code [ fhir:value "NC_000007.14" ]       ]     ];
     fhir:Sequence.referenceSeq.windowStart [ fhir:value "55227970"^^xs:int ];
     fhir:Sequence.referenceSeq.windowEnd [ fhir:value "55227980"^^xs:int ]
  ];
  fhir:Sequence.variation [
     fhir:Sequence.variation.start [ fhir:value "55227976"^^xs:int ];
     fhir:Sequence.variation.end [ fhir:value "55227977"^^xs:int ];
     fhir:Sequence.variation.observedAllele [ fhir:value "T" ];
     fhir:Sequence.variation.referenceAllele [ fhir:value "A" ]
  ];
  fhir:Sequence.repository [
     fhir:index 0;
     fhir:Sequence.repository.url [ fhir:value "https://www.googleapis.com/genomics/v1beta2" ];
     fhir:Sequence.repository.name [ fhir:value "ga4gh" ];
     fhir:Sequence.repository.variantId [ fhir:value "A1A2" ]
  ].

# -------------------------------------------------------------------------------------


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.