STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: QICore-Specimen - JSON

StructureDefinition for Profile of Specimen for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.

Raw JSON

{
  "resourceType": "StructureDefinition",
  "id": "qicore-specimen",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/qicore-specimen",
  "name": "QICore-Specimen",
  "status": "draft",
  "publisher": "Health Level Seven International (Clinical Quality Information - QICore)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/special/committees/CQI"
        }
      ]
    }
  ],
  "date": "2015-02-27",
  "description": "Profile of Specimen for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.",
  "fhirVersion": "1.4.0",
  "mapping": [
    {
      "identity": "qidam",
      "uri": "http://www.hl7.org/implement/standards/product_brief.cfm?product_id=378",
      "name": "Quality Improvement Domain Analysis Model"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "baseType": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "path": "Specimen",
        "name": "QICore-Specimen",
        "short": "Sample for analysis",
        "definition": "A sample to be used for analysis.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Specimen"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Role[classCode=SPEC]"
          },
          {
            "identity": "w5",
            "map": "clinical.diagnostics"
          }
        ]
      },
      {
        "path": "Specimen.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.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Specimen.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 may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Specimen.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.",
        "comments": "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 as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "Specimen.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "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": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Specimen.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Specimen.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.",
        "comments": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.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. In order 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.",
        "comments": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.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. In order 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.",
        "comments": "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,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.identifier",
        "short": "External Identifier",
        "definition": "Id for specimen.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-2"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Specimen.accessionIdentifier",
        "short": "Identifier assigned by the lab",
        "definition": "The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.accessionIdentifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-30 (v2.7+)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Specimen.status",
        "short": "available | unavailable | unsatisfactory | entered-in-error",
        "definition": "The availability of the specimen.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Codes providing the status/availability of a specimen.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/specimen-status"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-20"
          },
          {
            "identity": "rim",
            "map": "status"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Specimen.type",
        "short": "Kind of material that forms the specimen",
        "definition": "The kind of material that forms the specimen.",
        "comments": "The type can change the way that a specimen is handled, and drives what kind of analyses can properly be performed on the specimen. It is frequently used in diagnostic work flow decision making systems.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "The type of the specimen.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0487"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-4 and possibly SPM-5"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "path": "Specimen.subject",
        "short": "Where the specimen came from. This may be from the patient(s) or from the environment or a device",
        "definition": "Where the specimen came from. This may be from the patient(s) or from the environment or a device.",
        "requirements": "Must know the subject context.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Specimen.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".scoper  or  .scoper.playsRole"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "Specimen.receivedTime",
        "short": "The time when specimen was received for processing",
        "definition": "Time when specimen was received for processing or testing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.receivedTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-18"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime"
          },
          {
            "identity": "w5",
            "map": "when.done"
          }
        ]
      },
      {
        "path": "Specimen.parent",
        "short": "Specimen from which this specimen originated",
        "definition": "Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.",
        "comments": "The parent specimen could be the source from which the current specimen is derived by some processing step (e.g. an aliquot or isolate or extracted nucleic acids from clinical samples) or one of many specimens that were combined to create a pooled sample.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.parent",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)"
          }
        ]
      },
      {
        "path": "Specimen.collection",
        "short": "Collection details",
        "definition": "Details concerning the specimen collection.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-14"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Specimen.collection.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Specimen.collection.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. In order 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.",
        "comments": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Specimen.collection.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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.collection.collector",
        "short": "Who collected the specimen",
        "definition": "Person who collected the specimen.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.collector",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRT"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=PFM].role"
          },
          {
            "identity": "w5",
            "map": "who.actor"
          }
        ]
      },
      {
        "path": "Specimen.collection.comment",
        "short": "Collector comments",
        "definition": "To communicate any details or issues encountered during the specimen collection procedure.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.comment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "OBX"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      },
      {
        "path": "Specimen.collection.collected[x]",
        "short": "Collection time",
        "definition": "Time when specimen was collected from subject - the physiologically relevant time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.collected[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-17"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime"
          },
          {
            "identity": "w5",
            "map": "when.init"
          }
        ]
      },
      {
        "path": "Specimen.collection.quantity",
        "short": "The quantity of specimen collected",
        "definition": "The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-12"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role[classCode=SPEC].player.quantity"
          }
        ]
      },
      {
        "path": "Specimen.collection.method",
        "short": "Technique used to perform collection",
        "definition": "A coded value specifying the technique that is used to perform the procedure.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.method",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "The  technique that is used to perform the procedure",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/specimen-collection-method"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-7"
          },
          {
            "identity": "rim",
            "map": ".methodCode"
          }
        ]
      },
      {
        "path": "Specimen.collection.bodySite",
        "short": "Anatomical collection site",
        "definition": "Anatomical location from which the specimen was collected (if subject is a patient). This is the target site.  This element is not used for environmental specimens.",
        "comments": "If the use case requires  BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately)  then use the standard extension [body-site-instance](extension-body-site-instance.html).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.collection.bodySite",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-8 and SPM-9"
          },
          {
            "identity": "rim",
            "map": ".targetSiteCode"
          }
        ]
      },
      {
        "path": "Specimen.treatment",
        "short": "Treatment and processing step details",
        "definition": "Details concerning treatment and processing steps for the specimen.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.treatment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Specimen.treatment.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Specimen.treatment.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. In order 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.",
        "comments": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Specimen.treatment.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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.treatment.description",
        "short": "Textual description of procedure",
        "definition": "Textual description of procedure.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.treatment.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "path": "Specimen.treatment.procedure",
        "short": "Indicates the treatment or processing step  applied to the specimen",
        "definition": "A coded value specifying the procedure used to process the specimen.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.treatment.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "description": "Type indicating the technique used to process the specimen",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/specimen-treatment-procedure"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "path": "Specimen.treatment.additive",
        "short": "Material used in the processing step",
        "definition": "Material used in the processing step.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.treatment.additive",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-6"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=CSM].role[classCode=ADTV].code"
          }
        ]
      },
      {
        "path": "Specimen.container",
        "short": "Direct container of specimen (tube/slide, etc.)",
        "definition": "The container holding the specimen.  The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.container",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".player.scopingRole[classCode=CONT].scoper"
          }
        ]
      },
      {
        "path": "Specimen.container.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Specimen.container.extension",
        "name": "Specimen.container.sequenceNumber",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "qidam",
            "map": "Not in QIDAM, but recognized as important since there are labs where the sequence of the collection is important (e.g., knowing that 1 is the first sample, 2 is the second, etc.)."
          }
        ]
      },
      {
        "path": "Specimen.container.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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Specimen.container.identifier",
        "short": "Id for the container",
        "definition": "Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Specimen.container.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SAC-3"
          },
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "path": "Specimen.container.description",
        "short": "Textual description of the container",
        "definition": "Textual description of the container.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.container.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".desc"
          }
        ]
      },
      {
        "path": "Specimen.container.type",
        "short": "Kind of container directly associated with specimen",
        "definition": "The type of container associated with the specimen (e.g. slide, aliquot, etc.).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.container.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Type of specimen container",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/specimen-container-type"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SPM-27"
          },
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "path": "Specimen.container.capacity",
        "short": "Container volume or size",
        "definition": "The capacity (volume or other measure) the container may contain.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.container.capacity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20"
          },
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "path": "Specimen.container.specimenQuantity",
        "short": "Quantity of specimen within container",
        "definition": "The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.container.specimenQuantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "SAC-23 (value) SAC-24 (units"
          },
          {
            "identity": "rim",
            "map": ".playedRole[classCode=CONT].quantity"
          }
        ]
      },
      {
        "path": "Specimen.container.additive[x]",
        "short": "Additive associated with container",
        "definition": "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Specimen.container.additive[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Substance added to specimen container",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0371"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "SAC-27"
          },
          {
            "identity": "rim",
            "map": ".scopesRole[classCode=ADTV].player"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Specimen",
        "name": "QICore-Specimen",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Specimen"
          }
        ]
      },
      {
        "path": "Specimen.type",
        "mustSupport": true
      },
      {
        "path": "Specimen.subject",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Specimen.receivedTime",
        "mustSupport": true
      },
      {
        "path": "Specimen.parent",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
            ]
          }
        ]
      },
      {
        "path": "Specimen.collection"
      },
      {
        "path": "Specimen.collection.collector",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
            ]
          }
        ]
      },
      {
        "path": "Specimen.collection.collected[x]",
        "mustSupport": true
      },
      {
        "path": "Specimen.collection.bodySite",
        "mustSupport": true
      },
      {
        "path": "Specimen.treatment"
      },
      {
        "path": "Specimen.treatment.procedure",
        "mustSupport": true
      },
      {
        "path": "Specimen.treatment.additive",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          }
        ]
      },
      {
        "path": "Specimen.container"
      },
      {
        "path": "Specimen.container.extension",
        "name": "Specimen.container.sequenceNumber",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "qidam",
            "map": "Not in QIDAM, but recognized as important since there are labs where the sequence of the collection is important (e.g., knowing that 1 is the first sample, 2 is the second, etc.)."
          }
        ]
      },
      {
        "path": "Specimen.container.additive[x]",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/qicore-substance"
            ]
          }
        ]
      }
    ]
  }
}