FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example MolecularDefinition/example-haplotype2 (Turtle)

Clinical Genomics Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Simple Haplotype example 2

@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:MolecularDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-haplotype2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/haplotype"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/haplotype>
     ] )
  ] ; # 
  fhir:type [ fhir:v "dna"] ; # 
  fhir:location ( [
     fhir:sequenceLocation [
       fhir:sequenceContext [
         fhir:reference [ fhir:v "MolecularDefinition/example-sequence-hla000011" ] ;
         fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
         fhir:display [ fhir:v "Starting Sequence Resource: HLA00001 (A*01:01:01:01)" ]
       ]
     ]
  ] ) ; # 
  fhir:memberState ( [
     fhir:reference [ fhir:v "MolecularDefinition/example-allele3" ] ;
     fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "First Allele, HLA00001.1:c.98T>C" ]
  ] [
     fhir:reference [ fhir:v "MolecularDefinition/example-allele4" ] ;
     fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "Second Allele, HLA00001.1:c.121C>A" ]
  ] [
     fhir:reference [ fhir:v "MolecularDefinition/example-allele5" ] ;
     fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "Third Allele, HLA00001.1:c.123C>T" ]
  ] [
     fhir:reference [ fhir:v "MolecularDefinition/example-allele6" ] ;
     fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "Fourth Allele, HLA00001.1:c.126G>A" ]
  ] [
     fhir:reference [ fhir:v "MolecularDefinition/example-allele7" ] ;
     fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
     fhir:display [ fhir:v "Fifth Allele, HLA00001.1:c.144C>A" ]
  ] )] . # 

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


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.