R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Sequence.profile.json

Clinical Genomics Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form)

StructureDefinition for sequence

{
  "resourceType": "StructureDefinition",
  "id": "Sequence",
  "meta": {
    "lastUpdated": "2018-04-03T12:05:46.262+10:00"
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Trial Use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cg"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/Sequence",
  "name": "Sequence",
  "status": "draft",
  "date": "2018-04-03T12:05:46+10:00",
  "publisher": "Health Level Seven International (Clinical Genomics)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/clingenomics/index.cfm"
        }
      ]
    }
  ],
  "description": "Raw data describing a biological sequence.",
  "fhirVersion": "3.3.0",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Sequence",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "Sequence",
        "path": "Sequence",
        "short": "Information about a biological sequence",
        "definition": "Raw data describing a biological sequence.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "DomainResource"
          },
          {
            "key": "dom-1",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression": "contained.text.empty()",
            "xpath": "not(parent::f:contained and f:text)",
            "source": "DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source": "DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "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",
            "expression": "contained.all(('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists())",
            "xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
            "source": "DomainResource"
          },
          {
            "key": "seq-3",
            "severity": "error",
            "human": "Only 0 and 1 are valid for coordinateSystem",
            "expression": "coordinateSystem = 1 or coordinateSystem = 0",
            "xpath": "count(f:coordinateSystem[@value=0 and @value=1]) = 1"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          }
        ]
      },
      {
        "id": "Sequence.id",
        "path": "Sequence.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.meta",
        "path": "Sequence.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.implicitRules",
        "path": "Sequence.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
        "isSummary": true
      },
      {
        "id": "Sequence.language",
        "path": "Sequence.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      {
        "id": "Sequence.text",
        "path": "Sequence.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "Sequence.contained",
        "path": "Sequence.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.extension",
        "path": "Sequence.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.modifierExtension",
        "path": "Sequence.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Not known why this is labelled a modifier",
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.identifier",
        "path": "Sequence.identifier",
        "short": "Unique ID for this particular sequence. This is a FHIR-defined id",
        "definition": "A unique identifier for this particular sequence instance. This is a FHIR-defined id.",
        "requirements": "Allows sequences to be distinguished and referenced.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          }
        ]
      },
      {
        "id": "Sequence.type",
        "path": "Sequence.type",
        "short": "aa | dna | rna",
        "definition": "Amino Acid Sequence/ DNA Sequence / RNA Sequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "sequenceType"
            }
          ],
          "strength": "example",
          "description": "Type if a sequence -- DNA, RNA, or amino acid sequence",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-type"
        }
      },
      {
        "id": "Sequence.coordinateSystem",
        "path": "Sequence.coordinateSystem",
        "short": "Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)",
        "definition": "Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Sequence.coordinateSystem",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.patient",
        "path": "Sequence.patient",
        "short": "Who and/or what this is about",
        "definition": "The patient whose sequencing results are described by this resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.patient",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.specimen",
        "path": "Sequence.specimen",
        "short": "Specimen used for sequencing",
        "definition": "Specimen used for sequencing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.specimen",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Specimen"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.device",
        "path": "Sequence.device",
        "short": "The method for sequencing",
        "definition": "The method for sequencing, for example, chip information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.device",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.performer",
        "path": "Sequence.performer",
        "short": "Who should be responsible for test result",
        "definition": "The organization or lab that should be responsible for this result.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.performer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quantity",
        "path": "Sequence.quantity",
        "short": "The number of copies of the seqeunce of interest.  (RNASeq)",
        "definition": "The number of copies of the seqeunce of interest. (RNASeq).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq",
        "path": "Sequence.referenceSeq",
        "short": "A sequence used as reference",
        "definition": "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          },
          {
            "key": "seq-5",
            "severity": "error",
            "human": "GenomeBuild and chromosome must be both contained if either one of them is contained",
            "expression": "(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())",
            "xpath": "(exists(f:chromosome) and exists(f:genomeBuild)) or (not(exists(f:chromosome)) and not(exists(f:genomeBuild)))"
          },
          {
            "key": "seq-6",
            "severity": "error",
            "human": "Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer;  4. referenceSeqString;",
            "expression": "(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1",
            "xpath": "count(f:genomeBuild)+count(f:referenceSeqId)+count(f:referenceSeqPointer)+count(f:referenceSeqString)=1"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.id",
        "path": "Sequence.referenceSeq.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.referenceSeq.extension",
        "path": "Sequence.referenceSeq.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.referenceSeq.modifierExtension",
        "path": "Sequence.referenceSeq.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.referenceSeq.chromosome",
        "path": "Sequence.referenceSeq.chromosome",
        "short": "Chromosome containing genetic finding",
        "definition": "Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.chromosome",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "chromosome-human"
            }
          ],
          "strength": "example",
          "description": "Chromosome number for human",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/chromosome-human"
        }
      },
      {
        "id": "Sequence.referenceSeq.genomeBuild",
        "path": "Sequence.referenceSeq.genomeBuild",
        "short": "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'",
        "definition": "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'.  Version number must be included if a versioned release of a primary build was used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.genomeBuild",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.orientation",
        "path": "Sequence.referenceSeq.orientation",
        "short": "sense | antisense",
        "definition": "A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the \"sense\" strand, and the opposite complementary strand is the \"antisense\" strand.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.orientation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "orientationType"
            }
          ],
          "strength": "required",
          "description": "Type for orientation",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/orientation-type"
        }
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqId",
        "path": "Sequence.referenceSeq.referenceSeqId",
        "short": "Reference identifier",
        "definition": "Reference identifier of reference sequence submitted to NCBI. It must match the type in the Sequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.referenceSeqId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "sequenceReference"
            }
          ],
          "strength": "example",
          "description": "Reference identifier",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-referenceSeq"
        }
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqPointer",
        "path": "Sequence.referenceSeq.referenceSeqPointer",
        "short": "A Pointer to another Sequence entity as reference sequence",
        "definition": "A Pointer to another Sequence entity as reference sequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.referenceSeqPointer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Sequence"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqString",
        "path": "Sequence.referenceSeq.referenceSeqString",
        "short": "A string to represent reference sequence",
        "definition": "A string like \"ACGT\".",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.referenceSeqString",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.strand",
        "path": "Sequence.referenceSeq.strand",
        "short": "watson | crick",
        "definition": "An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.strand",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "strandType"
            }
          ],
          "strength": "required",
          "description": "Type for strand",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/strand-type"
        }
      },
      {
        "id": "Sequence.referenceSeq.windowStart",
        "path": "Sequence.referenceSeq.windowStart",
        "short": "Start position of the window on the  reference sequence",
        "definition": "Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.windowStart",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.windowEnd",
        "path": "Sequence.referenceSeq.windowEnd",
        "short": "End position of the window on the reference sequence",
        "definition": "End position of the window on the reference sequence. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Sequence.referenceSeq.windowEnd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant",
        "path": "Sequence.variant",
        "short": "Variant in sequence",
        "definition": "The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.)  It can represent some complex mutation or segment variation with the assist of CIGAR string.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.variant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.id",
        "path": "Sequence.variant.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.variant.extension",
        "path": "Sequence.variant.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.variant.modifierExtension",
        "path": "Sequence.variant.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.variant.start",
        "path": "Sequence.variant.start",
        "short": "Start position of the variant on the  reference sequence",
        "definition": "Start position of the variant on the  reference sequence.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.end",
        "path": "Sequence.variant.end",
        "short": "End position of the variant on the reference sequence",
        "definition": "End position of the variant on the reference sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.observedAllele",
        "path": "Sequence.variant.observedAllele",
        "short": "Allele that was observed",
        "definition": "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)).  Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed  sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.observedAllele",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.referenceAllele",
        "path": "Sequence.variant.referenceAllele",
        "short": "Allele in the reference sequence",
        "definition": "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.referenceAllele",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.cigar",
        "path": "Sequence.variant.cigar",
        "short": "Extended CIGAR string for aligning the sequence with reference bases",
        "definition": "Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.cigar",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.variant.variantPointer",
        "path": "Sequence.variant.variantPointer",
        "short": "Pointer to observed variant information",
        "definition": "A pointer to an Observation containing variant information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.variant.variantPointer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.observedSeq",
        "path": "Sequence.observedSeq",
        "short": "Sequence that was observed",
        "definition": "Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall starts from referenceSeq.windowStart and end by referenceSeq.windowEnd.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.observedSeq",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality",
        "path": "Sequence.quality",
        "short": "An set of value as quality of sequence",
        "definition": "An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.id",
        "path": "Sequence.quality.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.quality.extension",
        "path": "Sequence.quality.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.quality.modifierExtension",
        "path": "Sequence.quality.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.quality.type",
        "path": "Sequence.quality.type",
        "short": "indel | snp | unknown",
        "definition": "INDEL / SNP / Undefined variant.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Sequence.quality.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityType"
            }
          ],
          "strength": "required",
          "description": "Type for quality report",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/quality-type"
        }
      },
      {
        "id": "Sequence.quality.standardSequence",
        "path": "Sequence.quality.standardSequence",
        "short": "Standard sequence for comparison",
        "definition": "Gold standard sequence used for comparing against.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.standardSequence",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityStandardSequence"
            }
          ],
          "strength": "example",
          "description": "Reference identifier of the sequence that used to mark the quality of tested samples.",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence"
        }
      },
      {
        "id": "Sequence.quality.start",
        "path": "Sequence.quality.start",
        "short": "Start position of the sequence",
        "definition": "Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.end",
        "path": "Sequence.quality.end",
        "short": "End position of the sequence",
        "definition": "End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.score",
        "path": "Sequence.quality.score",
        "short": "Quality score for the comparison",
        "definition": "The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.score",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.method",
        "path": "Sequence.quality.method",
        "short": "Method to get quality",
        "definition": "Which method is used to get sequence quality.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.method",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityMethod"
            }
          ],
          "strength": "example",
          "description": "The method used to evaluate the numerical quality of the observed sequence.",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-quality-method"
        }
      },
      {
        "id": "Sequence.quality.truthTP",
        "path": "Sequence.quality.truthTP",
        "short": "True positives from the perspective of the truth data",
        "definition": "True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.truthTP",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.queryTP",
        "path": "Sequence.quality.queryTP",
        "short": "True positives from the perspective of the query data",
        "definition": "True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.queryTP",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.truthFN",
        "path": "Sequence.quality.truthFN",
        "short": "False negatives",
        "definition": "False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.truthFN",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.queryFP",
        "path": "Sequence.quality.queryFP",
        "short": "False positives",
        "definition": "False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.queryFP",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.gtFP",
        "path": "Sequence.quality.gtFP",
        "short": "False positives where the non-REF alleles in the Truth and Query Call Sets match",
        "definition": "The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.gtFP",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.precision",
        "path": "Sequence.quality.precision",
        "short": "Precision of comparison",
        "definition": "QUERY.TP / (QUERY.TP + QUERY.FP).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.precision",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.recall",
        "path": "Sequence.quality.recall",
        "short": "Recall of comparison",
        "definition": "TRUTH.TP / (TRUTH.TP + TRUTH.FN).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.recall",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.fScore",
        "path": "Sequence.quality.fScore",
        "short": "F-score",
        "definition": "Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.fScore",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc",
        "path": "Sequence.quality.roc",
        "short": "Receiver Operator Characteristic (ROC) Curve",
        "definition": "Receiver Operator Characteristic (ROC) Curve  to give sensitivity/specificity tradeoff.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.quality.roc",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.id",
        "path": "Sequence.quality.roc.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.quality.roc.extension",
        "path": "Sequence.quality.roc.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.quality.roc.modifierExtension",
        "path": "Sequence.quality.roc.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.quality.roc.score",
        "path": "Sequence.quality.roc.score",
        "short": "Genotype quality score",
        "definition": "Invidual data point representing the GQ (genotype quality) score threshold.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.score",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numTP",
        "path": "Sequence.quality.roc.numTP",
        "short": "Roc score true positive numbers",
        "definition": "The number of true positives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.numTP",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numFP",
        "path": "Sequence.quality.roc.numFP",
        "short": "Roc score false positive numbers",
        "definition": "The number of false positives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.numFP",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numFN",
        "path": "Sequence.quality.roc.numFN",
        "short": "Roc score false negative numbers",
        "definition": "The number of false negatives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.numFN",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.precision",
        "path": "Sequence.quality.roc.precision",
        "short": "Precision of the GQ score",
        "definition": "Calculated precision if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.precision",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.sensitivity",
        "path": "Sequence.quality.roc.sensitivity",
        "short": "Sensitivity of the GQ score",
        "definition": "Calculated sensitivity if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.sensitivity",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.fMeasure",
        "path": "Sequence.quality.roc.fMeasure",
        "short": "FScore of the GQ score",
        "definition": "Calculated fScore if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.quality.roc.fMeasure",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.readCoverage",
        "path": "Sequence.readCoverage",
        "short": "Average number of reads representing a given nucleotide in the reconstructed sequence",
        "definition": "Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.readCoverage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository",
        "path": "Sequence.repository",
        "short": "External repository which contains detailed report related with observedSeq in this resource",
        "definition": "Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.repository",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository.id",
        "path": "Sequence.repository.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.repository.extension",
        "path": "Sequence.repository.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.repository.modifierExtension",
        "path": "Sequence.repository.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.repository.type",
        "path": "Sequence.repository.type",
        "short": "directlink | openapi | login | oauth | other",
        "definition": "Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Sequence.repository.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "repositoryType"
            }
          ],
          "strength": "required",
          "description": "Type for access of external URI",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/repository-type"
        }
      },
      {
        "id": "Sequence.repository.url",
        "path": "Sequence.repository.url",
        "short": "URI of the repository",
        "definition": "URI of an external repository which contains further details about the genetics data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.repository.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository.name",
        "path": "Sequence.repository.name",
        "short": "Repository's name",
        "definition": "URI of an external repository which contains further details about the genetics data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.repository.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository.datasetId",
        "path": "Sequence.repository.datasetId",
        "short": "Id of the dataset that used to call for dataset in repository",
        "definition": "Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.repository.datasetId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository.variantsetId",
        "path": "Sequence.repository.variantsetId",
        "short": "Id of the variantset that used to call for variantset in repository",
        "definition": "Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.repository.variantsetId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.repository.readsetId",
        "path": "Sequence.repository.readsetId",
        "short": "Id of the read",
        "definition": "Id of the read in this external repository.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.repository.readsetId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.pointer",
        "path": "Sequence.pointer",
        "short": "Pointer to next atomic sequence",
        "definition": "Pointer to next atomic sequence which at most contains one variant.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.pointer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Sequence"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant",
        "path": "Sequence.structureVariant",
        "short": "Structural variant",
        "definition": "Information about chromosome structure variation.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Sequence.structureVariant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.id",
        "path": "Sequence.structureVariant.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.extension",
        "path": "Sequence.structureVariant.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.modifierExtension",
        "path": "Sequence.structureVariant.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.precision",
        "path": "Sequence.structureVariant.precision",
        "short": "Precision of boundaries",
        "definition": "Identify the exact boundaries of variant sequences. Each type of structure variant requires the DNA duplex to be broken and rejoined, and this creates a new sequence of bases at the rejoined sites, known as breakpoints or boundaries.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.precision",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.reportedaCGHRatio",
        "path": "Sequence.structureVariant.reportedaCGHRatio",
        "short": "Structural Variant reported aCGH ratio",
        "definition": "Structural Variant reported aCGH ratio.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.reportedaCGHRatio",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.length",
        "path": "Sequence.structureVariant.length",
        "short": "Structural Variant Length",
        "definition": "Length of the variant choromosome.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.length",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer",
        "path": "Sequence.structureVariant.outer",
        "short": "Structural variant outer",
        "definition": "Structural variant outer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.outer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer.id",
        "path": "Sequence.structureVariant.outer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.outer.extension",
        "path": "Sequence.structureVariant.outer.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.outer.modifierExtension",
        "path": "Sequence.structureVariant.outer.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.outer.start",
        "path": "Sequence.structureVariant.outer.start",
        "short": "Structural Variant Outer Start",
        "definition": "Structural Variant Outer Start.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.outer.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer.end",
        "path": "Sequence.structureVariant.outer.end",
        "short": "Structural Variant Outer End",
        "definition": "Structural Variant Outer End. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.outer.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner",
        "path": "Sequence.structureVariant.inner",
        "short": "Structural variant inner",
        "definition": "Structural variant inner.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.inner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner.id",
        "path": "Sequence.structureVariant.inner.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.inner.extension",
        "path": "Sequence.structureVariant.inner.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.inner.modifierExtension",
        "path": "Sequence.structureVariant.inner.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "modifierExtension is reserved for use where modifier extensions must be used",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Sequence.structureVariant.inner.start",
        "path": "Sequence.structureVariant.inner.start",
        "short": "Structural Variant Inner Start",
        "definition": "Structural Variant Inner Start.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.inner.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner.end",
        "path": "Sequence.structureVariant.inner.end",
        "short": "Structural Variant Inner End",
        "definition": "Structural Variant Inner End. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Sequence.structureVariant.inner.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false,
        "isSummary": true
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Sequence",
        "path": "Sequence",
        "short": "Information about a biological sequence",
        "definition": "Raw data describing a biological sequence.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "seq-3",
            "severity": "error",
            "human": "Only 0 and 1 are valid for coordinateSystem",
            "expression": "coordinateSystem = 1 or coordinateSystem = 0",
            "xpath": "count(f:coordinateSystem[@value=0 and @value=1]) = 1"
          }
        ]
      },
      {
        "id": "Sequence.identifier",
        "path": "Sequence.identifier",
        "short": "Unique ID for this particular sequence. This is a FHIR-defined id",
        "definition": "A unique identifier for this particular sequence instance. This is a FHIR-defined id.",
        "requirements": "Allows sequences to be distinguished and referenced.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          }
        ]
      },
      {
        "id": "Sequence.type",
        "path": "Sequence.type",
        "short": "aa | dna | rna",
        "definition": "Amino Acid Sequence/ DNA Sequence / RNA Sequence.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "sequenceType"
            }
          ],
          "strength": "example",
          "description": "Type if a sequence -- DNA, RNA, or amino acid sequence",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-type"
        }
      },
      {
        "id": "Sequence.coordinateSystem",
        "path": "Sequence.coordinateSystem",
        "short": "Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)",
        "definition": "Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.patient",
        "path": "Sequence.patient",
        "short": "Who and/or what this is about",
        "definition": "The patient whose sequencing results are described by this resource.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.specimen",
        "path": "Sequence.specimen",
        "short": "Specimen used for sequencing",
        "definition": "Specimen used for sequencing.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Specimen"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.device",
        "path": "Sequence.device",
        "short": "The method for sequencing",
        "definition": "The method for sequencing, for example, chip information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.performer",
        "path": "Sequence.performer",
        "short": "Who should be responsible for test result",
        "definition": "The organization or lab that should be responsible for this result.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quantity",
        "path": "Sequence.quantity",
        "short": "The number of copies of the seqeunce of interest.  (RNASeq)",
        "definition": "The number of copies of the seqeunce of interest. (RNASeq).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq",
        "path": "Sequence.referenceSeq",
        "short": "A sequence used as reference",
        "definition": "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "seq-5",
            "severity": "error",
            "human": "GenomeBuild and chromosome must be both contained if either one of them is contained",
            "expression": "(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())",
            "xpath": "(exists(f:chromosome) and exists(f:genomeBuild)) or (not(exists(f:chromosome)) and not(exists(f:genomeBuild)))"
          },
          {
            "key": "seq-6",
            "severity": "error",
            "human": "Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer;  4. referenceSeqString;",
            "expression": "(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1",
            "xpath": "count(f:genomeBuild)+count(f:referenceSeqId)+count(f:referenceSeqPointer)+count(f:referenceSeqString)=1"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.chromosome",
        "path": "Sequence.referenceSeq.chromosome",
        "short": "Chromosome containing genetic finding",
        "definition": "Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "chromosome-human"
            }
          ],
          "strength": "example",
          "description": "Chromosome number for human",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/chromosome-human"
        }
      },
      {
        "id": "Sequence.referenceSeq.genomeBuild",
        "path": "Sequence.referenceSeq.genomeBuild",
        "short": "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'",
        "definition": "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'.  Version number must be included if a versioned release of a primary build was used.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.orientation",
        "path": "Sequence.referenceSeq.orientation",
        "short": "sense | antisense",
        "definition": "A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the \"sense\" strand, and the opposite complementary strand is the \"antisense\" strand.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "orientationType"
            }
          ],
          "strength": "required",
          "description": "Type for orientation",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/orientation-type"
        }
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqId",
        "path": "Sequence.referenceSeq.referenceSeqId",
        "short": "Reference identifier",
        "definition": "Reference identifier of reference sequence submitted to NCBI. It must match the type in the Sequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "sequenceReference"
            }
          ],
          "strength": "example",
          "description": "Reference identifier",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-referenceSeq"
        }
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqPointer",
        "path": "Sequence.referenceSeq.referenceSeqPointer",
        "short": "A Pointer to another Sequence entity as reference sequence",
        "definition": "A Pointer to another Sequence entity as reference sequence.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Sequence"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.referenceSeqString",
        "path": "Sequence.referenceSeq.referenceSeqString",
        "short": "A string to represent reference sequence",
        "definition": "A string like \"ACGT\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.strand",
        "path": "Sequence.referenceSeq.strand",
        "short": "watson | crick",
        "definition": "An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "strandType"
            }
          ],
          "strength": "required",
          "description": "Type for strand",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/strand-type"
        }
      },
      {
        "id": "Sequence.referenceSeq.windowStart",
        "path": "Sequence.referenceSeq.windowStart",
        "short": "Start position of the window on the  reference sequence",
        "definition": "Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.referenceSeq.windowEnd",
        "path": "Sequence.referenceSeq.windowEnd",
        "short": "End position of the window on the reference sequence",
        "definition": "End position of the window on the reference sequence. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant",
        "path": "Sequence.variant",
        "short": "Variant in sequence",
        "definition": "The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.)  It can represent some complex mutation or segment variation with the assist of CIGAR string.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.start",
        "path": "Sequence.variant.start",
        "short": "Start position of the variant on the  reference sequence",
        "definition": "Start position of the variant on the  reference sequence.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.end",
        "path": "Sequence.variant.end",
        "short": "End position of the variant on the reference sequence",
        "definition": "End position of the variant on the reference sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.observedAllele",
        "path": "Sequence.variant.observedAllele",
        "short": "Allele that was observed",
        "definition": "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)).  Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed  sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.referenceAllele",
        "path": "Sequence.variant.referenceAllele",
        "short": "Allele in the reference sequence",
        "definition": "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.cigar",
        "path": "Sequence.variant.cigar",
        "short": "Extended CIGAR string for aligning the sequence with reference bases",
        "definition": "Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.variant.variantPointer",
        "path": "Sequence.variant.variantPointer",
        "short": "Pointer to observed variant information",
        "definition": "A pointer to an Observation containing variant information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.observedSeq",
        "path": "Sequence.observedSeq",
        "short": "Sequence that was observed",
        "definition": "Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall starts from referenceSeq.windowStart and end by referenceSeq.windowEnd.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality",
        "path": "Sequence.quality",
        "short": "An set of value as quality of sequence",
        "definition": "An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.type",
        "path": "Sequence.quality.type",
        "short": "indel | snp | unknown",
        "definition": "INDEL / SNP / Undefined variant.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityType"
            }
          ],
          "strength": "required",
          "description": "Type for quality report",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/quality-type"
        }
      },
      {
        "id": "Sequence.quality.standardSequence",
        "path": "Sequence.quality.standardSequence",
        "short": "Standard sequence for comparison",
        "definition": "Gold standard sequence used for comparing against.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityStandardSequence"
            }
          ],
          "strength": "example",
          "description": "Reference identifier of the sequence that used to mark the quality of tested samples.",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence"
        }
      },
      {
        "id": "Sequence.quality.start",
        "path": "Sequence.quality.start",
        "short": "Start position of the sequence",
        "definition": "Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.end",
        "path": "Sequence.quality.end",
        "short": "End position of the sequence",
        "definition": "End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.score",
        "path": "Sequence.quality.score",
        "short": "Quality score for the comparison",
        "definition": "The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.method",
        "path": "Sequence.quality.method",
        "short": "Method to get quality",
        "definition": "Which method is used to get sequence quality.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "qualityMethod"
            }
          ],
          "strength": "example",
          "description": "The method used to evaluate the numerical quality of the observed sequence.",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sequence-quality-method"
        }
      },
      {
        "id": "Sequence.quality.truthTP",
        "path": "Sequence.quality.truthTP",
        "short": "True positives from the perspective of the truth data",
        "definition": "True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.queryTP",
        "path": "Sequence.quality.queryTP",
        "short": "True positives from the perspective of the query data",
        "definition": "True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.truthFN",
        "path": "Sequence.quality.truthFN",
        "short": "False negatives",
        "definition": "False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.queryFP",
        "path": "Sequence.quality.queryFP",
        "short": "False positives",
        "definition": "False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.gtFP",
        "path": "Sequence.quality.gtFP",
        "short": "False positives where the non-REF alleles in the Truth and Query Call Sets match",
        "definition": "The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.precision",
        "path": "Sequence.quality.precision",
        "short": "Precision of comparison",
        "definition": "QUERY.TP / (QUERY.TP + QUERY.FP).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.recall",
        "path": "Sequence.quality.recall",
        "short": "Recall of comparison",
        "definition": "TRUTH.TP / (TRUTH.TP + TRUTH.FN).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.fScore",
        "path": "Sequence.quality.fScore",
        "short": "F-score",
        "definition": "Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc",
        "path": "Sequence.quality.roc",
        "short": "Receiver Operator Characteristic (ROC) Curve",
        "definition": "Receiver Operator Characteristic (ROC) Curve  to give sensitivity/specificity tradeoff.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.score",
        "path": "Sequence.quality.roc.score",
        "short": "Genotype quality score",
        "definition": "Invidual data point representing the GQ (genotype quality) score threshold.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numTP",
        "path": "Sequence.quality.roc.numTP",
        "short": "Roc score true positive numbers",
        "definition": "The number of true positives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numFP",
        "path": "Sequence.quality.roc.numFP",
        "short": "Roc score false positive numbers",
        "definition": "The number of false positives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.numFN",
        "path": "Sequence.quality.roc.numFN",
        "short": "Roc score false negative numbers",
        "definition": "The number of false negatives if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.precision",
        "path": "Sequence.quality.roc.precision",
        "short": "Precision of the GQ score",
        "definition": "Calculated precision if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.sensitivity",
        "path": "Sequence.quality.roc.sensitivity",
        "short": "Sensitivity of the GQ score",
        "definition": "Calculated sensitivity if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.quality.roc.fMeasure",
        "path": "Sequence.quality.roc.fMeasure",
        "short": "FScore of the GQ score",
        "definition": "Calculated fScore if the GQ score threshold was set to \"score\" field value.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.readCoverage",
        "path": "Sequence.readCoverage",
        "short": "Average number of reads representing a given nucleotide in the reconstructed sequence",
        "definition": "Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository",
        "path": "Sequence.repository",
        "short": "External repository which contains detailed report related with observedSeq in this resource",
        "definition": "Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository.type",
        "path": "Sequence.repository.type",
        "short": "directlink | openapi | login | oauth | other",
        "definition": "Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "repositoryType"
            }
          ],
          "strength": "required",
          "description": "Type for access of external URI",
          "valueSetCanonical": "http://hl7.org/fhir/ValueSet/repository-type"
        }
      },
      {
        "id": "Sequence.repository.url",
        "path": "Sequence.repository.url",
        "short": "URI of the repository",
        "definition": "URI of an external repository which contains further details about the genetics data.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository.name",
        "path": "Sequence.repository.name",
        "short": "Repository's name",
        "definition": "URI of an external repository which contains further details about the genetics data.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository.datasetId",
        "path": "Sequence.repository.datasetId",
        "short": "Id of the dataset that used to call for dataset in repository",
        "definition": "Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository.variantsetId",
        "path": "Sequence.repository.variantsetId",
        "short": "Id of the variantset that used to call for variantset in repository",
        "definition": "Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.repository.readsetId",
        "path": "Sequence.repository.readsetId",
        "short": "Id of the read",
        "definition": "Id of the read in this external repository.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.pointer",
        "path": "Sequence.pointer",
        "short": "Pointer to next atomic sequence",
        "definition": "Pointer to next atomic sequence which at most contains one variant.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Sequence"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant",
        "path": "Sequence.structureVariant",
        "short": "Structural variant",
        "definition": "Information about chromosome structure variation.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.precision",
        "path": "Sequence.structureVariant.precision",
        "short": "Precision of boundaries",
        "definition": "Identify the exact boundaries of variant sequences. Each type of structure variant requires the DNA duplex to be broken and rejoined, and this creates a new sequence of bases at the rejoined sites, known as breakpoints or boundaries.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.reportedaCGHRatio",
        "path": "Sequence.structureVariant.reportedaCGHRatio",
        "short": "Structural Variant reported aCGH ratio",
        "definition": "Structural Variant reported aCGH ratio.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.length",
        "path": "Sequence.structureVariant.length",
        "short": "Structural Variant Length",
        "definition": "Length of the variant choromosome.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer",
        "path": "Sequence.structureVariant.outer",
        "short": "Structural variant outer",
        "definition": "Structural variant outer.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer.start",
        "path": "Sequence.structureVariant.outer.start",
        "short": "Structural Variant Outer Start",
        "definition": "Structural Variant Outer Start.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.outer.end",
        "path": "Sequence.structureVariant.outer.end",
        "short": "Structural Variant Outer End",
        "definition": "Structural Variant Outer End. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner",
        "path": "Sequence.structureVariant.inner",
        "short": "Structural variant inner",
        "definition": "Structural variant inner.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner.start",
        "path": "Sequence.structureVariant.inner.start",
        "short": "Structural Variant Inner Start",
        "definition": "Structural Variant Inner Start.If the coordinate system is either 0-based or 1-based, then start position is inclusive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Sequence.structureVariant.inner.end",
        "path": "Sequence.structureVariant.inner.end",
        "short": "Structural Variant Inner End",
        "definition": "Structural Variant Inner End. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      }
    ]
  }
}

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.