ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

MolecularSequence

A molecular sequence (DNA, RNA, AA) with coordinates, variants, reference citations. The raw material for FHIR genomics.

Purpose

MolecularSequence carries the raw sequential data: genome, exome, targeted fragment. It references a Patient, an originating GenomicStudy, and may carry detected variants. The resource is sized to point to external files (VCF/FASTA) rather than inline the terabytes of sequential data.

Key elements

FieldTypeCardinalityRole
identifierIdentifier[]0..*Sequence identifiers.
typecode0..1`aa`, `dna`, `rna`.
subjectReference(Patient | Group | Substance | BiologicallyDerivedProduct | NutritionProduct)0..1Analysis subject.
focusReference(Any)[]0..*Analysis focus (gene, region).
specimenReference(Specimen)0..1Source specimen.
deviceReference(Device)0..1Sequencing platform.
performerReference(Organization)0..1Performing lab.
literalstring0..1Inline sequence (short).
formattedAttachment[]0..*FASTA/VCF files.
relativeBackboneElement[]0..*Coordinates relative to a reference.

JSON example

json molecularsequence-example.json
{
  "resourceType": "MolecularSequence",
  "id": "example-brca1-variant",
  "type": "dna",
  "subject": {
    "reference": "Patient/oncology-12345"
  },
  "focus": [{
    "reference": "Observation/brca1-region"
  }],
  "specimen": {
    "reference": "Specimen/blood-sample-001"
  },
  "device": {
    "reference": "Device/illumina-novaseq-6000"
  },
  "performer": {
    "reference": "Organization/genomics-lab"
  },
  "literal": "ACTGCAGTCGATCGTACGATCG"
}

Common pitfalls

  • Trying to inline a full genome: the resource should point to external VCF/BAM.
  • No Specimen: impossible to tie the sequence back to a physical specimen.
  • Type=aa for a DNA sequence: confusion, impact on alignment tools.