0.1.0 - ci-build
HL7CGModels - Local Development build (v0.1.0). See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularSequence | Version: 0.1.0 | |||
Active as of 2022-03-10 | Computable Name: MolecularSequence |
Next version of MolecularSequence resource
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from DomainResource
This structure is derived from DomainResource
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MolecularSequence | 0..* | DomainResource | Molecular Sequence | |
name | 0..1 | string | Name of sequence | |
type | 1..1 | CodeableConcept | The type of sequence (genomic, mRNA, protein, ...) | |
identifier[x] | 0..* | Identifier(s) for the sequence | ||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | |||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | |||
representations | 0..* | BackboneElement | Represents the many different ways a molecular sequence could be represented | |
literal | 0..1 | BackboneElement | Literal sequence | |
encoding | 0..1 | CodeableConcept | The coding system (alphabet) used by the sequence | |
value | 1..1 | string | The literal sequence expressed as a string | |
formatted | 0..1 | BackboneElement | A formatted sequence | |
file | 1..1 | Attachment | Attached file | |
resolveable | 0..1 | BackboneElement | A sequenced retrieved from a URI | |
uri | 1..1 | uri | A URI that, when resolved, will return the sequence | |
format | 0..1 | code | The format of the resolved sequence | |
relative | 0..1 | BackboneElement | A Sequence defined relative to another Sequence(s) | |
startingSequence[x] | 1..1 | The starting Sequence | ||
startingSequenceString | string | |||
startingSequenceReference | Reference(Molecular Sequence) | |||
edits | 1..* | BackboneElement | The edits to apply to the starting sequence | |
interval | 1..1 | http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseInterval | The interval on the current Sequence that defines the region to be replaced | |
referenceSequence[x] | 0..1 | Contents of the sequence that will be edited | ||
referenceSequenceString | string | |||
referenceSequenceReference | Reference(Molecular Sequence) | |||
replacementSequence[x] | 1..1 | The content used in the replacement | ||
replacementSequenceString | string | |||
replacementSequenceReference | Reference(Molecular Sequence) | |||
relationship | 0..* | BackboneElement | Relationship between two Sequences | |
type | 1..1 | CodeableConcept | Relationship type | |
description | 0..1 | string | Relationship description | |
sequence | 1..1 | Reference(Molecular Sequence) | The target of the sequence relationship | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MolecularSequence | 0..* | DomainResource | Molecular Sequence | |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
Slices for modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
name | 0..1 | string | Name of sequence | |
type | 1..1 | CodeableConcept | The type of sequence (genomic, mRNA, protein, ...) | |
identifier[x] | 0..* | Identifier(s) for the sequence | ||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | |||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | |||
representations | 0..* | BackboneElement | Represents the many different ways a molecular sequence could be represented | |
literal | 0..1 | BackboneElement | Literal sequence | |
encoding | 0..1 | CodeableConcept | The coding system (alphabet) used by the sequence | |
value | 1..1 | string | The literal sequence expressed as a string | |
formatted | 0..1 | BackboneElement | A formatted sequence | |
file | 1..1 | Attachment | Attached file | |
resolveable | 0..1 | BackboneElement | A sequenced retrieved from a URI | |
uri | 1..1 | uri | A URI that, when resolved, will return the sequence | |
format | 0..1 | code | The format of the resolved sequence | |
relative | 0..1 | BackboneElement | A Sequence defined relative to another Sequence(s) | |
startingSequence[x] | 1..1 | The starting Sequence | ||
startingSequenceString | string | |||
startingSequenceReference | Reference(Molecular Sequence) | |||
edits | 1..* | BackboneElement | The edits to apply to the starting sequence | |
interval | 1..1 | http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseInterval | The interval on the current Sequence that defines the region to be replaced | |
referenceSequence[x] | 0..1 | Contents of the sequence that will be edited | ||
referenceSequenceString | string | |||
referenceSequenceReference | Reference(Molecular Sequence) | |||
replacementSequence[x] | 1..1 | The content used in the replacement | ||
replacementSequenceString | string | |||
replacementSequenceReference | Reference(Molecular Sequence) | |||
relationship | 0..* | BackboneElement | Relationship between two Sequences | |
type | 1..1 | CodeableConcept | Relationship type | |
description | 0..1 | string | Relationship description | |
sequence | 1..1 | Reference(Molecular Sequence) | The target of the sequence relationship | |
Documentation for this format |
This structure is derived from DomainResource
Differential View
This structure is derived from DomainResource
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MolecularSequence | 0..* | DomainResource | Molecular Sequence | |
name | 0..1 | string | Name of sequence | |
type | 1..1 | CodeableConcept | The type of sequence (genomic, mRNA, protein, ...) | |
identifier[x] | 0..* | Identifier(s) for the sequence | ||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | |||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | |||
representations | 0..* | BackboneElement | Represents the many different ways a molecular sequence could be represented | |
literal | 0..1 | BackboneElement | Literal sequence | |
encoding | 0..1 | CodeableConcept | The coding system (alphabet) used by the sequence | |
value | 1..1 | string | The literal sequence expressed as a string | |
formatted | 0..1 | BackboneElement | A formatted sequence | |
file | 1..1 | Attachment | Attached file | |
resolveable | 0..1 | BackboneElement | A sequenced retrieved from a URI | |
uri | 1..1 | uri | A URI that, when resolved, will return the sequence | |
format | 0..1 | code | The format of the resolved sequence | |
relative | 0..1 | BackboneElement | A Sequence defined relative to another Sequence(s) | |
startingSequence[x] | 1..1 | The starting Sequence | ||
startingSequenceString | string | |||
startingSequenceReference | Reference(Molecular Sequence) | |||
edits | 1..* | BackboneElement | The edits to apply to the starting sequence | |
interval | 1..1 | http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseInterval | The interval on the current Sequence that defines the region to be replaced | |
referenceSequence[x] | 0..1 | Contents of the sequence that will be edited | ||
referenceSequenceString | string | |||
referenceSequenceReference | Reference(Molecular Sequence) | |||
replacementSequence[x] | 1..1 | The content used in the replacement | ||
replacementSequenceString | string | |||
replacementSequenceReference | Reference(Molecular Sequence) | |||
relationship | 0..* | BackboneElement | Relationship between two Sequences | |
type | 1..1 | CodeableConcept | Relationship type | |
description | 0..1 | string | Relationship description | |
sequence | 1..1 | Reference(Molecular Sequence) | The target of the sequence relationship | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MolecularSequence | 0..* | DomainResource | Molecular Sequence | |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
Slices for modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
name | 0..1 | string | Name of sequence | |
type | 1..1 | CodeableConcept | The type of sequence (genomic, mRNA, protein, ...) | |
identifier[x] | 0..* | Identifier(s) for the sequence | ||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation | |||
identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | http://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation | |||
representations | 0..* | BackboneElement | Represents the many different ways a molecular sequence could be represented | |
literal | 0..1 | BackboneElement | Literal sequence | |
encoding | 0..1 | CodeableConcept | The coding system (alphabet) used by the sequence | |
value | 1..1 | string | The literal sequence expressed as a string | |
formatted | 0..1 | BackboneElement | A formatted sequence | |
file | 1..1 | Attachment | Attached file | |
resolveable | 0..1 | BackboneElement | A sequenced retrieved from a URI | |
uri | 1..1 | uri | A URI that, when resolved, will return the sequence | |
format | 0..1 | code | The format of the resolved sequence | |
relative | 0..1 | BackboneElement | A Sequence defined relative to another Sequence(s) | |
startingSequence[x] | 1..1 | The starting Sequence | ||
startingSequenceString | string | |||
startingSequenceReference | Reference(Molecular Sequence) | |||
edits | 1..* | BackboneElement | The edits to apply to the starting sequence | |
interval | 1..1 | http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseInterval | The interval on the current Sequence that defines the region to be replaced | |
referenceSequence[x] | 0..1 | Contents of the sequence that will be edited | ||
referenceSequenceString | string | |||
referenceSequenceReference | Reference(Molecular Sequence) | |||
replacementSequence[x] | 1..1 | The content used in the replacement | ||
replacementSequenceString | string | |||
replacementSequenceReference | Reference(Molecular Sequence) | |||
relationship | 0..* | BackboneElement | Relationship between two Sequences | |
type | 1..1 | CodeableConcept | Relationship type | |
description | 0..1 | string | Relationship description | |
sequence | 1..1 | Reference(Molecular Sequence) | The target of the sequence relationship | |
Documentation for this format |
Other representations of profile: CSV, Excel
Path | Conformance | ValueSet |
MolecularSequence.language | preferred | CommonLanguages Max Binding: AllLanguages |
Id | Grade | Path | Details | Requirements |
dom-2 | error | MolecularSequence | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MolecularSequence | 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 in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | MolecularSequence | 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 | MolecularSequence | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Best Practice | MolecularSequence | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | MolecularSequence.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | MolecularSequence.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | MolecularSequence.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | MolecularSequence.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | MolecularSequence.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | MolecularSequence.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | MolecularSequence.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | MolecularSequence.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |