Publish-box (todo)
Example MolecularDefinition/example-allele6 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Simple Allele example 6
@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-allele6"] ; #
fhir:meta [
fhir:profile ( [
fhir:v "http://hl7.org/fhir/StructureDefinition/allele"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/allele>
] )
] ; #
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" ]
]
]
] ) ; #
fhir:representation ( [
fhir:relative [
fhir:startingMolecule [
fhir:reference [ fhir:v "MolecularDefinition/example-sequence-hla000011" ] ;
fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Starting Sequence Resource: HLA00001" ]
] ;
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 "125"^^xsd:integer ] ;
fhir:end [ fhir:v "126"^^xsd:integer ] ;
fhir:replacementMolecule [
fhir:reference [ fhir:v "MolecularDefinition/example-sequence-a" ] ;
fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Replacement Sequence Resource: A" ]
] ;
fhir:replacedMolecule [
fhir:reference [ fhir:v "MolecularDefinition/example-sequence-g" ] ;
fhir:type [ fhir:v "MolecularDefinition"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Replaced Sequence Resource: G" ]
]
] )
]
] )] . #
# -------------------------------------------------------------------------------------
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.