Molecular Definition Implementation Guide for Molecular Data Types, published by HL7 International / Clinical Genomics. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/molecular-definition-data-types/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/molecular-definition-data-types/StructureDefinition/haplotype | Version: 1.0.0-ballot1 | |||
Standards status: Informative | Computable Name: Haplotype |
Haplotype profile of MolecularDefinition Resource
The Haplotype profile is designed to represent genomic haplotypes as collections of alleles that reside in a cis configuration. It utilizes the member element to reference one or more alleles, each defined through the Allele profile. The location element is not used directly in the Haplotype profile; instead, genomic locations are conveyed through the referenced member alleles. This structure enables precise representation of complex genetic makeup in a unified way.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) |
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
dom-5 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | MolecularDefinition | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
This structure is derived from MolecularDefinition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) |
![]() ![]() ![]() |
0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) | |
![]() ![]() ![]() |
S | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Unique ID of an instance | ||||
![]() ![]() ![]() |
0..1 | markdown | Description of the Molecular Definition instance | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The type of molecule (e.g., DNA, RNA, amino acid) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | A representation of a molecular entity | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The domain concept that is the focus of a given instance of the representation | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A code (e.g., sequence accession number) used to represent a molecular entity | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(DocumentReference) | A resolvable representation of a molecular entity (e.g., URI, attached and formatted file) | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.language | Base | required | All Languages | 📍6.0.0-ballot3 | FHIR Std. |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.location.sequenceLocation.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
MolecularDefinition.representation.extracted.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
MolecularDefinition.representation.relative.edit.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
dom-5 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | MolecularDefinition | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
This structure is derived from MolecularDefinition
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) |
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
dom-5 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | MolecularDefinition | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
Differential View
This structure is derived from MolecularDefinition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) |
![]() ![]() ![]() |
0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) | |
![]() ![]() ![]() |
S | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MolecularDefinition | Definitional content for a molecular entity | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Unique ID of an instance | ||||
![]() ![]() ![]() |
0..1 | markdown | Description of the Molecular Definition instance | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The type of molecule (e.g., DNA, RNA, amino acid) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Classification of the molecule into types other than those defined by moleculeType Binding: Molecule Type ValueSet (required) | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The structural topology of the molecular entity (e.g., linear, circular) Binding: Topology ValueSet (required) | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Allele) | Constituents of an aggregate molecular concept (e.g., haplotype, genotype) | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | A representation of a molecular entity | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The domain concept that is the focus of a given instance of the representation | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A code (e.g., sequence accession number) used to represent a molecular entity | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(DocumentReference) | A resolvable representation of a molecular entity (e.g., URI, attached and formatted file) | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
MolecularDefinition.language | Base | required | All Languages | 📍6.0.0-ballot3 | FHIR Std. |
MolecularDefinition.type | Base | required | Molecule Type ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.topology | Base | required | Topology ValueSet | 📦1.0.0-ballot1 | This IG |
MolecularDefinition.location.sequenceLocation.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
MolecularDefinition.representation.extracted.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
MolecularDefinition.representation.relative.edit.coordinateInterval.coordinateSystem.system | Base | extensible | LOINC Answer Codes for LL5323-2 (missing link) | 📦 | unknown? |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | MolecularDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
dom-5 | error | MolecularDefinition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | MolecularDefinition | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
This structure is derived from MolecularDefinition
Other representations of profile: CSV, Excel, Schematron