0.1.0 - ci-build International flag

HL7CGModels - Local Development build (v0.1.0). See the Directory of published versions

Logical Model: Molecular Sequence

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from DomainResource

Summary

Mandatory: 0 element (10 nested mandatory elements)

Structures

This structure refers to these other structures:

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. MolecularSequence 0..*DomainResourceMolecular Sequence
... name 0..1stringName of sequence
... type 1..1CodeableConceptThe type of sequence (genomic, mRNA, protein, ...)
... identifier[x] 0..*Identifier(s) for the sequence
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation
.... literal 0..1BackboneElementLiteral sequence
..... encoding 0..1CodeableConceptThe coding system (alphabet) used by the sequence
..... value 1..1stringThe literal sequence expressed as a string
.... formatted 0..1BackboneElementA formatted sequence
..... file 1..1AttachmentAttached file
.... resolveable 0..1BackboneElementA sequenced retrieved from a URI
..... uri 1..1uriA URI that, when resolved, will return the sequence
..... format 0..1codeThe format of the resolved sequence
.... relative 0..1BackboneElementA Sequence defined relative to another Sequence(s)
..... startingSequence[x] 1..1The starting Sequence
...... startingSequenceStringstring
...... startingSequenceReferenceReference(Molecular Sequence)
..... edits 1..*BackboneElementThe edits to apply to the starting sequence
...... interval 1..1http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseIntervalThe interval on the current Sequence that defines the region to be replaced
...... referenceSequence[x] 0..1Contents of the sequence that will be edited
....... referenceSequenceStringstring
....... referenceSequenceReferenceReference(Molecular Sequence)
...... replacementSequence[x] 1..1The content used in the replacement
....... replacementSequenceStringstring
....... replacementSequenceReferenceReference(Molecular Sequence)
... relationship 0..*BackboneElementRelationship between two Sequences
.... type 1..1CodeableConceptRelationship type
.... description 0..1stringRelationship description
.... sequence 1..1Reference(Molecular Sequence)The target of the sequence relationship

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MolecularSequence 0..*DomainResourceMolecular Sequence
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... Slices for modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... name 0..1stringName of sequence
... type 1..1CodeableConceptThe type of sequence (genomic, mRNA, protein, ...)
... identifier[x] 0..*Identifier(s) for the sequence
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation
... representations 0..*BackboneElementRepresents the many different ways a molecular sequence could be represented
.... literal 0..1BackboneElementLiteral sequence
..... encoding 0..1CodeableConceptThe coding system (alphabet) used by the sequence
..... value 1..1stringThe literal sequence expressed as a string
.... formatted 0..1BackboneElementA formatted sequence
..... file 1..1AttachmentAttached file
.... resolveable 0..1BackboneElementA sequenced retrieved from a URI
..... uri 1..1uriA URI that, when resolved, will return the sequence
..... format 0..1codeThe format of the resolved sequence
.... relative 0..1BackboneElementA Sequence defined relative to another Sequence(s)
..... startingSequence[x] 1..1The starting Sequence
...... startingSequenceStringstring
...... startingSequenceReferenceReference(Molecular Sequence)
..... edits 1..*BackboneElementThe edits to apply to the starting sequence
...... interval 1..1http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseIntervalThe interval on the current Sequence that defines the region to be replaced
...... referenceSequence[x] 0..1Contents of the sequence that will be edited
....... referenceSequenceStringstring
....... referenceSequenceReferenceReference(Molecular Sequence)
...... replacementSequence[x] 1..1The content used in the replacement
....... replacementSequenceStringstring
....... replacementSequenceReferenceReference(Molecular Sequence)
... relationship 0..*BackboneElementRelationship between two Sequences
.... type 1..1CodeableConceptRelationship type
.... description 0..1stringRelationship description
.... sequence 1..1Reference(Molecular Sequence)The target of the sequence relationship

doco Documentation for this format

This structure is derived from DomainResource

Summary

Mandatory: 0 element (10 nested mandatory elements)

Structures

This structure refers to these other structures:

Differential View

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. MolecularSequence 0..*DomainResourceMolecular Sequence
... name 0..1stringName of sequence
... type 1..1CodeableConceptThe type of sequence (genomic, mRNA, protein, ...)
... identifier[x] 0..*Identifier(s) for the sequence
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation
.... literal 0..1BackboneElementLiteral sequence
..... encoding 0..1CodeableConceptThe coding system (alphabet) used by the sequence
..... value 1..1stringThe literal sequence expressed as a string
.... formatted 0..1BackboneElementA formatted sequence
..... file 1..1AttachmentAttached file
.... resolveable 0..1BackboneElementA sequenced retrieved from a URI
..... uri 1..1uriA URI that, when resolved, will return the sequence
..... format 0..1codeThe format of the resolved sequence
.... relative 0..1BackboneElementA Sequence defined relative to another Sequence(s)
..... startingSequence[x] 1..1The starting Sequence
...... startingSequenceStringstring
...... startingSequenceReferenceReference(Molecular Sequence)
..... edits 1..*BackboneElementThe edits to apply to the starting sequence
...... interval 1..1http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseIntervalThe interval on the current Sequence that defines the region to be replaced
...... referenceSequence[x] 0..1Contents of the sequence that will be edited
....... referenceSequenceStringstring
....... referenceSequenceReferenceReference(Molecular Sequence)
...... replacementSequence[x] 1..1The content used in the replacement
....... replacementSequenceStringstring
....... replacementSequenceReferenceReference(Molecular Sequence)
... relationship 0..*BackboneElementRelationship between two Sequences
.... type 1..1CodeableConceptRelationship type
.... description 0..1stringRelationship description
.... sequence 1..1Reference(Molecular Sequence)The target of the sequence relationship

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MolecularSequence 0..*DomainResourceMolecular Sequence
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... Slices for modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... name 0..1stringName of sequence
... type 1..1CodeableConceptThe type of sequence (genomic, mRNA, protein, ...)
... identifier[x] 0..*Identifier(s) for the sequence
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/GenomeSequenceDesignation
.... identifierHttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignationhttp://hl7.org/fhir/uv/cg-model/StructureDefinition/IdentifierSequenceDesignation
... representations 0..*BackboneElementRepresents the many different ways a molecular sequence could be represented
.... literal 0..1BackboneElementLiteral sequence
..... encoding 0..1CodeableConceptThe coding system (alphabet) used by the sequence
..... value 1..1stringThe literal sequence expressed as a string
.... formatted 0..1BackboneElementA formatted sequence
..... file 1..1AttachmentAttached file
.... resolveable 0..1BackboneElementA sequenced retrieved from a URI
..... uri 1..1uriA URI that, when resolved, will return the sequence
..... format 0..1codeThe format of the resolved sequence
.... relative 0..1BackboneElementA Sequence defined relative to another Sequence(s)
..... startingSequence[x] 1..1The starting Sequence
...... startingSequenceStringstring
...... startingSequenceReferenceReference(Molecular Sequence)
..... edits 1..*BackboneElementThe edits to apply to the starting sequence
...... interval 1..1http://hl7.org/fhir/uv/cg-model/StructureDefinition/MolecularPreciseIntervalThe interval on the current Sequence that defines the region to be replaced
...... referenceSequence[x] 0..1Contents of the sequence that will be edited
....... referenceSequenceStringstring
....... referenceSequenceReferenceReference(Molecular Sequence)
...... replacementSequence[x] 1..1The content used in the replacement
....... replacementSequenceStringstring
....... replacementSequenceReferenceReference(Molecular Sequence)
... relationship 0..*BackboneElementRelationship between two Sequences
.... type 1..1CodeableConceptRelationship type
.... description 0..1stringRelationship description
.... sequence 1..1Reference(Molecular Sequence)The target of the sequence relationship

doco Documentation for this format

 

Other representations of profile: CSV, Excel

Terminology Bindings

PathConformanceValueSet
MolecularSequence.languagepreferredCommonLanguages
Max Binding: AllLanguages

Constraints

IdGradePathDetailsRequirements
dom-2errorMolecularSequenceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMolecularSequenceIf 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-4errorMolecularSequenceIf 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-5errorMolecularSequenceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeMolecularSequenceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorMolecularSequence.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMolecularSequence.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMolecularSequence.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMolecularSequence.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMolecularSequence.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMolecularSequence.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMolecularSequence.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMolecularSequence.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()